Todd Kjos ea97f39295 ANDROID: GKI: update ABI description
Update ABI description in prperation for 4/23 KMI update

Leaf changes summary: 3103 artifacts changed
Changed leaf types summary: 15 leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 3030 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 58 Changed, 0 Added variable

3030 functions with some sub-type change:

  [C] 'function int dev_pm_genpd_set_next_wakeup(device*, ktime_t)' at domain.c:441:1 has some sub-type changes:
    CRC (modversions) changed from 0x5f5fcb7c to 0xf61e0895
    return type changed:
      type name changed from 'int' to 'void'
      type size changed from 32 to 0 (in bits)

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

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

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

  ... 3026 omitted; 3029 symbols have only CRC changes

58 Changed variables:

  [C] 'static_key_false cpu_hwcap_keys[61]' was changed to 'static_key_false cpu_hwcap_keys[76]' at cpufeature.c:150:1:
    size of symbol changed from 976 to 1216
    CRC (modversions) changed from 0x4c98d79b to 0xec2fc692
    type of variable changed:
      type name changed from 'static_key_false[61]' to 'static_key_false[76]'
      array type size changed from 7808 to 9728
      array type subrange 1 changed length from 61 to 76

  [C] 'unsigned long int cpu_hwcaps[1]' was changed to 'unsigned long int cpu_hwcaps[2]' at cpufeature.c:100:1:
    size of symbol changed from 8 to 16
    CRC (modversions) changed from 0xaebd1b18 to 0x8b9f70c7
    type of variable changed:
      type name changed from 'unsigned long int[1]' to 'unsigned long int[2]'
      array type size changed from 64 to 128
      array type subrange 1 changed length from 1 to 2

  [C] 'const vm_operations_struct drm_gem_cma_vm_ops' was changed at drm_gem_cma_helper.c:263:1:
    size of symbol changed from 136 to 144
    CRC (modversions) changed from 0xafd38045 to 0xc092767b
    type of variable changed:

  [C] 'net init_net' was changed at net_namespace.c:47:1:
    CRC (modversions) changed from 0x75836cf9 to 0x8c00edd2
    type of variable changed:
      type size hasn't changed
      there are data member changes:
        type 'struct netns_xfrm' of 'net::xfrm' changed:
          type size hasn't changed
          1 data member insertion:
            'seqcount_t xfrm_state_hash_generation', at offset 6176 (in bits) at xfrm.h:76:1
          there are data member changes:
            'spinlock_t xfrm_policy_lock' offset changed (by +32 bits)
            'mutex xfrm_cfg_mutex' offset changed (by +64 bits)
          3361 impacted interfaces
      3361 impacted interfaces

  [C] 'rq runqueues' was changed at core.c:49:1:
    size of symbol changed from 4160 to 4416
    CRC (modversions) changed from 0xfbaeea47 to 0x5137fc66
    type of variable changed:
      type size changed from 33280 to 35328 (in bits)
      there are data member changes:
        'uclamp_rq uclamp[2]' size changed from 768 to 2688 (in bits) (by +1920 bits)
        'unsigned int uclamp_flags' offset changed (by +1920 bits)
        61 ('cfs_rq cfs' .. 'u64 android_kabi_reserved4') offsets changed (by +2048 bits)
      3361 impacted interfaces

  [C] 'const vm_operations_struct vb2_common_vm_ops' was changed at videobuf2-memops.c:122:1:
    size of symbol changed from 136 to 144
    CRC (modversions) changed from 0x18a6cc01 to 0xfde2ba08
    type of variable changed:

  [C] 'vm_event_state vm_event_states' was changed at vmstat.c:108:1:
    size of symbol changed from 720 to 728
    CRC (modversions) changed from 0x85d767b0 to 0x62cac127
    type of variable changed:
      type size changed from 5760 to 5824 (in bits)
      there are data member changes:
        type 'unsigned long int[90]' of 'vm_event_state::event' changed:
          type name changed from 'unsigned long int[90]' to 'unsigned long int[91]'
          array type size changed from 5760 to 5824
          array type subrange 1 changed length from 90 to 91
      one impacted interface

  [C] 'bus_type amba_bustype' was changed at bus.c:215:1:
    CRC (modversions) changed from 0xbbb1e519 to 0x84856996

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

  [C] 'const clk_ops clk_fixed_factor_ops' was changed at clk-fixed-factor.c:60:1:
    CRC (modversions) changed from 0x8a6ece13 to 0x26b088f0

  ... 48 omitted; 51 symbols have only CRC changes

'struct dma_buf at dma-buf.h:397:1' changed (indirectly):
  type size changed from 3328 to 3392 (in bits)
  there are data member changes:
    type 'struct vm_operations_struct' of 'dma_buf::vm_ops' changed:
      type size changed from 1088 to 1152 (in bits)
      1 data member insertion:
        'typedef bool ()* allow_speculation', at offset 832 (in bits) at mm.h:651:1
      there are data member changes:
        4 ('u64 android_kabi_reserved1' .. 'u64 android_kabi_reserved4') offsets changed (by +64 bits)
      3361 impacted interfaces
  421 impacted interfaces

'struct dma_slave_config at dmaengine.h:434:1' changed:
  type size changed from 448 to 576 (in bits)
  2 data member insertions:
    'void* peripheral_config', at offset 448 (in bits) at dmaengine.h:449:1
    'size_t peripheral_size', at offset 512 (in bits) at dmaengine.h:450:1
  33 impacted interfaces

'struct dwc3 at core.h:1079:1' changed:
  type size hasn't changed
  1 data member insertion:
    'unsigned int usb2_gadget_lpm_disable', at offset 16 (in bits) at core.h:1250:1
  there are data member changes:
    21 ('unsigned int dis_tx_ipgap_linecheck_quirk' .. 'unsigned int dis_u2_freeclk_exists_quirk') offsets changed (by +1 bits)
    'unsigned int dis_del_phy_power_chg_quirk' offset changed (by -31 bits)
  2 impacted interfaces

'struct net at net_namespace.h:56:1' changed (indirectly):
  details were reported earlier

'struct netns_xfrm at xfrm.h:32:1' changed:
  details were reported earlier

'struct rq at sched.h:907:1' changed (indirectly):
  details were reported earlier

'struct snd_soc_component_driver at soc-component.h:67:1' changed:
  type size changed from 2752 to 2816 (in bits)
  1 data member insertion:
    'int (snd_soc_component*, snd_pcm_substream*)* ack', at offset 2304 (in bits) at soc-component.h:149:1
  there are data member changes:
    8 ('const snd_compress_ops* compress_ops' .. 'int be_pcm_base') offsets changed (by +64 bits)
  65 impacted interfaces

'struct snd_soc_dai_link at soc.h:749:1' changed:
  type size changed from 1088 to 1600 (in bits)
  1 data member insertion:
    'snd_soc_dobj dobj', at offset 1088 (in bits) at soc.h:847:1
  65 impacted interfaces

'struct soc_enum at soc.h:1257:1' changed:
  type size changed from 320 to 832 (in bits)
  1 data member insertion:
    'snd_soc_dobj dobj', at offset 320 (in bits) at soc.h:1267:1
  one impacted interface

'struct tcpm_port at tcpm.c:297:1' changed:
  type size hasn't changed
  1 data member insertion:
    'bool slow_charger_loop', at offset 32080 (in bits) at tcpm.c:471:1
  13 impacted interfaces

'struct uclamp_rq at sched.h:892:1' changed:
  type size changed from 384 to 1344 (in bits)
  there are data member changes:
    type 'uclamp_bucket[5]' of 'uclamp_rq::bucket' changed:
      type name changed from 'uclamp_bucket[5]' to 'uclamp_bucket[20]'
      array type size changed from 320 to 1280
      array type subrange 1 changed length from 5 to 20
  3361 impacted interfaces

'struct uclamp_se at sched.h:623:1' changed (indirectly):
  type size hasn't changed
  there are data member changes:
    2 ('unsigned int active' .. 'unsigned int user_defined') offsets changed (by +2 bits)
  3361 impacted interfaces

'struct user_struct at user.h:13:1' changed:
  type size changed from 960 to 1088 (in bits)
  1 data member insertion:
    'u64 android_oem_data1[2]', at offset 960 (in bits) at user.h:45:1
  3361 impacted interfaces

'struct vm_event_state at vmstat.h:54:1' changed:
  details were reported earlier

'struct vm_operations_struct at mm.h:589:1' changed:
  details were reported earlier

Bug: 186241007
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I9725b5164da30547176b67b96cb1cef66ef2bfdc
2021-04-24 05:12:08 +00:00
2021-04-16 16:01:44 +02:00
2021-04-22 11:12:08 +02:00
2021-04-22 11:12:08 +02: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 script/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%