mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
c3a1a1e97ed9c93ed581cf38b7847590fbf5c4b4
Backmerge the latest android14-6.1 changes into the lts branch to keep up to date. Contains the following commits: *3578913b2eUPSTREAM: net/rose: Fix Use-After-Free in rose_ioctl *8fbed1ea00UPSTREAM: ida: Fix crash in ida_free when the bitmap is empty *6ce5bb744eANDROID: GKI: Update symbol list for mtk *7cbad58851Reapply "perf: Disallow mis-matched inherited group reads" *067a03c44eANDROID: GKI: Add Pasa symbol list *b6be1a36f7FROMGIT: mm: memcg: don't periodically flush stats when memcg is disabled *d0e2d333f9ANDROID: Update the ABI symbol list *10558542a1ANDROID: sched: export update_misfit_status symbol *a0b3b39898ANDROID: GKI: Add ASR KMI symbol list *599710db0fFROMGIT: usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend *9265fa90c1FROMLIST: usb: core: Prevent null pointer dereference in update_port_device_state *2730733d54ANDROID: gki_defconfig: Enable CONFIG_NVME_MULTIPATH *4f668f5682BACKPORT: irqchip/gic-v3: Work around affinity issues on ASR8601 *473a871315BACKPORT: irqchip/gic-v3: Improve affinity helper *6c32acf537UPSTREAM: sched/fair: Limit sched slice duration *7088d250bfANDROID: Update the ABI symbol list *c249740414ANDROID: idle_inject: Export function symbols *990d341477ANDROID: Update the ABI symbol list *be92a6a1b4ANDROID: GKI: Remove CONFIG_MEDIA_CEC_RC *fa9ac43f16BACKPORT: usb: host: xhci: Avoid XHCI resume delay if SSUSB device is not present *f27fc6ba23Merge "Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1'" into android14-6.1 |\ | *0177cfb2a2Merge tag 'android14-6.1.68_r00' into branch 'android14-6.1' *c96cea1a3cANDROID: Update the ABI symbol list *c2fbc12180ANDROID: uid_sys_stats: Drop CONFIG_UID_SYS_STATS_DEBUG logic *90bd30bdefANDROID: Update the ABI symbol list *3280560843ANDROID: Update the ABI symbol list *427210e440UPSTREAM: usb: gadget: uvc: Remove nested locking *9267e267beANDROID: uid_sys_stats: Fully initialize uid_entry_tmp value *2d3f0c9d41ANDROID: Roll back some code to fix system_server registers psi trigger failed. *bd77c97c76UPSTREAM: usb: gadget: uvc: Fix use are free during STREAMOFF *21c71a7d0eANDROID: GKI: Add symbol list for Nothing *aba5a3fe09ANDROID: Enable CONFIG_LAZY_RCU in x86 gki_defconfig *204160394aANDROID: fuse-bpf: Fix the issue of abnormal lseek system calls *947708f1ffANDROID: ABI: Update symbol list for imx *7eedea7abfBACKPORT: PM: sleep: Fix possible deadlocks in core system-wide PM code *e1a20dd9ffUPSTREAM: async: Introduce async_schedule_dev_nocall() *e4b0e14f83UPSTREAM: async: Split async_schedule_node_domain() *6b4c816d17FROMGIT: BACKPORT: mm: update mark_victim tracepoints fields *d97ea65296ANDROID: Enable CONFIG_LAZY_RCU in arm64 gki_defconfig *90d68cedd1FROMLIST: rcu: Provide a boot time parameter to control lazy RCU *a079cc5876ANDROID: rcu: Add a minimum time for marking boot as completed *ffe09c06a8UPSTREAM: rcu: Disable laziness if lazy-tracking says so *d07488d26eUPSTREAM: rcu: Track laziness during boot and suspend *4316bd568bUPSTREAM: net: Use call_rcu_hurry() for dst_release() *b9427245f0UPSTREAM: workqueue: Make queue_rcu_work() use call_rcu_hurry() *72fdf7f606UPSTREAM: percpu-refcount: Use call_rcu_hurry() for atomic switch *ced65a053bUPSTREAM: io_uring: use call_rcu_hurry if signaling an eventfd *84c8157d06UPSTREAM: rcu: Update synchronize_rcu_mult() comment for call_rcu_hurry() *3751416eebUPSTREAM: scsi/scsi_error: Use call_rcu_hurry() instead of call_rcu() *52193e9489UPSTREAM: rcu/rcutorture: Use call_rcu_hurry() where needed *83f8ba569fUPSTREAM: rcu/rcuscale: Use call_rcu_hurry() for async reader test *9b625f4978UPSTREAM: rcu/sync: Use call_rcu_hurry() instead of call_rcu *c570c8fea3BACKPORT: rcu: Shrinker for lazy rcu *4957579439UPSTREAM: rcu: Refactor code a bit in rcu_nocb_do_flush_bypass() *66a832fe38UPSTREAM: rcu: Make call_rcu() lazy to save power *4fb09fb4f7UPSTREAM: rcu: Fix missing nocb gp wake on rcu_barrier() *64c59ad2c3UPSTREAM: rcu: Fix late wakeup when flush of bypass cblist happens *0799ace265ANDROID: Update the ABI symbol list *65db2f8ed3ANDROID: GKI: add GKI symbol list for Exynosauto SoC *cfe8cce4e8UPSTREAM: coresight: tmc: Don't enable TMC when it's not ready. *899194d7e9UPSTREAM: netfilter: nf_tables: bail out on mismatching dynset and set expressions *e6712ed4f0ANDROID: ABI: Update oplus symbol list *24bb8fc82eANDROID: vendor_hooks: add hooks in driver/android/binder.c *55930b39caANDROID: GKI: Update honda symbol list for xt_LOG *3160b69e20ANDROID: GKI: Update honda symbol list for ebt filter *4dc7f98815ANDROID: GKI: Update honda symbol list for ebtables *39a0823340ANDROID: GKI: Update honda symbol list for net scheduler *dd0098bdb4ANDROID: GKI: Update honda symbol list for led-trigger *66a20ed4b8ANDROID: GKI: Add initial symbol list for honda *28dbe4d613ANDROID: GKI: add symbols to ABI *97100e867eFROMGIT: usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart *36248a15a7FROMGIT: usb: dwc3: set pm runtime active before resume common Change-Id: I8d9586a94c3182cd365d1e3b651a7552c7c9949b 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%