mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
766d61c1b68afaa1d24bdf4e52367e103a07b022
Sync up with recent changes in android14-6.1. Changes included here are: *1ffc24e7e8UPSTREAM: Revert "PCI: Use preserve_config in place of pci_flags" *34aea58089Merge tag 'android14-6.1.124_r00' into android14-6.1 *11620ab958FROMGIT: KVM: arm64: Flush hyp bss section after initialization of variables in bss *2f2e115eecMerge 6.1.121-lts branch changes into android14-6.1 *d2841af63fMerge 6.1.119-lts branch changes into android14-6.1 *ef4fb40b87ANDROID: GKI: Add Paragon symbol list *72db89d3d9ANDROID: common-android14-6.1 Update the ABI symbol list *092a580916ANDROID: KVM: arm64: Present the 16Kb granule support to the guest VMs *0405a25a6eANDROID: KVM: arm64: Fix corrupted PSTATE during guest debug *d12538e9daBACKPORT: PCI/portdrv: Prevent LS7A Bus Master clearing on shutdown *dbdf659cc6UPSTREAM: selinux: ignore unknown extended permissions *e09bed3008BACKPORT: f2fs: prevent writing without fallocate() for pinned files *8a225f954dANDROID: Enable PM_USERSPACE_AUTOSLEEP in gki_defconfig *a33878393aANDROID: Update the ABI symbol list *6f0b82dd8aANDROID: mm: add kswapd wake/done rvh *770852bf7dANDROID: ABI: update protected symbol list *bda0401cd8ANDROID: GKI: load vendor modules without tainting the kernel *7e96f2bfaaUPSTREAM: cgroup: remove cgroup_rstat_flush_atomic() *b5b6e46444UPSTREAM: memcg: remove mem_cgroup_flush_stats_atomic() *4b27ab0c6bUPSTREAM: memcg: calculate root usage from global state *0ef8d00e37UPSTREAM: memcg: flush stats non-atomically in mem_cgroup_wb_stats() *c0d8df37a0UPSTREAM: writeback: move wb_over_bg_thresh() call outside lock section *681efac6a1UPSTREAM: memcg: do not modify rstat tree for zero updates *5795558d86UPSTREAM: vmscan: memcg: sleep when flushing stats during reclaim *e3e3beed82UPSTREAM: workingset: memcg: sleep when flushing stats in workingset_refault() *0448f92c8dUPSTREAM: memcg: sleep during flushing stats in safe contexts *c47c4c0966UPSTREAM: memcg: replace stats_flush_lock with an atomic *86ff69608fUPSTREAM: memcg: do not flush stats in irq context *a77a4ca4f4UPSTREAM: memcg: rename mem_cgroup_flush_stats_"delayed" to "ratelimited" *978adc3d3aUPSTREAM: cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic" *616d7c64fdBACKPORT: epoll: Add synchronous wakeup support for ep_poll_callback *66ae563a65UPSTREAM: bpf: sync_linked_regs() must preserve subreg_def *eeccb29218UPSTREAM: ALSA: usb-audio: Fix a DMA to stack memory bug *e2b9748880ANDROID: ABI: update symbol list for honor *3f924195e2FROMGIT: usb: dwc3: gadget: Fix incorrect UDC state after manual deconfiguration *c141a306c4ANDROID: scsi: sd: Fix unexpect removal code on Merge commit *4c2d86d81fANDROID: GKI: Update oplus symbol list *3e3f2b9e9fBACKPORT: f2fs: fix to account dirty data in __get_secs_required() *e50cf165f4BACKPORT: usb: gadget: uvc: configfs: Add frame-based frame format support *4bcafa4d00ANDROID: dm-bow: Fix empty else blocks *d5dfee96acANDROID: dm-bow: Pass through zero sized requests *1149e6d6fcANDROID: dm-bow: Fix 5.15 compatibility issue *1f8f8e5cd9ANDROID: dm-bow: Fix up revert remove dm-bow *e8944a38b4Revert "ANDROID: dm-bow: remove dm-bow" *d0e1b23b5dUPSTREAM: ALSA: usb-audio: Fix out of bounds reads when finding clock sources *e93c64d683ANDROID: GKI: Update symbols need by rockchip drm *a84242054bUPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices *204945a2daUPSTREAM: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans *367540fdf9Merge tag 'android14-6.1.118_r00' into android14-6.1 *22b7ded8b5ANDROID: ABI: update symbol list for honor *dbb9fda3cfANDROID: fs: add vendor hook to collect IO statistics *b9ba16d91dUPSTREAM: usb: xhci: Implement xhci_handshake_check_state() helper *191acd0d6aRevert "UPSTREAM: unicode: Don't special case ignorable code points" *0a310649d8Reapply "UPSTREAM: unicode: Don't special case ignorable code points" *e318dc4c06ANDROID: abi_gki_aarch64_qcom: Update symbols list for Qcom *904ebc320cRevert "UPSTREAM: unicode: Don't special case ignorable code points" *0f332d7edcANDROID: KVM: arm64: Fix missing mutex init for hyp trace readers *affd0c0263ANDROID: mm: EXPORT_SYMBOL_GPL(reclaim_pages) position adjustment *d8ccecb7c2ANDROID: GKI: Update symbol list for mtk *853ec04e2dUPSTREAM: HID: core: zero-initialize the report buffer *c276c53965ANDROID: GKI: Update symbol list for mtk *fddf80a6acUPSTREAM: of: property: fw_devlink: Add support for "post-init-providers" property *b865d3ed06UPSTREAM: driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link *0a05df9c8aUPSTREAM: driver core: Adds flags param to fwnode_link_add() *182b090f35UPSTREAM: f2fs: modify f2fs_is_checkpoint_ready logic to allow more data to be written with the CP disable *38149d5303BACKPORT: f2fs: introduce get_available_block_count() for cleanup *997d1e6f69FROMGIT: pinmux: Use sequential access to access desc->pinmux data *fa34bcaf9eBACKPORT: firmware: arm_scmi: Support 'reg-io-width' property for shared memory *c9e7fc262fUPSTREAM: dt-bindings: sram: Document reg-io-width property *cdea241bf6ANDROID: GKI: Update symbol list for mtk *a887a44aceANDROID: KVM: arm64: Always check state from host_ack_unshare() *fb69bae8eaFROMLIST: KVM: arm64: Always check the state from hyp_ack_unshare() *bfad6b019cMerge tag 'android14-6.1.115_r00' into android14-6.1 *93460febf9UPSTREAM: f2fs: fix fiemap failure issue when page size is 16KB *3a856b7c13ANDROID: GKI: Update symbol list for mtk *929ff4817aUPSTREAM: net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT *7cd56b010fUPSTREAM: net: sched: use RCU read-side critical section in taprio_dump() *226e9f92a0UPSTREAM: f2fs: compress: don't redirty sparse cluster during {,de}compress *84a9f618b5UPSTREAM: f2fs: compress: don't {,de}compress non-full cluster *3b2e004494UPSTREAM: f2fs: allow f2fs_ioc_{,de}compress_file to be interrupted *24492cb6b9UPSTREAM: f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on *268f1fed50UPSTREAM: f2fs: support SEEK_DATA and SEEK_HOLE for compression files *672918d432ANDROID: add file for recording allowed ABI breaks *1ca5db7e29ANDROID: GKI: update symbol list for honor *13f2b693c7ANDROID: vendor_hooks: add hook to record reboot reason *51bee18173BACKPORT: FROMGIT: binder: add delivered_freeze to debugfs output *2791dfac50BACKPORT: FROMGIT: binder: fix memleak of proc->delivered_freeze *c5233c5678FROMGIT: binder: allow freeze notification for dead nodes *194a332e5fFROMGIT: binder: fix BINDER_WORK_CLEAR_FREEZE_NOTIFICATION debug logs *5b095ade12ANDROID: GKI: Update symbol list for BCMSTB *516ca8799fANDROID: psi: Add vendor hooks for PSI tracing *4a105e4e1cANDROID: ABI: Update pixel symbol list *6cf2e7d968ANDROID: GKI: update symbol list for honor *eb0102684fANDROID: vendor_hooks: add hook to record slab alloc and free *defe0024cfUPSTREAM: Revert "arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings" *55c3fa9885ANDROID: GKI: Update Honor abi symbol list *cbc36a1928ANDROID: Allow vendor modules perform more operationson. *7160754546ANDROID: GKI: Add drm symbol need by rockchip soc *5f814d6bb4ANDROID: GKI: Update symbol list for mtk *351af49c1dANDROID: GKI: Update rockchip symbols for some customers. *8ed9a61b54ANDROID: usb: dwc3: core: Introduce vendor struct to deal with ABI breakage *9f49b974c8BACKPORT: usb: dwc3: core: Refactor PHY logic to support Multiport Controller *28c74caaf3BACKPORT: usb: dwc3: core: Access XHCI address space temporarily to read port info *38859a233eBACKPORT: f2fs: compress: fix to update i_compr_blocks correctly *a7a882d905ANDROID: abi_gki_aarch64_qcom: Update symbol list *96ad4e759fUPSTREAM: USB: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format *eef3d33656ANDROID: GKI: Update symbol list for honor *ce0653fd2cANDROID: Allow vendor modules perform more operations on memleak detect *d3daafbfd2ANDROID: ABI: Update transsion symbol list and stg *11512e4a72ANDROID: mmc: Add vendor hooks for sdcard failure diagnostics *f3367f466aBACKPORT: usb: dwc3: Avoid waking up gadget during startxfer Change-Id: I4a88143ff6c8c0dfc1621e084fd9280f3524c5ad Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Merge
2c1e2dbb72 ("platform/x86: panasonic-laptop: Return errno correctly in show callback") into android14-6.1-lts
Merge
749a916a9c ("usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED") into android14-6.1-lts
Merge
8379d0cbd5 ("mmc: core: Add SD card quirk for broken poweroff notification") into android14-6.1-lts
…
Merge
6bc6ee3111 ("dm-verity FEC: Fix RS FEC repair for roots unaligned to block size (take 2)") into android14-6.1-lts
Merge
bdefb8ce7c ("tty: rp2: Fix reset with non forgiving PCIe host bridges") into android14-6.1-lts
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%