No description
  • C 97.5%
  • Assembly 1.1%
  • Shell 0.5%
  • Makefile 0.3%
  • Python 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zenin1504 84bd949ead onyx: Use clang-r596125
Match kernel_manifest, which syncs clang-r596125 (22.0.2).
device_xiaomi_onyx-kernel's update-prebuilt.sh takes the clang for
headers_install from CLANG_VERSION.

Assisted-by: LLM
Change-Id: Ia508107d71631a31197efaebed4fa39fc8353dc7
2026-12-06 09:09:47 +01:00
android Merge tag 'ASB-2026-11-02_15-6.6' of https://android.googlesource.com/kernel/common into HEAD 2026-11-04 10:22:16 -05:00
arch treewide: Configure KMI 2026-12-02 05:42:41 +01:00
bazel/test ANDROID: Kleaf: Add build test for unsafe DDK headers 2026-04-01 06:00:38 -07:00
block Merge tag 'ASB-2026-11-02_15-6.6' of https://android.googlesource.com/kernel/common into HEAD 2026-11-04 10:22:16 -05:00
certs Merge remote-tracking branch 'common/android15-6.6-lts' into HEAD 2026-11-02 16:33:13 -05:00
crypto This is the 6.6.141 stable release 2026-07-09 09:41:34 +00:00
Documentation Merge remote-tracking branch 'common/android15-6.6-lts' into HEAD 2026-11-02 16:33:13 -05:00
drivers Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
fs Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
include Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
init Revert "randomize_kstack: Maintain kstack_offset per task" 2026-06-22 08:05:10 +00:00
io_uring This is the 6.6.141 stable release 2026-07-09 09:41:34 +00:00
ipc This is the 6.6.143 stable release 2026-09-11 08:46:46 +00:00
kernel Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
lib Merge eb045714bc ("agp/amd64: Fix broken error propagation in agp_amd64_probe()") into android15-6.6-lts 2026-09-28 14:34:14 +00:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
mm Merge remote-tracking branch 'common/android15-6.6-lts' into HEAD 2026-11-02 16:33:13 -05:00
net Merge tag 'ASB-2026-11-02_15-6.6' of https://android.googlesource.com/kernel/common into HEAD 2026-11-04 10:22:16 -05:00
qcom_build_extensions qcom_build_extensions: Add socrepo flag in the externel path 2025-07-16 21:38:50 -07:00
rust This is the 6.6.141 stable release 2026-07-09 09:41:34 +00:00
samples Merge keystone/android15-6.6-ks-qcom-release.118 (59d330a) into qcom-6.6 2026-02-16 12:30:15 +05:30
scripts Merge branch 'android15-6.6-lts' of https://android.googlesource.com/kernel/common into HEAD 2026-10-02 01:12:45 +01:00
security Merge d087272c49 ("arm64: sysreg: Add layout for ID_AA64MMFR4_EL1") into android15-6.6-lts 2026-10-29 12:44:22 +00:00
sound Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
tools Merge d087272c49 ("arm64: sysreg: Add layout for ID_AA64MMFR4_EL1") into android15-6.6-lts 2026-10-29 12:44:22 +00:00
usr kbuild: uapi: Strip comments before size type check 2025-11-24 10:29:49 +01:00
virt Merge 1a02a5028b ("block: Avoid mounting the bdev pseudo-filesystem in userspace") into android15-6.6-lts 2026-10-29 08:36:44 +00:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes .gitattributes: set diff driver for Rust source code files 2023-05-31 17:48:25 +02:00
.gitignore Merge keystone/android15-6.6-ks-qcom-release.56 (83bd56a) into qcom-6.6 2025-01-10 09:04:28 +05:30
.mailmap 20 hotfixes. 12 are cc:stable and the remainder address post-6.5 issues 2023-10-24 09:52:16 -10:00
.rustfmt.toml rust: add .rustfmt.toml 2022-09-28 09:02:20 +02:00
abi.bzl ANDROID: Build kselftests for 32bit x86 2024-01-31 03:53:54 +00:00
allyes_images.bzl build: bazel: Enable compilation for sdxkova SoC 2024-07-15 18:08:21 +05:30
Android.bp Android.bp: add soong namespace 2025-09-15 23:08:24 +01:00
avb_boot_img.bzl ANDROID: build: Fix output directory layout 2023-08-29 14:45:22 -07:00
bazel.WORKSPACE ANDROID: build: Move BUILD.dtc contents to workspace file 2024-01-29 12:18:21 -08:00
BUILD.bazel Merge remote-tracking branch 'common/android15-6.6-lts' into HEAD 2026-11-02 16:33:13 -05:00
build.config.aarch64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-15 03:55:45 +00:00
build.config.allmodconfig ANDROID: Disable AF_RXRPC for allmodconfig. 2023-03-15 14:09:33 +00:00
build.config.allmodconfig.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.arm ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allyesconfig build: bazel: Enable compilation for sdxkova SoC 2024-07-15 18:08:21 +05:30
build.config.amlogic ANDROID: Unnest MAKE_GOALS from build configs 2023-05-02 13:31:48 +00:00
build.config.arm ANDROID: kleaf: move NDK_TRIPLE for arm to build.config.constants. 2023-05-09 22:36:13 +00:00
build.config.common Merge keystone/android15-6.6-ks-qcom-release.46 (e665991) into qcom-6.6 2024-10-09 16:46:06 -07:00
build.config.constants onyx: Use clang-r596125 2026-12-06 09:09:47 +01:00
build.config.crashdump ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.crashdump.aarch64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.crashdump.x86_64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.db845c ANDROID: db845c: Enable device tree overlay support 2024-01-16 17:31:28 +00:00
build.config.gki ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables 2022-12-27 13:57:50 -08:00
build.config.gki.aarch64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-20 17:41:29 +00:00
build.config.gki.aarch64.fips140 ANDROID: fips140: add kernel crypto module 2024-05-07 16:51:41 +00:00
build.config.gki.x86_64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-20 17:41:29 +00:00
build.config.gki_consolidate.aarch64 ANDROID: add GKI consolidate build 2025-08-25 20:34:19 +00:00
build.config.gki_kasan ANDROID: build.config: re-disable LTO properly for KASAN 2022-03-24 12:41:35 -07:00
build.config.gki_kasan.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kasan.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kprobes ANDROID: build.configs: migrate away from CC_LD_ARG 2021-07-02 09:49:23 +00:00
build.config.gki_kprobes.aarch64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +00:00
build.config.gki_kprobes.x86_64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +00:00
build.config.khwasan ANDROID: Add a build config fragment for KHWASan. 2021-10-13 19:44:44 +00:00
build.config.kunit.aarch64 ANDROID: Add kunit targets. 2023-09-11 17:12:10 +00:00
build.config.kunit.x86_64 ANDROID: Add kunit targets. 2023-09-11 17:12:10 +00:00
build.config.microdroid ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.microdroid.aarch64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.microdroid.x86_64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-12-08 16:24:53 +09:00
build.config.msm.common build.config.msm.common: Write merged defconfig to $OUTDIR 2023-04-26 05:25:06 -07:00
build.config.msm.kera.le build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.le build: bazel: Enable compilation for sdxkova SoC 2024-07-15 18:08:21 +05:30
build.config.msm.monaco build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.parrot build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.parrot.tuivm build: Add build support for Parrot VM 2024-08-19 02:42:21 -07:00
build.config.msm.parrot.vm build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.perf build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.pineapple build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.pineapple.oemvm build: config: Add build configs for pineapple 2023-09-23 10:18:48 +05:30
build.config.msm.pineapple.tuivm build: config: Add build configs for pineapple 2023-09-23 10:18:48 +05:30
build.config.msm.pineapple.vm build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.qcs610 build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sdxkova build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sdxkova.common build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sdxkova.cpe.wkk build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sun build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sun.allyes build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sun.le build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.sun.oemvm build: Add build support for Sun VM 2023-09-26 08:39:31 +05:30
build.config.msm.sun.tuivm build: Add build support for Sun VM 2023-09-26 08:39:31 +05:30
build.config.msm.sun.vm build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
build.config.msm.vm build: config: Add build configs for pineapple 2023-09-23 10:18:48 +05:30
build.config.rockpi4 ANDROID: db845c: Remove MAKE_GOALS from build.config 2023-05-15 07:01:39 +00:00
build.config.wonder ANDROID: Add support for building the wonder driver for ARM64 2026-03-10 09:37:39 -07:00
build.config.x86_64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-15 03:55:45 +00:00
BUILD.dtc BUILD.bazel: Update bazel files from qcom-6.1 2023-04-03 11:48:35 -07:00
build.targets kernel: add the kera le target 2025-05-30 10:38:38 +08:00
build_with_bazel.py build_with_bazel: Avoid creating symbolic link for some files 2025-04-21 04:37:34 -07:00
consolidate.bzl BUILD: DDK: Add consolidate 16k support 2025-08-25 20:36:37 +00:00
consolidate_16k.bzl BUILD: DDK: Add consolidate 16k support 2025-08-25 20:36:37 +00:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS USB: Remove Wireless USB and UWB documentation 2023-08-09 14:17:32 +02:00
files_gki_aarch64.txt Merge keystone/android15-6.6-ks-qcom-release.118 (59d330a) into qcom-6.6 2026-02-16 12:30:15 +05:30
image_opts.bzl Merge "ANDROID: build: Add earlycon to target bazel and remove from sdxkova.common" 2024-08-26 00:45:45 -07:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig sched/walt: Introduce WALT as a module 2023-09-07 09:56:05 -07:00
Kconfig.ext ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
kera_le.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
MAINTAINERS This is the 6.6.141 stable release 2026-07-09 09:41:34 +00:00
Makefile Merge https://github.com/LineageOS/android_kernel_qcom_sm8750 into HEAD 2026-11-30 16:59:07 +01:00
modules.bzl Reapply "ANDROID: enable CONFIG_USB_XHCI_PCI_RENESAS in gki_defconfig" 2026-07-14 07:01:19 -07:00
modules.list.msm.kera-le Revert "arm64: configs: Remove redundant configs for kera-le" 2026-01-13 22:09:00 -08:00
modules.list.msm.monaco Merge "arch: arm64: monaco: Remove crypto common module" 2026-03-09 13:37:55 -07:00
modules.list.msm.parrot modules.list.msm: Move qpnp-power-on.ko to first stage 2025-07-15 00:18:53 -07:00
modules.list.msm.pineapple arch: arm64: pineapple: enable ice wrapped keys 2024-04-03 10:18:15 -07:00
modules.list.msm.qcs610 defconfig: qcs610: Enable Full Disk Encryption 2026-02-24 00:55:19 -08:00
modules.list.msm.sun modules.list: sun: Drop missing modules 2026-08-22 16:37:15 +05:30
modules.list.msm.sun-le modules.list.msm.sun-le: Add debugcc-sun to first stage for sun 2026-01-14 22:01:11 -08:00
modules.list.msm.waipio ANDROID: build: Add module lists/blocklists for Waipio 2026-10-23 16:38:07 +00:00
modules.systemdlkm_blocklist.msm.kera-le kernel: add the kera le target 2025-05-30 10:38:38 +08:00
modules.systemdlkm_blocklist.msm.monaco ANDROID: build: Block ptp_kvm since it's causing issues 2024-07-14 20:59:01 -07:00
modules.systemdlkm_blocklist.msm.parrot ANDROID: build: Block ptp_kvm since it's causing issues 2024-07-14 20:59:01 -07:00
modules.systemdlkm_blocklist.msm.pineapple ANDROID: build: Block ptp_kvm since it's causing issues 2024-07-14 20:59:01 -07:00
modules.systemdlkm_blocklist.msm.sun build: bazel: Don't override gki modules 2026-10-17 14:31:27 -04:00
modules.systemdlkm_blocklist.msm.sun-le kernel: add sun le target 2025-02-21 15:20:22 +08:00
modules.systemdlkm_blocklist.msm.waipio ANDROID: build: Add module lists/blocklists for Waipio 2026-10-23 16:38:07 +00:00
modules.vendor_blocklist.msm.kera-le kernel: add the kera le target 2025-05-30 10:38:38 +08:00
modules.vendor_blocklist.msm.monaco ANDROID: build: Add initial modules on monaco target 2024-04-04 10:36:57 +05:30
modules.vendor_blocklist.msm.parrot build.config: Add msm.parrot target and modules blacklist 2024-02-23 19:38:16 +05:30
modules.vendor_blocklist.msm.pineapple modules.blocklist: Blocklist ipclite_test module 2024-03-20 05:41:46 -07:00
modules.vendor_blocklist.msm.sun Revert "qcom: Disable wlan driver loading for Kera" 2025-01-05 22:38:36 -08:00
modules.vendor_blocklist.msm.sun-le kernel: add sun le target 2025-02-21 15:20:22 +08:00
modules.vendor_blocklist.msm.waipio ANDROID: build: Add module lists/blocklists for Waipio 2026-10-23 16:38:07 +00:00
modules_unprotected.bzl build: bazel: Don't override gki modules 2026-10-17 14:31:27 -04:00
monaco.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
msm_abl.bzl BUILD.bazel: Add snapshot of Bazel support to kernel platform 2023-03-15 11:12:49 -07:00
msm_common.bzl build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
msm_dtc.bzl BUILD.bazel: Add snapshot of Bazel support to kernel platform 2023-03-15 11:12:49 -07:00
msm_kernel_16k_la.bzl ANDROID: build: Build the GKI kernel from this tree 2026-11-07 20:53:29 +00:00
msm_kernel_extensions.bzl build: bazel: Update hardcoded paths 2026-05-23 18:15:18 +00:00
msm_kernel_la.bzl ANDROID: build: Build the GKI kernel from this tree 2026-11-07 20:53:29 +00:00
msm_kernel_le.bzl build: bazel: Update hardcoded paths 2026-05-23 18:15:18 +00:00
msm_kernel_vm.bzl build: bazel: Update hardcoded paths 2026-05-23 18:15:18 +00:00
msm_platforms.bzl ANDROID: build: Add support for Waipio 2026-10-23 16:38:07 +00:00
OWNERS ANDROID: Enable GKI Dr. No Enforcement 2024-05-21 20:47:40 +00:00
parrot.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
parrot_tuivm.bzl bazel: Update dummy image offset 8kb upwards 2025-04-25 04:26:38 -07:00
pineapple.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
pineapple_oemvm.bzl build: config: Add build configs for pineapple 2023-09-23 10:18:48 +05:30
pineapple_tuivm.bzl build: config: Add build configs for pineapple 2023-09-23 10:18:48 +05:30
pineapple_vms.bzl build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
qcs610.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md ANDROID: README.md: document FROMLIST not being allowed for rejected changes 2025-01-24 11:40:13 +00:00
sdxkova.bzl ANDROID: build: Add earlycon to target bazel and remove from sdxkova.common 2024-08-23 15:34:41 +05:30
sdxkova_cpe_wkk.bzl build: bazel: Rename sdxkova-cpe-wkk to sdxkova.cpe.wkk 2024-09-11 08:15:55 -07:00
sun.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
sun_allyes.bzl msm: Changes for static kernel support 2023-10-11 16:08:45 -07:00
sun_le.bzl UPSTREAM: soc: qcom: pdr: extract PDR message marshalling data 2026-10-23 16:38:07 +00:00
sun_oemvm.bzl build: Add build support for Sun VM 2023-09-26 08:39:31 +05:30
sun_tuivm.bzl build: Add build support for Sun VM 2023-09-26 08:39:31 +05:30
sun_vms.bzl build: bazel: Don't hardcode path to current repo 2026-05-23 18:15:18 +00:00
target_variants.bzl ANDROID: build: Add support for Waipio 2026-10-23 16:38:07 +00:00
uapi_library.bzl BUILD.bazel: Add snapshot of Bazel support to kernel platform 2023-03-15 11:12:49 -07:00
uapi_unpacker.bzl BUILD.bazel: Add snapshot of Bazel support to kernel platform 2023-03-15 11:12:49 -07:00
waipio.bzl arm64: defconfig: Add the pd-mapper module to waipio 2026-10-23 16:38:07 +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 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 [email protected]. 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 <[email protected]>
  • 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 <[email protected]>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry picked from commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <[email protected]>
  • 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 <[email protected]>

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

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 <[email protected]>
  • 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 <[email protected]>

        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 <[email protected]>
  • 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 <[email protected]>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/[email protected]/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <[email protected]>
  • If a patch has been submitted to the community, but rejected, do NOT use the FROMLIST: tag to try to hide this fact. Use the ANDROID: tag as described below as this must be considered as an Android-specific submission, not an upstream submission as the community will not accept these changes as-is.

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 <[email protected]>
  • 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)