Greg Kroah-Hartman 1dca1fead9 Merge branch 'android14-6.1' into branch 'android14-6.1-lts'
This catches the android14-6.1-lts branch up to date with recent changes
in the android14-6.1 branch, including symbol additions which are
required for us to track in the LTS branch.

Included in here are the following commits:

* 0a5aada71c ANDROID: GKI: Update symbol list for mtk
* 34a15d3507 UPSTREAM: usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
* bd552fcbbd ANDROID: GKI: Update rockchip symbols to add iova APIs
* 4ed706c20a FROMLIST: sched/pi: Reweight fair_policy() tasks when inheriting prio
* b1e11ffd90 ANDROID: Update the ABI symbol list
* 29a00abe43 ANDROID: mm: Add restricted vendor hook in do_read_fault()
* 51c421385e ANDROID: abi_gki_aarch64_qcom: Update symbol list
* a9dca663a7 ANDROID: Update the ABI symbol list
* 6316af1012 ANDROID: add vendor hooks and expoert reclaim_pages to reclaim memory
* 1d241d978d FROMGIT: usb: dwc3: Wait unconditionally after issuing EndXfer command
* f9ca61c8d8 ANDROID: ABI: Update honor symbol list
* c7fcb9bf9a ANDROID: add vendor hook in do_read_fault to tune fault_around_bytes
* 23f2a9f5f1 ANDROID: usb: Optimize the problem of slow transfer rate in USB accessory mode
* 6a3d68af9c ANDROID: Zap kernel/sched/android.h stubs
* 274e3e9696 ANDROID: export one function for mm metrics
* 117a941226 ANDROID: Update the ABI symbol list
* 0d080e01a2 ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it
* 039d2a958c UPSTREAM: ALSA: virtio: use ack callback
* 47dfe41d57 UPSTREAM: usb: typec: tcpm: clear pd_event queue in PORT_RESET
* 93188d7732 BACKPORT: usb: typec: tcpm: enforce ready state when queueing alt mode vdm
* 4d55129aea UPSTREAM: crypto: x86/curve25519 - disable gcov
* cf685d2b02 ANDROID: GKI: Update QCOM symbol list and ABI STG
* fae94bc4e7 ANDROID: GKI: update symbol list file for xiaomi
* d5e04556d4 UPSTREAM: netfilter: nft_set_pipapo: do not free live element
* dc6facfe02 UPSTREAM: net: tls: handle backlogging of crypto requests
* 1794308d46 ANDROID: 16K: Fix show maps CFI failure
* 72a9c0a205 ANDROID: 16K: Handle pad VMA splits and merges
* b86b5cb22d ANDROID: 16K: madvise_vma_pad_pages: Remove filemap_fault check
* 1657717c12 ANDROID: 16K: Only madvise padding from dynamic linker context
* 2ca5e076c9 ANDROID: 16K: Separate padding from ELF LOAD segment mappings
* 1537dbe21b ANDROID: 16K: Exclude ELF padding for fault around range
* 6815ef3195 ANDROID: 16K: Use MADV_DONTNEED to save VMA padding pages.
* 6b9e404675 ANDROID: 16K: Introduce ELF padding representation for VMAs
* e79c1d4590 ANDROID: 16K: Introduce /sys/kernel/mm/pgsize_miration/enabled
* ea3c70fb95 FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it
* 13f322e958 Revert "FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it"
* 6657c436ed FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it
* 1d37bc9913 ANDROID: vendor_hooks: add symbols for lazy preemption
* 14f07c1db0 ANDROID: vendor_hooks: add two hooks for lazy preemption
* 6364d59412 ANDROID: KVM: arm64: wait_for_initramfs for pKVM module loading procfs
* 4744b3a4ed ANDROID: GKI: Expose device async to userspace
* 08cc4037cf FROMGIT: coresight: etm4x: Fix access to resource selector registers
* 7ff054397a FROMGIT: coresight: etm4x: Safe access for TRCQCLTR
* f401cce7d9 FROMGIT: coresight: etm4x: Do not save/restore Data trace control registers
* d9604db041 FROMGIT: coresight: etm4x: Do not hardcode IOMEM access for register restore
* fa87a072a7 ANDROID: GKI: Update honda symbol list for led-trigger
* c61278bb70 ANDROID: GKI: Update symbols to symbol list
* 260bfad693 ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem
* d0c6724b0f UPSTREAM: af_unix: Fix garbage collector racing against connect()
* 94c88f80ff UPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
* 3dfddcb9c2 ANDROID: GKI: fix ABI breakage in struct userfaultfd_ctx
* 8dd482be44 UPSTREAM: userfaultfd: fix deadlock warning when locking src and dst VMAs
* ce2896c0c6 BACKPORT: userfaultfd: use per-vma locks in userfaultfd operations
* daf0b0fc4a BACKPORT: mm: add vma_assert_locked() for !CONFIG_PER_VMA_LOCK
* a5b6040d5c BACKPORT: userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx
* 6b5ee039a1 BACKPORT: userfaultfd: move userfaultfd_ctx struct to header file
* ac96edb501 BACKPORT: userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
* 51eab7ecc4 BACKPORT: selftests/mm: add separate UFFDIO_MOVE test for PMD splitting
* f152691515 BACKPORT: selftests/mm: add UFFDIO_MOVE ioctl test
* a5d504c067 BACKPORT: selftests/mm: add uffd_test_case_ops to allow test case-specific operations
* ee72d5a7d9 BACKPORT: selftests/mm: call uffd_test_ctx_clear at the end of the test
* abd6748ba6 UPSTREAM: userfaultfd: fix return error if mmap_changing is non-zero in MOVE ioctl
* 4f658d7723 BACKPORT: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE
* bfb4b24b64 BACKPORT: mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails
* 6ecd08eaf4 BACKPORT: userfaultfd: handle zeropage moves by UFFDIO_MOVE
* e275c2b743 UPSTREAM: userfaultfd: avoid huge_zero_page in UFFDIO_MOVE
* 60c5a0e023 UPSTREAM: userfaultfd: fix move_pages_pte() splitting folio under RCU read lock
* 5025ad140e BACKPORT: userfaultfd: UFFDIO_MOVE uABI
* 25db7c13d8 UPSTREAM: mm/rmap: support move to different root anon_vma in folio_move_anon_rmap()
* 503add1843 ANDROID: PM: hibernate: Encryption support with compression
* 3e99ae28ea ANDROID: abi_gki_aarch64_qcom: Update symbol list
* 8f08ea0d59 ANDROID: vendor_hooks: Add hooks to support hibernation
* e7e8932600 ANDROID: gki_defconfig: Sync gki_defconfig
* 54c2418b76 UPSTREAM: PM: hibernate: Support to select compression algorithm
* 76c7e9747b UPSTREAM: PM: hibernate: Add support for LZ4 compression for hibernation
* 990d3701d0 BACKPORT: PM: hibernate: Move to crypto APIs for LZO compression
* d224d17a14 BACKPORT: PM: hibernate: Rename lzo* to make it generic
* dcb09569bb ANDROID: ABI: Update symbol list for Exynos SoC
* 692e3553d2 ANDROID: abi_gki_aarch64_qcom: Update symbol list
* 8943be7d1b BACKPORT: mtk-mmsys: Change mtk-mmsys & mtk-mutex to modules
* 34e8dc4ed0 BACKPORT: clk: mediatek: Split configuration options for MT8186 clock drivers
* a5ce14670a BACKPORT: clk: mediatek: Add MODULE_LICENSE() where missing
* 4bfe25d0b6 ANDROID: Update the ABI symbol list
* 24edb63b85 Reapply "ANDROID: block: Add support for filesystem requests and small segments"
* 141ebdcb28 UPSTREAM: usb:typec:tcpm:support double Rp to Vbus cable as sink
* 8672a5ee4d ANDROID: Update the ABI symbol list

Change-Id: I594743790b6a498847862039bd47c65c51876b73
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-05-22 10:50:52 +00:00
2023-02-09 13:29:55 +00:00
2024-05-16 17:29:02 +00:00
2024-05-16 17:29:02 +00:00
2022-09-28 09:02:20 +02:00
2024-05-16 17:29:02 +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%