mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
524f946fbc379ee55c3fce12bd561e641fb884ae
Catches the android14-6.1-lts branch up with the android14-6.1 branch which has had a lot of changes that are needed here to resolve future LTS merges and to ensure that the ABI is kept stable. It contains the following commits: abb897fe2f8e Merge branch 'android14-6.1' into 'android14-6.1-lts'a5e46b0f3cUPSTREAM: io_uring/poll: serialize poll linked timer start with poll removal6c695fad68ANDROID: fuse-bpf: Add partial flock support9b655e9328ANDROID: Incremental fs: Allocate data buffer based on input request sizefacf08fa5fUPSTREAM: gfs2: Don't deref jdesc in evicta16d62a296ANDROID: KVM: arm64: Fix MMU context save/restore over TLB invalidation7f0f58f97bANDROID: Update symbol list for VIVO1b7f110278ANDROID: add initial symbol list file for ExynosAuto SoCsf6707f352bANDROID: sched: Export sched_domains_mutex for lockdepa24911abfdANDROID: Update symbol for Exynos SoC5e7421101fANDROID: ABI: Update symbol for Exynos SoC270ca05882ANDROID: Update symbol list for mtk47e02fe1efUPSTREAM: dma-remap: use kvmalloc_array/kvfree for larger dma memory remap22e008d6d5ANDROID: vendor_hooks: Supplement the missing hook call point.214e6f268bANDROID: GKI: Add WWAN as GKI protected module8726a2d930ANDROID: GKI: regmap: Add regmap vendor hook for of_syscon_register7c2b6c7b56UPSTREAM: kasan: suppress recursive reports for HW_TAGSc0226bf0c7UPSTREAM: kasan, arm64: add arch_suppress_tag_checks_start/stopda926e6077UPSTREAM: arm64: mte: rename TCO routines553be6e70dBACKPORT: kasan, arm64: rename tagging-related routinesb39a3be50aUPSTREAM: kasan: drop empty tagging-related defines44ee9eef21ANDROID: usb: xhci-plat: Fix double-free in xhci_plat_remove55679fd0a8ANDROID: ABI: update symbol list for galaxy30807bebbfANDROID: GKI: update the ABI symbol listf3c6324daaANDROID: ABI: Update symbol for Exynos SoCc75c8311c8ANDROID: GKI: ABI: update whitelist for the kmsg_dump and native_hang symbols used by unisoc for kernel6.10a2e9dd65cANDROID: ABI: Update symbols to unisoc whitelist for ims_bridge modulefc9c1ccbbfANDROID: abi_gki_aarch64_qcom: Add drm_plane_from_index and drm_gem_prime_exportc480e4e576ANDROID: abi_gki_aarch64_qcom: Update symbol list8ecaef4d4bUPSTREAM: fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fdsd5feaf8163UPSTREAM: fsverity: explicitly check for buffer overflow in build_merkle_tree()711f5d5bfeANDROID: update unisoc symbol listdde9b1794cANDROID: update symbol for unisoc whitelistdfd6ca2517UPSTREAM: f2fs: fix deadlock in i_xattr_sem and inode page locka3d8701485ANDROID: GKI: update xiaomi symbol listdfc69fd81cRevert "FROMLIST: f2fs: remove i_xattr_sem to avoid deadlock and fix the original issue"2e2b1f4982ANDROID: ABI: Update pixel symbol listb57cdabd55ANDROID: Set arch attribute for allmodconfig buildsf63b2625afUPSTREAM: usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race conditiondc8c661b99ANDROID: ABI: Add to QCOM symbols listdd451f19f0UPSTREAM: arm64: mm: pass original fault address to handle_mm_fault() in PER_VMA_LOCK block39385f7568UPSTREAM: media: rkvdec: fix use after free bug in rkvdec_remove35a9539d66ANDROID: GKI: Update symbol list for MediatTekfcbb015efdUPSTREAM: scsi: ufs: core: Remove dedicated hwq for dev command2eb4158749BACKPORT: scsi: ufs: mcq: Fix the incorrect OCS value for the device commanddc64f5f480FROMLIST: scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform8740a92b2eFROMLIST: scsi: ufs: core: Export symbols for MTK driver modulec9814a3af5UPSTREAM: blk-mq: check on cpu id when there is only one ctx mappingc413cf731aUPSTREAM: relayfs: fix out-of-bounds access in relay_file_reade84e043a3cUPSTREAM: net/sched: flower: fix possible OOB write in fl_set_geneve_opt()d2dfb4ee11UPSTREAM: x86/mm: Avoid using set_pgd() outside of real PGD pages3c60e58d7aUPSTREAM: iommu/amd: Add missing domain type checks820f96cba5UPSTREAM: tty: serial: qcom_geni: avoid duplicate struct member initcbea99e1deUPSTREAM: scsi: ufs: core: bsg: Fix cast to restricted __be16 warningc779836709UPSTREAM: netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULEed2a228522ANDROID: fix build error when use cpu_cgroup_online vh8cd2dc493aANDROID: ABI: add android_debug_symbol to whitelist1047d4a5dfANDROID: defconfig: Enable debug_symbol driverdfabd2e38bANDROID: android: Create debug_symbols driverf54778f021ANDROID: ABI: update symbol list for exynos58004e1d0eANDROID: KVM: arm64: Remove 'struct kvm_vcpu' from the KMI8a717a85c5UPSTREAM: KVM: arm64: Restore GICv2-on-GICv3 functionalityb9d7d47d4aUPSTREAM: KVM: arm64: vgic: Wrap vgic_its_create() with config_lock486a8ab3adUPSTREAM: KVM: arm64: vgic: Fix a circular locking issueb5e26cd12fUPSTREAM: KVM: arm64: vgic: Don't acquire its_lock before config_lockb1bb8a0bc4BACKPORT: KVM: arm64: Avoid lock inversion when setting the VM register widthb39849bde6UPSTREAM: KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON04b12278eeBACKPORT: KVM: arm64: Use config_lock to protect data ordered against KVM_RUNde6bb81c8bUPSTREAM: KVM: arm64: Use config_lock to protect vgic statecf0e6c7e09BACKPORT: KVM: arm64: Add helper vgic_write_guest_lock()4bbcece823ANDROID: sound: usb: Fix wrong behavior of vendor hooking55f146682bANDROID: GKI: USB: XHCI: add Android ABI padding to struct xhci_vendor_opse27c6490baRevert "ANDROID: android: Create debug_symbols driver"bb732365f7ANDROID: android: Create debug_symbols driver80ac923694UPSTREAM: ipvlan:Fix out-of-bounds caused by unclear skb->cb9a9c876461ANDROID: update symbol list for unisoc vendor hooke3a72785daANDROID: thermal: Add hook to enable/disable thermal power throttle05ba0cb850ANDROID: ABI: Update symbol for Exynos SoC251aa28d16BACKPORT: FROMGIT: usb: gadget: udc: Handle gadget_connect failure during bind operation5af5006061FROMGIT: usb: dwc3: gadget: Bail out in pullup if soft reset timeout happens79b7e0db16ANDROID: GKI: Update symbol list for xiaomiff8496749dANDROID: vendor_hooks: vendor hook for MM43d7226c5fANDROID: add a symbol to unisoc symbol list51cb1e1cfdANDROID: GKI: update symbol list file for xiaomi1499ddcb78UPSTREAM: net/sched: cls_u32: Fix reference counter leak leading to overflow054ab3ab00ANDROID: db845c: Fix build when using --kgdba39af6210eFROMGIT: usb: host: xhci-plat: Set XHCI_STATE_REMOVING before resuming XHCI HC50c99c83e2FROMGIT: usb: host: xhci: Do not re-initialize the XHCI HC if being removedfa9645687eFROMLIST: kheaders: dereferences the source tree21061b7d0fFROMLIST: f2fs: remove i_xattr_sem to avoid deadlock and fix the original issueec0fc55aa4ANDROID: db845c: Local define for db845c targets947e7c1d72ANDROID: GKI: Update symbols to symbol list9afd7b261aANDROID: Export memcg functions to allow module to add new files32c2d42ee1ANDROID: rockpi4: Fix build when using --kgdb275048c878ANDROID: GKI: update symbol list file for xiaomi64e4b4d31bANDROID: kleaf: android/gki_system_dlkm_modules is generated.734b06dabfANDROID: ABI: Update pixel symbol list9ea87136d1ANDROID: fuse-bpf: Move FUSE_RELEASE to correct placeb8ef5bfbeeANDROID: fuse-bpf: Ensure bpf field can never be nulleda97d54b54dANDROID: GKI: Increase CMA areas to 32d28f02c47bANDROID: Delete MODULES_LIST from build configs.97a56a07e9ANDROID: ABI: Update symbols to unisoc whitelist7668cef283ANDROID: HID: Only utilise UHID provided exports if UHID is enabled1c4d2aa0c7UPSTREAM: memstick: r592: Fix UAF bug in r592_remove due to race condition8aea35f109UPSTREAM: xfs: verify buffer contents when we skip log replay04b6079eaeUPSTREAM: bluetooth: Perform careful capability checks in hci_sock_ioctl()8f5a220975FROMLIST: maple_tree: Adjust node allocation on mas_rebalance()e835ffdfbcFROMLIST: maple_tree: Reduce resets during store setup708234485aFROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculationsd766c8399bRevert "FROMLIST: BACKPORT: maple_tree: Refine mas_preallocate() node calculations" Change-Id: I0c77dd36d8336542cbb66edceec28f36ce3d798f 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%