Carlos Llamas 806823003c ANDROID: 6/7/2023 KMI update
Set KMI_GENERATION=8 for 6/7 KMI update

1 function symbol(s) removed
  'void __sock_recv_ts_and_drops(struct msghdr*, struct sock*, struct sk_buff*)'

function symbol changed from 'int ufshcd_hold(struct ufs_hba*, bool)' to 'void ufshcd_hold(struct ufs_hba*, bool)'
  CRC changed from 0x97fc06b5 to 0x35a1ce51
  type changed from 'int(struct ufs_hba*, bool)' to 'void(struct ufs_hba*, bool)'
    return type changed from 'int' to 'void'

function symbol 'struct block_device* I_BDEV(struct inode*)' changed
  CRC changed from 0x5c732fed to 0x6ad768b0

function symbol 'void* PDE_DATA(const struct inode*)' changed
  CRC changed from 0x782fda7f to 0x1b12d990

function symbol 'void __ClearPageMovable(struct page*)' changed
  CRC changed from 0xdf0d01db to 0x5ed16e08

... 3668 omitted; 3671 symbols have only CRC changes

type 'struct page' changed
  member 'union { struct { union { struct list_head lru; struct list_head buddy_list; struct list_head pcp_list; }; struct address_space* mapping; unsigned long index; unsigned long private; }; struct { unsigned long pp_magic; struct page_pool* pp; unsigned long _pp_mapping_pad; unsigned long dma_addr; union { unsigned long dma_addr_upper; atomic_long_t pp_frag_count; }; }; struct { union { struct list_head slab_list; struct { struct page* next; int pages; int pobjects; }; }; struct kmem_cache* slab_cache; void* freelist; union { void* s_mem; unsigned long counters; struct { unsigned int inuse:16; unsigned int objects:15; unsigned int frozen:1; }; }; }; struct { unsigned long compound_head; unsigned char compound_dtor; unsigned char compound_order; atomic_t compound_mapcount; unsigned int compound_nr; }; struct { unsigned long _compound_pad_1; atomic_t hpage_pinned_refcount; struct list_head deferred_list; }; struct { unsigned long _pt_pad_1; pgtable_t pmd_huge_pte; unsigned long _pt_pad_2; union { struct mm_struct* pt_mm; atomic_t pt_frag_refcount; }; spinlock_t ptl; }; struct { struct dev_pagemap* pgmap; void* zone_device_data; }; struct callback_head callback_head; }' was added
  member 'union { struct { struct list_head lru; struct address_space* mapping; unsigned long index; unsigned long private; }; struct { unsigned long pp_magic; struct page_pool* pp; unsigned long _pp_mapping_pad; unsigned long dma_addr; union { unsigned long dma_addr_upper; atomic_long_t pp_frag_count; }; }; struct { union { struct list_head slab_list; struct { struct page* next; int pages; int pobjects; }; }; struct kmem_cache* slab_cache; void* freelist; union { void* s_mem; unsigned long counters; struct { unsigned int inuse:16; unsigned int objects:15; unsigned int frozen:1; }; }; }; struct { unsigned long compound_head; unsigned char compound_dtor; unsigned char compound_order; atomic_t compound_mapcount; unsigned int compound_nr; }; struct { unsigned long _compound_pad_1; atomic_t hpage_pinned_refcount; struct list_head deferred_list; }; struct { unsigned long _pt_pad_1; pgtable_t pmd_huge_pte; unsigned long _pt_pad_2; union { struct mm_struct* pt_mm; atomic_t pt_frag_refcount; }; spinlock_t ptl; }; struct { struct dev_pagemap* pgmap; void* zone_device_data; }; struct callback_head callback_head; }' was removed

type 'struct request_queue' changed
  byte size changed from 2240 to 2104
  member 'struct delayed_work requeue_work' was removed
  22 members ('struct mutex sysfs_lock' .. 'u64 android_oem_data1') changed
    offset changed by -1088

type 'struct Scsi_Host' changed
  member 'unsigned int queuecommand_may_block:1' was added
  2 members ('unsigned int short_inquiry:1' .. 'unsigned int no_scsi2_lun_in_cdb:1') changed
    offset changed by 1

type 'struct pglist_data' changed
  byte size changed from 7168 to 7232
  2 members ('unsigned long flags' .. 'struct lru_gen_mm_walk mm_walk') changed
    offset changed by 128
  member 'struct lru_gen_memcg memcg_lru' changed
    offset changed by 256
  3 members ('struct zone_padding _pad2_' .. 'atomic_long_t vm_stat[41]') changed
    offset changed by 512

type 'struct phy_device' changed
  byte size changed from 1600 to 1640
  member 'struct phy_led_trigger* phy_led_triggers' was added
  member 'unsigned int phy_num_led_triggers' was added
  member 'struct phy_led_trigger* last_triggered' was added
  member 'struct phy_led_trigger* led_link_trigger' was added
  member 'int irq' changed
    offset changed by 288
  21 members ('void* priv' .. 'u64 android_kabi_reserved4') changed
    offset changed by 320

type 'struct scsi_host_template' changed
  member 'unsigned int queuecommand_may_block:1' was added

type 'struct mem_cgroup_per_node' changed
  byte size changed from 2080 to 2096
  9 members ('struct lruvec_stats_percpu* lruvec_stats_percpu' .. 'struct mem_cgroup* memcg') changed
    offset changed by 128

type 'struct per_cpu_pages' changed
  byte size changed from 336 to 320
  member 'spinlock_t lock' was added
  4 members ('int count' .. 'short free_factor') changed
    offset changed by 32
  member changed from 'struct list_head lists[20]' to 'struct list_head lists[17]'
    offset changed from 128 to 192
    type changed from 'struct list_head[20]' to 'struct list_head[17]'
      number of elements changed from 20 to 17

type 'struct swap_info_struct' changed
  byte size changed from 288 to 296
  member 'u64 android_vendor_data1' was added
  member 'struct plist_node avail_lists[0]' changed
    offset changed by 64

type 'struct lruvec' changed
  byte size changed from 1224 to 1240
  member 'struct lru_gen_mm_state mm_state' changed
    offset changed by 128
  member 'struct pglist_data* pgdat' changed
    offset changed by -64
  member 'u64 android_vendor_data1' was added
  member 'u64 android_kabi_reserved1' was added
  member 'u64 android_kabi_reserved2' was added

type 'struct lru_gen_mm_walk' changed
  byte size changed from 152 to 168
  member 'u64 android_kabi_reserved1' was added
  member 'u64 android_kabi_reserved2' was added

type 'struct lru_gen_memcg' changed
  byte size changed from 160 to 176
  member 'u64 android_kabi_reserved1' was added
  member 'u64 android_kabi_reserved2' was added

type 'struct lru_gen_page' changed
  byte size changed from 960 to 976
  member 'u64 android_kabi_reserved1' was added
  member 'u64 android_kabi_reserved2' was added

type 'struct lru_gen_mm_state' changed
  byte size changed from 120 to 96
  member 'struct wait_queue_head wait' was removed
  2 members ('unsigned long* filters[2]' .. 'unsigned long stats[1][6]') changed
    offset changed by -192
  member 'u64 android_kabi_reserved1' was added
  member 'int nr_walkers' was removed

Bug: 285364323
Change-Id: I7bde6d93581c7abf225556bdcec7efe25edcc572
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2023-06-08 00:00:33 +00:00
2023-06-08 00:00:33 +00:00
2023-04-25 16:02:54 +00:00
2023-02-25 15:44:31 +00:00
2023-03-17 13:35:31 +00:00
2023-01-18 12:52:16 +00:00
2023-03-23 12:10:59 +00:00
2021-10-18 20:22:03 -10:00
2023-04-25 16:02:54 +00: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%