Go to file
Jiri Rezler af5e563b8f AAUTO-1374 "performance" government has been set as default.
Unused drivers have been removed.
Boot logo has been disabled.
2024-04-30 10:18:39 +02:00
android Merge remote-tracking branch 'aosp/android15-6.6' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:39:11 +09:00
arch AAUTO-1374 "performance" government has been set as default. 2024-04-30 10:18:39 +02:00
block Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
certs Merge f2586d921c ("Merge tag 'tpmdd-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd") into android-mainline 2023-10-05 14:49:44 +00:00
crypto Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
Documentation Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-10 15:44:06 +09:00
drivers Merge branch 'lf-6.6.y_android' into dev_automotive-14.0.0_2.1.0-imx95-er 2024-04-17 15:03:14 +02:00
fs Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
include Merge branch 'lf-6.6.y_android' into dev_automotive-14.0.0_2.1.0-imx95-er 2024-04-17 15:03:14 +02:00
init Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
io_uring Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
ipc Add x86 shadow stack support 2023-08-31 12:20:12 -07:00
kernel Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
lib Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2022-11-08 15:44:01 +01:00
mm Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
net Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
rust ANDROID: rust: uaccess: fix length usage in read_all 2024-02-22 08:29:53 +00:00
samples work around gcc bugs with 'asm goto' with outputs 2024-02-23 09:24:47 +01:00
scripts Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
security Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
sound MA-22294 ASoC: fsl: imx-rpmsg: Update to correct DT node 2024-04-10 18:10:31 +09:00
tools tools/resolve_btfids: fix build with musl libc 2024-04-12 10:56:47 +08:00
usr MLK-24874-1 uapi: fix the UAPI_HEADER_TEST/install failure 2024-01-12 16:27:34 +09:00
virt ANDROID: KVM: arm64: Remove CONFIG_KVM_IOMMU 2024-03-06 16:36:51 +00:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig
.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 kbuild: rpm-pkg: rename binkernel.spec to kernel.spec 2023-07-25 00:59:33 +09:00
.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
BUILD.bazel Merge remote-tracking branch 'aosp/android15-6.6' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:39:11 +09: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
build.config.allmodconfig.arm
build.config.allmodconfig.x86_64
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 ANDROID: 3/27/2024 KMI update 2024-03-27 17:13:45 +00:00
build.config.constants ANDROID: Move BRANCH back to build.config.common. 2024-02-28 21:53:18 +00: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_kasan ANDROID: build.config: re-disable LTO properly for KASAN 2022-03-24 12:41:35 -07:00
build.config.gki_kasan.aarch64
build.config.gki_kasan.x86_64
build.config.gki_kprobes
build.config.gki_kprobes.aarch64
build.config.gki_kprobes.x86_64
build.config.gki.aarch64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-20 17:41:29 +00:00
build.config.gki.riscv64 ANDROID: GKI: Merge riscv gki.config into gki_defconfig 2023-06-23 18:02:47 +00:00
build.config.gki.x86_64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-20 17:41:29 +00:00
build.config.imx MA-20138 Add initial build.config.imx 2024-01-12 16:45:27 +09:00
build.config.khwasan
build.config.kunit.aarch64 ANDROID: Add kunit targets. 2023-09-11 17:12:10 +00:00
build.config.kunit.riscv64 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.riscv64 ANDROID: GKI: Add 64-bit RISC-V config 2022-12-08 20:01:15 +00:00
build.config.rockpi4 ANDROID: db845c: Remove MAKE_GOALS from build.config 2023-05-15 07:01:39 +00:00
build.config.x86_64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-15 03:55:45 +00:00
COPYING
CREDITS USB: Remove Wireless USB and UWB documentation 2023-08-09 14:17:32 +02:00
imx.bzl MA-22127-2 Kleaf: remove cfg80211.ko and mac80211.ko 2024-03-05 17:22:59 +09:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
Kconfig.ext ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
MAINTAINERS Merge remote-tracking branch 'aosp/android15-6.6' into nxp-linux-sdk/lf-6.6.y_android 2024-03-04 16:07:11 +09:00
MAINTAINERS.NXP LF-11326: MAINTAINERS.NXP: Add maintainer for CSI pixel formatter driver 2024-04-08 11:25:50 +08:00
Makefile Merge remote-tracking branch 'lf-lts/lf-6.6.y' into nxp-linux-sdk/lf-6.6.y_android 2024-04-03 14:42:36 +09:00
modules.bzl ANDROID: mm: Removing memhealth driver 2024-01-31 02:13:35 +00:00
OWNERS ANDROID: Add joneslee to OWNERS 2023-03-03 17:51:40 +00:00
OWNERS_DrNo ANDROID: Add joneslee to OWNERS_DrNo 2023-03-04 16:33:39 +00:00
PREUPLOAD.cfg ANDROID: Enable repo hooks 2024-01-12 16:53:59 +09:00
README
README.md ANDROID: README.md: fix duplicated word 2023-07-08 00:11:00 +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 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)