mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
c5df11c964c9610682d3ab07f78ece68416eedd6
This catches the -lts branch up with all of the recent changes that have gone into the non-lts branch, INCLUDING the ABI update which we want here to ensure that we do NOT break any newly added dependent symbols (and to bring back in the reverts that were required before the ABI break). This includes the following commits:88959a53f4ANDROID: 6/16/2023 KMI update21bc72f339UPSTREAM: binder: fix UAF of alloc->vma in race with munmap()62c6dbdccdUPSTREAM: binder: add lockless binder_alloc_(set|get)_vma()3cac174682UPSTREAM: Revert "android: binder: stop saving a pointer to the VMA"dadb40b436UPSTREAM: Revert "binder_alloc: add missing mmap_lock calls when using the VMA"fcdbf469c5UPSTREAM: tipc: check the bearer min mtu properly when setting it by netlinke48a801737UPSTREAM: tipc: do not update mtu if msg_max is too small in mtu negotiation461038ba5cUPSTREAM: tipc: add tipc_bearer_min_mtu to calculate min mtud0be9e79eeUPSTREAM: Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"66a5c03404UPSTREAM: ASoC: fsl_micfil: Fix error handler with pm_runtime_enable6e721f991fUPSTREAM: platform: Provide a remove callback that returns no value07a8c09137UPSTREAM: firmware: arm_sdei: Fix sleep from invalid context BUGb065972b7bUPSTREAM: uapi/linux/const.h: prefer ISO-friendly __typeof__aaf6ccb6f3UPSTREAM: posix-cpu-timers: Implement the missing timer_wait_running callbackf3b712fcb5ANDROID: GKI: reserve extra arm64 cpucaps for ABI preservationd1c7974b1fANDROID: arm64: errata: Add WORKAROUND_NXP_ERR050104 cpucapsb489c53001ANDROID: KVM: arm64: Allow setting {P,U}XN in stage-2 PTEsb7aff5c603ANDROID: KVM: arm64: Restrict host-to-hyp MMIO donationsf5f8c19f6cANDROID: KVM: arm64: Allow state changes of MMIO pages4ddb4ed818ANDROID: KVM: arm64: Allow MMIO perm changes from modules5d0225cdf0ANDROID: KVM: arm64: Don't allocate from handle_host_mem_abort5136a28ab6ANDROID: KVM: arm64: Donate IOMMU regions to pKVM23b62ec342ANDROID: KVM: arm64: Map MMIO donation as device at EL2adc78128b3ANDROID: KVM: arm64: Don't recycle pages from host mem abort452ef5ae7bANDROID: KVM: arm64: Pin host stage-2 tablesa8bba661e3ANDROID: KVM: arm64: Move kvm_pte_follow() to header04ddc7eec0ANDROID: KVM: arm64: Pre-populate host stage20b6736459aANDROID: KVM: arm64: Fix the host ownership latercf2d193d9bANDROID: KVM: arm64: Don't recycle non-default PTEsa701418f2fANDROID: KVM: arm64: Introduce kvm_pgtable_stage2_reclaim_leaves5224fbb5b8ANDROID: GKI: enable CONFIG_BLK_CGROUP_IOCOSTfe10954309BACKPORT: FROMGIT: usb: core: add sysfs entry for usb device state251efd6587ANDROID: GKI: Update symbols to symbol list71761b36c3ANDROID: HID; Over-ride default maximum buffer size when using UHIDc3f3dc31f9UPSTREAM: maple_tree: make maple state reusable after mas_empty_area()d31ddcdbb8Revert "Revert "mm/mmap: regression fix for unmapped_area{_topdown}""6852d5ccb9FROMLIST: scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk274d5965b8FROMLIST: scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_INTR quirk0171df9359FROMLIST: scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC27b569b568FROMLIST: scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR46554e08b3ANDROID: GKI: Add symbols and update symbol list for Unisoce59544b857UPSTREAM: mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()749386a02eUPSTREAM: mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()9c6866c99bANDROID: dma-buf: support users to change dma_buf.name09e0f85096ANDROID: set CONFIG_IKHEADERS=m for gki_defconfig.7641ff0a30ANDROID: mm: Avoid merging cma with others9b16d612bfANDROID: cpufreq: times: record fast switch frequency transitionsd645236cfdANDROID: fix kernelci build failure in vmscan.c8a609c5eb4ANDROID: ABI: Update symbol list for Exynos SoC25058fea51ANDROID: gki_defconfig: enable NVMEe8f6ddbd4cANDROID: ABI: Update symbols to unisoc whitelist for the scheduler82a015300eUPSTREAM: usb: gadget: uvc: queue empty isoc requests if no video buffer is available855f25e32cANDROID: GKI: Update symbol list for xiaomi87f8c82651ANDROID: vendor_hooks:vendor hook for madvise_cold_or_pageout_pte_range.f73aafc29bANDROID: ABI: Update pixel symbol lista0d46c1dd1ANDROID: KVM: arm64: iommu: Erase pvmfw from EL1 if possible Change-Id: I76a89d70290eb13ac671ccfdab80d80dad3030eb 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%