mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
b6b9dff07b9509765080129eaaec62dd0e7cc46b
Sync up after the -lts merge, contains the following commits: 2329f61535dd Merge branch android12-5.10 into android12-5.10-lts851de32d27Merge tag 'android12-5.10.177_r00' into android12-5.107f9a9a8fe4UPSTREAM: KVM: x86: do not report a vCPU as preempted outside instruction boundaries7c835be7ecANDROID: remove CONFIG_NET_CLS_TCINDEX from gki_defconfig21a4564a6cBACKPORT: net/sched: Retire tcindex classifierf27e7efdc6FROMLIST: usb: xhci: Remove unused udev from xhci_log_ctx trace event948b2a1205UPSTREAM: ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csumf60101a030ANDROID: GKI: Update symbols to symbol list64c7044d39ANDROID: vendor_hook: add hooks in dm_bufio.cf03258701dANDROID: GKI: Update symbol list for mtk9d8c9d868eUPSTREAM: ext4: fix invalid free tracking in ext4_xattr_move_to_block()97aa93c23fANDROID: uid_sys_stats: defer process_notifier work if uid_lock is contendedc28be8ff1dBACKPORT: scsi: ufs: Fix device management cmd timeout flow3641f511eeUPSTREAM: usb: dwc3: debugfs: Resume dwc3 before accessing registers694b75e0ceUPSTREAM: kvm: initialize all of the kvm_debugregs structure before sending it to userspace368fb8a50cBACKPORT: scsi: ufs: fix a race condition related to device managemente36eef3783Revert "Revert "mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse""a42b1b6119BACKPORT: usb: dwc3: gadget: Ignore End Transfer delay on teardown57f609a261BACKPORT: usb: dwc3: gadget: Do not clear ep delayed stop flag during ep disable66cba6260aFROMLIST: binder: fix UAF caused by faulty buffer cleanupce88d51c72ANDROID: GKI: Increase max 8250 uarts4d70900718ANDROID: GKI: add missing vendor hook and other ktrace symbols00499a5f22ANDROID: GKI: reorder symbols within ABI filese2ed7e5048BACKPORT: f2fs: introduce gc_urgent_mid mode4d2352ab07UPSTREAM: ext4: fix use-after-free in ext4_xattr_set_entry3acba5c435UPSTREAM: ext4: remove duplicate definition of ext4_xattr_ibody_inline_set()49652e1bbdUPSTREAM: Revert "ext4: fix use-after-free in ext4_xattr_set_entry"2e61d90c44ANDROID: fix use of plain integer as NULL pointer306223f885UPSTREAM: dm verity: stop using WQ_UNBOUND for verify_wq3de420d372BACKPORT: dm verity: enable WQ_HIGHPRI on verify_wq004c469370UPSTREAM: dm verity: remove WQ_CPU_INTENSIVE flag since using WQ_UNBOUND7513f3e148UPSTREAM: usb: typec: tcpm: Add support for altmodes5bbc750d9eUPSTREAM: usb: typec: Add typec_port_register_altmodes()8c9c56dbe5FROMGIT: usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC7771fe887fBACKPORT: f2fs: give priority to select unpinned section for foreground GC7b7cd11586BACKPORT: f2fs: check pinfile in gc_data_segment() in advance4078681792ANDROID: Enable percpu high priority kthreads for erofs76e536328fUPSTREAM: erofs: fix an error code in z_erofs_init_zip_subsystem()6f48588062BACKPORT: erofs: add per-cpu threads for decompression as an option1b307b685cUPSTREAM: usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints43390f1621BACKPORT: hugetlb: unshare some PMDs when splitting VMAs391c34feedUPSTREAM: KVM: arm64: Free hypervisor allocations if vector slot init fails2f9858326dUPSTREAM: coresight: trbe: remove cpuhp instance node before remove cpuhp state73c8565a9eUPSTREAM: block: mq-deadline: Fix dd_finish_request() for zoned devices9a595405c4UPSTREAM: mm/page_exit: fix kernel doc warning in page_ext_put()8adfaec154BACKPORT: arm64: mm: kfence: only handle translation faultsd11c3f780cUPSTREAM: mm/damon/dbgfs: check if rm_contexts input is for a real context8eb30a41f5UPSTREAM: mm/shmem: use page_mapping() to detect page cache for uffd continuef74be44246UPSTREAM: usb: dwc3: gadget: Don't delay End Transfer on delayed_status37b3a6153fUPSTREAM: powerpc/64: Include cache.h directly in paca.h3815eca894UPSTREAM: firmware: tegra: Fix error application of sizeof() to pointer1b3cfadf63BACKPORT: drm/amd/display: Allocate structs needed by dcn_bw_calc_rq_dlg_ttu in pipe_ctx3fafe0740eBACKPORT: drm/amd/display: Pass display_pipe_params_st as const in DML61344663dfANDROID: clear memory trylock-bit when page_locked.d55931c1ccUPSTREAM: ext4: fix kernel BUG in 'ext4_write_inline_data_end()'08ccb44bffANDROID: GKI: Update symbols to symbol listfaf3626b8eANDROID: incremental fs: Evict inodes before freeing mount datab7b3a636adUPSTREAM: mm: memcontrol: set the correct memcg swappiness restriction3ea370605aUPSTREAM: media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()d88cd5c7f0ANDROID: Fix kernelci break: eventfd_signal_mask redefined2a7aed7298ANDROID: dm-default-key: update for blk_crypto_evict_key() returning void0dad2818cbBACKPORT: FROMGIT: blk-crypto: make blk_crypto_evict_key() more robustb3926f1a34BACKPORT: FROMGIT: blk-crypto: make blk_crypto_evict_key() return voide7bfca1670BACKPORT: FROMGIT: blk-mq: release crypto keyslot before reporting I/O complete469e02cc6dBACKPORT: of: base: Skip CPU nodes with "fail"/"fail-..." statuse0d8206f5dUPSTREAM: hid: bigben_probe(): validate report count7fd7972fc1UPSTREAM: HID: bigben: use spinlock to safely schedule workers1bba06f3e8UPSTREAM: HID: bigben_worker() remove unneeded check on report_fieldaaffce1ef4UPSTREAM: HID: bigben: use spinlock to protect concurrent accessesd1d2d17fe9BACKPORT: USB: gadget: Fix use-after-free during usb config switch Change-Id: Ia2fcbb257da4641590addf2da2f6938144405043 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
…
…
…
…
…
…
…
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%