mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ca562bf79c6548189b74cb5c925218561c0259a1
android12-5.10-lts
Sync up with android12-5.10 for the following commits:2a2327c4e8FROMLIST: power_supply: Use of-thermal cdev registration APIb90fe5ef8fFROMLIST: power_supply: Register cooling device outside of probefc64efcd06Revert "UPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default"1eb3049da0FROMGIT: usb: dwc3: gadget: Prevent core from processing stale TRBsee1e2de73cUPSTREAM: cgroup-v1: Require capabilities to set release_agent7e6f112bebFROMGIT: f2fs: move f2fs to use reader-unfair rwsems23686f5ee8UPSTREAM: f2fs: do not bother checkpoint by f2fs_get_node_infofa055ddfd5BACKPORT: f2fs: avoid down_write on nat_tree_lock during checkpointc8701aa0a7ANDROID: GKI: enable RCU_BOOSTc34fa06f4bFROMLIST: rcu: Don't deboost before reporting expedited quiescent state3a49d3b677FROMGIT: usb: f_fs: Fix use-after-free for epfile250abe08bbUPSTREAM: usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.d449d91bc9ANDROID: update new gki symbolb2fcb7b63bANDROID: abi: qcom: Add dma_{alloc,free}_noncoherent5d79e49205UPSTREAM: binder: fix async_free_space accounting for empty parcels6aa9e78d6eFROMGIT: rcu: Allow expedited RCU grace periods on incoming CPUs2f61ec09b0ANDROID: abi_gki_aarch64_qcom: Add iommu_setup_dma_ops restricted vh6a9ff8fa26ANDROID: iommu: Add restricted vendor hook2aba795b31FROMLIST: arm64: cpufeature: List early Cortex-A510 parts as having broken dbm2861bbc5b5FROMLIST: arm64: Add Cortex-A510 CPU part definitionb0d13db791FROMGIT: printk: ringbuffer: Improve prb_next_seq() performance4b1862e4fcANDROID: incremental-fs: fix GPF in pending_reads_dispatch_ioctl445019bbcaUPSTREAM: bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc032a676295UPSTREAM: tee: handle lookup of shm with reference count 0d461f54be3ANDROID: Incremental-fs: Doc: correct a sysfs path in incfs.rst1bfc9c16aeANDROID: selftests: fix incfs_testfd4c6594f5ANDROID: incremental-fs: fix mount_fs issuea512242e66BACKPORT: arm64: errata: Add workaround for TSB flush failurese48051244aUPSTREAM: arm64: Add Neoverse-N2, Cortex-A710 CPU part definitiondd3256d439UPSTREAM: coresight: trbe: Defer the probe on offline CPUs71aebf8793UPSTREAM: coresight: etm4x: Use Trace Filtering controls dynamically2bb8b3c907BACKPORT: coresight: etm4x: Save restore TRFCR_EL179b64fa780UPSTREAM: coresight: tmc-etr: Speed up for bounce buffer in flat modeaee6af7046UPSTREAM: coresight: tmc-etr: Add barrier after updating AUX ring buffera0009ade38Revert half of "ANDROID: cpu/hotplug: create vendor hook for cpu_up/cpu_down"a863cef344Revert half of "ANDROID: arm64: add vendor hooks for bti and pauth fault"9f58bcd614Revert half of "ANDROID: vendor_hooks: Add param for android_vh_cpu_up/down"4b3396046cRevert "ANDROID: vendor_hooks: Add a hook for task tagging"d8fe0b1fc2Revert "ANDROID: GKI: net: add vendor hooks for 'struct nf_conn' lifecycle"92ab2aeca5Revert "ANDROID: GKI: net: add vendor hooks for 'struct sock' lifecycle"b3e6d6eec6Revert "ANDROID: vendor_hooks: add hook and OEM data for slab shrink"e09000ee19Revert half of "ANDROID: vendor_hooks: Add hooks for memory when debug"3f305a9101Revert half of "ANDROID: gic-v3: Add vendor hook to GIC v3"3b4ca92614Merge tag 'android12-5.10.81_r00' into android12-5.10bdc732d112UPSTREAM: tracefs: Set all files to the same group ownership as the mount option8455746a45UPSTREAM: tracefs: Have new files inherit the ownership of their parent9c63be2adaUPSTREAM: tracefs: Have tracefs directories not set OTH permission bits by default64095600fdRevert "ANDROID: vendor_hooks: Add hooks to recognize special worker thread."7887091009Revert "ANDROID: sysrq: add vendor hook for sysrq crash information"63e7148b27Revert "ANDROID: user: Add vendor hook to user for GKI purpose"18975040b9Revert portions of "ANDROID: sched: Add vendor hooks for sched."96c08d9210Revert portions of "ANDROID: vendor_hooks: Add hooks for scheduler"a32e89883aUPSTREAM: vfs: fs_context: fix up param length parsing in legacy_parse_param New functions/variables are now being tracked as well, that came from the android12-5.10 branch: Leaf changes summary: 5 artifacts changed Changed leaf types summary: 0 leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 4 Added functions Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 1 Added variable 4 Added functions: [A] 'function int __traceiter_android_rvh_iommu_setup_dma_ops(void*, device*, u64, u64)' [A] 'function void* dma_alloc_noncoherent(device*, size_t, dma_addr_t*, dma_data_direction, gfp_t)' [A] 'function void dma_free_noncoherent(device*, size_t, void*, dma_addr_t, dma_data_direction)' [A] 'function void static_key_enable_cpuslocked(static_key*)' 1 Added variable: [A] 'tracepoint __tracepoint_android_rvh_iommu_setup_dma_ops' Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I7a5a82681cc94f6b3dcd17e159da8976be0bcb78
…
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%