mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
2caf29dc673cdf6434c9503455bcfc2695fbc8b7
Merge the recent changes in android14-6.1 into android14-6.1-lts to catch up on abi changes and other issues fixed there already. Changes included in here are: *5a912daf87ANDROID: OPP: fix function args mismatch for dev_pm_opp_add in pm_opp.h *bcc435d374ANDROID: GKI: Update KMI symbol list for ASR *9e167c1c27ANDROID: GKI: Export a symbol “next_arg” for honor *4dcae85afdBACKPORT: netem: fix return value if duplicate enqueue fails *f4bcd4ef0fANDROID: 16K: Fixup padding vm_flags bits on VMA splits *9027204d5aANDROID: 16K: Introduce pgsize_migration_inline.h *03b93dc707FROMLIST: binder: fix BINDER_WORK_FROZEN_BINDER debug logs *9c6fdb6bf8BACKPORT: FROMLIST: binder: fix freeze UAF in binder_release_work() *07a43515b0FROMLIST: binder: fix OOB in binder_add_freeze_work() *a26cde4055FROMLIST: binder: fix node UAF in binder_add_freeze_work() *df571cd9f1FROMGIT: virtio_pmem: Check device status before requesting flush *b2a0a8f709ANDROID: GKI: update rockchip symbols sync with kernel update *83e7e0486eANDROID: GKI: Update symbol list for honor *5c7d0d4f4aANDROID: GKI: Update `kernel_aarch64_16k` build config to match `kernel_aarch64` *2cd8ac816dANDROID: ABI: update symbol list for honor *b5ee53c64eANDROID: Allow vendor modules perform more operationson on sock. *e64a80a096ANDROID: GKI: update symbol list file for xiaomi *530ff6a3e6ANDROID: GKI: add vendor hooks android_vh_page_should_be_protected() and android_vh_modify_scan_control(). *41e1c6f937Merge tag 'android14-6.1.99_r00' into android14-6.1 *3b95e54867ANDROID: Update the ABI symbol list *b3a2458fc6ANDROID: mm: add vh for kcompactd_cpu_online() *532fad0092ANDROID: ABI: update symbol list for honor *145b08312dANDROID: vendor_hooks: add hook to perform targeted memory management *c105083ac6ANDROID: ABI: update symbol list for honor *eda4e9fa64ANDROID: mm: add vendor hook in fault and read file *814dd5bfa8ANDROID: Update the ABI symbol list *8a268cb981ANDROID: GKI: Update symbol list for honor *be07389110ANDROID: Allow vendor modules perform operationson on memleak detect *47871c381dANDROID: GKI: Update symbol list for honor *c7b8f95c21ANDROID: Allow vendor modules perform more operations on binder transaction. *d1f3a046a6FROMGIT: f2fs: prevent atomic file from being dirtied before commit *6e5b92a6a1ANDROID: GKI: Add symbol list for exynosauto *b18f8bbc04ANDROID: GKI: Update symbol list for BCMSTB *ff74052448BACKPORT: binder_alloc: Fix sleeping function called from invalid context *75c9b1955bUPSTREAM: bpf: Fix overrunning reservations in ringbuf *fdec2610bfANDROID: gki_config: Disable CONFIG_DEBUG_STACK_USAGE *d02968a023ANDROID: gki_defconfig: Enable CONFIG_SERIAL_8250_BCM7271 *a752cdd96fBACKPORT: serial: 8250_bcm7271: improve bcm7271 8250 port *04212acc42ANDROID: GKI: Add initial symbol list for honor *27310ed6b6ANDROID: binder: fix KMI issues due to frozen notification *2f43c68d05FROMGIT: binder: frozen notification binder_features flag *eda0570485BACKPORT: FROMGIT: binder: frozen notification *822682e75dANDROID: KVM: arm64: Fix cpu type for tracing HVCs *c7596f093dANDROID: gki_defconfig: Enable CONFIG_RTC_HCTOSYS for x86 *d1af8906d9ANDROID: GKI: Update symbol list for vivo *9eca8763c1ANDROID: vendor_hooks: add hooks for exting task's swp_entrys *03a4ae5d99ANDROID: gki_defconfig: Enable Broadcom SoCs *ef0ea14d63ANDROID: ABI: Update xiaomi symbol list *eabf8327edANDROID: Update the ABI symbol list *f88293625bUPSTREAM: PM: domains: Add helper functions to attach/detach multiple PM domains *7b1e2d9798UPSTREAM: OPP: Fix -Wunsequenced in _of_add_opp_table_v1() *c33dbb3b87UPSTREAM: firmware: arm_scmi: Specify the performance level when adding an OPP *47933171f3BACKPORT: firmware: arm_scmi: Simplify error path in scmi_dvfs_device_opps_add() *b50a013d33BACKPORT: OPP: Extend support for the opp-level beyond required-opps *9ba5e19e0dUPSTREAM: OPP: Extend dev_pm_opp_data with a level *adf41f4737BACKPORT: OPP: Add dev_pm_opp_add_dynamic() to allow more flexibility *9c1597d2e4UPSTREAM: dt-bindings: power: Clarify performance capabilities of power-domains *dda942f010UPSTREAM: dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13 *ff18572d05UPSTREAM: dt-bindings: arm: cpus: Add a power-domain-name for a performance-domain *5c0092ff97UPSTREAM: PM: domains: Allow genpd providers to manage OPP tables directly by its FW *c638aef4e9UPSTREAM: cpufreq: scmi: Add support to parse domain-id using #power-domain-cells *0ccb8d6efaUPSTREAM: cpufreq: scmi: Avoid one OF parsing in scmi_get_sharing_cpus() *1a6e883184UPSTREAM: firmware: arm_scmi: Drop redundant ->device_domain_id() from perf ops *3aa5b5408fUPSTREAM: firmware: arm_scmi: Align perf ops to use domain-id as in-parameter *49da9f2745UPSTREAM: cpufreq: scmi: Prepare to move OF parsing of domain-id to cpufreq *742d32f206BACKPORT: firmware: arm_scmi: Extend perf protocol ops to get information of a domain *b99f37e4a6BACKPORT: firmware: arm_scmi: Extend perf protocol ops to get number of domains *09ab235661ANDROID: vendor_hooks: export shrink_slab *8a0fa49a77UPSTREAM: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails *7c5c6b6397UPSTREAM: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type *a1895da8bdANDROID: GKI: Add initial sunxi symbol list *b5e374dda9FROMLIST: usb: typec: fix up incorrectly backported "usb: typec: tcpm: unregister existing source caps before re-registration" *841cae8810UPSTREAM: net: sched: sch_multiq: fix possible OOB write in multiq_tune() *3bb5a64ae9ANDROID: Update the ABI symbol list *6cbdf0e239ANDROID: Update the ABI symbol list *25641a61baANDROID: GKI: Update symbol list for mtk *82b9eb64ebFROMGIT: KVM: arm64: Ensure TLBI uses correct VMID after changing context *9920d2584eFROMGIT: KVM: arm64: Invalidate EL1&0 TLB entries for all VMIDs in nvhe hyp init *1a48a88fcbFROMGIT: BACKPORT: KVM: arm64: Don't pass a TLBI level hint when zapping table entries *02fcfc12fcMerge tag 'android14-6.1.93_r00' into android14-6.1 *42515e9246ANDROID: sched: Add android_vh_set_task_comm *0f23336b97BACKPORT: UPSTREAM: sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath *370ea8bc2eFROMLIST: binder: fix UAF caused by offsets overwrite *f8f9a197f4ANDROID: binder: fix KMI-break due to proc->dmap *a55053f3a8UPSTREAM: binder: fix descriptor lookup for context manager *c5f1e68340BACKPORT: binder: use bitmap for faster descriptor lookup *514bdc80b9UPSTREAM: perf/core: Fix potential NULL deref *faf32723dcBACKPORT: scsi: ufs: core: Fix ufshcd_abort_one racing issue *4d735ca7bbBACKPORT: scsi: ufs: core: Fix ufshcd_clear_cmd racing issue Change-Id: Ib03de3ba63c1e5c7fc2782fefe352aaa5d234ba1 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%