mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
96e5d6e9d59e81d0fe3175f8b1823caf6952a229
Sync back up with changes in the android13-5.10 branch to catch the new symbols that we need to track properly.29c427664aMerge tag 'android13-5.10.149_r00' into android13-5.1070be865521ANDROID: Update the ABI representation57e680a1a8ANDROID: Sched: Add restricted vendor hook in update_misfit_status()64b7606115ANDROID: Sched: Add restricted vendor hook in schedule()ef815ee856ANDROID: Sched: Add restricted vendor hook in wake_up_new_task()b7dbea10b1ANDROID: Fix license for BUILD.bazel file.c45168c6c2ANDROID: kleaf: load() then package().2ff20aeeb6ANDROID: update the .xml ABI file due to LTS changes.887fa8f059Revert "mtd: fix 'part' field data corruption in mtd_info"e6a51ad94cRevert "audit: log AUDIT_TIME_* records only from rules"cac3a605c5Merge64f18041dd("Merge branch 'android13-5.10' into branch 'android13-5.10-lts'") into android13-5.10-ltscc59c47abbANDROID: GKI: rockchip: Enable symbols for charger and batteryfd1290ee6cANDROID: GKI: MGLRU ABI Fixupe0f24fb5c6ANDROID: GKI: Build multi-gen LRU92c47e2a15ANDROID: Make MGLRU aware of speculative faults9d5b3a1547BACKPORT: mm: multi-gen LRU: design docee101878a8UPSTREAM: mm: multi-gen LRU: admin guide86b889811dBACKPORT: mm: multi-gen LRU: debugfs interface3369bf02b2UPSTREAM: mm: multi-gen LRU: thrashing preventione9983679e7BACKPORT: mm: multi-gen LRU: kill switche4ed637282BACKPORT: mm: multi-gen LRU: optimize multiple memcgsc2869b6c22BACKPORT: mm: multi-gen LRU: support page table walksfd80133d8cBACKPORT: mm: multi-gen LRU: exploit locality in rmap8455e88fe4BACKPORT: mm: multi-gen LRU: minimal implementation278f56801aBACKPORT: mm: multi-gen LRU: groundwork245ea1de3eBACKPORT: mm/vmscan.c: refactor shrink_node()4ccde30ac9BACKPORT: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNGf04c2fbac2BACKPORT: mm: x86, arm64: add arch_has_hw_pte_young()691008625eRevert "FROMLIST: mm: x86, arm64: add arch_has_hw_pte_young()"4741bcbac4Revert "FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG"a38ef3be2bRevert "FROMLIST: mm/vmscan.c: refactor shrink_node()"ead7512d05Revert "FROMLIST: mm: multi-gen LRU: groundwork"b61dbc579bRevert "FROMLIST: mm: multi-gen LRU: minimal implementation"7a2929e68cRevert "FROMLIST: mm: multi-gen LRU: exploit locality in rmap"db1832bb7cRevert "FROMLIST: mm: multi-gen LRU: support page table walks"6fa2a68b43Revert "FROMLIST: mm: multi-gen LRU: optimize multiple memcgs"56c66e7cc4Revert "FROMLIST: mm: multi-gen LRU: kill switch"06e6006a04Revert "FROMLIST: mm: multi-gen LRU: thrashing prevention"0d9f7bf39cRevert "FROMLIST: mm: multi-gen LRU: debugfs interface"43c49618c8Revert "FROMLIST: mm: multi-gen LRU: admin guide"3676a0c29aRevert "FROMLIST: mm: multi-gen LRU: design doc"66f2c69836Revert "ANDROID: GKI: build multi-gen LRU"40dd81e34cRevert "ANDROID: Make MGLRU aware of speculative faults"baa23246e9UPSTREAM: binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=03d213a626dUPSTREAM: binder: Address corner cases in deferred copy and fixup9d1efccf5eUPSTREAM: binder: fix pointer cast warningb83173bf86UPSTREAM: binder: defer copies of pre-patched txn dataaaf2369717UPSTREAM: binder: read pre-translated fds from sender bufferecf61e4e11UPSTREAM: binder: avoid potential data leakage when copying txn3767674eacANDROID: khugepaged: fix mixing declarations warning in retract_page_tablesc440edc7a2ANDROID: mm: fix build issue in spf when CONFIG_USERFAULTFD=n2a62463d6eUPSTREAM: f2fs: don't use casefolded comparison for "." and ".."c63efa6751UPSTREAM: regulator: scmi: Fix refcount leak in scmi_regulator_probe9b8948cb0eUPSTREAM: KVM: arm64: vgic-v3: Consistently populate ID_AA64PFR0_EL1.GIC3bba44a8c3UPSTREAM: block/mq-deadline: Set the fifo_time member also if inserting at head49823ad276BACKPORT: Revert "mm/cma.c: remove redundant cma_mutex lock"fb3cba1815UPSTREAM: module.h: simplify MODULE_IMPORT_NS9257ade3bcUPSTREAM: procfs: prevent unprivileged processes accessing fdinfo dirae1f81f7f4UPSTREAM: KVM: arm64: nvhe: Eliminate kernel-doc warnings17d733d05bUPSTREAM: iommu/mediatek: Add mutex for m4u_group and m4u_dom in datab66bdceff1UPSTREAM: iommu/mediatek: Remove clk_disable in mtk_iommu_removec19e8027feUPSTREAM: iommu/mediatek: Fix 2 HW sharing pgtable issue80b363ae64UPSTREAM: mm: hugetlb: add missing cache flushing in hugetlb_unshare_all_pmds()4d39f905f5UPSTREAM: firmware: arm_ffa: Remove incorrect assignment of driver_datad57c415ab0UPSTREAM: firmware: arm_ffa: Fix uuid parameter to ffa_partition_probedba02a021aUPSTREAM: selftests/damon: add damon to selftests root Makefile9e059fe061BACKPORT: KVM: arm64: Actually prevent SMC64 SYSTEM_RESET2 from AArch32c6408580e1UPSTREAM: KVM: arm64: Generally disallow SMC64 for AArch32 guests1eed68cdc9UPSTREAM: irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling968c524dedUPSTREAM: virtio: use virtio_device_ready() in virtio_device_restore()9eaf45a22bUPSTREAM: mm: kfence: fix missing objcg housekeeping for SLAB7923c77f8fUPSTREAM: fs: erofs: add sanity check for kobject in erofs_unregister_sysfse7bbb89470UPSTREAM: clk: Fix clk_hw_get_clk() when dev is NULL69914efc9bUPSTREAM: arm64: kasan: fix include error in MTE functions2be9d2b296UPSTREAM: arm64: prevent instrumentation of bp hardening callbacks2917f48bdbUPSTREAM: PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()d9612d6109UPSTREAM: mm: fix use-after-free bug when mm->mmap is reused after being freed3b68c1140fUPSTREAM: kasan: test: prevent cache merging in kmem_cache_double_destroyd27c600b42BACKPORT: vsprintf: Fix %pK with kptr_restrict == 075a8a2c657ANDROID: KVM: arm64: Use 32-bit function ID for PSCI MEM_PROTECT call24ba7e97d3UPSTREAM: efi: capsule-loader: Fix use-after-free in efi_capsule_writed2426b0692UPSTREAM: net: preserve skb_end_offset() in skb_unclone_keeptruesize()2ea1a8c467BACKPORT: net: add skb_set_end_offset() helper7d40247c5bUPSTREAM: arm64: Correct wrong label in macro __init_el2_gicv3cb515c669cUPSTREAM: KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs316b7560abUPSTREAM: KVM: arm64: Avoid consuming a stale esr value when SError occure3e5b3b856UPSTREAM: usb: typec: tcpm: Do not disconnect when receiving VSAFE0V2317bc5306UPSTREAM: usb: typec: tcpci: don't touch CC line if it's Vconn source8f2ac1deb1UPSTREAM: dt-bindings: memory: mtk-smi: Correct minItems to 2 for the gals clocks72decd9765BACKPORT: dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt816733e4819112BACKPORT: dt-bindings: memory: mtk-smi: Rename clock to clocks851451819eUPSTREAM: dma-buf: cma_heap: Fix mutex locking sectionc8f988d00dUPSTREAM: scsi: core: Declare 'scsi_scan_type' staticf3fe2dacb0UPSTREAM: scsi: core: Suppress a kernel-doc warning17b50edfadUPSTREAM: dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFER4ececb4ebdUPSTREAM: clk: versatile: Depend on HAS_IOMEM9b70ff660fBACKPORT: arm64: meson: select COMMON_CLK05fbbf0d13UPSTREAM: tools: do not include scripts/Kbuild.include924872e549UPSTREAM: kbuild: dummy-tools: adjust to scripts/cc-version.sh252e42f395UPSTREAM: kbuild: do not include include/config/auto.conf from adjust_autoksyms.shb9a8323fdeUPSTREAM: scsi: docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode26369cdee4ANDROID: gki_defconfig: enable CONFIG_USB_CONFIGFS_F_UVC0481654d9fANDROID: mm: disable speculative page faults for CONFIG_NUMAf6ddc1c41eANDROID: mm: fix invalid backport in speculative page fault pathc3f0fd7976ANDROID: disable page table moves when speculative page faults are enabled3d3b77c9c0ANDROID: mm: assert that mmap_lock is taken exclusively in vm_write_begindf62da3909ANDROID: mm: remove sequence counting when mmap_lock is not exclusively owned66544e79f4ANDROID: mm/khugepaged: add missing vm_write_{begin|end}2a3979df04BACKPORT: FROMLIST: mm: implement speculative handling in filemap_fault()ec35e912e7ANDROID: mm: prevent reads of unstable pmd during speculationce7fa7020aANDROID: mm: prevent speculative page fault handling for in do_swap_page()4812532eceANDROID: mm: prevent speculative page fault handling for userfaults43247cf563ANDROID: mm: skip pte_alloc during speculative page fault2f2dc42fbfANDROID: GKI: rockchip: Add symbols for cpufreqc8f45c4915ANDROID: Update the ABI representation0fabf2342fANDROID: sched: add hook point in do_sched_yield()2aed2a7cb0ANDROID: KVM: arm64: s2mpu: Fix SYNC latency regressione1ea4666e1ANDROID: KVM: arm64: iommu: Add host_stage2_idmap_complete15e65b4a22ANDROID: KVM: arm64: Issue CMOs when tearing down shadow pages80fcf382d1ANDROID: Add ashmem ioctl to return a unique file identifier056ee87d05ANDROID: Update the ABI representationb6cfd9d69fANDROID: KVM: arm64: Fix repainting of PSCI SYSTEM_RESET2 calls03b60942feANDROID: Update the ABI representationd08c3d3ba2ANDROID: Update the ABI representation01645da2f5ANDROID: Update the ABI representation6c86db3f70ANDROID: Update the ABI representationdb144888f8ANDROID: kernel: sched: Export reweight_task6f642cd2f2FROMGIT: f2fs: allow to read node block after shutdown92a7e867cfFROMGIT: usb: core: stop USB enumeration if too many retriesf3fe2e6612ANDROID: KVM: arm64: Adjust PSCI MEM_PROTECT refcount across share/unsharee7b635a520BACKPORT: ext4,f2fs: fix readahead of verity datac57ed31850ANDROID: Update the ABI representationbcf1e503f5ANDROID: adjust vendor hook to control blk_plug6cbaa88f4aANDROID: dm-user: Remove bio recount in I/O path69e2e9275bANDROID: Update the ABI representation501eeee6e2UPSTREAM: irqchip/tegra: Fix overflow implicit truncation warnings13a5e047bdUPSTREAM: drm/meson: Fix overflow implicit truncation warnings55a2910224UPSTREAM: video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write52e7aa3245FROMLIST: KVM: arm64: pkvm: Fixup boot mode to reflect that the kernel resumes from EL1bcb19fa296ANDROID: GKI: Add symbol list for exynos9e3ae1fbd3UPSTREAM: sched: Fix yet more sched_fork() races3de7d142cfBACKPORT: KVM: arm64: Fix bad dereference on MTE-enabled systemsb684150a44FROMLIST: binder: fix UAF of alloc->vma in race with munmap()9ffd177dceANDROID: Update the ABI representation89fed37332ANDROID: vendor hook to control blk_plug for shrink_lruvecc0ce22abf7UPSTREAM: mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()75c194cf1aUPSTREAM: af_key: Do not call xfrm_probe_algs in parallel8812ab3f9dUPSTREAM: mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()4e97b7ff2bANDROID: KVM: arm64: Donate memory per vcpu for each vcpu shadow state6a7700c5b5ANDROID: KVM: arm64: Initialize shadow vcpus with separate hypercalls0b7f3b9652ANDROID: KVM: arm64: Refactor unpinning host vcpud345371dd2ANDROID: KVM: arm64: Separate functions for shadow vm and vcpu init66be6be8fbANDROID: KVM: arm64: Refactor code for reclaiming guest memory into a function232bdcbd66ANDROID: pass argument in zap_pte_range vendor hooksa83ef907f0ANDROID: GKI: Add for rockchip platform basic symbol05c1e5a6fdANDROID: GKI: Add Bazel rockchip symbol list entry56e639d3ffANDROID: sched: check on_rq in freezer_should_skip()90a47b6250ANDROID: Update the ABI representation14c8176992ANDROID: KVM: arm64: Only unpin a vCPU SVE state if set559e6700c3ANDROID: Update the ABI representation9966a706d1FROMGIT: f2fs: let's avoid to get cp_rwsem twice by f2fs_evict_inode by d_invalidate86d2835139ANDROID: Update the ABI representationa17e132ec4ANDROID: vendor hook to control blk_plug for memory reclaim1c741865f4ANDROID: Update the ABI representation6c543641c6UPSTREAM: wifi: mac80211: fix MBSSID parsing use-after-free187e6dad2aUPSTREAM: wifi: mac80211: don't parse mbssid in assoc response12bd079b61UPSTREAM: mac80211: mlme: find auth challenge directly13c3ed22feUPSTREAM: wifi: cfg80211: update hidden BSSes to avoid WARN_ON4bff45998eUPSTREAM: wifi: mac80211: fix crash in beacon protection for P2P-device7e9ccb517aUPSTREAM: wifi: mac80211_hwsim: avoid mac80211 warning on bad rate88b3da7668UPSTREAM: wifi: cfg80211: avoid nontransmitted BSS list corruption1e18328c84UPSTREAM: wifi: cfg80211: fix BSS refcounting bugsd56839bb09UPSTREAM: wifi: cfg80211: ensure length byte is present before accessd96c2b5944UPSTREAM: wifi: cfg80211/mac80211: reject bad MBSSID elements4ae8e2c20fUPSTREAM: wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()6e0df30312ANDROID: Update the ABI representation74e2ea264cANDROID: vendor hook to control bh_lru and lru_cache_disablef45d10e83bANDROID: Update the ABI representationd257ef6764ANDROID: vendor hook for TLB batching control2823b3889dUPSTREAM: fbcon: Prevent that screen size is smaller than font size739b963eb8UPSTREAM: fbcon: Disallow setting font bigger than screen sizecf3742cba4UPSTREAM: fbmem: Check virtual screen sizes in fb_set_var()788ba5e9deANDROID: GKI: Add build for rockchip platform90db4c38b9ANDROID: Update the ABI representation2f8253b7e6ANDROID: vendor hook to control pagevec flush992b5f98caANDROID: KVM: arm64: s2mpu: Add SysMMU_SYNC timeout19424168dbANDROID: KVM: arm64: Force CMOs with FWB when reclaiming guest pagesf177a280b1ANDROID: KVM: arm64: Fix MMIO guard map error handling32bef95f91UPSTREAM: psi: Fix psi state corruption when schedule() races with cgroup movee4c738dd13ANDROID: Update the ABI representation07e046b996BACKPORT: HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_reportb366878684ANDROID: KVM: arm64: Fix MMIO guard unmapbefd3e393eUPSTREAM: crypto: jitter - add oversampling of noise source6ed90e9805ANDROID: Update the ABI representation9a8b45a9e4FROMGIT: f2fs: support recording stop_checkpoint reason into super_block .xml file updated with the abi preservation change: type 'struct sk_buff' changed member 'union { struct { __u8 scm_io_uring; __u8 android_kabi_reserved1_padding1; __u16 android_kabi_reserved1_padding2; __u32 android_kabi_reserved1_padding3; }; struct { u64 android_kabi_reserved1; }; union { }; }' was added member 'u64 android_kabi_reserved1' was removed Change-Id: I9ebc56503eafbab7e85a3d7dd6974beda91427ee Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Merge
64f18041dd ("Merge branch 'android13-5.10' into branch 'android13-5.10-lts'") into android13-5.10-lts
…
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
script/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%