Carlos Llamas 1463dca508 ANDROID: 6/16/2023 KMI update
Set KMI_GENERATION=9 for 6/16 KMI update

variable symbol changed from 'struct static_key_false cpu_hwcap_keys[75]' to 'struct static_key_false cpu_hwcap_keys[95]'
  CRC changed from 0xfe9a697c to 0x41aad71d
  type changed from 'struct static_key_false[75]' to 'struct static_key_false[95]'
    number of elements changed from 75 to 95

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

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

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

... 3676 omitted; 3679 symbols have only CRC changes

type 'enum cpuhp_state' changed
  enumerator 'CPUHP_AP_ARM_SDEI_STARTING' (114) was removed
  enumerator 'CPUHP_AP_ARM_VFP_STARTING' value changed from 115 to 114
  enumerator 'CPUHP_AP_ARM64_DEBUG_MONITORS_STARTING' value changed from 116 to 115
  enumerator 'CPUHP_AP_PERF_ARM_HW_BREAKPOINT_STARTING' value changed from 117 to 116
  enumerator 'CPUHP_AP_PERF_ARM_ACPI_STARTING' value changed from 118 to 117
  enumerator 'CPUHP_AP_PERF_ARM_STARTING' value changed from 119 to 118
  enumerator 'CPUHP_AP_ARM_L2X0_STARTING' value changed from 120 to 119
  enumerator 'CPUHP_AP_EXYNOS4_MCT_TIMER_STARTING' value changed from 121 to 120
  enumerator 'CPUHP_AP_ARM_ARCH_TIMER_STARTING' value changed from 122 to 121
  enumerator 'CPUHP_AP_ARM_GLOBAL_TIMER_STARTING' value changed from 123 to 122
  enumerator 'CPUHP_AP_JCORE_TIMER_STARTING' value changed from 124 to 123
  enumerator 'CPUHP_AP_ARM_TWD_STARTING' value changed from 125 to 124
  enumerator 'CPUHP_AP_QCOM_TIMER_STARTING' value changed from 126 to 125
  enumerator 'CPUHP_AP_TEGRA_TIMER_STARTING' value changed from 127 to 126
  enumerator 'CPUHP_AP_ARMADA_TIMER_STARTING' value changed from 128 to 127
  enumerator 'CPUHP_AP_MARCO_TIMER_STARTING' value changed from 129 to 128
  enumerator 'CPUHP_AP_MIPS_GIC_TIMER_STARTING' value changed from 130 to 129
  enumerator 'CPUHP_AP_ARC_TIMER_STARTING' value changed from 131 to 130
  enumerator 'CPUHP_AP_RISCV_TIMER_STARTING' value changed from 132 to 131
  enumerator 'CPUHP_AP_CLINT_TIMER_STARTING' value changed from 133 to 132
  enumerator 'CPUHP_AP_CSKY_TIMER_STARTING' value changed from 134 to 133
  enumerator 'CPUHP_AP_TI_GP_TIMER_STARTING' value changed from 135 to 134
  enumerator 'CPUHP_AP_HYPERV_TIMER_STARTING' value changed from 136 to 135
  enumerator 'CPUHP_AP_KVM_STARTING' value changed from 137 to 136
  enumerator 'CPUHP_AP_KVM_ARM_VGIC_INIT_STARTING' value changed from 138 to 137
  enumerator 'CPUHP_AP_KVM_ARM_VGIC_STARTING' value changed from 139 to 138
  enumerator 'CPUHP_AP_KVM_ARM_TIMER_STARTING' value changed from 140 to 139
  enumerator 'CPUHP_AP_DUMMY_TIMER_STARTING' value changed from 141 to 140
  enumerator 'CPUHP_AP_ARM_XEN_STARTING' value changed from 142 to 141
  enumerator 'CPUHP_AP_ARM_CORESIGHT_STARTING' value changed from 143 to 142
  enumerator 'CPUHP_AP_ARM_CORESIGHT_CTI_STARTING' value changed from 144 to 143
  enumerator 'CPUHP_AP_ARM64_ISNDEP_STARTING' value changed from 145 to 144
  enumerator 'CPUHP_AP_SMPCFD_DYING' value changed from 146 to 145
  enumerator 'CPUHP_AP_X86_TBOOT_DYING' value changed from 147 to 146
  enumerator 'CPUHP_AP_ARM_CACHE_B15_RAC_DYING' value changed from 148 to 147
  enumerator 'CPUHP_AP_ONLINE' value changed from 149 to 148
  enumerator 'CPUHP_TEARDOWN_CPU' value changed from 150 to 149
  enumerator 'CPUHP_AP_ONLINE_IDLE' value changed from 151 to 150
  enumerator 'CPUHP_AP_SCHED_WAIT_EMPTY' value changed from 152 to 151
  enumerator 'CPUHP_AP_SMPBOOT_THREADS' value changed from 153 to 152
  enumerator 'CPUHP_AP_X86_VDSO_VMA_ONLINE' value changed from 154 to 153
  enumerator 'CPUHP_AP_IRQ_AFFINITY_ONLINE' value changed from 155 to 154
  enumerator 'CPUHP_AP_BLK_MQ_ONLINE' value changed from 156 to 155
  enumerator 'CPUHP_AP_ARM_MVEBU_SYNC_CLOCKS' value changed from 157 to 156
  enumerator 'CPUHP_AP_X86_INTEL_EPB_ONLINE' value changed from 158 to 157
  enumerator 'CPUHP_AP_PERF_ONLINE' value changed from 159 to 158
  enumerator 'CPUHP_AP_PERF_X86_ONLINE' value changed from 160 to 159
  enumerator 'CPUHP_AP_PERF_X86_UNCORE_ONLINE' value changed from 161 to 160
  enumerator 'CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE' value changed from 162 to 161
  enumerator 'CPUHP_AP_PERF_X86_AMD_POWER_ONLINE' value changed from 163 to 162
  enumerator 'CPUHP_AP_PERF_X86_RAPL_ONLINE' value changed from 164 to 163
  enumerator 'CPUHP_AP_PERF_X86_CQM_ONLINE' value changed from 165 to 164
  enumerator 'CPUHP_AP_PERF_X86_CSTATE_ONLINE' value changed from 166 to 165
  enumerator 'CPUHP_AP_PERF_X86_IDXD_ONLINE' value changed from 167 to 166
  enumerator 'CPUHP_AP_PERF_S390_CF_ONLINE' value changed from 168 to 167
  enumerator 'CPUHP_AP_PERF_S390_SF_ONLINE' value changed from 169 to 168
  enumerator 'CPUHP_AP_PERF_ARM_CCI_ONLINE' value changed from 170 to 169
  enumerator 'CPUHP_AP_PERF_ARM_CCN_ONLINE' value changed from 171 to 170
  enumerator 'CPUHP_AP_PERF_ARM_HISI_DDRC_ONLINE' value changed from 172 to 171
  enumerator 'CPUHP_AP_PERF_ARM_HISI_HHA_ONLINE' value changed from 173 to 172
  enumerator 'CPUHP_AP_PERF_ARM_HISI_L3_ONLINE' value changed from 174 to 173
  enumerator 'CPUHP_AP_PERF_ARM_HISI_PA_ONLINE' value changed from 175 to 174
  enumerator 'CPUHP_AP_PERF_ARM_HISI_SLLC_ONLINE' value changed from 176 to 175
  enumerator 'CPUHP_AP_PERF_ARM_L2X0_ONLINE' value changed from 177 to 176
  enumerator 'CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE' value changed from 178 to 177
  enumerator 'CPUHP_AP_PERF_ARM_QCOM_L3_ONLINE' value changed from 179 to 178
  enumerator 'CPUHP_AP_PERF_ARM_APM_XGENE_ONLINE' value changed from 180 to 179
  enumerator 'CPUHP_AP_PERF_ARM_CAVIUM_TX2_UNCORE_ONLINE' value changed from 181 to 180
  enumerator 'CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE' value changed from 182 to 181
  enumerator 'CPUHP_AP_PERF_POWERPC_CORE_IMC_ONLINE' value changed from 183 to 182
  enumerator 'CPUHP_AP_PERF_POWERPC_THREAD_IMC_ONLINE' value changed from 184 to 183
  enumerator 'CPUHP_AP_PERF_POWERPC_TRACE_IMC_ONLINE' value changed from 185 to 184
  enumerator 'CPUHP_AP_PERF_POWERPC_HV_24x7_ONLINE' value changed from 186 to 185
  enumerator 'CPUHP_AP_PERF_POWERPC_HV_GPCI_ONLINE' value changed from 187 to 186
  enumerator 'CPUHP_AP_PERF_CSKY_ONLINE' value changed from 188 to 187
  enumerator 'CPUHP_AP_WATCHDOG_ONLINE' value changed from 189 to 188
  enumerator 'CPUHP_AP_WORKQUEUE_ONLINE' value changed from 190 to 189
  enumerator 'CPUHP_AP_RANDOM_ONLINE' value changed from 191 to 190
  enumerator 'CPUHP_AP_RCUTREE_ONLINE' value changed from 192 to 191
  enumerator 'CPUHP_AP_BASE_CACHEINFO_ONLINE' value changed from 193 to 192
  enumerator 'CPUHP_AP_ONLINE_DYN' value changed from 194 to 193
  enumerator 'CPUHP_AP_ONLINE_DYN_END' value changed from 224 to 223
  enumerator 'CPUHP_AP_MM_DEMOTION_ONLINE' value changed from 225 to 224
  enumerator 'CPUHP_AP_X86_HPET_ONLINE' value changed from 226 to 225
  enumerator 'CPUHP_AP_X86_KVM_CLK_ONLINE' value changed from 227 to 226
  enumerator 'CPUHP_AP_DTPM_CPU_ONLINE' value changed from 228 to 227
  enumerator 'CPUHP_AP_ACTIVE' value changed from 229 to 228
  enumerator 'CPUHP_ANDROID_RESERVED_1' value changed from 230 to 229
  enumerator 'CPUHP_ANDROID_RESERVED_2' value changed from 231 to 230
  enumerator 'CPUHP_ANDROID_RESERVED_3' value changed from 232 to 231
  enumerator 'CPUHP_ANDROID_RESERVED_4' value changed from 233 to 232
  enumerator 'CPUHP_ONLINE' value changed from 234 to 233

type 'struct task_struct' changed
  byte size changed from 4672 to 4736
  5 members ('struct sched_rt_entity rt' .. 'struct uclamp_se uclamp[2]') changed
    offset changed by -1536
  member 'struct sched_statistics stats' was added
  189 members ('struct hlist_head preempt_notifiers' .. 'u64 android_kabi_reserved8') changed
    offset changed by 832
  member 'struct thread_struct thread' changed
    offset changed by 768

type 'struct platform_driver' changed
  byte size changed from 240 to 248
  member 'void(* remove_new)(struct platform_device*)' was added
  7 members ('void(* shutdown)(struct platform_device*)' .. 'u64 android_kabi_reserved1') changed
    offset changed by 64

type 'struct sched_entity' changed
  byte size changed from 512 to 320
  member 'struct sched_statistics statistics' was removed
  5 members ('int depth' .. 'unsigned long runnable_weight') changed
    offset changed by -1728
  5 members ('struct sched_avg avg' .. 'u64 android_kabi_reserved4') changed
    offset changed by -1536

type 'struct tipc_bearer' changed
  member 'u16 encap_hlen' was added

type 'enum kvm_pgtable_prot' changed
  enumerator 'KVM_PGTABLE_PROT_PXN' (32) was added
  enumerator 'KVM_PGTABLE_PROT_UXN' (64) was added

Bug: 287162457
Change-Id: Icccb0e4826e7693fdae5c4463be6664db1de421c
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2023-06-14 12:35:34 +00:00
2023-06-14 12:35:34 +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%