mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
1dca1fead98f90c5170bc78ed642bf51b0622517
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: *0a5aada71cANDROID: GKI: Update symbol list for mtk *34a15d3507UPSTREAM: usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs *bd552fcbbdANDROID: GKI: Update rockchip symbols to add iova APIs *4ed706c20aFROMLIST: sched/pi: Reweight fair_policy() tasks when inheriting prio *b1e11ffd90ANDROID: Update the ABI symbol list *29a00abe43ANDROID: mm: Add restricted vendor hook in do_read_fault() *51c421385eANDROID: abi_gki_aarch64_qcom: Update symbol list *a9dca663a7ANDROID: Update the ABI symbol list *6316af1012ANDROID: add vendor hooks and expoert reclaim_pages to reclaim memory *1d241d978dFROMGIT: usb: dwc3: Wait unconditionally after issuing EndXfer command *f9ca61c8d8ANDROID: ABI: Update honor symbol list *c7fcb9bf9aANDROID: add vendor hook in do_read_fault to tune fault_around_bytes *23f2a9f5f1ANDROID: usb: Optimize the problem of slow transfer rate in USB accessory mode *6a3d68af9cANDROID: Zap kernel/sched/android.h stubs *274e3e9696ANDROID: export one function for mm metrics *117a941226ANDROID: Update the ABI symbol list *0d080e01a2ANDROID: Export sysctl_sched_wakeup_granularity to enable modifying it *039d2a958cUPSTREAM: ALSA: virtio: use ack callback *47dfe41d57UPSTREAM: usb: typec: tcpm: clear pd_event queue in PORT_RESET *93188d7732BACKPORT: usb: typec: tcpm: enforce ready state when queueing alt mode vdm *4d55129aeaUPSTREAM: crypto: x86/curve25519 - disable gcov *cf685d2b02ANDROID: GKI: Update QCOM symbol list and ABI STG *fae94bc4e7ANDROID: GKI: update symbol list file for xiaomi *d5e04556d4UPSTREAM: netfilter: nft_set_pipapo: do not free live element *dc6facfe02UPSTREAM: net: tls: handle backlogging of crypto requests *1794308d46ANDROID: 16K: Fix show maps CFI failure *72a9c0a205ANDROID: 16K: Handle pad VMA splits and merges *b86b5cb22dANDROID: 16K: madvise_vma_pad_pages: Remove filemap_fault check *1657717c12ANDROID: 16K: Only madvise padding from dynamic linker context *2ca5e076c9ANDROID: 16K: Separate padding from ELF LOAD segment mappings *1537dbe21bANDROID: 16K: Exclude ELF padding for fault around range *6815ef3195ANDROID: 16K: Use MADV_DONTNEED to save VMA padding pages. *6b9e404675ANDROID: 16K: Introduce ELF padding representation for VMAs *e79c1d4590ANDROID: 16K: Introduce /sys/kernel/mm/pgsize_miration/enabled *ea3c70fb95FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it *13f322e958Revert "FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it" *6657c436edFROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it *1d37bc9913ANDROID: vendor_hooks: add symbols for lazy preemption *14f07c1db0ANDROID: vendor_hooks: add two hooks for lazy preemption *6364d59412ANDROID: KVM: arm64: wait_for_initramfs for pKVM module loading procfs *4744b3a4edANDROID: GKI: Expose device async to userspace *08cc4037cfFROMGIT: coresight: etm4x: Fix access to resource selector registers *7ff054397aFROMGIT: coresight: etm4x: Safe access for TRCQCLTR *f401cce7d9FROMGIT: coresight: etm4x: Do not save/restore Data trace control registers *d9604db041FROMGIT: coresight: etm4x: Do not hardcode IOMEM access for register restore *fa87a072a7ANDROID: GKI: Update honda symbol list for led-trigger *c61278bb70ANDROID: GKI: Update symbols to symbol list *260bfad693ANDROID: vendor_hook: Add hooks to support reader optimistic spin in rwsem *d0c6724b0fUPSTREAM: af_unix: Fix garbage collector racing against connect() *94c88f80ffUPSTREAM: af_unix: Do not use atomic ops for unix_sk(sk)->inflight. *3dfddcb9c2ANDROID: GKI: fix ABI breakage in struct userfaultfd_ctx *8dd482be44UPSTREAM: userfaultfd: fix deadlock warning when locking src and dst VMAs *ce2896c0c6BACKPORT: userfaultfd: use per-vma locks in userfaultfd operations *daf0b0fc4aBACKPORT: mm: add vma_assert_locked() for !CONFIG_PER_VMA_LOCK *a5b6040d5cBACKPORT: userfaultfd: protect mmap_changing with rw_sem in userfaulfd_ctx *6b5ee039a1BACKPORT: userfaultfd: move userfaultfd_ctx struct to header file *ac96edb501BACKPORT: userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb *51eab7ecc4BACKPORT: selftests/mm: add separate UFFDIO_MOVE test for PMD splitting *f152691515BACKPORT: selftests/mm: add UFFDIO_MOVE ioctl test *a5d504c067BACKPORT: selftests/mm: add uffd_test_case_ops to allow test case-specific operations *ee72d5a7d9BACKPORT: selftests/mm: call uffd_test_ctx_clear at the end of the test *abd6748ba6UPSTREAM: userfaultfd: fix return error if mmap_changing is non-zero in MOVE ioctl *4f658d7723BACKPORT: userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVE *bfb4b24b64BACKPORT: mm: userfaultfd: fix unexpected change to src_folio when UFFDIO_MOVE fails *6ecd08eaf4BACKPORT: userfaultfd: handle zeropage moves by UFFDIO_MOVE *e275c2b743UPSTREAM: userfaultfd: avoid huge_zero_page in UFFDIO_MOVE *60c5a0e023UPSTREAM: userfaultfd: fix move_pages_pte() splitting folio under RCU read lock *5025ad140eBACKPORT: userfaultfd: UFFDIO_MOVE uABI *25db7c13d8UPSTREAM: mm/rmap: support move to different root anon_vma in folio_move_anon_rmap() *503add1843ANDROID: PM: hibernate: Encryption support with compression *3e99ae28eaANDROID: abi_gki_aarch64_qcom: Update symbol list *8f08ea0d59ANDROID: vendor_hooks: Add hooks to support hibernation *e7e8932600ANDROID: gki_defconfig: Sync gki_defconfig *54c2418b76UPSTREAM: PM: hibernate: Support to select compression algorithm *76c7e9747bUPSTREAM: PM: hibernate: Add support for LZ4 compression for hibernation *990d3701d0BACKPORT: PM: hibernate: Move to crypto APIs for LZO compression *d224d17a14BACKPORT: PM: hibernate: Rename lzo* to make it generic *dcb09569bbANDROID: ABI: Update symbol list for Exynos SoC *692e3553d2ANDROID: abi_gki_aarch64_qcom: Update symbol list *8943be7d1bBACKPORT: mtk-mmsys: Change mtk-mmsys & mtk-mutex to modules *34e8dc4ed0BACKPORT: clk: mediatek: Split configuration options for MT8186 clock drivers *a5ce14670aBACKPORT: clk: mediatek: Add MODULE_LICENSE() where missing *4bfe25d0b6ANDROID: Update the ABI symbol list *24edb63b85Reapply "ANDROID: block: Add support for filesystem requests and small segments" *141ebdcb28UPSTREAM: usb:typec:tcpm:support double Rp to Vbus cable as sink *8672a5ee4dANDROID: Update the ABI symbol list Change-Id: I594743790b6a498847862039bd47c65c51876b73 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
How do I submit patches to Android Common Kernels
-
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.
- Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux,
additions of
-
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:, orANDROID:. - 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
- tag the patch subject with
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 ofUPSTREAM:.- use the same tags as
UPSTREAM: - add comments about the changes under the
(cherry picked from commit ...)line - Example:
- use the same tags as
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 uselinux-nextfor example). - if changes were required, use
BACKPORT: FROMGIT: - Example:
- if the commit message in the maintainer tree is
- tag the patch subject with
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:
- tag the patch subject with
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:
- tag the patch subject with
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)
- tag the patch subject with
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%