Greg Kroah-Hartman 05c0bbb7b1 Merge 5.15.150 into android14-5.15-lts
Changes in 5.15.150
	net/sched: Retire CBQ qdisc
	net/sched: Retire ATM qdisc
	net/sched: Retire dsmark qdisc
	smb: client: fix OOB in receive_encrypted_standard()
	smb: client: fix potential OOBs in smb2_parse_contexts()
	smb: client: fix parsing of SMB3.1.1 POSIX create context
	sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
	PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()
	bpf: Merge printk and seq_printf VARARG max macros
	bpf: Add struct for bin_args arg in bpf_bprintf_prepare
	bpf: Do cleanup in bpf_bprintf_cleanup only when needed
	bpf: Remove trace_printk_lock
	userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
	zonefs: Improve error handling
	x86/fpu: Stop relying on userspace for info to fault in xsave buffer
	sched/rt: Fix sysctl_sched_rr_timeslice intial value
	sched/rt: Disallow writing invalid values to sched_rt_period_us
	scsi: target: core: Add TMF to tmr_list handling
	dmaengine: shdma: increase size of 'dev_id'
	dmaengine: fsl-qdma: increase size of 'irq_name'
	wifi: cfg80211: fix missing interfaces when dumping
	wifi: mac80211: fix race condition on enabling fast-xmit
	fbdev: savage: Error out if pixclock equals zero
	fbdev: sis: Error out if pixclock equals zero
	spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
	ahci: asm1166: correct count of reported ports
	ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
	MIPS: reserve exception vector space ONLY ONCE
	platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet
	ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
	ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
	ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
	dmaengine: ti: edma: Add some null pointer checks to the edma_probe
	regulator: pwm-regulator: Add validity checks in continuous .get_voltage
	nvmet-tcp: fix nvme tcp ida memory leak
	ALSA: usb-audio: Check presence of valid altsetting control
	ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
	spi: sh-msiof: avoid integer overflow in constants
	Input: xpad - add Lenovo Legion Go controllers
	netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
	ALSA: usb-audio: Ignore clock selector errors for single connection
	nvme-fc: do not wait in vain when unloading module
	nvmet-fcloop: swap the list_add_tail arguments
	nvmet-fc: release reference on target port
	nvmet-fc: defer cleanup using RCU properly
	nvmet-fc: hold reference on hostport match
	nvmet-fc: abort command when there is no binding
	nvmet-fc: avoid deadlock on delete association path
	nvmet-fc: take ref count on tgtport before delete assoc
	ext4: correct the hole length returned by ext4_map_blocks()
	Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table
	fs/ntfs3: Modified fix directory element type detection
	fs/ntfs3: Improve ntfs_dir_count
	fs/ntfs3: Correct hard links updating when dealing with DOS names
	fs/ntfs3: Print warning while fixing hard links count
	fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
	fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
	fs/ntfs3: Disable ATTR_LIST_ENTRY size check
	fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache
	fs/ntfs3: Prevent generic message "attempt to access beyond end of device"
	fs/ntfs3: Correct function is_rst_area_valid
	fs/ntfs3: Update inode->i_size after success write into compressed file
	fs/ntfs3: Fix oob in ntfs_listxattr
	wifi: mac80211: adding missing drv_mgd_complete_tx() call
	efi: runtime: Fix potential overflow of soft-reserved region size
	efi: Don't add memblocks for soft-reserved memory
	hwmon: (coretemp) Enlarge per package core count limit
	scsi: lpfc: Use unsigned type for num_sge
	firewire: core: send bus reset promptly on gap count error
	drm/amdgpu: skip to program GFXDEC registers for suspend abort
	drm/amdgpu: reset gpu for s3 suspend abort case
	virtio-blk: Ensure no requests in virtqueues before deleting vqs.
	pmdomain: mediatek: fix race conditions with genpd
	ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
	pmdomain: renesas: r8a77980-sysc: CR7 must be always on
	erofs: fix lz4 inplace decompression
	IB/hfi1: Fix sdma.h tx->num_descs off-by-one error
	drm/ttm: Fix an invalid freeing on already freed page in error path
	dm-crypt: don't modify the data when using authenticated encryption
	platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
	platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names
	KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
	KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()
	gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
	PCI/MSI: Prevent MSI hardware interrupt number truncation
	l2tp: pass correct message length to ip6_append_data
	ARM: ep93xx: Add terminator to gpiod_lookup_table
	Revert "x86/ftrace: Use alternative RET encoding"
	x86/text-patching: Make text_gen_insn() play nice with ANNOTATE_NOENDBR
	x86/ibt,paravirt: Use text_gen_insn() for paravirt_patch()
	x86/ftrace: Use alternative RET encoding
	x86/returnthunk: Allow different return thunks
	Revert "x86/alternative: Make custom return thunk unconditional"
	x86/alternative: Make custom return thunk unconditional
	serial: amba-pl011: Fix DMA transmission in RS485 mode
	usb: dwc3: gadget: Don't disconnect if not started
	usb: cdnsp: blocked some cdns3 specific code
	usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers
	usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
	usb: cdns3: fix memory double free when handle zero packet
	usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
	usb: roles: fix NULL pointer issue when put module's reference
	usb: roles: don't get/set_role() when usb_role_switch is unregistered
	mptcp: fix lockless access in subflow ULP diag
	clk: imx: imx8mp: add shared clk gate for usb suspend clk
	clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
	clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
	mtd: rawnand: sunxi: Fix the size of the last OOB region
	RISC-V: fix funct4 definition for c.jalr in parse_asm.h
	Input: iqs269a - drop unused device node references
	Input: iqs269a - configure device with a single block write
	Input: iqs269a - increase interrupt handler return delay
	clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
	Input: ads7846 - don't report pressure for ads7845
	clk: renesas: cpg-mssr: Remove superfluous check in resume code
	clk: imx: avoid memory leak
	Input: ads7846 - always set last command to PWRDOWN
	Input: ads7846 - don't check penirq immediately for 7845
	powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
	clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
	clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
	clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
	powerpc/pseries/lparcfg: add missing RTAS retry status handling
	powerpc/perf/hv-24x7: add missing RTAS retry status handling
	powerpc/pseries/lpar: add missing RTAS retry status handling
	MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
	MIPS: vpe-mt: drop physical_memsize
	vdpa/mlx5: Don't clear mr struct on destroy MR
	selftests: net: vrf-xfrm-tests: change authentication and encryption algos
	ARM: dts: BCM53573: Drop nonexistent #usb-cells
	RDMA/siw: Balance the reference of cep->kref in the error path
	RDMA/siw: Correct wrong debug message
	clk: linux/clk-provider.h: fix kernel-doc warnings and typos
	platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute
	acpi: property: Let args be NULL in __acpi_node_get_property_reference
	ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
	tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
	perf beauty: Update copy of linux/socket.h with the kernel sources
	tools/virtio: fix build
	drm/amdgpu: init iommu after amdkfd device init
	f2fs: don't set GC_FAILURE_PIN for background GC
	f2fs: write checkpoint during FG_GC
	drm/i915/dg1: Update DMC_DEBUG3 register
	kernel/sched: Remove dl_boosted flag comment
	cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
	serial: 8250: Remove serial_rs485 sanitization from em485
	clk: imx8mp: Add DISP2 pixel clock
	clk: imx8mp: add clkout1/2 support
	dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
	net: ethernet: ti: add missing of_node_put before return
	powerpc/rtas: make all exports GPL
	powerpc/rtas: ensure 4KB alignment for rtas_data_buf
	powerpc/eeh: Small refactor of eeh_handle_normal_event()
	powerpc/eeh: Set channel state after notifying the drivers
	PM: core: Redefine pm_ptr() macro
	PM: core: Add new *_PM_OPS macros, deprecate old ones
	mmc: jz4740: Use the new PM macros
	mmc: mxc: Use the new PM macros
	PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro
	Input: iqs269a - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
	Input: iqs269a - do not poll during suspend or resume
	Input: iqs269a - do not poll during ATI
	net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
	netfilter: nf_tables: add rescheduling points during loop detection walks
	debugobjects: Recheck debug_objects_enabled before reporting
	nbd: Add the maximum limit of allocated index in nbd_dev_add
	md: fix data corruption for raid456 when reshape restart while grow up
	md/raid10: prevent soft lockup while flush writes
	posix-timers: Ensure timer ID search-loop limit is valid
	btrfs: add xxhash to fast checksum implementations
	ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
	ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
	ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
	arm64: set __exception_irq_entry with __irq_entry as a default
	arm64: mm: fix VA-range sanity check
	sched/fair: Don't balance task to its current running CPU
	wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
	bpf: Address KCSAN report on bpf_lru_list
	devlink: report devlink_port_type_warn source device
	wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
	igb: Fix igb_down hung on surprise removal
	wifi: iwlwifi: mvm: avoid baid size integer overflow
	exfat: support dynamic allocate bh for exfat_entry_set_cache
	arm64: dts: rockchip: fix regulator name on rk3399-rock-4
	arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
	arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
	ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
	ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
	ACPI: resource: Add ASUS model S5402ZA to quirks
	ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
	ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
	ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
	ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
	xhci: cleanup xhci_hub_control port references
	xhci: move port specific items such as state completions to port structure
	xhci: rename resume_done to resume_timestamp
	xhci: clear usb2 resume related variables in one place.
	xhci: decouple usb2 port resume and get_port_status request handling
	xhci: track port suspend state correctly in unsuccessful resume cases
	cifs: add a warning when the in-flight count goes negative
	IB/hfi1: Fix a memleak in init_credit_return
	RDMA/bnxt_re: Return error for SRQ resize
	RDMA/irdma: Fix KASAN issue with tasklet
	RDMA/irdma: Validate max_send_wr and max_recv_wr
	RDMA/irdma: Set the CQ read threshold for GEN 1
	RDMA/irdma: Add AE for too many RNRS
	RDMA/srpt: Support specifying the srpt_service_guid parameter
	RDMA/qedr: Fix qedr_create_user_qp error flow
	arm64: dts: rockchip: set num-cs property for spi on px30
	RDMA/srpt: fix function pointer cast warnings
	bpf, scripts: Correct GPL license name
	scsi: jazz_esp: Only build if SCSI core is builtin
	nouveau: fix function cast warnings
	net: stmmac: Fix incorrect dereference in interrupt handlers
	ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
	ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
	ata: libahci_platform: Convert to using devm bulk clocks API
	ata: libahci_platform: Introduce reset assertion/deassertion methods
	ata: ahci_ceva: fix error handling for Xilinx GT PHY support
	bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
	afs: Increase buffer size in afs_update_volume_status()
	ipv6: sr: fix possible use-after-free and null-ptr-deref
	packet: move from strlcpy with unused retval to strscpy
	net: dev: Convert sa_data to flexible array in struct sockaddr
	drm/nouveau/instmem: fix uninitialized_var.cocci warning
	octeontx2-af: Consider the action set by PF
	s390: use the correct count for __iowrite64_copy()
	tls: rx: jump to a more appropriate label
	tls: rx: drop pointless else after goto
	tls: stop recv() if initial process_rx_list gave us non-DATA
	netfilter: nf_tables: set dormant flag on hook register failure
	netfilter: flowtable: simplify route logic
	netfilter: nft_flow_offload: reset dst in route object after setting up flow
	netfilter: nft_flow_offload: release dst in case direct xmit path is used
	drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set
	drm/amd/display: Fix memory leak in dm_sw_fini()
	i2c: imx: Add timer for handling the stop condition
	i2c: imx: when being a target, mark the last read as processed
	cifs: fix mid leak during reconnection after timeout threshold
	fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
	arp: Prevent overflow in arp_req_get().
	netfilter: nf_tables: fix scheduling-while-atomic splat
	ext4: regenerate buddy after block freeing failed if under fc replay
	ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
	netfilter: nf_tables: can't schedule in nft_chain_validate
	r8169: use new PM macros
	Linux 5.15.150

Change-Id: I06c2e83ba84b59d0a35cf9fcaad15d0ab5276832
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-04-17 08:40:09 +00:00
2024-04-17 08:40:09 +00:00
2024-04-17 08:40:09 +00:00
2021-10-18 20:22:03 -10:00
2023-06-15 09:54:56 +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%