Greg Kroah-Hartman 766d61c1b6 Merge branch 'android14-6.1' into android14-6.1-lts
Sync up with recent changes in android14-6.1.  Changes included here
are:

* 1ffc24e7e8 UPSTREAM: Revert "PCI: Use preserve_config in place of pci_flags"
* 34aea58089 Merge tag 'android14-6.1.124_r00' into android14-6.1
* 11620ab958 FROMGIT: KVM: arm64: Flush hyp bss section after initialization of variables in bss
* 2f2e115eec Merge 6.1.121-lts branch changes into android14-6.1
* d2841af63f Merge 6.1.119-lts branch changes into android14-6.1
* ef4fb40b87 ANDROID: GKI: Add Paragon symbol list
* 72db89d3d9 ANDROID: common-android14-6.1 Update the ABI symbol list
* 092a580916 ANDROID: KVM: arm64: Present the 16Kb granule support to the guest VMs
* 0405a25a6e ANDROID: KVM: arm64: Fix corrupted PSTATE during guest debug
* d12538e9da BACKPORT: PCI/portdrv: Prevent LS7A Bus Master clearing on shutdown
* dbdf659cc6 UPSTREAM: selinux: ignore unknown extended permissions
* e09bed3008 BACKPORT: f2fs: prevent writing without fallocate() for pinned files
* 8a225f954d ANDROID: Enable PM_USERSPACE_AUTOSLEEP in gki_defconfig
* a33878393a ANDROID: Update the ABI symbol list
* 6f0b82dd8a ANDROID: mm: add kswapd wake/done rvh
* 770852bf7d ANDROID: ABI: update protected symbol list
* bda0401cd8 ANDROID: GKI: load vendor modules without tainting the kernel
* 7e96f2bfaa UPSTREAM: cgroup: remove cgroup_rstat_flush_atomic()
* b5b6e46444 UPSTREAM: memcg: remove mem_cgroup_flush_stats_atomic()
* 4b27ab0c6b UPSTREAM: memcg: calculate root usage from global state
* 0ef8d00e37 UPSTREAM: memcg: flush stats non-atomically in mem_cgroup_wb_stats()
* c0d8df37a0 UPSTREAM: writeback: move wb_over_bg_thresh() call outside lock section
* 681efac6a1 UPSTREAM: memcg: do not modify rstat tree for zero updates
* 5795558d86 UPSTREAM: vmscan: memcg: sleep when flushing stats during reclaim
* e3e3beed82 UPSTREAM: workingset: memcg: sleep when flushing stats in workingset_refault()
* 0448f92c8d UPSTREAM: memcg: sleep during flushing stats in safe contexts
* c47c4c0966 UPSTREAM: memcg: replace stats_flush_lock with an atomic
* 86ff69608f UPSTREAM: memcg: do not flush stats in irq context
* a77a4ca4f4 UPSTREAM: memcg: rename mem_cgroup_flush_stats_"delayed" to "ratelimited"
* 978adc3d3a UPSTREAM: cgroup: rename cgroup_rstat_flush_"irqsafe" to "atomic"
* 616d7c64fd BACKPORT: epoll: Add synchronous wakeup support for ep_poll_callback
* 66ae563a65 UPSTREAM: bpf: sync_linked_regs() must preserve subreg_def
* eeccb29218 UPSTREAM: ALSA: usb-audio: Fix a DMA to stack memory bug
* e2b9748880 ANDROID: ABI: update symbol list for honor
* 3f924195e2 FROMGIT: usb: dwc3: gadget: Fix incorrect UDC state after manual deconfiguration
* c141a306c4 ANDROID: scsi: sd: Fix unexpect removal code on Merge commit
* 4c2d86d81f ANDROID: GKI: Update oplus symbol list
* 3e3f2b9e9f BACKPORT: f2fs: fix to account dirty data in __get_secs_required()
* e50cf165f4 BACKPORT: usb: gadget: uvc: configfs: Add frame-based frame format support
* 4bcafa4d00 ANDROID: dm-bow: Fix empty else blocks
* d5dfee96ac ANDROID: dm-bow: Pass through zero sized requests
* 1149e6d6fc ANDROID: dm-bow: Fix 5.15 compatibility issue
* 1f8f8e5cd9 ANDROID: dm-bow: Fix up revert remove dm-bow
* e8944a38b4 Revert "ANDROID: dm-bow: remove dm-bow"
* d0e1b23b5d UPSTREAM: ALSA: usb-audio: Fix out of bounds reads when finding clock sources
* e93c64d683 ANDROID: GKI: Update symbols need by rockchip drm
* a84242054b UPSTREAM: ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
* 204945a2da UPSTREAM: vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
* 367540fdf9 Merge tag 'android14-6.1.118_r00' into android14-6.1
* 22b7ded8b5 ANDROID: ABI: update symbol list for honor
* dbb9fda3cf ANDROID: fs: add vendor hook to collect IO statistics
* b9ba16d91d UPSTREAM: usb: xhci: Implement xhci_handshake_check_state() helper
* 191acd0d6a Revert "UPSTREAM: unicode: Don't special case ignorable code points"
* 0a310649d8 Reapply "UPSTREAM: unicode: Don't special case ignorable code points"
* e318dc4c06 ANDROID: abi_gki_aarch64_qcom: Update symbols list for Qcom
* 904ebc320c Revert "UPSTREAM: unicode: Don't special case ignorable code points"
* 0f332d7edc ANDROID: KVM: arm64: Fix missing mutex init for hyp trace readers
* affd0c0263 ANDROID: mm: EXPORT_SYMBOL_GPL(reclaim_pages) position adjustment
* d8ccecb7c2 ANDROID: GKI: Update symbol list for mtk
* 853ec04e2d UPSTREAM: HID: core: zero-initialize the report buffer
* c276c53965 ANDROID: GKI: Update symbol list for mtk
* fddf80a6ac UPSTREAM: of: property: fw_devlink: Add support for "post-init-providers" property
* b865d3ed06 UPSTREAM: driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
* 0a05df9c8a UPSTREAM: driver core: Adds flags param to fwnode_link_add()
* 182b090f35 UPSTREAM: f2fs: modify f2fs_is_checkpoint_ready logic to allow more data to be written with the CP disable
* 38149d5303 BACKPORT: f2fs: introduce get_available_block_count() for cleanup
* 997d1e6f69 FROMGIT: pinmux: Use sequential access to access desc->pinmux data
* fa34bcaf9e BACKPORT: firmware: arm_scmi: Support 'reg-io-width' property for shared memory
* c9e7fc262f UPSTREAM: dt-bindings: sram: Document reg-io-width property
* cdea241bf6 ANDROID: GKI: Update symbol list for mtk
* a887a44ace ANDROID: KVM: arm64: Always check state from host_ack_unshare()
* fb69bae8ea FROMLIST: KVM: arm64: Always check the state from hyp_ack_unshare()
* bfad6b019c Merge tag 'android14-6.1.115_r00' into android14-6.1
* 93460febf9 UPSTREAM: f2fs: fix fiemap failure issue when page size is 16KB
* 3a856b7c13 ANDROID: GKI: Update symbol list for mtk
* 929ff4817a UPSTREAM: net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
* 7cd56b010f UPSTREAM: net: sched: use RCU read-side critical section in taprio_dump()
* 226e9f92a0 UPSTREAM: f2fs: compress: don't redirty sparse cluster during {,de}compress
* 84a9f618b5 UPSTREAM: f2fs: compress: don't {,de}compress non-full cluster
* 3b2e004494 UPSTREAM: f2fs: allow f2fs_ioc_{,de}compress_file to be interrupted
* 24492cb6b9 UPSTREAM: f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on
* 268f1fed50 UPSTREAM: f2fs: support SEEK_DATA and SEEK_HOLE for compression files
* 672918d432 ANDROID: add file for recording allowed ABI breaks
* 1ca5db7e29 ANDROID: GKI: update symbol list for honor
* 13f2b693c7 ANDROID: vendor_hooks: add hook to record reboot reason
* 51bee18173 BACKPORT: FROMGIT: binder: add delivered_freeze to debugfs output
* 2791dfac50 BACKPORT: FROMGIT: binder: fix memleak of proc->delivered_freeze
* c5233c5678 FROMGIT: binder: allow freeze notification for dead nodes
* 194a332e5f FROMGIT: binder: fix BINDER_WORK_CLEAR_FREEZE_NOTIFICATION debug logs
* 5b095ade12 ANDROID: GKI: Update symbol list for BCMSTB
* 516ca8799f ANDROID: psi: Add vendor hooks for PSI tracing
* 4a105e4e1c ANDROID: ABI: Update pixel symbol list
* 6cf2e7d968 ANDROID: GKI: update symbol list for honor
* eb0102684f ANDROID: vendor_hooks: add hook to record slab alloc and free
* defe0024cf UPSTREAM: Revert "arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings"
* 55c3fa9885 ANDROID: GKI: Update Honor abi symbol list
* cbc36a1928 ANDROID: Allow vendor modules perform more operationson.
* 7160754546 ANDROID: GKI: Add drm symbol need by rockchip soc
* 5f814d6bb4 ANDROID: GKI: Update symbol list for mtk
* 351af49c1d ANDROID: GKI: Update rockchip symbols for some customers.
* 8ed9a61b54 ANDROID: usb: dwc3: core: Introduce vendor struct to deal with ABI breakage
* 9f49b974c8 BACKPORT: usb: dwc3: core: Refactor PHY logic to support Multiport Controller
* 28c74caaf3 BACKPORT: usb: dwc3: core: Access XHCI address space temporarily to read port info
* 38859a233e BACKPORT: f2fs: compress: fix to update i_compr_blocks correctly
* a7a882d905 ANDROID: abi_gki_aarch64_qcom: Update symbol list
* 96ad4e759f UPSTREAM: USB: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
* eef3d33656 ANDROID: GKI: Update symbol list for honor
* ce0653fd2c ANDROID: Allow vendor modules perform more operations on memleak detect
* d3daafbfd2 ANDROID: ABI: Update transsion symbol list and stg
* 11512e4a72 ANDROID: mmc: Add vendor hooks for sdcard failure diagnostics
* f3367f466a BACKPORT: usb: dwc3: Avoid waking up gadget during startxfer

Change-Id: I4a88143ff6c8c0dfc1621e084fd9280f3524c5ad
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-01-28 15:37:23 +00:00
2023-02-09 13:29:55 +00:00
2025-01-26 19:08:08 +00:00
2023-06-15 09:54:33 +01:00

How do I submit patches to Android Common Kernels

  1. 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.
  2. 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:, or ANDROID:.
  • 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
        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 of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry picked from commit ...) line
    • Example:
        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 use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        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:
        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:
        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)
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%