mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
42f48afb44dbb6088c345f3691205b402922e93e
Sync up with android13-5.10 for the following commits:800870b6d4ANDROID: Update the ABI representationb6a23be181ANDROID: Fix for kernelci !CONFIG_SMP break-breaks9bc66fe57cANDROID: fuse-bpf: set error_in to ENOENT in negative lookup92fc848ef5ANDROID: fuse-bpf: Add ability to run ranges of tests to fuse_testcd9914280aBACKPORT: NFC: netlink: fix sleep in atomic bug when firmware download timeoute56825d048ANDROID: KVM: arm64: Initialize ptr auth in protected modeab9c52146fANDROID: cgroup: Add vendor hook for rebuild_root_domains_bypass8015dd49c0FROMGIT: KVM: arm64: Ignore kvm-arm.mode if !is_hyp_mode_available()5495c19c30ANDROID: Update the ABI symbol list and xml9c24cb8704UPSTREAM: wifi: mac80211_hwsim: use 32-bit skb cookie80c59100daUPSTREAM: wifi: mac80211_hwsim: add back erroneously removed cast9fafd34f1dUPSTREAM: wifi: mac80211_hwsim: fix race condition in pending packetd91e7b80d8ANDROID: Update the ABI representation14e1028389ANDROID: sched: Fix off-by-one with cpupri MAX_RT_PRIO evaluation7a6ea55aa0Revert "ANDROID: workqueue: add vendor hook for wq lockup information"7b19b0064bUPSTREAM: kernel/irq: export irq_gc_set_wake1856a68952ANDROID: Update the ABI representation1bd5344779ANDROID: fuse-bpf: Add test for lookup postfilter494e7075c9ANDROID: fuse-bpf: readddir postfilter fixes8483cc3a75ANDROID: Enable BUILD_GKI_CERTIFICATION_TOOLS for x86_64 GKIf813694424ANDROID: force struct cgroup_taskset to be defined in KMI3dc6e416a1ANDROID: force struct blk_mq_alloc_data to be defined in KMIaf4d4153caBACKPORT: erofs: fix use-after-free of on-stack io[]aec8f79a0fANDROID: GKI: db845c: Update symbols list and ABI7b87b9ddb4ANDROID: kleaf: Explicit list of ABI files.d25aa0dbaeFROMLIST: f2fs: let FI_OPU_WRITE override FADVISE_COLD_BIT5625e355a9ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr0cf7d9ce9fRevert "UPSTREAM: scsi: ufs: core: Reduce the power mode change timeout"1d61c5b5a0Revert "FROMLIST: scsi: ufs: Fix deadlocks between power management and error handler"dd18c291f9BACKPORT: UPSTREAM: kbuild: rename cmd_{bzip2,lzma,lzo,lz4,xzkern,zstd22}f68d040c31FROMLIST: scsi: ufs: Fix deadlocks between power management and error handler32934b542cUPSTREAM: ASoC: hdmi-codec: make hdmi_codec_controls static46a21348d6UPSTREAM: ASoC: hdmi-codec: Add a prepare hook21e97dfa19UPSTREAM: ASoC: hdmi-codec: Add iec958 controls9e9d26699dUPSTREAM: ASoC: hdmi-codec: Rework to support more controls8de9ae8605UPSTREAM: ALSA: iec958: Split status creation and fill92c209708aUPSTREAM: ALSA: doc: Clarify IEC958 controls iface6cc06d03bfUPSTREAM: ASoC: hdmi-codec: remove unused spk_mask member004a44b913UPSTREAM: ASoC: hdmi-codec: remove useless initializationa7633aa2d9UPSTREAM: ASoC: codec: hdmi-codec: Support IEC958 encoded PCM formatc584eb99bbUPSTREAM: ASoC: hdmi-codec: Fix return value in hdmi_codec_set_jack()f5a1cb7fd6UPSTREAM: ASoC: hdmi-codec: Add RX support6140082c11UPSTREAM: ASoC: hdmi-codec: Get ELD in before reporting plugged event185f60f2bbANDROID: add forward declaration vm_unmapped_area_infod1b29856caANDROID: net: export symbol for tracepoint_consume_skb952141fb92BACKPORT: dm verity: set DM_TARGET_IMMUTABLE feature flagb5fe8c470eBACKPORT: pipe: Fix missing lock in pipe_resize_ring()790fa51f7bBACKPORT: KVM: x86: avoid calling x86 emulator without a decoded instructionee742bccf6ANDROID: power: fix vendor hook in suspend.c7108d9d0e5ANDROID: remove inclusions from hook definition headersd6ab8e3ba2Revert "ANDROID: arm64: smp: fix Lockdep warning: RCU used illegally from idle CPU."aa381a5c71ANDROID: remove CONFIG_TRACEPOINTS from hook definition headersaff2309034BACKPORT: watchqueue: make sure to serialize 'wqueue->defunct' properly66047fb431ANDROID: Update the ABI representationd451b4eee2ANDROID: Update the ABI representation3d35c6b91dUPSTREAM: scsi: ufs: core: Reduce the power mode change timeout5c6d73ac2cBACKPORT: scsi: ufs: core: Increase fDeviceInit poll frequency2208908824FROMGIT: f2fs: increase the limit for reserve_root7af4b3ca30FROMGIT: f2fs: complete checkpoints during remount7a04671177FROMGIT: f2fs: flush pending checkpoints when freezing superf18d40369cFROMGIT: f2fs: remove gc_urgent_high_limited for cleanup68f703b19fFROMGIT: f2fs: fix wrong continue condition in GC8ecc3b8d53BACKPORT: f2fs: handle decompress only post processing in softirq23d664773fBACKPORT: f2fs: introduce memory mode1dd8074b61ANDROID: Update the ABI representation9bc5a118efRevert "ANDROID: usb: host: export additional xhci symbols for ring management"3743e36578Revert "ANDROID: GKI: signal: Export for __lock_task_sighand"7219ca326aRevert "ANDROID: Sched: Add restricted vendor hooks for scheduler"4e709a85e5ANDROID: fix kernelci issue for allnoconfig builds909d582d3aANDROID: sched: Introducing PELT multiplier9cfe2646f7Revert "ANDROID: vendor_hooks: FPSIMD save/restore by using vendor_hooks"c7afbeb17eRevert "ANDROID: mm: export zone_watermark_ok"e09aff6074ANDROID: softirq: Add EXPORT_SYMBOL_GPL for softirq and taskletdd04e189dfANDROID: Update the ABI representatione3b7e41f06ANDROID: vendor_hooks:vendor hook for __alloc_pages_slowpath.b5bf2997c3FROMLIST: xfrm: Ensure policy checked for nested ESP tunnels970e02667cFROMLIST: xfrm: Skip checking of already-verified secpath entries039f38f9aaRevert "ANDROID: mm: add vendor hook for vmpressure"fc6f47b6fcRevert "ANDROID: module: Add vendor hook"f509b285d7ANDROID: Update the ABI representationb8762fa265BACKPORT: mm: don't be stuck to rmap lock on reclaim path737a5314c9ANDROID: power: Add vendor hook for suspend19b9be6d35ANDROID: vendor_hooks:vendor hook for mmput4a84a59cb8ANDROID: vendor_hooks:vendor hook for pidfd_open571f9fff87ANDROID: Update the ABI representationa48ad117ecBACKPORT: f2fs: do not set compression bit if kernel doesn't support406e9b3d0bBACKPORT: f2fs: do not count ENOENT for error case0d59b2578aBACKPORT: f2fs: avoid infinite loop to flush node pages6d2d344c5fBACKPORT: f2fs: replace congestion_wait() calls with io_schedule_timeout()ffe2cbbff9BACKPORT: f2fs: fix wrong condition check when failing metapage read9f4fae40a9UPSTREAM: arm64: perf: Support new DT compatiblesbe08fd28caUPSTREAM: arm64: perf: Simplify registration boilerplate96dc76e1b1UPSTREAM: arm64: perf: Support Denver and Carmel PMUs5ac3e909a4UPSTREAM: arm64: perf: add support for Cortex-A78913113f05fUPSTREAM: binder: fix redefinition of seq_file attributes0c79c40888BACKPORT: drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu0a21a3eb9fBACKPORT: usb: gadget: rndis: prevent integer overflow in rndis_set_response()d9d8680e9fBACKPORT: KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID2f9fed9ce8BACKPORT: Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_putbc80ea8a42BACKPORT: io_uring: always grab file table for deferred statx0380da7fd6FROMGIT: io_uring: Use original task for req identity in io_identity_cow()19bb609b45FROMLIST: binder: fix UAF of ref->proc caused by race condition999976097dANDROID: binder: fix pending prio state for early exitb5a6bcf9dcANDROID: Remove all but top-level OWNERS254dfc7e98ANDROID: Update the ABI representationfeb89f3850ANDROID: fix kernelci error in fs/fuse/dir.c3821e5b25cANDROID: power: add a vendor hook to log unfrozen tasksf2cf53322fANDROID: fuse-bpf: Fix RCU/reference issue1f44e4411fUPSTREAM: exfat: reduce block requests when zeroing a cluster885349f53dFROMGIT: arm64: fix oops in concurrently setting insn_emulation sysctlseb4344203dFROMLIST: scsi: ufs: Fix a race condition related to device management commands561c270725ANDROID: vendor_hooks: tune reclaim scan type for specified mem_cgroupa6b9536c10ANDROID: KVM: arm64: Increase size of FF-A buffer094905c877ANDROID: fuse-bpf: Always call revalidate for backinga8b1cff534ANDROID: fuse-bpf: Adjust backing handle funcsa06f77a0ddANDROID: fuse-bpf: Fix revalidate error path and backing handling329650e3b9ANDROID: fuse: Don't use readdirplus w/ nodeid 055f267ee04ANDROID: fuse-bpf: Fix use of get_fuse_inode81a1ae6b43ANDROID: mm: unlock the page on speculative fault retry2957657ac3ANDROID: power: Add vendor hook for suspendace01eaf6bFROMGIT: Binder: add TF_UPDATE_TXN to replace outdated txnf6acdedf61ANDROID: GKI: forward declare struct tcpci_data in vendor hooks037c2b81acANDROID: Fix warning for undeclared struct acr_info825e1059b5ANDROID: KVM: arm64: Free shadow data vCPUs memcache And track more new symbols that were added to the 'android13-5.10' branch: 25 symbol(s) added 'GKI_struct_blk_mq_alloc_data' 'GKI_struct_cgroup_taskset' '__bitmap_xor' '__traceiter_android_vh_early_resume_begin' '__traceiter_android_vh_resume_end' '__traceiter_android_vh_try_to_freeze_todo_logging' '__tracepoint_android_vh_early_resume_begin' '__tracepoint_android_vh_resume_end' '__tracepoint_android_vh_try_to_freeze_todo_logging' '__xa_insert' 'dev_base_lock' 'devm_fwnode_gpiod_get_index' 'devm_gpiod_get_array_optional' 'drm_atomic_bridge_chain_disable' 'drm_mode_parse_command_line_for_connector' 'init_user_ns' 'iommu_dma_enable_best_fit_algo' 'kobject_rename' 'nf_register_net_hooks' 'nf_unregister_net_hooks' 'ns_capable_noaudit' 'regulator_set_active_discharge_regmap' 'snd_pcm_create_iec958_consumer_default' 'snd_pcm_fill_iec958_consumer' 'snd_pcm_fill_iec958_consumer_hw_params' Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ifb26d1c3de6f1ad3c3e6afc37d8acd61bdd8ac14
…
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%