Greg Kroah-Hartman d2841af63f Merge 6.1.119-lts branch changes into android14-6.1
Steps on the way to a final 6.1.124 lts merge into android14-6.1

Changes included in here are:

* 73b6ba5d32 ANDROID: fix up crc problems 6.1.119
* b7dd20a030 ANDROID: fix build breakage in virtio_transport_common.c
* 58f9413785 Merge 6.1.119 into android14-6.1-lts
* e4d90d63d3 Linux 6.1.119
* a0b8fd37fd net: Make copy_safe_from_sockptr() match documentation
* 9b242c4232 char: xillybus: Fix trivial bug with mutex
* 00baca74fb parisc: fix a possible DMA corruption
* 777595da53 null_blk: Fix return value of nullb_device_power_store()
* 1d4c8baef4 null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues'
* af4040457d null_blk: Remove usage of the deprecated ida_simple_xx() API
* c2dcdaa27d char: xillybus: Prevent use-after-free due to race condition
* 2f2d48b624 drm/amd: check num of link levels when update pcie param
* 52c81fd0f5 mm: resolve faulty mmap_region() error path behaviour
* 8fad7b004b mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling
* 77b50f617a mm: unconditionally close VMAs on error
* 7443f3e112 mm: avoid unsafe VMA hook invocation when error arises on mmap hook
* 5874c1150e mm: revert "mm: shmem: fix data-race in shmem_getattr()"
* e2348d8c61 net: fec: remove .ndo_poll_controller to avoid deadlocks
* 34d83c3e6e net/sched: taprio: extend minimum interval restriction to entire cycle too
* b2c664df3b ipvs: properly dereference pe in ip_vs_add_service
* 18cf702635 fs/9p: fix uninitialized values during inode evict
* 298609e706 nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies
* 8a015f9cab net: add copy_safe_from_sockptr() helper
* ad6480c9a5 ksmbd: fix potencial out-of-bounds when buffer offset is invalid
* d70c2e0904 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
* 5ecf539bc5 mptcp: pm: use _rcu variant under rcu_read_lock
* 8e1c565eeb mptcp: drop lookup_by_id in lookup_addr
* 33e1fc8d1b mptcp: hold pm lock when deleting entry
* 3095f4e8cc mptcp: update local address flags when setting it
* 199af46b93 mptcp: add userspace_pm_lookup_addr_by_id helper
* 71603aa07a mptcp: define more local variables sk
* 24995851d5 mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
* 949ee5d44d NFSD: Never decrement pending_async_copies on error
* c3074003fa NFSD: Initialize struct nfsd4_copy earlier
* 7ea9260874 NFSD: Limit the number of concurrent async COPY operations
* 2fd3f2f253 NFSD: Async COPY result needs to return a write verifier
* a86db75c53 NFSD: initialize copy->cp_clp early in nfsd4_copy for use by trace point
* 94180edc35 media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
* 769698a45f cxl/pci: fix error code in __cxl_hdm_decode_init()
* c7fa16e41a lib/buildid: Fix build ID parsing logic
* cec736e60d Bluetooth: ISO: Fix not validating setsockopt user input
* d1ac7e2620 fs/ntfs3: Additional check in ntfs_file_release
* 0708d3197f staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation
* c26cff4926 staging: vchiq_arm: Get the rid off struct vchiq_2835_state
* d61a1ccd79 drm/amd: Fix initialization mistake for NBIO 7.7.0
* 74d8e0efa0 drm/bridge: tc358768: Fix DSI command tx
* db6dfee39c mmc: sunxi-mmc: Fix A100 compatible description
* 8f9416147d Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
* 86b19031db nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
* c5e0a6af5f ocfs2: fix UBSAN warning in ocfs2_verify_volume()
* 89f886a092 ALSA: hda/realtek: fix mute/micmute LEDs for a HP EliteBook 645 G10
* 7d4dea25cc ALSA: hda/realtek - Fixed Clevo platform headset Mic issue
* 3b2a4fd9bb nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
* e6716f4230 KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
* 14db62eb01 KVM: x86: Unconditionally set irr_pending when updating APICv state
* a221208263 KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled
* e01aae58e8 ima: fix buffer overrun in ima_eventdigest_init_common
* 870d68fe17 vp_vdpa: fix id_table array not null terminated error
* 9012d29347 vdpa/mlx5: Fix PA offset with unaligned starting iotlb map
* 620d225981 ocfs2: uncache inode which has failed entering the group
* 6addb2d950 mm: fix NULL pointer dereference in alloc_pages_bulk_noprof
* 69556613d9 x86/mm: Fix a kdump kernel failure on SME system when CONFIG_IMA_KEXEC=y
* 609641e959 ARM: 9419/1: mm: Fix kernel memory mapping for xip kernels
* ae35fcddd3 bonding: add ns target multicast address to slave device
* 1b13c1ca46 samples: pktgen: correct dev to DEV
* 9b2c3184e1 net: sched: cls_u32: Fix u32's systematic failure to free IDR entries for hnodes.
* d848eb0b32 net/sched: cls_u32: replace int refcounts with proper refcounts
* dd60de7881 Bluetooth: hci_core: Fix calling mgmt_device_connected
* 334e297d0a Bluetooth: hci_event: Remove code to removed CONFIG_BT_HS
* 946c7600fa virtio/vsock: Fix accept_queue memory leak
* 0c7c70ff8b net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
* 69fbd07f17 net/mlx5e: kTLS, Fix incorrect page refcounting
* bfba288f53 net/mlx5: fs, lock FTE when checking if active
* a749b23059 mptcp: error out earlier on disconnect
* 656dbd1c21 drm/rockchip: vop: Fix a dereferenced before check warning
* cc673c7151 net: vertexcom: mse102x: Fix tx_bytes calculation
* 4e87a52133 netlink: terminate outstanding dump on socket close

Change-Id: I59fd339fac6f283e6dbdc77d1e477e0640f9390a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2025-01-27 08:41:31 +00:00
2023-02-09 13:29:55 +00:00
2024-10-01 11:35:58 +00:00
2024-12-09 20:46:59 +00:00
2022-09-28 09:02:20 +02:00
2024-12-09 20:46:59 +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%