Greg Kroah-Hartman 2b896ed3a2 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This catches the android14-6.1-lts branch up with many abi updates and
other changes that have been merged into the android14-6.1 branch
recently.  Included in here are the following commits:

* 96d66062d0 ANDROID: GKI: Add initialization for mutex oem_data.
* 9e55f41695 ANDROID: abi_gki_aarch64_qcom: whitelist some mm symbols
* 56526cf940 ANDROID: mm: swap: export and whitelist get_shadow_from_swap_cache
* 74be75dd10 ANDROID: mm: madvise: vendor hook to tune page flags
* 7fc3794962 ANDROID: GKI: Add initialization for rwsem's oem_data and vendor_data.
* f6b99539f8 UPSTREAM: usb: dwc3: core: Skip setting event buffers for host only controllers
* ce6f9cab9e ANDROID: GKI: Update symbol list for mtk
* 256660feeb ANDROID: GKI: Add symbol to symbol list for vivo.
* d256bfafa9 ANDROID: vendor_hooks: add hooks in prctl_set_vma
* 0468527935 ANDROID: GKI: Update symbols list for vivo
* 81e9f0610c UPSTREAM: arm64: mm: Make hibernation aware of KFENCE
* aa8621e002 ANDROID: Update the ABI symbol list: set_normalized_timespec64
* 87fb1f2f1e Merge tag 'android14-6.1.84_r00' into android14-6.1
* 76d91af9da ANDROID: fix kernelci build breaks due to hid/uhid cyclic dependency
* c2dad37627 ANDROID: fix kernelci GCC builds of fips140.ko
* 8bffcfee7a UPSTREAM: sched/fair: Use all little CPUs for CPU-bound workloads
* a1926c3f2b ANDROID: GKI: Extend Tuxera symbol list
* 6aaa06c15d FROMLIST: locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
* 7682e638eb ANDROID: fips140: remove unnecessary no_sanitize(cfi)
* 681c91500c ANDROID: GKI: Add symbol to symbol list for vivo.
* 88b8a0c173 ANDROID: vendor_hooks: add hooks to modify pageflags
* 85a0c4bef6 ANDROID: GKI: Add pageflags for OEM
* 724b50f143 ANDROID: GKI: Update symbol list for vivo
* a5329424ea ANDROID: GKI: export sys_exit tracepoint
* 616650627d ANDROID: gki_defconfig: enable CONFIG_SYN_COOKIES
* 74a3c59c80 ANDROID: GKI: Update symbol list for vivo
* 1df05952a1 ANDROID: vendor_hooks: add hooks in rwsem
* 5747d79ab0 ANDROID: Update the ABI symbol list
* a7daeb4de8 ANDROID: GKI: Update symbol list for vivo
* 2870c78530 ANDROID: GKI: add percpu_rwsem vendor hooks
* 49203a2850 FROMGIT: erofs: fix possible memory leak in z_erofs_gbuf_exit()
* 0013c55474 BACKPORT: erofs: add a reserved buffer pool for lz4 decompression
* a35a90635c BACKPORT: erofs: do not use pagepool in z_erofs_gbuf_growsize()
* 2a23d59fd9 BACKPORT: erofs: rename per-CPU buffers to global buffer pool and make it configurable
* bb687ee6b6 BACKPORT: erofs: rename utils.c to zutil.c
* bab4765e5f BACKPORT: erofs: relaxed temporary buffers allocation on readahead
* a3fb83b3f5 BACKPORT: erofs: avoid pcpubuf.c inclusion if CONFIG_EROFS_FS_ZIP is off
* 91f4830fba ANDROID: GKI: Update rockchip symbols for bcmdhd sdio wifi.
* a8b3ebe7f9 ANDROID: 16K: Avoid mmap lock assertions for padding VMAs
* caa8ffe476 BACKPORT: scsi: ufs: core: Fix handling of lrbp->cmd
* d682bd3b2f ANDROID: GKI: Update symbol list for xiaomi
* e270773646 ANDROID: vendor_hooks: add hooks in rwsem read trylock
* 1a72e2f692 ANDROID: GKI: update symbol list file for xiaomi
* cd89d4fa07 ANDROID: GKI: Update symbol list for vivo
* 40f3c9d658 ANDROID: vendor_hooks: add vendor hooks for fuse request
* f9840ee562 ANDROID: Update the ABI symbol list
* 12709c5c1e ANDROID: GKI: add symbol list for meizu
* bda57805ab UPSTREAM: objtool: Fix HOSTCC flag usage
* b5164fdc98 UPSTREAM: objtool: Properly support make V=1
* fd5c2e1399 UPSTREAM: objtool: Install libsubcmd in build
* de6fb073c6 UPSTREAM: af_unix: Update unix_sk(sk)->oob_skb under sk_receive_queue lock.
* 0e9ee9221f UPSTREAM: af_unix: Don't peek OOB data without MSG_OOB.
* 30d168eb06 UPSTREAM: af_unix: Clear stale u->oob_skb.
* c0618d182a Revert "f2fs: fix to tag gcing flag on page during block migration"
* 25216be1ac ANDROID: Delete obsolete 16k_gki.fragment.
* 4c45e2f340 UPSTREAM: f2fs: clear writeback when compression failed
* 7c734edeaa ANDROID: GKI: Add symbol list for exynosauto
* b22d7c4ca0 FROMGIT: arm64: mte: Make mte_check_tfsr_*() conditional on KASAN instead of MTE
* 1331956fb5 ANDROID: gki_defconfig: Disable CONFIG_BRCMSTB_DPFE and CONFIG_BRCMSTB_MEMC
* 002be199aa FROMGIT: f2fs: fix to avoid use SSR allocate when do defragment
* dda68b1657 ANDROID: 16K: Only check basename of linker context
* 65aed0e2f7 ANDROID: 16K: Avoid and document padding madvise lock warning
* ec795e4eaa ANDROID: arm64: vdso32: support user-supplied flags
* ac9706483e ANDROID: GKI: Add initial symbol list for bcmstb
* b164ce27fa ANDROID: gki_defconfig: Enable Broadcom STB SoCs
* d385f8f23f UPSTREAM: mmc: core: Do not force a retune before RPMB switch
* 5c4b00b73e UPSTREAM: arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers
* ad62d386c8 BACKPORT: net: phy: Allow drivers to always call into ->suspend()
* 7c09ddbf94 UPSTREAM: ARM: perf: Mark all accessor functions inline
* f5e0452e91 UPSTREAM: arm64: perf: Mark all accessor functions inline
* 6d7eea37f7 UPSTREAM: perf/core: Drop __weak attribute from arch_perf_update_userpage() prototype
* bf3022d3c3 UPSTREAM: ARM: perf: Allow the use of the PMUv3 driver on 32bit ARM
* 393be9f6d0 UPSTREAM: ARM: Make CONFIG_CPU_V7 valid for 32bit ARMv8 implementations
* 9d0a91c993 UPSTREAM: perf: pmuv3: Change GENMASK to GENMASK_ULL
* ab26945ffd UPSTREAM: perf: pmuv3: Move inclusion of kvm_host.h to the arch-specific helper
* 3e7e6fa4da UPSTREAM: perf: pmuv3: Abstract PMU version checks
* 55cfecdaaa UPSTREAM: arm64: perf: Abstract system register accesses away
* 278e973f01 UPSTREAM: arm64: perf: Move PMUv3 driver to drivers/perf
* 222a79a1bb UPSTREAM: arm64/perf: Replace PMU version number '0' with ID_AA64DFR0_EL1_PMUVer_NI
* 62a4d78dda ANDROID: GKI: Update oplus symbol list
* bfacfd198e UPSTREAM: block/blk-mq: Don't complete locally if capacities are different
* cf4893eb95 BACKPORT: sched: Add a new function to compare if two cpus have the same capacity
* e4622d460e ANDROID: GKI: Update rockchip symbols for rndis_host.
* f601b06a7e ANDROID: GKI: Update rockchip symbols for snd multi dais.
* 986fffb590 UPSTREAM: usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete
* 163070bc79 UPSTREAM: usb: gadget: f_fs: use io_data->status consistently
* 3c19f7015e ANDROID: set rewrite_absolute_paths_in_config for GKI aarch64.
* 9fcc2459ef UPSTREAM: wifi: cfg80211: Clear mlo_links info when STA disconnects
* e2c5ee3d15 ANDROID: ABI: Add usb_gadget_connect & usb_gadget_disconnect symbol
* c5abb61725 ANDROID: GKI: Update symbol list for mtk
* c36abc6d42 BACKPORT: iommu: Have __iommu_probe_device() check for already probed devices
* a7462d7032 ANDROID: ABI fixup for abi break in struct dst_ops
* bd2bcb81d4 BACKPORT: net: fix __dst_negative_advice() race
* 997e6b3f6a Revert "crypto: api - Disallow identical driver names"

Change-Id: I474f6f67727992fbe8ca9e3f85d9be7b33cd284c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-07-15 14:22:31 +00:00
2023-02-09 13:29:55 +00:00
2024-06-21 08:37:53 +00:00
2024-06-21 08:37:53 +00:00
2024-06-21 08:32:20 +00:00
2022-09-28 09:02:20 +02:00
2024-06-21 08:37:53 +00:00
2023-06-15 09:54:33 +01: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%