Greg Kroah-Hartman 367540fdf9 Merge tag 'android14-6.1.118_r00' into android14-6.1
This merges up to the 6.1.118 LTS release into the android14-6.1 branch.
Changes included in here are:

*   2f2512ac10 Merge 6.1.118 into android14-6.1-lts
|\
| * b67dc5c9ad Linux 6.1.118
| * 6a8d39ee34 9p: fix slab cache name creation for real
| * 509c1c6b49 fs/ntfs3: Fix general protection fault in run_is_mapped_full
| * ba0b09a2f3 platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
| * 486aeb5f18 mm: krealloc: Fix MTE false alarm in __do_krealloc
| * b22346eec4 Bluetooth: L2CAP: Fix uaf in l2cap_connect
| * cf3196e5e2 ext4: fix timer use-after-free on failed mount
| * e7831613cb drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
| * 0dc3ad9ad2 uprobe: avoid out-of-bounds memory access of fetching args
| * 02079f0922 uprobes: encapsulate preparation of uprobe args buffer
| * fdacd09f2d io_uring: fix possible deadlock in io_register_iowq_max_workers()
| * 9478355c63 md/raid10: improve code of mrdev in raid10_sync_request
| * d4b003f720 net: usb: qmi_wwan: add Fibocom FG132 0x0112 composition
| * 8118551b4f LoongArch: Use "Exception return address" to comment ERA
| * 807692abc6 HID: lenovo: Add support for Thinkpad X1 Tablet Gen 3 keyboard
| * 5622881cf0 HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpad
| * 5a72b0d349 fs: Fix uninitialized value issue in from_kuid and from_kgid
| * cdd28621bb bpf: Fix mismatched RCU unlock flavour in bpf_out_neigh_v6
| * 32c982b520 vDPA/ifcvf: Fix pci_read_config_byte() return code handling
| * afa2294653 nvme: make keep-alive synchronous operation
| * ffdebf3da1 powerpc/powernv: Free name on error in opal_event_init()
| * 60de2e03f9 nvme-multipath: defer partition scanning
| * f17c880a47 drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS
| * b8d1f4d383 sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
| * 75a1b35dcc crypto: marvell/cesa - Disable hash algorithms
| * 1bc59a7c07 crypto: api - Fix liveliness check in crypto_alg_tested
| * 911c9bc048 bpf: use kvzmalloc to allocate BPF verifier environment
| * ccf7d31481 nvme: disable CC.CRIME (NVME_CC_CRIME)
| * eb6751a26a HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad
| * c2242ebafd HID: multitouch: Add support for B2402FVA track point
| * 77b0a8b062 block: Fix elevator_get_default() checking for NULL q->tag_set
| * 4f946479b3 nvme: tcp: avoid race between queue_lock lock and destroy
| * 94a4d966f7 irqchip/ocelot: Fix trigger register address
| * af39f19c71 9p: Avoid creating multiple slab caches with the same name
| * 903227b616 Revert "Bluetooth: hci_conn: Consolidate code for aborting connections"
| * 4c69abb4d4 Revert "Bluetooth: hci_core: Fix possible buffer overflow"
* | 27e7205cf2 Merge 0625d7c240 ("Revert "Bluetooth: af_bluetooth: Fix deadlock"") into android14-6.1-lts
|\|
| * 0625d7c240 Revert "Bluetooth: af_bluetooth: Fix deadlock"
| * 0337fb0928 Revert "Bluetooth: hci_sync: Fix overwriting request callback"
| * 21b39fa205 Revert "Bluetooth: fix use-after-free in accessing skb after sending it"
* | bb58b1f9bf Merge 6.1.117 into android14-6.1-lts
|\|
| * 59d7b1a710 Linux 6.1.117
| * 178379985e media: amphion: Fix VPU core alias name
| * 44d29897ea vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
| * 98d8dde923 hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer
| * b911fa9e92 net: sched: use RCU read-side critical section in taprio_dump()
| * 7f6c3c7f8d ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
| * 7bce2c7ac8 ucounts: fix counter leak in inc_rlimit_get_ucounts()
| * 86dd0e8d42 ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove()
| * 8525160ea2 irqchip/gic-v3: Force propagation of the active state with a read-back
| * ded5200f83 USB: serial: option: add Quectel RG650V
| * 9b298c819a USB: serial: option: add Fibocom FG132 0x0112 composition
| * 5a4a73a6e6 USB: serial: qcserial: add support for Sierra Wireless EM86xx
| * 275258c30b USB: serial: io_edgeport: fix use after free in debug printk
| * 604314ecd6 usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
| * 562804b156 usb: dwc3: fix fault at system suspend if device was already runtime suspended
| * ccd811c304 usb: musb: sunxi: Fix accessing an released usb phy
| * 012f4d5d25 signal: restore the override_rlimit logic
| * 190911cebd fs/proc: fix compile warning about variable 'vmcore_mmap_ops'
| * 26530b757c filemap: Fix bounds checking in filemap_read()
| * beced2cb09 media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
| * c8ec4e437a kselftest/arm64: Initialise current at build time in signal tests
| * a60db84f77 net: do not delay dst_entries_add() in dst_release()
| * 5cf45281a6 Revert "wifi: mac80211: fix RCU list iterations"
| * 84d2f29152 bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
| * 10ffafb456 riscv/purgatory: align riscv_kernel_entry
| * 2cb1a73d1d btrfs: reinitialize delayed ref list after deleting it from the list
| * ba884534f1 arm64: Kconfig: Make SME depend on BROKEN for now
| * aa3e68bd45 mptcp: use sock_kfree_s instead of kfree
| * 2cf0e77f5a net: vertexcom: mse102x: Fix possible double free of TX skb
| * 424c4acb33 net: wwan: t7xx: Fix off-by-one error in t7xx_dpmaif_rx_buf_alloc()
| * f6b2b2b981 nfs: Fix KMSAN warning in decode_getfattr_attrs()
| * d3bcf4069d posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clone
| * 1ced986a37 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3
| * 4fee0ad11a ALSA: usb-audio: Add quirk for HP 320 FHD Webcam
| * 80342c5876 dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow
| * c52ec00cb2 dm cache: fix potential out-of-bounds access on the first resume
| * 011450c2f9 dm cache: optimize dirty bit checking with find_next_bit when resizing
| * 56507203e1 dm cache: fix out-of-bounds access to the dirty bitset when resizing
| * 5a754d3c77 dm cache: fix flushing uninitialized delayed_work on cache_ctr error
| * ffaf0f6eab dm cache: correct the number of origin blocks to match the target length
| * 66ada34425 thermal/drivers/qcom/lmh: Remove false lockdep backtrace
| * 1a9f55ed5b drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
| * 25d7e84343 drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
| * 91139f33b0 drm/amdgpu: Adjust debugfs eviction and IB access permissions
| * 284e213f0e pwm: imx-tpm: Use correct MODULO value for EPWM mode
| * f7557bbca4 ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp
| * d8664ce789 ksmbd: Fix the missing xa_store error check
| * f56446ba53 ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
| * 49500cfd14 can: mcp251xfd: mcp251xfd_ring_alloc(): fix coalescing configuration when switching CAN modes
| * 4ee68cf530 can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation
| * f7503fd2d7 media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl()
| * c63c30c9d9 media: v4l2-tpg: prevent the risk of a division by zero
| * 4b132a464f media: pulse8-cec: fix data timestamp at pulse8_setup()
| * fbefe31e45 media: cx24116: prevent overflows on SNR calculus
| * c85db2d443 media: s5p-jpeg: prevent buffer overflows
| * 5e1523076a media: ar0521: don't overflow when checking PLL values
| * 4f1d74f747 ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove
| * 2e9a53eef2 thermal/of: support thermal zones w/o trips subnode
| * 648e7f59e8 tools/lib/thermal: Fix sampling handler context ptr
| * 42a26e971e ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
| * 3b4f6966d7 scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer
| * d98c63c00c media: adv7604: prevent underflow condition when reporting colorspace
| * fd6d84b8ee media: dvb_frontend: don't play tricks with underflow values
| * b751a96025 media: dvbdev: prevent the risk of out of memory access
| * d6386b279d media: stb0899_algo: initialize cfr before using it
| * 3f8f470f31 Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown"
| * 98ffd58530 net: arc: rockchip: fix emac mdio node support
| * fd4e062fbc net: arc: fix the device for dma_map_single/dma_unmap_single
| * f3401e3c8d virtio_net: Add hash_key_length check
| * 2af6499260 net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case
| * 7efd9a10b8 net: phy: ti: add PHY_RST_AFTER_CLK_EN flag
| * 76b155e14d net: hns3: fix kernel crash when uninstalling driver
| * 7ad3fb3bfd i40e: fix race condition by adding filter's intermediate sync state
| * 64aa077114 ice: change q_index variable type to s16 to store -1 value
| * dac989c2a3 can: c_can: fix {rx,tx}_errors statistics
| * bf9bff1322 sctp: properly validate chunk size in sctp_sf_ootb()
| * 12a3977538 net: enetc: set MAC address to the VF net_device
| * bbad2d5b6c security/keys: fix slab-out-of-bounds in key_task_permission
| * 99659d2345 nfs: avoid i_lock contention in nfs_clear_invalid_mapping
| * ba5634feb2 NFSv3: handle out-of-order write replies.
| * 9a65be8111 NFSv3: only use NFS timeout for MOUNT when protocols are compatible
| * f22232160e sunrpc: handle -ENOTCONN in xs_tcp_setup_socket()
| * a50863dd1f platform/x86/amd/pmc: Detect when STB is not available
| * 1884ab3d22 HID: core: zero-initialize the report buffer
| * 5d739ad16c ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin
| * 89e601bd73 ARM: dts: rockchip: Fix the spi controller on rk3036
| * 44c3b97a1c ARM: dts: rockchip: drop grf reference from rk3036 hdmi
| * f7539956d7 ARM: dts: rockchip: fix rk3036 acodec node
| * a45a7930f4 arm64: dts: imx8mp: correct sdhc ipg clk
| * 65af08b542 arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs
| * 272abcefdb arm64: dts: imx8qxp: Add VPU subsystem file
| * ed5268f3e8 arm64: dts: imx8qm: Fix VPU core alias name
| * 7219ff9791 arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc
| * 3746e8b25a arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma lion
| * 72b96b794d arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards
| * d6477a9858 arm64: dts: rockchip: Fix wakeup prop names on PineNote BT node
| * 8db0adaefe arm64: dts: rockchip: Remove hdmi's 2nd interrupt on rk3328
| * 89b30d16db arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-sapphire-excavator
| * d7b0f08fd6 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-eaidk-610
* | 98a32bd6ec Merge 6.1.116 into android14-6.1-lts
|\|
| * d7039b844a Linux 6.1.116
| * 7dcd620416 migrate_pages_batch: fix statistics for longterm pin retry
| * b3660228db mm: avoid gcc complaint about pointer casting
| * 23c4cb8a56 vt: prevent kernel-infoleak in con_font_get()
| * 87de0a741e drm/amd/display: Skip on writeback when it's not applicable
| * 5e84eda48f drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
| * a207af9bfe mtd: spi-nor: winbond: fix w25q128 regression
| * 1c2f04ce02 LoongArch: Fix build errors due to backported TIMENS
| * 82cae1e30b mm: shmem: fix data-race in shmem_getattr()
| * cde8a7eb5c wifi: iwlwifi: mvm: fix 6 GHz scan construction
| * cd0cdb51b1 nilfs2: fix kernel bug due to missing clearing of checked flag
| * 0acaf4a502 wifi: mac80211: fix NULL dereference at band check in starting tx ba session
| * 38c5fe74f3 x86/bugs: Use code segment selector for VERW operand
| * 9f5a834715 io_uring: always lock __io_cqring_overflow_flush
| * 79a727a9b8 vmscan,migrate: fix page count imbalance on node stats when demoting pages
| * 8ca5f0ea52 migrate_pages: split unmap_and_move() to _unmap() and _move()
| * f9e9725daf migrate_pages: restrict number of pages to migrate in batch
| * 1145493ce5 migrate_pages: separate hugetlb folios migration
| * 6058d02a81 migrate_pages: organize stats with struct migrate_pages_stats
| * de0a1554a4 mm/migrate.c: stop using 0 as NULL pointer
| * 2a4b092d91 migrate: convert migrate_pages() to use folios
| * b0030b8699 migrate: convert unmap_and_move() to use folios
| * 01a0c92883 mm: migrate: try again if THP split is failed due to page refcnt
| * 9e8debb8e5 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write
| * 0ed78d3a29 io_uring: use kiocb_{start,end}_write() helpers
| * 6d42982ad0 fs: create kiocb_{start,end}_write() helpers
| * 45676b8299 io_uring: rename kiocb_end_write() local helper
| * 8f6a0b1f41 kasan: remove vmalloc_percpu test
| * c94e965f76 nvmet-auth: assign dh_key to NULL after kfree_sensitive
| * 618d193924 ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1
| * 4707893315 mctp i2c: handle NULL header address
| * 2fe5d62e12 ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
| * 189b954469 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves
| * bb414b7f41 mm/page_alloc: explicitly define how __GFP_HIGH non-blocking allocations accesses reserves
| * 1cf970483e mm/page_alloc: explicitly define what alloc flags deplete min reserves
* | 64e5459c98 Merge 7468bd2c6e ("mm/page_alloc: explicitly record high-order atomic allocations in alloc_flags") into android14-6.1-lts
|/
* 7468bd2c6e mm/page_alloc: explicitly record high-order atomic allocations in alloc_flags

Change-Id: I7e9c61362ad083dba825e399db297a3d91328d31
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-12-16 02:51:02 -08:00
2023-02-09 13:29:55 +00:00
2024-10-01 11:35:58 +00:00
2024-11-14 10:32:51 +00:00
2024-11-29 12:32:25 +00:00
2022-09-28 09:02:20 +02:00
2024-11-29 12:32:25 +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%