Todd Kjos fc6ab4da31 ANDROID: GKI: 3/9/2022 KMI update
Set KMI_GENERATION=1 for 3/9 KMI update

Leaf changes summary: 2579 artifacts changed (1 filtered out)
Changed leaf types summary: 9 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 2521 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 49 Changed, 0 Added variable

2521 functions with some sub-type change:

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x17465176 to 0x1c3e2a86

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x8331b3e3 to 0x734edab3

  [C] 'function void __SetPageMovable(page*, address_space*)' at compaction.c:130:1 has some sub-type changes:
    CRC (modversions) changed from 0xe56f361 to 0x891f9c1d

  ... 2518 omitted; 2521 symbols have only CRC changes

49 Changed variables:

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    CRC (modversions) changed from 0xe555ebeb to 0x517f2d17

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    CRC (modversions) changed from 0xa9866f1a to 0x89a77b8c

  [C] 'const clk_ops clk_divider_ops' was changed at clk-divider.c:522:1:
    CRC (modversions) changed from 0xca4154fa to 0x5a75cc1

  ... 46 omitted; 49 symbols have only CRC changes

'enum nl80211_attrs at nl80211.h:2666:1' changed:
  type size hasn't changed
  1 enumerator insertion:
    'nl80211_attrs::NL80211_ATTR_EHT_CAPABILITY' value '310'
  3 enumerator changes:
    'nl80211_attrs::NL80211_ATTR_MAX' from value '309' to '310' at nl80211.h:2670:1
    'nl80211_attrs::NUM_NL80211_ATTR' from value '310' to '311' at nl80211.h:2670:1
    'nl80211_attrs::__NL80211_ATTR_AFTER_LAST' from value '310' to '311' at nl80211.h:2670:1
  2 impacted interfaces
'struct ieee80211_sband_iftype_data at cfg80211.h:378:1' changed:
  type size changed from 640 to 1024 (in bits)
  1 data member insertion:
    'ieee80211_sta_eht_cap eht_cap', at offset 472 (in bits) at cfg80211.h:431:1
  there are data member changes:
    'struct {const u8* data; unsigned int len;} vendor_elems' offset changed (by +384 bits)
  3084 impacted interfaces

'struct iommu_dma_cookie at dma-iommu.c:41:1' changed (indirectly):
  type size changed from 15360 to 15424 (in bits)
  there are data member changes:
    type 'union {iova_domain iovad; dma_addr_t msi_iova;}' of 'anonymous data member' changed:
      type size changed from 15104 to 15168 (in bits)
      there are data member changes:
        type 'struct iova_domain' of '__anonymous_union__::iovad' changed:
          type size changed from 15104 to 15168 (in bits)
          1 data member insertion:
            'bool best_fit', at offset 15104 (in bits) at iova.h:99:1
          3086 impacted interfaces
    2 ('list_head msi_page_list' .. 'iommu_domain* fq_domain') offsets changed (by +64 bits)
  3084 impacted interfaces

'struct iova_domain at iova.h:68:1' changed:
  details were reported earlier

'struct module at module.h:364:1' changed:
  type size hasn't changed
  2 data member insertions:
    'unsigned int btf_data_size', at offset 6016 (in bits) at module.h:477:1
    'void* btf_data', at offset 6080 (in bits) at module.h:478:1
  there are data member changes:
    18 ('jump_entry* jump_entries' .. 'unsigned int num_ei_funcs') offsets changed (by +128 bits)
  3084 impacted interfaces

'struct rate_info at cfg80211.h:1580:1' changed:
  type size changed from 80 to 96 (in bits)
  2 data member insertions:
    'u8 eht_gi', at offset 80 (in bits) at cfg80211.h:1673:1
    'u8 eht_ru_alloc', at offset 88 (in bits) at cfg80211.h:1674:1
  5 impacted interfaces

'struct station_info at cfg80211.h:1743:1' changed (indirectly):
  type size changed from 1792 to 1856 (in bits)
  there are data member changes:
    type 'struct rate_info' of 'station_info::txrate' changed, as reported earlier
    type 'struct rate_info' of 'station_info::rxrate' changed, as reported earlier
    and offset changed from 528 to 544 (in bits) (by +16 bits)
    8 ('u32 rx_packets' .. 'int generation') offsets changed (by +32 bits)
    21 ('const u8* assoc_req_ies' .. 'u8 connected_to_as') offsets changed (by +64 bits)
  4 impacted interfaces

'struct station_parameters at cfg80211.h:1421:1' changed:
  type size changed from 1280 to 1408 (in bits)
  2 data member insertions:
    'const ieee80211_eht_cap_elem* eht_capa', at offset 1280 (in bits) at cfg80211.h:1525:1
    'u8 eht_capa_len', at offset 1344 (in bits) at cfg80211.h:1526:1
  one impacted interface

'struct virtio_config_ops at virtio_config.h:77:1' changed:
  type size changed from 896 to 960 (in bits)
  1 data member insertion:
    'void (virtio_device*)* enable_cbs', at offset 0 (in bits) at virtio_config.h:80:1
  there are data member changes:
    14 ('void (virtio_device*, unsigned int, void*, unsigned int)* get' .. 'typedef bool (virtio_device*, virtio_shm_region*, typedef u8)* get_shm_region') offsets changed (by +64 bits)
  35 impacted interfaces

Bug: 222115076
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I1aac74111756444ff6bff92b843a5133f3c7541c
2022-03-09 09:05:45 -08:00
2022-03-09 09:05:45 -08:00
2022-02-23 12:30:26 +01:00
2022-02-11 12:18:20 +01:00
2022-02-23 12:30:26 +01:00
2022-02-23 12:30:26 +01:00
2022-02-23 12:30:26 +01:00
2021-10-18 20:22:03 -10:00
2022-02-23 12:30:26 +01:00

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

    • Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux, additions of EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.
    • When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass scripts/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry picked from commit ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry picked from commit ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [joe: Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
  • then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • add a Bug: tag with the Android bug (required for patches not accepted into a maintainer tree)
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%