mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
bb47960a9d276e515ba093842167979c5deb78b5
This merges all of the latest changes in 'android14-6.1' into 'android14-6.1-lts' to get it to pass TH again due to new symbols being added. Included in here are the following commits: *a41a4ee370ANDROID: Update the ABI symbol list *0801d8a89dANDROID: mm: export dump_tasks symbol. *7c91752f5dFROMLIST: scsi: ufs: Remove the ufshcd_hba_exit() call from ufshcd_async_scan() *28154afe74FROMLIST: scsi: ufs: Simplify power management during async scan *febcf1429fANDROID: gki_defconfig: Set CONFIG_IDLE_INJECT and CONFIG_CPU_IDLE_THERMAL into y *bc4d82ee40ANDROID: KMI workaround for CONFIG_NETFILTER_FAMILY_BRIDGE *227b55a7a3ANDROID: dma-buf: don't re-purpose kobject as work_struct *c1b1201d39BACKPORT: FROMLIST: dma-buf: Move sysfs work out of DMA-BUF export path *928b3b5ddeUPSTREAM: netfilter: nf_tables: skip set commit for deleted/destroyed sets *031f804149ANDROID: KVM: arm64: Avoid BUG-ing from the host abort path *c5dc4b4b3dANDROID: Update the ABI symbol list *5070b3b594UPSTREAM: ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet *02aa72665cUPSTREAM: nvmet-tcp: Fix a possible UAF in queue intialization setup *d6554d1262FROMGIT: usb: dwc3: gadget: Handle EP0 request dequeuing properly *29544d4157ANDROID: ABI: Update symbol list for imx *02f444ba07UPSTREAM: io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid *ec46fe0ac7UPSTREAM: bpf: Fix prog_array_map_poke_run map poke update *98b0e4cf09BACKPORT: xhci: track port suspend state correctly in unsuccessful resume cases *ac90f08292ANDROID: Update the ABI symbol list *ef67750d99ANDROID: sched: Export symbols for vendor modules *934a40576eUPSTREAM: usb: dwc3: core: add support for disabling High-speed park mode *8a597e7a2dANDROID: KVM: arm64: Don't prepopulate MMIO regions for host stage-2 *ed9b660cd1BACKPORT: FROMGIT fork: use __mt_dup() to duplicate maple tree in dup_mmap() *3743b40f65FROMGIT: maple_tree: preserve the tree attributes when destroying maple tree *1bec2dd52eFROMGIT: maple_tree: update check_forking() and bench_forking() *e57d333531FROMGIT: maple_tree: skip other tests when BENCH is enabled *c79ca61edcFROMGIT: maple_tree: update the documentation of maple tree *7befa7bbc9FROMGIT: maple_tree: add test for mtree_dup() *f73f881af4FROMGIT: radix tree test suite: align kmem_cache_alloc_bulk() with kernel behavior. *eb5048ea90FROMGIT: maple_tree: introduce interfaces __mt_dup() and mtree_dup() *dc9323545bFROMGIT: maple_tree: introduce {mtree,mas}_lock_nested() *4ddcdc519bFROMGIT: maple_tree: add mt_free_one() and mt_attr() helpers *c52d48818bUPSTREAM: maple_tree: introduce __mas_set_range() *066d57de87ANDROID: GKI: Enable symbols for v4l2 in async and fwnode *e74417834eANDROID: Update the ABI symbol list *15a93de464ANDROID: KVM: arm64: Fix hyp event alignment *717d1f8f91ANDROID: KVM: arm64: Fix host_smc print typo *8fc25d7862FROMGIT: f2fs: do not return EFSCORRUPTED, but try to run online repair *99288e911aANDROID: KVM: arm64: Document module_change_host_prot_range *4d99e41ce1FROMGIT: PM / devfreq: Synchronize devfreq_monitor_[start/stop] *6c8f710857FROMGIT: arch/mm/fault: fix major fault accounting when retrying under per-VMA lock *4a518d8633UPSTREAM: mm: handle write faults to RO pages under the VMA lock *c1da94fa44UPSTREAM: mm: handle read faults under the VMA lock *6541fffd92UPSTREAM: mm: handle COW faults under the VMA lock *c7fa581a79UPSTREAM: mm: handle shared faults under the VMA lock *95af8a80bbBACKPORT: mm: call wp_page_copy() under the VMA lock *b43b26b4cdUPSTREAM: mm: make lock_folio_maybe_drop_mmap() VMA lock aware *9c4bc457abUPSTREAM: mm/memory.c: fix mismerge *7d50253c27ANDROID: Export functions to be used with dma_map_ops in modules *37e0a5b868BACKPORT: FROMGIT: erofs: enable sub-page compressed block support *f466d52164FROMGIT: erofs: refine z_erofs_transform_plain() for sub-page block support *a18efa4e4aFROMGIT: erofs: fix ztailpacking for subpage compressed blocks *0c6a18c75bBACKPORT: FROMGIT: erofs: fix up compacted indexes for block size < 4096 *d7bb85f1cbFROMGIT: erofs: record `pclustersize` in bytes instead of pages *9d259220acFROMGIT: erofs: support I/O submission for sub-page compressed blocks *8a49ea9441FROMGIT: erofs: fix lz4 inplace decompression *bdc5d268baFROMGIT: erofs: fix memory leak on short-lived bounced pages *0d329bbe5cBACKPORT: erofs: tidy up z_erofs_do_read_page() *dc94c3cc6bUPSTREAM: erofs: move preparation logic into z_erofs_pcluster_begin() *7751567a71BACKPORT: erofs: avoid obsolete {collector,collection} terms *d0dbf74792BACKPORT: erofs: simplify z_erofs_read_fragment() *4067dd9969UPSTREAM: erofs: get rid of the remaining kmap_atomic() *365ca16da2UPSTREAM: erofs: simplify z_erofs_transform_plain() *187d034575BACKPORT: erofs: adapt managed inode operations into folios *3d93182661UPSTREAM: erofs: avoid on-stack pagepool directly passed by arguments *5c1827383aUPSTREAM: erofs: allocate extra bvec pages directly instead of retrying *bed20ed1d3UPSTREAM: erofs: clean up z_erofs_pcluster_readmore() *5e861fa97eUPSTREAM: erofs: remove the member readahead from struct z_erofs_decompress_frontend *66595bb17cUPSTREAM: erofs: fold in z_erofs_decompress() *88a1939504UPSTREAM: erofs: enable large folios for iomap mode *2c085909e7ANDROID: Update the ABI symbol list *d16a15fde5UPSTREAM: USB: gadget: core: adjust uevent timing on gadget unbind *d3006fb944ANDROID: ABI: Update oplus symbol list *bc97d5019aANDROID: vendor_hooks: Add hooks for rt_mutex steal *401a2769d9UPSTREAM: dm verity: don't perform FEC for failed readahead IO *30bca9e278UPSTREAM: netfilter: nft_set_pipapo: skip inactive elements during set walk *44702d8fa1FROMLIST: mm: migrate high-order folios in swap cache correctly *613d8368e3ANDROID: fuse-bpf: Follow mounts in lookups Change-Id: I49d28ad030d7840490441ce6a7936b5e1047913e 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%