Go to file
2025-05-20 10:20:47 +02:00
android Merge branch 'lf-6.6.y_android' into dev_automotive-15.0_1.3.0 2025-03-06 15:20:39 +01:00
arch AAUTO-1926 add imx95-19x19-verdin-rpmsg-car.dts for i2c through SRTM 2025-05-13 17:06:16 +02:00
block Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +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 'aosp/android15-6.6-2024-11' into nxp-linux-sdk/lf-6.6.y_android 2024-11-11 16:09:28 +09:00
Documentation Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
drivers LF-14222-2 media/i2c: ox03c10: introduce standard controls 2025-03-25 17:02:07 +01:00
fs Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
include Merge branch 'lf-6.6.y_android' into dev_automotive-15.0_1.3.0 2025-03-06 15:20:39 +01:00
init ANDROID: suppress GKI configs for 32-bit builds 2024-11-20 16:44:55 +00:00
io_uring Merge 885f8c873f ("Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001") into android15-6.6-lts 2024-11-21 22:11:21 +00:00
ipc Revert "sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table)" 2024-08-16 14:23:08 +00:00
kernel Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
lib Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +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 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-23 17:56:28 +09:00
net Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
rust This is the 6.6.55 stable release 2024-10-10 12:10:42 +00:00
samples This is the 6.6.54 stable release 2024-10-08 08:05:55 +00:00
scripts Merge remote-tracking branch 'aosp/android15-6.6-2024-11' into nxp-linux-sdk/lf-6.6.y_android 2024-11-11 16:09:28 +09:00
security Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
sound Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
tools Merge remote-tracking branch 'aosp/android15-6.6-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +09:00
usr MLK-24874-1 uapi: fix the UAPI_HEADER_TEST/install failure 2024-01-12 16:27:34 +09:00
virt This is the 6.6.54 stable release 2024-10-08 08:05:55 +00:00
.clang-format iommu: Add for_each_group_device() 2023-05-23 08:15:51 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: set diff driver for Rust source code files 2023-05-31 17:48:25 +02:00
.gitignore Remove *.orig pattern from .gitignore 2024-10-04 16:29:44 +02: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-2025-01' into nxp-linux-sdk/lf-6.6.y_android 2025-01-07 18:35:05 +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: revert Rust Binder changes in android15-6.6 2024-08-14 09:00:02 +00:00
build.config.constants ANDROID: revert Rust Binder changes in android15-6.6 2024-08-14 09:00:02 +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
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.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.imx MA-22425-1 Kleaf: Add imx95_gki.fragment to PRE_DEFCONFIG_CMDS 2024-05-14 17:20:50 +09:00
build.config.khwasan
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.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-22955-2 Kleaf: Change modules 2024-10-17 13:55:18 +09:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig
Kconfig.ext
MAINTAINERS Merge commit 'aosp/android15-6.6-lts' into nxp-linux-sdk/lf-6.6.y_android 2024-10-08 13:19:16 +09:00
MAINTAINERS.NXP LF-12850-3: media: os08a20: Remove maintainer for old imx95 os08a20 sensor driver 2024-07-09 09:46:08 +03:00
Makefile Merge 6.6.58 into android15-6.6-lts 2024-11-21 22:14:24 +00:00
modules.bzl ANDROID: GKI: enable CONFIG_TLS=m as a GKI module 2024-12-18 15:48:01 -08:00
OWNERS ANDROID: Enable GKI Dr. No Enforcement 2024-05-21 20:47:40 +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
SBOM-linux-imx-automotive-15.0.0_1.3.0-imx95-er.spdx.json AAUTO-1941 SBOM file has been added. 2025-05-20 10:20:47 +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 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)