Skip to contentSkip to conversation

Linux 7.1.8

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 9 Stable branch

lore
Share & tools
lore
author maintainer
#1 lore raw
In reply to Greg Kroah-Hartman
Documentation/arch/arm64/silicon-errata.rst +4 -0
index ad04d1cdc0f0..c1416ce41876 100644
@@ -55,10 +55,14 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | Ampere         | AmpereOne       | AC03_CPU_38     | AMPERE_ERRATUM_AC03_CPU_38  |
 +----------------+-----------------+-----------------+-----------------------------+
+| Ampere         | AmpereOne       | AC03_CPU_57     | N/A                         |
++----------------+-----------------+-----------------+-----------------------------+
 | Ampere         | AmpereOne AC04  | AC04_CPU_10     | AMPERE_ERRATUM_AC03_CPU_38  |
 +----------------+-----------------+-----------------+-----------------------------+
 | Ampere         | AmpereOne AC04  | AC04_CPU_23     | AMPERE_ERRATUM_AC04_CPU_23  |
 +----------------+-----------------+-----------------+-----------------------------+
+| Ampere         | AmpereOne AC04  | AC04_CPU_29     | N/A                         |
++----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A510     | #2457168        | ARM64_ERRATUM_2457168       |
 +----------------+-----------------+-----------------+-----------------------------+
Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml +8 -1
index 75fae9f1eba7..4dcfe31e892e 100644
@@ -14,7 +14,14 @@ properties:
     const: qcom,sa8255p-ufshc
 
   reg:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
+
+  reg-names:
+    minItems: 1
+    items:
+      - const: std
+      - const: mcq
 
   interrupts:
     maxItems: 1
Documentation/filesystems/erofs.rst +3 -6
index fe06308e546c..4a82e1e31e5f 100644
@@ -127,12 +127,9 @@ dax                    A legacy option which is an alias for ``dax=always``.
 device=%s              Specify a path to an extra device to be used together.
 directio               (For file-backed mounts) Use direct I/O to access backing
                        files, and asynchronous I/O will be enabled if supported.
-fsid=%s                Specify a filesystem image ID for Fscache back-end.
-domain_id=%s           Specify a trusted domain ID for fscache mode so that
-                       different images with the same blobs, identified by blob IDs,
-                       can share storage within the same trusted domain.
-                       Also used for different filesystems with inode page sharing
-                       enabled to share page cache within the trusted domain.
+domain_id=%s           Specify a trusted domain ID. Filesystems sharing the same
+                       domain ID can share page cache across mounts when inode
+                       page sharing is enabled. (not shown in mountinfo output)
 fsoffset=%llu          Specify block-aligned filesystem offset for the primary device.
 inode_share            Enable inode page sharing for this filesystem.  Inodes with
                        identical content within the same domain ID can share the
Documentation/networking/af_xdp.rst +30 -24

77 lines not on this page · raw message

Documentation/virt/kvm/api.rst +6 -0
index 52bbbb553ce1..934ec29093e3 100644
@@ -8401,6 +8401,12 @@ When this capability is enabled all memory in memslots must be mapped as
 attempts to create a memslot with an invalid mmap will result in an
 -EINVAL return.
 
+``guest_memfd``, even though it is an anonymous file, is not supported with MTE.
+Attempting to create a memslot backed by ``guest_memfd`` when the MTE capability
+is enabled, or attempting to enable the MTE capability after
+``guest_memfd``-backed memslots have been created, will result in an -EINVAL
+return.
+
 When enabled the VMM may make use of the ``KVM_ARM_MTE_COPY_TAGS`` ioctl to
 perform a bulk copy of tags to/from the guest.
 
Makefile +4 -6
index 4643c9e03a20..fa62d2054cd4 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 7
 PATCHLEVEL = 1
-SUBLEVEL = 7
+SUBLEVEL = 8
 EXTRAVERSION =
 NAME = Baby Opossum Posse
 
@@ -695,13 +695,11 @@ filechk_makefile = { \
 	echo "include $(abs_srctree)/Makefile"; \
 	}
 
-$(objtree)/Makefile: FORCE
+PHONY += $(CURDIR)/Makefile
+$(CURDIR)/Makefile: FORCE
 	$(call filechk,makefile)
 
-# Prevent $(srcroot)/Makefile from inhibiting the rule to run.
-PHONY += $(objtree)/Makefile
-
-outputmakefile: $(objtree)/Makefile
+outputmakefile: $(CURDIR)/Makefile
 ifeq ($(KBUILD_EXTMOD),)
 	@if [ -f $(srctree)/.config -o \
 		 -d $(srctree)/include/config -o \
arch/arm64/include/asm/kvm_hypevents.h +1 -0
index 743c49bd878f..5f6e6789d121 100644
@@ -12,6 +12,7 @@
 enum hyp_enter_exit_reason {
 	HYP_REASON_SMC,
 	HYP_REASON_HVC,
+	HYP_REASON_SYS,
 	HYP_REASON_PSCI,
 	HYP_REASON_HOST_ABORT,
 	HYP_REASON_GUEST_EXIT,
arch/arm64/kvm/arm.c +19 -6
index 9ffd5d4079e6..00df8783c30d 100644
@@ -148,14 +148,27 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,
 		set_bit(KVM_ARCH_FLAG_RETURN_NISV_IO_ABORT_TO_USER,
 			&kvm->arch.flags);
 		break;
-	case KVM_CAP_ARM_MTE:
-		mutex_lock(&kvm->lock);
-		if (system_supports_mte() && !kvm->created_vcpus) {
-			r = 0;
-			set_bit(KVM_ARCH_FLAG_MTE_ENABLED, &kvm->arch.flags);
+	case KVM_CAP_ARM_MTE: {
+		struct kvm_memory_slot *memslot;
+		int bkt;
+
+		guard(mutex)(&kvm->lock);
+		if (!system_supports_mte() || kvm->created_vcpus)
+			break;
+
+		r = 0;
+		guard(mutex)(&kvm->slots_lock);
+		kvm_for_each_memslot(memslot, bkt, kvm_memslots(kvm)) {
+			if (kvm_slot_has_gmem(memslot)) {
+				r = -EINVAL;
+				break;
+			}
 		}
-		mutex_unlock(&kvm->lock);
+		if (r == 0)
+			set_bit(KVM_ARCH_FLAG_MTE_ENABLED, &kvm->arch.flags);
 		break;
+
+	}
 	case KVM_CAP_ARM_SYSTEM_SUSPEND:
 		r = 0;
 		set_bit(KVM_ARCH_FLAG_SYSTEM_SUSPEND_ENABLED, &kvm->arch.flags);
arch/arm64/kvm/hyp/nvhe/hyp-main.c +1 -0
index a0da08caa6c2..4cd321c27d04 100644
@@ -925,6 +925,7 @@ void handle_trap(struct kvm_cpu_context *host_ctxt)
 		handle_host_mem_abort(host_ctxt);
 		break;
 	case ESR_ELx_EC_SYS64:
+		trace_hyp_enter(host_ctxt, HYP_REASON_SYS);
 		if (handle_host_mte(esr))
 			break;
 		fallthrough;
arch/arm64/kvm/hyp_trace.c +24 -12
index c4b3ee552131..210807edacf7 100644
@@ -37,8 +37,6 @@ static struct hyp_trace_clock {
 	u32			shift;
 	struct delayed_work	work;
 	struct completion	ready;
-	struct mutex		lock;
-	bool			running;
 } hyp_clock;
 
 static void __hyp_clock_work(struct work_struct *work)
@@ -110,12 +108,9 @@ static void hyp_trace_clock_enable(struct hyp_trace_clock *hyp_clock, bool enabl
 {
 	struct system_time_snapshot snap;
 
-	if (hyp_clock->running == enable)
-		return;
-
 	if (!enable) {
 		cancel_delayed_work_sync(&hyp_clock->work);
-		hyp_clock->running = false;
+		return;
 	}
 
 	ktime_get_snapshot(&snap);
@@ -128,7 +123,6 @@ static void hyp_trace_clock_enable(struct hyp_trace_clock *hyp_clock, bool enabl
 	INIT_DELAYED_WORK(&hyp_clock->work, __hyp_clock_work);
 	schedule_delayed_work(&hyp_clock->work, msecs_to_jiffies(CLOCK_INIT_MS));
 	wait_for_completion(&hyp_clock->ready);
-	hyp_clock->running = true;
 }
 
 /* Access to this struct within the trace_remote_callbacks are protected by the trace_remote lock */
@@ -160,6 +154,7 @@ static int hyp_trace_buffer_alloc_bpages_backing(struct hyp_trace_buffer *trace_
 	int nr_bpages = (PAGE_ALIGN(size) / PAGE_SIZE) + 1;
 	size_t backing_size;
 	void *start;
+	int ret;
 
 	backing_size = PAGE_ALIGN(sizeof(struct simple_buffer_page) * nr_bpages *
 				  num_possible_cpus());
@@ -168,10 +163,16 @@ static int hyp_trace_buffer_alloc_bpages_backing(struct hyp_trace_buffer *trace_
 	if (!start)
 		return -ENOMEM;
 
+	ret = __map_hyp(start, backing_size);
+	if (ret) {
+		free_pages_exact(start, backing_size);
+		return ret;
+	}
+
 	trace_buffer->desc->bpages_backing_start = (unsigned long)start;
 	trace_buffer->desc->bpages_backing_size = backing_size;
 
-	return __map_hyp(start, backing_size);
+	return ret;
 }
 
 static void hyp_trace_buffer_free_bpages_backing(struct hyp_trace_buffer *trace_buffer)
@@ -228,18 +229,22 @@ static int hyp_trace_buffer_share_hyp(struct hyp_trace_buffer *trace_buffer)
 static struct trace_buffer_desc *hyp_trace_load(unsigned long size, void *priv)
 {
 	struct hyp_trace_buffer *trace_buffer = priv;
+	size_t desc_size, tb_desc_size;
 	struct hyp_trace_desc *desc;
-	size_t desc_size;
 	int ret;
 
 	if (WARN_ON(trace_buffer->desc))
 		return ERR_PTR(-EINVAL);
 
-	desc_size = trace_buffer_desc_size(size, num_possible_cpus());
+	tb_desc_size = trace_buffer_desc_size(size, num_possible_cpus());
+	desc_size = size_add(tb_desc_size, offsetof(struct hyp_trace_desc, trace_buffer_desc));
 	if (desc_size == SIZE_MAX)
 		return ERR_PTR(-E2BIG);
 
 	desc_size = PAGE_ALIGN(desc_size);
+	if (!desc_size)
+		return ERR_PTR(-E2BIG);
+
 	desc = (struct hyp_trace_desc *)alloc_pages_exact(desc_size, GFP_KERNEL);
 	if (!desc)
 		return ERR_PTR(-ENOMEM);
@@ -255,7 +260,7 @@ static struct trace_buffer_desc *hyp_trace_load(unsigned long size, void *priv)
 	if (ret)
 		goto err_free_desc;
 
-	ret = trace_remote_alloc_buffer(&desc->trace_buffer_desc, desc_size, size,
+	ret = trace_remote_alloc_buffer(&desc->trace_buffer_desc, tb_desc_size, size,
 					cpu_possible_mask);
 	if (ret)
 		goto err_free_backing;
@@ -304,9 +309,15 @@ static void hyp_trace_unload(struct trace_buffer_desc *desc, void *priv)
 
 static int hyp_trace_enable_tracing(bool enable, void *priv)
 {
+	int ret;
+
 	hyp_trace_clock_enable(&hyp_clock, enable);
 
-	return kvm_call_hyp_nvhe(__tracing_enable, enable);
+	ret = kvm_call_hyp_nvhe(__tracing_enable, enable);
+	if (ret)
+		hyp_trace_clock_enable(&hyp_clock, !enable);
+
+	return ret;
 }
 
 static int hyp_trace_swap_reader_page(unsigned int cpu, void *priv)
@@ -398,6 +409,7 @@ static const char *__hyp_enter_exit_reason_str(u8 reason)
 	static const char strs[][12] = {
 		"smc",
 		"hvc",
+		"sys",
 		"psci",
 		"host_abort",
 		"guest_exit",
arch/arm64/kvm/mmu.c +4 -0
index 6e95514d5a76..726827c85c73 100644
@@ -2625,6 +2625,10 @@ int kvm_arch_prepare_memory_region(struct kvm *kvm,
 	if (kvm_slot_has_gmem(new) && !kvm_memslot_is_gmem_only(new))
 		return -EINVAL;
 
+	/* guest_memfd is incompatible with MTE. */
+	if (kvm_slot_has_gmem(new) && kvm_has_mte(kvm))
+		return -EINVAL;
+
 	hva = new->userspace_addr;
 	reg_end = hva + (new->npages << PAGE_SHIFT);
 
arch/arm64/kvm/vgic/vgic-its.c +17 -8
index 7abb685c6546..c15f1867adc2 100644
@@ -116,18 +116,27 @@ static struct vgic_irq *vgic_add_lpi(struct kvm *kvm, u32 intid,
 		kfree(irq);
 		irq = oldirq;
 	} else {
-		ret = xa_err(__xa_store(&dist->lpi_xa, intid, irq, 0));
+		/*
+		 * The entry is either empty or contains a dead LPI (refcount=0)
+		 * from the deferred release path, pending cleanup by
+		 * vgic_release_deleted_lpis(). Evict and free it if present.
+		 */
+		oldirq = __xa_store(&dist->lpi_xa, intid, irq,
+				    GFP_NOWAIT | __GFP_ACCOUNT);
+		ret = xa_err(oldirq);
+		if (ret) {
+			xa_unlock_irqrestore(&dist->lpi_xa, flags);
+			kfree(irq);
+
+			return ERR_PTR(ret);
+		}
+
+		if (oldirq && !WARN_ON_ONCE(refcount_read(&oldirq->refcount)))
+			kfree_rcu(oldirq, rcu);
 	}
 
 	xa_unlock_irqrestore(&dist->lpi_xa, flags);
 
-	if (ret) {
-		xa_release(&dist->lpi_xa, intid);
-		kfree(irq);
-
-		return ERR_PTR(ret);
-	}
-
 	/*
 	 * We "cache" the configuration table entries in our struct vgic_irq's.
 	 * However we only have those structs for mapped IRQs, so we read in
arch/arm64/kvm/vgic/vgic-v3.c +7 -1
index 9e841e7afd4a..7aa417440f6a 100644
@@ -275,7 +275,13 @@ void vgic_v3_deactivate(struct kvm_vcpu *vcpu, u64 val)
 		lr = vgic_v3_compute_lr(vcpu, irq) & ~ICH_LR_ACTIVE_BIT;
 	}
 
-	if (lr & ICH_LR_HW)
+	/*
+	 * In the nested state, the irq has already been deactivated via the HW
+	 * bit in the LR. Deactivating again would be harmless except AmpereOne
+	 * errata AC03_CPU_57, AC04_CPU_29 could cause irq delivery to break if
+	 * the deactivation hits the highest priority pending irq.
+	 */
+	if ((lr & ICH_LR_HW) && !vgic_state_is_nested(vcpu))
 		vgic_v3_deactivate_phys(FIELD_GET(ICH_LR_PHYS_ID_MASK, lr));
 
 	vgic_v3_fold_lr(vcpu, lr);
arch/arm64/kvm/vgic/vgic.c +8 -10
index 4cd818ce9093..7fb9057fdd7e 100644
@@ -147,11 +147,7 @@ static __must_check bool __vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq)
 
 static __must_check bool vgic_put_irq_norelease(struct kvm *kvm, struct vgic_irq *irq)
 {
-	if (!__vgic_put_irq(kvm, irq))
-		return false;
-
-	irq->pending_release = true;
-	return true;
+	return __vgic_put_irq(kvm, irq);
 }
 
 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq)
@@ -168,12 +164,14 @@ void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq)
 		guard(spinlock_irqsave)(&dist->lpi_xa.xa_lock);
 	}
 
-	if (!__vgic_put_irq(kvm, irq))
+	if (!irq_is_lpi(kvm, irq->intid))
 		return;
 
-	xa_lock_irqsave(&dist->lpi_xa, flags);
-	vgic_release_lpi_locked(dist, irq);
-	xa_unlock_irqrestore(&dist->lpi_xa, flags);
+	if (refcount_dec_and_lock_irqsave(&irq->refcount,
+					  &dist->lpi_xa.xa_lock, &flags)) {
+		vgic_release_lpi_locked(dist, irq);
+		xa_unlock_irqrestore(&dist->lpi_xa, flags);
+	}
 }
 
 static void vgic_release_deleted_lpis(struct kvm *kvm)
@@ -185,7 +183,7 @@ static void vgic_release_deleted_lpis(struct kvm *kvm)
 	xa_lock_irqsave(&dist->lpi_xa, flags);
 
 	xa_for_each(&dist->lpi_xa, intid, irq) {
-		if (irq->pending_release)
+		if (!refcount_read(&irq->refcount))
 			vgic_release_lpi_locked(dist, irq);
 	}
 
arch/powerpc/boot/simpleboot.c +1 -1
index c80691d83880..27591df41e9e 100644
@@ -68,7 +68,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
 	/* finally, setup the timebase */
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 					     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/boot/treeboot-akebono.c +1 -1
index e3cc2599869c..1b529037480f 100644
@@ -146,7 +146,7 @@ void platform_init(char *userdata)
 
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 					     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/boot/treeboot-currituck.c +1 -1
index d53e8a592f81..5b5363b74f9f 100644
@@ -102,7 +102,7 @@ void platform_init(void)
 
 	node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type",
 	                                     "cpu", sizeof("cpu"));
-	if (!node)
+	if (node < 0)
 		fatal("Cannot find cpu node\n");
 	timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size);
 	if (timebase && (size == 4))
arch/powerpc/platforms/ps3/mm.c +1 -0
index 20fc5b68faee..315a32fd75b1 100644
@@ -615,6 +615,7 @@ static int dma_ioc0_map_pages(struct ps3_dma_region *r, unsigned long phys_addr,
 
 fail_map:
 	for (iopage--; 0 <= iopage; iopage--) {
+		offset = (1 << r->page_size) * iopage;
 		lv1_put_iopte(0,
 			      c->bus_addr + offset,
 			      c->lpar_addr + offset,
arch/riscv/Makefile +1 -1
index ce0cc737f870..1363e5bef35c 100644
@@ -168,7 +168,7 @@ vdso_prepare: prepare0
 endif
 endif
 
-vdso-install-y			+= arch/riscv/kernel/vdso/vdso.so.dbg
+vdso-install-$(CONFIG_MMU)		+= arch/riscv/kernel/vdso/vdso.so.dbg
 vdso-install-$(CONFIG_RISCV_USER_CFI)	+= arch/riscv/kernel/vdso_cfi/vdso-cfi.so.dbg
 vdso-install-$(CONFIG_COMPAT)	+= arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg
 
arch/riscv/kernel/unaligned_access_speed.c +2 -2
index 11c781a4de73..557d661364ac 100644
@@ -314,7 +314,7 @@ static void check_vector_unaligned_access(struct work_struct *work __always_unus
 }
 
 /* Measure unaligned access speed on all CPUs present at boot in parallel. */
-static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
+static int vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
 {
 	schedule_on_each_cpu(check_vector_unaligned_access);
 	riscv_hwprobe_complete_async_probe();
@@ -322,7 +322,7 @@ static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __alway
 	return 0;
 }
 #else /* CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS */
-static int __init vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
+static int vec_check_unaligned_access_speed_all_cpus(void *unused __always_unused)
 {
 	return 0;
 }
arch/riscv/mm/init.c +4 -3
index 885f1db4e9bf..cc32d0018858 100644
@@ -61,7 +61,8 @@ EXPORT_SYMBOL(phys_ram_base);
 
 #ifdef CONFIG_SPARSEMEM_VMEMMAP
 #define VMEMMAP_ADDR_ALIGN	max(1ULL << SECTION_SIZE_BITS, \
-				    MAX_FOLIO_VMEMMAP_ALIGN)
+				    PFN_PHYS(MAX_FOLIO_VMEMMAP_ALIGN / \
+					     sizeof(struct page)))
 
 unsigned long vmemmap_start_pfn __ro_after_init;
 EXPORT_SYMBOL(vmemmap_start_pfn);
@@ -1629,7 +1630,7 @@ static void __meminit remove_pud_mapping(pud_t *pud_base, unsigned long addr, un
 
 	for (; addr < end; addr = next) {
 		next = pud_addr_end(addr, end);
-		pudp = pud_base + pud_index(addr);
+		pudp = pgtable_l4_enabled ? pud_base + pud_index(addr) : pud_base;
 		pud = pudp_get(pudp);
 		if (!pud_present(pud))
 			continue;
@@ -1660,7 +1661,7 @@ static void __meminit remove_p4d_mapping(p4d_t *p4d_base, unsigned long addr, un
 
 	for (; addr < end; addr = next) {
 		next = p4d_addr_end(addr, end);
-		p4dp = p4d_base + p4d_index(addr);
+		p4dp = pgtable_l5_enabled ? p4d_base + p4d_index(addr) : p4d_base;
 		p4d = p4dp_get(p4dp);
 		if (!p4d_present(p4d))
 			continue;
arch/s390/kvm/pci.c +86 -21

192 lines not on this page · raw message

arch/s390/kvm/pci.h +2 -0
index ff0972dd5e71..fdf8c7bf4ed0 100644
@@ -22,6 +22,8 @@ struct kvm_zdev {
 	struct kvm *kvm;
 	struct zpci_fib fib;
 	struct list_head entry;
+	struct user_struct *user_account;
+	struct mm_struct *mm_account;
 };
 
 struct zpci_gaite {
arch/s390/pci/pci_mmio.c +1 -0
index 51e7a28af899..f3f79ba78410 100644
@@ -188,6 +188,7 @@ SYSCALL_DEFINE3(s390_pci_mmio_write, unsigned long, mmio_addr,
 			goto out_unlock_mmap;
 	}
 
+	ret = -EFAULT;
 	io_addr = (void __iomem *)((args.pfn << PAGE_SHIFT) |
 			(mmio_addr & ~PAGE_MASK));
 
arch/um/drivers/vector_kern.c +3 -0
index 2cc90055499a..8a70b3a62553 100644
@@ -995,6 +995,9 @@ static int vector_mmsg_rx(struct vector_private *vp, int budget)
 				 */
 					dev_kfree_skb_irq(skb);
 					vp->estats.rx_encaps_errors++;
+					(*skbuff_vector) = NULL;
+					mmsg_vector++;
+					skbuff_vector++;
 					continue;
 				}
 				if (header_check > 0) {
arch/x86/boot/string.c +9 -2
index b25c6a9303b7..3a2bba7c25e9 100644
@@ -32,8 +32,15 @@
 int memcmp(const void *s1, const void *s2, size_t len)
 {
 	bool diff;
-	asm("repe cmpsb"
-	    : "=@ccnz" (diff), "+D" (s1), "+S" (s2), "+c" (len));
+
+	/*
+	 * Make sure ZF is properly set in the len==0 case because in it,
+	 * RCX==0 and the REPE; CMPSB won't get executed.
+	 */
+	asm volatile("test %3, %3\n\t"
+		     "repe cmpsb"
+		     : "=@ccnz" (diff), "+D" (s1), "+S" (s2), "+c" (len)
+		     : : "cc", "memory");
 	return diff;
 }
 
arch/x86/kernel/cpu/amd.c +3 -1
index 31f01e9c7114..c3084b53dcf3 100644
@@ -514,11 +514,13 @@ static void bsp_init_amd(struct cpuinfo_x86 *c)
 		case 0x00 ... 0x2f:
 		case 0x40 ... 0x4f:
 		case 0x60 ... 0x7f:
+		case 0xd0 ... 0xd7:
 			setup_force_cpu_cap(X86_FEATURE_ZEN5);
 			break;
 		case 0x50 ... 0x5f:
 		case 0x80 ... 0xaf:
-		case 0xc0 ... 0xef:
+		case 0xc0 ... 0xcf:
+		case 0xd8 ... 0xef:
 			setup_force_cpu_cap(X86_FEATURE_ZEN6);
 			break;
 		default:
arch/x86/kvm/svm/avic.c +0 -8
index 0726f88e679a..a9a3c31cca18 100644
@@ -240,14 +240,6 @@ static void avic_deactivate_vmcb(struct vcpu_svm *svm)
 	if (!is_sev_es_guest(&svm->vcpu))
 		svm_set_intercept(svm, INTERCEPT_CR8_WRITE);
 
-	/*
-	 * If running nested and the guest uses its own MSR bitmap, there
-	 * is no need to update L0's msr bitmap
-	 */
-	if (is_guest_mode(&svm->vcpu) &&
-	    vmcb12_is_intercept(&svm->nested.ctl, INTERCEPT_MSR_PROT))
-		return;
-
 	/* Enabling MSR intercept for x2APIC registers */
 	avic_set_x2apic_msr_interception(svm, true);
 }
arch/x86/kvm/vmx/vmx_ops.h +4 -4
index 81784befaaf4..9ffe03a0c223 100644
@@ -101,7 +101,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field)
 
 			  : [output] "=r" (value)
 			  : [field] "r" (field)
-			  : "cc"
+			  : "cc", "memory"
 			  : do_fail, do_exception);
 
 	return value;
@@ -145,7 +145,7 @@ static __always_inline unsigned long __vmcs_readl(unsigned long field)
 
 		     : ASM_CALL_CONSTRAINT, [output] "=&r" (value)
 		     : [field] "r" (field)
-		     : "cc");
+		     : "cc", "memory");
 	return value;
 
 #endif /* CONFIG_CC_HAS_ASM_GOTO_OUTPUT */
@@ -192,7 +192,7 @@ do {									\
 	asm goto("1: " __stringify(insn) " %0\n\t"			\
 			  "jna %l[error]\n\t"				\
 			  _ASM_EXTABLE(1b, %l[fault])			\
-			  : : op1 : "cc" : error, fault);		\
+			  : : op1 : "cc", "memory" : error, fault);	\
 	return;								\
 error:									\
 	instrumentation_begin();					\
@@ -208,7 +208,7 @@ do {									\
 	asm goto("1: "  __stringify(insn) " %1, %0\n\t"			\
 			  "jna %l[error]\n\t"				\
 			  _ASM_EXTABLE(1b, %l[fault])			\
-			  : : op1, op2 : "cc" : error, fault);		\
+			  : : op1, op2 : "cc", "memory" : error, fault);\
 	return;								\
 error:									\
 	instrumentation_begin();					\
arch/x86/kvm/x86.c +6 -0
index 88f0e3fd8919..783736130fa8 100644
@@ -13460,9 +13460,15 @@ void kvm_arch_pre_destroy_vm(struct kvm *kvm)
 	 * iterating over vCPUs in a different task while vCPUs are being freed
 	 * is unsafe, i.e. will lead to use-after-free.  The PIT also needs to
 	 * be stopped before IRQ routing is freed.
+	 *
+	 * Do NOT free the in-kernel PIC or I/O APIC here (but as above, make
+	 * sure to flush any background work), as KVM expects interrupt routing
+	 * structures to be valid until vCPUs are destroyed.
 	 */
 #ifdef CONFIG_KVM_IOAPIC
 	kvm_free_pit(kvm);
+	if (kvm->arch.vioapic)
+		cancel_delayed_work_sync(&kvm->arch.vioapic->eoi_inject);
 #endif
 
 	kvm_mmu_pre_destroy_vm(kvm);
drivers/accel/qaic/qaic_control.c +1 -1
index 43f84d438960..4d4e789d5fcb 100644
@@ -786,7 +786,7 @@ static int encode_message(struct qaic_device *qdev, struct manage_msg *user_msg,
 			break;
 		}
 		trans_hdr = (struct qaic_manage_trans_hdr *)(user_msg->data + user_len);
-		if (trans_hdr->len < sizeof(trans_hdr) ||
+		if (trans_hdr->len < sizeof(*trans_hdr) ||
 		    size_add(user_len, trans_hdr->len) > user_msg->len) {
 			ret = -EINVAL;
 			break;
drivers/acpi/cppc_acpi.c +21 -8
index 34edec0f2bde..e315b9362119 100644
@@ -475,17 +475,29 @@ bool acpi_cpc_valid(void)
 }
 EXPORT_SYMBOL_GPL(acpi_cpc_valid);
 
-bool cppc_allow_fast_switch(void)
+bool cppc_allow_fast_switch(const struct cpumask *cpus)
 {
-	struct cpc_register_resource *desired_reg;
+	struct cpc_register_resource *desired_reg, *min_reg, *max_reg;
 	struct cpc_desc *cpc_ptr;
 	int cpu;
 
-	for_each_online_cpu(cpu) {
+	for_each_cpu(cpu, cpus) {
 		cpc_ptr = per_cpu(cpc_desc_ptr, cpu);
+		if (!cpc_ptr)
+			return false;
 		desired_reg = &cpc_ptr->cpc_regs[DESIRED_PERF];
-		if (!CPC_IN_SYSTEM_MEMORY(desired_reg) &&
-				!CPC_IN_SYSTEM_IO(desired_reg))
+		min_reg = &cpc_ptr->cpc_regs[MIN_PERF];
+		max_reg = &cpc_ptr->cpc_regs[MAX_PERF];
+
+		if (!CPC_SUPPORTED(desired_reg) ||
+		    (!CPC_IN_SYSTEM_MEMORY(desired_reg) &&
+		     !CPC_IN_SYSTEM_IO(desired_reg)) ||
+		    (CPC_SUPPORTED(min_reg) &&
+		     !CPC_IN_SYSTEM_MEMORY(min_reg) &&
+		     !CPC_IN_SYSTEM_IO(min_reg)) ||
+		    (CPC_SUPPORTED(max_reg) &&
+		     !CPC_IN_SYSTEM_MEMORY(max_reg) &&
+		     !CPC_IN_SYSTEM_IO(max_reg)))
 			return false;
 	}
 
@@ -1940,16 +1952,17 @@ int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls)
 		cpc_desc->write_cmd_status = 0;
 	}
 
-	cpc_write(cpu, desired_reg, perf_ctrls->desired_perf);
+	if (CPC_SUPPORTED(desired_reg))
+		cpc_write(cpu, desired_reg, perf_ctrls->desired_perf);
 
 	/*
 	 * Only write if min_perf and max_perf not zero. Some drivers pass zero
 	 * value to min and max perf, but they don't mean to set the zero value,
 	 * they just don't want to write to those registers.
 	 */
-	if (perf_ctrls->min_perf)
+	if (perf_ctrls->min_perf && CPC_SUPPORTED(min_perf_reg))
 		cpc_write(cpu, min_perf_reg, perf_ctrls->min_perf);
-	if (perf_ctrls->max_perf)
+	if (perf_ctrls->max_perf && CPC_SUPPORTED(max_perf_reg))
 		cpc_write(cpu, max_perf_reg, perf_ctrls->max_perf);
 
 	if (CPC_IN_PCC(desired_reg) || CPC_IN_PCC(min_perf_reg) || CPC_IN_PCC(max_perf_reg))
drivers/ata/ahci_ceva.c +14 -4
index 2d6a08c23d6a..2961e53288f4 100644
@@ -211,7 +211,7 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv)
 
 		rc = phy_init(hpriv->phys[i]);
 		if (rc)
-			goto disable_rsts;
+			goto exit_phys;
 	}
 
 	/* De-assert the controller reset */
@@ -230,14 +230,24 @@ static int ceva_ahci_platform_enable_resources(struct ahci_host_priv *hpriv)
 
 	return 0;
 
-disable_rsts:
-	ahci_platform_deassert_rsts(hpriv);
-
 disable_phys:
 	while (--i >= 0) {
+		if (ahci_ignore_port(hpriv, i))
+			continue;
+
 		phy_power_off(hpriv->phys[i]);
 		phy_exit(hpriv->phys[i]);
 	}
+	ahci_platform_assert_rsts(hpriv);
+	goto disable_clks;
+
+exit_phys:
+	while (--i >= 0) {
+		if (ahci_ignore_port(hpriv, i))
+			continue;
+
+		phy_exit(hpriv->phys[i]);
+	}
 
 disable_clks:
 	ahci_platform_disable_clks(hpriv);
drivers/ata/libata-eh.c +14 -23
index d623eb32ed8b..5be062335352 100644
@@ -106,6 +106,12 @@ static const unsigned int ata_eh_flush_timeouts[] = {
 	UINT_MAX,
 };
 
+static const unsigned int ata_eh_standby_timeouts[] = {
+	15000,	/* Some drives may be slow to standby */
+	/* but don't hold up a suspend too long waiting for them */
+	UINT_MAX,
+};
+
 static const unsigned int ata_eh_other_timeouts[] = {
 	 5000,	/* same rationale as identify timeout */
 	10000,	/* ditto */
@@ -147,6 +153,8 @@ ata_eh_cmd_timeout_table[ATA_EH_CMD_TIMEOUT_TABLE_SIZE] = {
 	  .timeouts = ata_eh_other_timeouts, },
 	{ .commands = CMDS(ATA_CMD_FLUSH, ATA_CMD_FLUSH_EXT),
 	  .timeouts = ata_eh_flush_timeouts },
+	{ .commands = CMDS(ATA_CMD_STANDBYNOW1),
+	  .timeouts = ata_eh_standby_timeouts },
 	{ .commands = CMDS(ATA_CMD_VERIFY),
 	  .timeouts = ata_eh_reset_timeouts },
 };
@@ -648,29 +656,12 @@ int ata_scsi_cmd_error_handler(struct Scsi_Host *host, struct ata_port *ap,
 		set_host_byte(scmd, DID_OK);
 
 		ata_qc_for_each_raw(ap, qc, i) {
-			if (qc->scsicmd != scmd)
-				continue;
-			if ((qc->flags & ATA_QCFLAG_ACTIVE) ||
-			    qc == qc->dev->link->deferred_qc)
+			if (qc->scsicmd == scmd &&
+			    qc->flags & ATA_QCFLAG_ACTIVE)
 				break;
 		}
 
-		if (i < ATA_MAX_QUEUE && qc == qc->dev->link->deferred_qc) {
-			/*
-			 * This is a deferred command that timed out while
-			 * waiting for the command queue to drain. Since the qc
-			 * is not active yet (deferred_qc is still set, so the
-			 * deferred qc work has not issued the command yet),
-			 * simply signal the timeout by finishing the SCSI
-			 * command and clear the deferred qc to prevent the
-			 * deferred qc work from issuing this qc.
-			 */
-			WARN_ON_ONCE(qc->flags & ATA_QCFLAG_ACTIVE);
-			qc->dev->link->deferred_qc = NULL;
-			cancel_work(&qc->dev->link->deferred_qc_work);
-			set_host_byte(scmd, DID_TIME_OUT);
-			scsi_eh_finish_cmd(scmd, &ap->eh_done_q);
-		} else if (i < ATA_MAX_QUEUE) {
+		if (i < ATA_MAX_QUEUE) {
 			/* the scmd has an associated qc */
 			if (!(qc->flags & ATA_QCFLAG_EH)) {
 				/* which hasn't failed yet, timeout */
@@ -946,10 +937,10 @@ static void ata_eh_set_pending(struct ata_port *ap, bool fastdrain)
 	ap->pflags |= ATA_PFLAG_EH_PENDING;
 
 	/*
-	 * If we have a deferred qc, requeue it so that it is retried once EH
-	 * completes.
+	 * If we have deferred QCs, requeue them so that the SCSI EH task can
+	 * run.
 	 */
-	ata_scsi_requeue_deferred_qc(ap);
+	ata_scsi_requeue_deferred_qc(ap, NULL);
 
 	if (!fastdrain)
 		return;
drivers/ata/libata-sata.c +1 -1
index 2ee54d60ea4b..5138b4e500e5 100644
@@ -913,7 +913,7 @@ static bool ata_scsi_lpm_supported(struct ata_port *ap)
 		return false;
 
 	ata_for_each_link(link, ap, EDGE) {
-		ata_for_each_dev(dev, &ap->link, ENABLED) {
+		ata_for_each_dev(dev, link, ENABLED) {
 			if (dev->quirks & ATA_QUIRK_NOLPM)
 				return false;
 		}
drivers/ata/libata-scsi.c +107 -12

166 lines not on this page · raw message

drivers/ata/libata.h +2 -1
index 329e9c5776f0..b22f0d7014ed 100644
@@ -177,7 +177,8 @@ int ata_scsi_dev_config(struct scsi_device *sdev, struct queue_limits *lim,
 enum scsi_qc_status __ata_scsi_queuecmd(struct scsi_cmnd *scmd,
 					struct ata_device *dev);
 void ata_scsi_deferred_qc_work(struct work_struct *work);
-void ata_scsi_requeue_deferred_qc(struct ata_port *ap);
+enum scsi_timeout_action ata_scsi_requeue_deferred_qc(struct ata_port *ap,
+						      struct scsi_cmnd *scmd);
 
 /* libata-eh.c */
 extern unsigned int ata_internal_cmd_timeout(struct ata_device *dev, u8 cmd);
drivers/ata/sata_mv.c +1 -1
index ffb396f61731..1d8ca95fb732 100644
@@ -4026,7 +4026,7 @@ static int mv_platform_probe(struct platform_device *pdev)
 	/*
 	 * Simple resource validation ..
 	 */
-	if (unlikely(pdev->num_resources != 1)) {
+	if (unlikely(pdev->num_resources != 1 && pdev->num_resources != 2)) {
 		dev_err(&pdev->dev, "invalid number of resources\n");
 		return -EINVAL;
 	}
drivers/block/ublk_drv.c +9 -0
index 802d521a6184..c7ef0d5f88a3 100644
@@ -4757,6 +4757,15 @@ static int ublk_ctrl_add_dev(const struct ublksrv_ctrl_cmd *header)
 	/* update device id */
 	ub->dev_info.dev_id = ub->ub_number;
 
+	/*
+	 * ->state and ->ublksrv_pid are owned by the driver and only read back
+	 * by userspace, but they come from the copied-in dev_info, so reset
+	 * them. Otherwise a device added with ->state != DEAD looks live while
+	 * ->ub_disk is still NULL.
+	 */
+	ub->dev_info.state = UBLK_S_DEV_DEAD;
+	ub->dev_info.ublksrv_pid = -1;
+
 	/*
 	 * 64bit flags will be copied back to userspace as feature
 	 * negotiation result, so have to clear flags which driver
drivers/bluetooth/btintel.c +3 -0
index 5e9cac090bd8..bf567b7c5f00 100644
@@ -3771,6 +3771,9 @@ static int btintel_diagnostics(struct hci_dev *hdev, struct sk_buff *skb)
 {
 	struct intel_tlv *tlv = (void *)&skb->data[5];
 
+	if (skb->len < 5 + sizeof(*tlv) + sizeof(tlv->val[0]))
+		goto recv_frame;
+
 	/* The first event is always an event type TLV */
 	if (tlv->type != INTEL_TLV_TYPE_ID)
 		goto recv_frame;
drivers/bluetooth/btmtk.c +37 -49

199 lines not on this page · raw message

drivers/bluetooth/btusb.c +9 -21
index 7f66e7c6e77a..a072e6f57f31 100644
@@ -3407,28 +3407,16 @@ static const char *qca_get_fw_subdirectory(const struct qca_version *ver)
 static int btusb_qca_send_vendor_req(struct usb_device *udev, u8 request,
 				     void *data, u16 size)
 {
-	int pipe, err;
-	u8 *buf;
-
-	buf = kmalloc(size, GFP_KERNEL);
-	if (!buf)
-		return -ENOMEM;
+	int err;
 
 	/* Found some of USB hosts have IOT issues with ours so that we should
 	 * not wait until HCI layer is ready.
 	 */
-	pipe = usb_rcvctrlpipe(udev, 0);
-	err = usb_control_msg(udev, pipe, request, USB_TYPE_VENDOR | USB_DIR_IN,
-			      0, 0, buf, size, USB_CTRL_GET_TIMEOUT);
-	if (err < 0) {
+	err = usb_control_msg_recv(udev, 0, request, USB_TYPE_VENDOR | USB_DIR_IN,
+				   0, 0, data, size, USB_CTRL_GET_TIMEOUT,
+				   GFP_KERNEL);
+	if (err)
 		dev_err(&udev->dev, "Failed to access otp area (%d)", err);
-		goto done;
-	}
-
-	memcpy(data, buf, size);
-
-done:
-	kfree(buf);
 
 	return err;
 }
@@ -3635,7 +3623,7 @@ static bool btusb_qca_need_patch(struct usb_device *udev)
 	struct qca_version ver;
 
 	if (btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
-				      sizeof(ver)) < 0)
+				      sizeof(ver)))
 		return false;
 	/* only low ROM versions need patches */
 	return !(le32_to_cpu(ver.rom_version) & ~0xffffU);
@@ -3653,7 +3641,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
 					sizeof(ver));
-	if (err < 0)
+	if (err)
 		return err;
 
 	ver_rom = le32_to_cpu(ver.rom_version);
@@ -3676,7 +3664,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_CHECK_STATUS, &status,
 					sizeof(status));
-	if (err < 0)
+	if (err)
 		return err;
 
 	if (!(status & QCA_PATCH_UPDATED)) {
@@ -3687,7 +3675,7 @@ static int btusb_setup_qca(struct hci_dev *hdev)
 
 	err = btusb_qca_send_vendor_req(udev, QCA_GET_TARGET_VERSION, &ver,
 					sizeof(ver));
-	if (err < 0)
+	if (err)
 		return err;
 
 	btdata->qca_dump.fw_version = le32_to_cpu(ver.patch_version);
drivers/cpufreq/cppc_cpufreq.c +23 -10
index 7e7f9dfb7a24..81ea226c3e2e 100644
@@ -290,19 +290,32 @@ static inline void cppc_freq_invariance_exit(void)
 }
 #endif /* CONFIG_ACPI_CPPC_CPUFREQ_FIE */
 
-static void cppc_cpufreq_update_perf_limits(struct cppc_cpudata *cpu_data,
-					    struct cpufreq_policy *policy)
+static void cppc_cpufreq_get_perf_limits(struct cppc_cpudata *cpu_data,
+					 struct cpufreq_policy *policy,
+					 u32 *min_perf, u32 *max_perf)
 {
 	struct cppc_perf_caps *caps = &cpu_data->perf_caps;
-	u32 min_perf, max_perf;
+	unsigned int min_freq, max_freq;
+	u32 min, max;
+
+	min_freq = READ_ONCE(policy->min);
+	max_freq = READ_ONCE(policy->max);
+	if (unlikely(min_freq > max_freq))
+		min_freq = max_freq;
+
+	min = cppc_khz_to_perf(caps, min_freq);
+	max = cppc_khz_to_perf(caps, max_freq);
 
-	min_perf = cppc_khz_to_perf(caps, policy->min);
-	max_perf = cppc_khz_to_perf(caps, policy->max);
+	*min_perf = clamp_t(u32, min, caps->lowest_perf, caps->highest_perf);
+	*max_perf = clamp_t(u32, max, caps->lowest_perf, caps->highest_perf);
+}
 
-	cpu_data->perf_ctrls.min_perf =
-		clamp_t(u32, min_perf, caps->lowest_perf, caps->highest_perf);
-	cpu_data->perf_ctrls.max_perf =
-		clamp_t(u32, max_perf, caps->lowest_perf, caps->highest_perf);
+static void cppc_cpufreq_update_perf_limits(struct cppc_cpudata *cpu_data,
+					    struct cpufreq_policy *policy)
+{
+	cppc_cpufreq_get_perf_limits(cpu_data, policy,
+				     &cpu_data->perf_ctrls.min_perf,
+				     &cpu_data->perf_ctrls.max_perf);
 }
 
 static int cppc_cpufreq_set_target(struct cpufreq_policy *policy,
@@ -694,7 +707,7 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy)
 		goto out;
 	}
 
-	policy->fast_switch_possible = cppc_allow_fast_switch();
+	policy->fast_switch_possible = cppc_allow_fast_switch(policy->cpus);
 	policy->dvfs_possible_from_any_cpu = true;
 
 	/*
drivers/cpufreq/powernow-k8.c +1 -0
index 4d77eef53fe0..8893dfa2c76a 100644
@@ -1083,6 +1083,7 @@ static int powernowk8_cpu_init(struct cpufreq_policy *pol)
 
 err_out_exit_acpi:
 	powernow_k8_cpu_exit_acpi(data);
+	kfree(data->powernow_table);
 
 err_out:
 	kfree(data);
drivers/dibs/dibs_loopback.c +24 -23

103 lines not on this page · raw message

drivers/dma/idxd/cdev.c +3 -1
index 0366c7cf3502..82b07cf942ef 100644
@@ -288,6 +288,7 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp)
 	fdev->parent = cdev_dev(idxd_cdev);
 	fdev->bus = &dsa_bus_type;
 	fdev->type = &idxd_cdev_file_type;
+	idxd_wq_get(wq);
 
 	rc = dev_set_name(fdev, "file%d", ctx->id);
 	if (rc < 0) {
@@ -301,13 +302,14 @@ static int idxd_cdev_open(struct inode *inode, struct file *filp)
 		goto failed_dev_add;
 	}
 
-	idxd_wq_get(wq);
 	mutex_unlock(&wq->wq_lock);
 	return 0;
 
 failed_dev_add:
 failed_dev_name:
+	mutex_unlock(&wq->wq_lock);
 	put_device(fdev);
+	return rc;
 failed_ida:
 failed_set_pasid:
 	if (device_user_pasid_enabled(idxd))
drivers/dma/idxd/init.c +5 -31
index f1cfc7790d95..4b827a329756 100644
@@ -159,18 +159,12 @@ static void idxd_cleanup_interrupts(struct idxd_device *idxd)
 
 static void idxd_clean_wqs(struct idxd_device *idxd)
 {
-	struct idxd_wq *wq;
 	struct device *conf_dev;
 	int i;
 
 	for (i = 0; i < idxd->max_wqs; i++) {
-		wq = idxd->wqs[i];
-		if (idxd->hw.wq_cap.op_config)
-			bitmap_free(wq->opcap_bmap);
-		kfree(wq->wqcfg);
-		conf_dev = wq_confdev(wq);
+		conf_dev = wq_confdev(idxd->wqs[i]);
 		put_device(conf_dev);
-		kfree(wq);
 	}
 	bitmap_free(idxd->wq_enable_map);
 	kfree(idxd->wqs);
@@ -212,7 +206,6 @@ static int idxd_setup_wqs(struct idxd_device *idxd)
 		rc = dev_set_name(conf_dev, "wq%d.%d", idxd->id, wq->id);
 		if (rc < 0) {
 			put_device(conf_dev);
-			kfree(wq);
 			goto err_unwind;
 		}
 
@@ -227,7 +220,6 @@ static int idxd_setup_wqs(struct idxd_device *idxd)
 		wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev));
 		if (!wq->wqcfg) {
 			put_device(conf_dev);
-			kfree(wq);
 			rc = -ENOMEM;
 			goto err_unwind;
 		}
@@ -235,9 +227,7 @@ static int idxd_setup_wqs(struct idxd_device *idxd)
 		if (idxd->hw.wq_cap.op_config) {
 			wq->opcap_bmap = bitmap_zalloc(IDXD_MAX_OPCAP_BITS, GFP_KERNEL);
 			if (!wq->opcap_bmap) {
-				kfree(wq->wqcfg);
 				put_device(conf_dev);
-				kfree(wq);
 				rc = -ENOMEM;
 				goto err_unwind;
 			}
@@ -252,13 +242,8 @@ static int idxd_setup_wqs(struct idxd_device *idxd)
 
 err_unwind:
 	while (--i >= 0) {
-		wq = idxd->wqs[i];
-		if (idxd->hw.wq_cap.op_config)
-			bitmap_free(wq->opcap_bmap);
-		kfree(wq->wqcfg);
-		conf_dev = wq_confdev(wq);
+		conf_dev = wq_confdev(idxd->wqs[i]);
 		put_device(conf_dev);
-		kfree(wq);
 	}
 	bitmap_free(idxd->wq_enable_map);
 
@@ -270,15 +255,12 @@ static int idxd_setup_wqs(struct idxd_device *idxd)
 
 static void idxd_clean_engines(struct idxd_device *idxd)
 {
-	struct idxd_engine *engine;
 	struct device *conf_dev;
 	int i;
 
 	for (i = 0; i < idxd->max_engines; i++) {
-		engine = idxd->engines[i];
-		conf_dev = engine_confdev(engine);
+		conf_dev = engine_confdev(idxd->engines[i]);
 		put_device(conf_dev);
-		kfree(engine);
 	}
 	kfree(idxd->engines);
 }
@@ -313,7 +295,6 @@ static int idxd_setup_engines(struct idxd_device *idxd)
 		rc = dev_set_name(conf_dev, "engine%d.%d", idxd->id, engine->id);
 		if (rc < 0) {
 			put_device(conf_dev);
-			kfree(engine);
 			goto err;
 		}
 
@@ -324,10 +305,8 @@ static int idxd_setup_engines(struct idxd_device *idxd)
 
  err:
 	while (--i >= 0) {
-		engine = idxd->engines[i];
-		conf_dev = engine_confdev(engine);
+		conf_dev = engine_confdev(idxd->engines[i]);
 		put_device(conf_dev);
-		kfree(engine);
 	}
 	kfree(idxd->engines);
 
@@ -336,13 +315,10 @@ static int idxd_setup_engines(struct idxd_device *idxd)
 
 static void idxd_clean_groups(struct idxd_device *idxd)
 {
-	struct idxd_group *group;
 	int i;
 
 	for (i = 0; i < idxd->max_groups; i++) {
-		group = idxd->groups[i];
-		put_device(group_confdev(group));
-		kfree(group);
+		put_device(group_confdev(idxd->groups[i]));
 	}
 	kfree(idxd->groups);
 }
@@ -377,7 +353,6 @@ static int idxd_setup_groups(struct idxd_device *idxd)
 		rc = dev_set_name(conf_dev, "group%d.%d", idxd->id, group->id);
 		if (rc < 0) {
 			put_device(conf_dev);
-			kfree(group);
 			goto err;
 		}
 
@@ -402,7 +377,6 @@ static int idxd_setup_groups(struct idxd_device *idxd)
 	while (--i >= 0) {
 		group = idxd->groups[i];
 		put_device(group_confdev(group));
-		kfree(group);
 	}
 	kfree(idxd->groups);
 
drivers/dma/sun6i-dma.c +4 -7
index a9a254dbf8cb..f47a326dd7ff 100644
@@ -945,16 +945,13 @@ static int sun6i_dma_terminate_all(struct dma_chan *chan)
 
 	spin_lock_irqsave(&vchan->vc.lock, flags);
 
-	if (vchan->cyclic) {
-		vchan->cyclic = false;
-		if (pchan && pchan->desc) {
-			struct virt_dma_desc *vd = &pchan->desc->vd;
-			struct virt_dma_chan *vc = &vchan->vc;
+	if (pchan && pchan->desc && pchan->desc != pchan->done) {
+		struct virt_dma_desc *vd = &pchan->desc->vd;
 
-			list_add_tail(&vd->node, &vc->desc_completed);
-		}
+		vchan_terminate_vdesc(vd);
 	}
 
+	vchan->cyclic = false;
 	vchan_get_all_descriptors(&vchan->vc, &head);
 
 	if (pchan) {
drivers/dma/switchtec_dma.c +1 -1
index 3ef928640615..71d9868ce613 100644
@@ -1099,7 +1099,7 @@ static int switchtec_dma_chan_init(struct switchtec_dma_dev *swdma_dev,
 	dev_dbg(&pdev->dev, "Channel %d: SE buffer count %d\n", i, se_buf_len);
 
 	thresh = se_buf_len / 2;
-	valid_en_se |= FIELD_GET(SE_THRESH_MASK, thresh);
+	valid_en_se |= FIELD_PREP(SE_THRESH_MASK, thresh);
 	writel(valid_en_se, &swdma_chan->mmio_chan_fw->valid_en_se);
 
 	/* request irqs */
drivers/gpio/gpio-by-pinctrl.c +12 -6
index ddfdc479d38a..b3b3c1137617 100644
@@ -28,12 +28,6 @@ static int pin_control_gpio_get_direction(struct gpio_chip *gc, unsigned int off
 	return GPIO_LINE_DIRECTION_IN;
 }
 
-static int pin_control_gpio_direction_output(struct gpio_chip *chip,
-					     unsigned int offset, int val)
-{
-	return pinctrl_gpio_direction_output(chip, offset);
-}
-
 static int pin_control_gpio_get(struct gpio_chip *chip, unsigned int offset)
 {
 	unsigned long config;
@@ -56,6 +50,18 @@ static int pin_control_gpio_set(struct gpio_chip *chip, unsigned int offset,
 	return pinctrl_gpio_set_config(chip, offset, config);
 }
 
+static int pin_control_gpio_direction_output(struct gpio_chip *chip,
+					     unsigned int offset, int val)
+{
+	int ret;
+
+	ret = pinctrl_gpio_direction_output(chip, offset);
+	if (ret)
+		return ret;
+
+	return pin_control_gpio_set(chip, offset, val);
+}
+
 static int pin_control_gpio_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
drivers/gpio/gpio-pca953x.c +13 -2
index b9c905a0ffa9..69c5bd9aaee7 100644
@@ -1373,9 +1373,20 @@ static int pca953x_restore_context(struct pca953x_chip *chip)
 	regcache_mark_dirty(chip->regmap);
 	ret = pca953x_regcache_sync(chip);
 	if (ret)
-		return ret;
+		goto err;
+
+	ret = regcache_sync(chip->regmap);
+	if (ret)
+		goto err;
+
+	return 0;
 
-	return regcache_sync(chip->regmap);
+err:
+	if (chip->client->irq > 0)
+		disable_irq(chip->client->irq);
+	regcache_cache_only(chip->regmap, true);
+
+	return ret;
 }
 
 static void pca953x_save_context(struct pca953x_chip *chip)
drivers/gpio/gpio-pch.c +14 -14
index 4ffa0955a9e3..07a5617b314b 100644
@@ -96,7 +96,7 @@ struct pch_gpio {
 	struct pch_gpio_reg_data pch_gpio_reg;
 	int irq_base;
 	enum pch_type_t ioh;
-	spinlock_t spinlock;
+	raw_spinlock_t spinlock;
 };
 
 static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
@@ -105,7 +105,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
 	struct pch_gpio *chip =	gpiochip_get_data(gpio);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	reg_val = ioread32(&chip->reg->po);
 	if (val)
 		reg_val |= BIT(nr);
@@ -113,7 +113,7 @@ static int pch_gpio_set(struct gpio_chip *gpio, unsigned int nr, int val)
 		reg_val &= ~BIT(nr);
 
 	iowrite32(reg_val, &chip->reg->po);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -133,7 +133,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr,
 	u32 reg_val;
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 
 	reg_val = ioread32(&chip->reg->po);
 	if (val)
@@ -147,7 +147,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr,
 	pm |= BIT(nr);
 	iowrite32(pm, &chip->reg->pm);
 
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -158,12 +158,12 @@ static int pch_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr)
 	u32 pm;
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	pm = ioread32(&chip->reg->pm);
 	pm &= BIT(gpio_pins[chip->ioh]) - 1;
 	pm &= ~BIT(nr);
 	iowrite32(pm, &chip->reg->pm);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -265,7 +265,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)
 		return 0;
 	}
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 
 	/* Set interrupt mode */
 	im = ioread32(im_reg) & ~(PCH_IM_MASK << (im_pos * 4));
@@ -277,7 +277,7 @@ static int pch_irq_type(struct irq_data *d, unsigned int type)
 	else if (type & IRQ_TYPE_EDGE_BOTH)
 		irq_set_handler_locked(d, handle_edge_irq);
 
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 	return 0;
 }
 
@@ -374,7 +374,7 @@ static int pch_gpio_probe(struct pci_dev *pdev,
 	chip->ioh = id->driver_data;
 	chip->reg = chip->base;
 	pci_set_drvdata(pdev, chip);
-	spin_lock_init(&chip->spinlock);
+	raw_spin_lock_init(&chip->spinlock);
 	pch_gpio_setup(chip);
 
 	ret = devm_gpiochip_add_data(dev, &chip->gpio, chip);
@@ -407,9 +407,9 @@ static int pch_gpio_suspend(struct device *dev)
 	struct pch_gpio *chip = dev_get_drvdata(dev);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	pch_gpio_save_reg_conf(chip);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
@@ -419,11 +419,11 @@ static int pch_gpio_resume(struct device *dev)
 	struct pch_gpio *chip = dev_get_drvdata(dev);
 	unsigned long flags;
 
-	spin_lock_irqsave(&chip->spinlock, flags);
+	raw_spin_lock_irqsave(&chip->spinlock, flags);
 	iowrite32(0x01, &chip->reg->reset);
 	iowrite32(0x00, &chip->reg->reset);
 	pch_gpio_restore_reg_conf(chip);
-	spin_unlock_irqrestore(&chip->spinlock, flags);
+	raw_spin_unlock_irqrestore(&chip->spinlock, flags);
 
 	return 0;
 }
drivers/gpio/gpio-sloppy-logic-analyzer.c +10 -0
index 969dddd3d6fa..0f4a6228a748 100644
@@ -161,6 +161,13 @@ static int fops_buf_size_get(void *data, u64 *val)
 	return 0;
 }
 
+static void fops_buf_release(void *data)
+{
+	struct gpio_la_poll_priv *priv = data;
+
+	vfree(priv->blob.data);
+}
+
 static int fops_buf_size_set(void *data, u64 val)
 {
 	struct gpio_la_poll_priv *priv = data;
@@ -239,6 +246,9 @@ static int gpio_la_poll_probe(struct platform_device *pdev)
 		return ret;
 
 	fops_buf_size_set(priv, GPIO_LA_DEFAULT_BUF_SIZE);
+	ret = devm_add_action_or_reset(dev, fops_buf_release, priv);
+	if (ret)
+		return ret;
 
 	priv->descs = devm_gpiod_get_array(dev, "probe", GPIOD_IN);
 	if (IS_ERR(priv->descs))
drivers/gpio/gpiolib.c +8 -5
index 58479931a690..f5be133c5c3f 100644
@@ -975,14 +975,17 @@ int gpiochip_add_hog(struct gpio_chip *gc, struct fwnode_handle *fwnode)
 	if (ret < 0)
 		return ret;
 
-	if (fwnode_property_present(fwnode, "input"))
+	if (fwnode_property_present(fwnode, "input")) {
 		dflags |= GPIOD_IN;
-	else if (fwnode_property_present(fwnode, "output-low"))
+	} else if (fwnode_property_present(fwnode, "output-low")) {
 		dflags |= GPIOD_OUT_LOW;
-	else if (fwnode_property_present(fwnode, "output-high"))
+	} else if (fwnode_property_present(fwnode, "output-high")) {
 		dflags |= GPIOD_OUT_HIGH;
-	else
-		return -EINVAL;
+	} else {
+		gpiochip_warn(gc, "%pfwP: no hogging state specified, bailing out\n",
+			      fwnode);
+		return 0;
+	}
 
 	fwnode_property_read_string(fwnode, "line-name", &name);
 
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +19 -20
index 993586970916..12e45340a2d1 100644
@@ -854,7 +854,6 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
 	struct amdgpu_vm *vm = &fpriv->vm;
 	struct amdgpu_bo_list_entry *e;
 	struct drm_gem_object *obj;
-	unsigned long index;
 	unsigned int i;
 	int r;
 
@@ -965,7 +964,7 @@ static int amdgpu_cs_parser_bos(struct amdgpu_cs_parser *p,
 		goto out_free_user_pages;
 	}
 
-	drm_exec_for_each_locked_object(&p->exec, index, obj) {
+	drm_exec_for_each_locked_object(&p->exec, obj) {
 		r = amdgpu_cs_bo_validate(p, gem_to_amdgpu_bo(obj));
 		if (unlikely(r))
 			goto out_free_user_pages;
@@ -1182,19 +1181,6 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p)
 		job->vm_pd_addr = amdgpu_gmc_pd_addr(vm->root.bo);
 	}
 
-	if (adev->debug_vm) {
-		/* Invalidate all BOs to test for userspace bugs */
-		amdgpu_bo_list_for_each_entry(e, p->bo_list) {
-			struct amdgpu_bo *bo = e->bo;
-
-			/* ignore duplicates */
-			if (!bo)
-				continue;
-
-			amdgpu_vm_bo_invalidate(bo, false);
-		}
-	}
-
 	return 0;
 }
 
@@ -1204,7 +1190,6 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)
 	struct drm_gpu_scheduler *sched;
 	struct drm_gem_object *obj;
 	struct dma_fence *fence;
-	unsigned long index;
 	unsigned int i;
 	int r;
 
@@ -1215,7 +1200,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)
 		return r;
 	}
 
-	drm_exec_for_each_locked_object(&p->exec, index, obj) {
+	drm_exec_for_each_locked_object(&p->exec, obj) {
 		struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
 
 		struct dma_resv *resv = bo->tbo.base.resv;
@@ -1284,7 +1269,6 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 	struct amdgpu_vm *vm = &fpriv->vm;
 	struct amdgpu_bo_list_entry *e;
 	struct drm_gem_object *gobj;
-	unsigned long index;
 	unsigned int i;
 	uint64_t seq;
 	int r;
@@ -1335,7 +1319,7 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 	}
 
 	p->fence = dma_fence_get(&leader->base.s_fence->finished);
-	drm_exec_for_each_locked_object(&p->exec, index, gobj) {
+	drm_exec_for_each_locked_object(&p->exec, gobj) {
 
 		ttm_bo_move_to_lru_tail_unlocked(&gem_to_amdgpu_bo(gobj)->tbo);
 
@@ -1384,6 +1368,8 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
 /* Cleanup the parser structure */
 static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser)
 {
+	struct amdgpu_device *adev = parser->adev;
+	struct amdgpu_bo_list_entry *e;
 	unsigned int i;
 
 	amdgpu_sync_free(&parser->sync);
@@ -1399,8 +1385,21 @@ static void amdgpu_cs_parser_fini(struct amdgpu_cs_parser *parser)
 
 	if (parser->ctx)
 		amdgpu_ctx_put(parser->ctx);
-	if (parser->bo_list)
+	if (parser->bo_list) {
+		if (adev->debug_vm) {
+			/* Invalidate all BOs to test for userspace bugs */
+			amdgpu_bo_list_for_each_entry(e, parser->bo_list) {
+				struct amdgpu_bo *bo = e->bo;
+
+				/* ignore duplicates */
+				if (!bo)
+					continue;
+
+				amdgpu_vm_bo_invalidate(bo, false);
+			}
+		}
 		amdgpu_bo_list_put(parser->bo_list);
+	}
 
 	for (i = 0; i < parser->nchunks; i++)
 		kvfree(parser->chunks[i].kdata);
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +9 -0
index 092fd3309099..8dc3a334b8e6 100644
@@ -43,6 +43,11 @@
 
 #if defined(CONFIG_DEBUG_FS)
 
+/* Encode milliwatts in the raw Q24.8 sensor report format used by UMR. */
+#define AMDGPU_DEBUGFS_PWR_MW_TO_Q24_8(power_mw) \
+	DIV_ROUND_CLOSEST_ULL((u64)(power_mw) * BIT(8), \
+			      MILLIWATT_PER_WATT)
+
 /**
  * amdgpu_debugfs_process_reg_op - Handle MMIO register reads/writes
  *
@@ -1104,6 +1109,10 @@ static ssize_t amdgpu_debugfs_sensor_read(struct file *f, char __user *buf,
 		return r;
 	}
 
+	if (idx == AMDGPU_PP_SENSOR_GPU_AVG_POWER ||
+	    idx == AMDGPU_PP_SENSOR_GPU_INPUT_POWER)
+		values[0] = AMDGPU_DEBUGFS_PWR_MW_TO_Q24_8(values[0]);
+
 	if (size > valuesize) {
 		amdgpu_virt_disable_access_debugfs(adev);
 		return -EINVAL;
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +15 -0
index 60debd543e44..0ff3d01274b0 100644
@@ -2876,6 +2876,19 @@ static int amdgpu_pmops_runtime_suspend(struct device *dev)
 	return 0;
 }
 
+static void amdgpu_restore_umd_profile_pstate_after_runpm(struct amdgpu_device *adev)
+{
+	enum amd_dpm_forced_level level;
+	uint32_t profile_mode_mask = AMD_DPM_FORCED_LEVEL_PROFILE_STANDARD |
+		AMD_DPM_FORCED_LEVEL_PROFILE_MIN_SCLK |
+		AMD_DPM_FORCED_LEVEL_PROFILE_MIN_MCLK |
+		AMD_DPM_FORCED_LEVEL_PROFILE_PEAK;
+
+	level = amdgpu_dpm_get_performance_level(adev);
+	if (level & profile_mode_mask)
+		amdgpu_asic_update_umd_stable_pstate(adev, true);
+}
+
 static int amdgpu_pmops_runtime_resume(struct device *dev)
 {
 	struct pci_dev *pdev = to_pci_dev(dev);
@@ -2920,6 +2933,8 @@ static int amdgpu_pmops_runtime_resume(struct device *dev)
 
 	if (adev->pm.rpm_mode == AMDGPU_RUNPM_PX)
 		drm_dev->switch_power_state = DRM_SWITCH_POWER_ON;
+
+	amdgpu_restore_umd_profile_pstate_after_runpm(adev);
 	adev->in_runpm = false;
 	return 0;
 }
drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c +1 -2
index 4c5e38dea4c2..f6b7522c3c82 100644
@@ -121,7 +121,6 @@ int amdgpu_evf_mgr_rearm(struct amdgpu_eviction_fence_mgr *evf_mgr,
 {
 	struct amdgpu_eviction_fence *ev_fence;
 	struct drm_gem_object *obj;
-	unsigned long index;
 
 	/* Create and initialize a new eviction fence */
 	ev_fence = kzalloc_obj(*ev_fence);
@@ -140,7 +139,7 @@ int amdgpu_evf_mgr_rearm(struct amdgpu_eviction_fence_mgr *evf_mgr,
 	evf_mgr->ev_fence = &ev_fence->base;
 
 	/* And add it to all existing BOs */
-	drm_exec_for_each_locked_object(exec, index, obj) {
+	drm_exec_for_each_locked_object(exec, obj) {
 		struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj);
 
 		amdgpu_evf_mgr_attach_fence(evf_mgr, bo);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2 -2
index 71272f40feef..8bb9c198ddec 100644
@@ -1210,7 +1210,7 @@ int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
 					return -EINVAL;
 				}
 			}
-			ui32 >>= 8;
+			ui32 /= MILLIWATT_PER_WATT;
 			break;
 		case AMDGPU_INFO_SENSOR_GPU_INPUT_POWER:
 			/* get input GPU power */
@@ -1219,7 +1219,7 @@ int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file *filp)
 						   (void *)&ui32, &ui32_size)) {
 				return -EINVAL;
 			}
-			ui32 >>= 8;
+			ui32 /= MILLIWATT_PER_WATT;
 			break;
 		case AMDGPU_INFO_SENSOR_VDDNB:
 			/* get VDDNB in millivolts */
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +12 -0
index 3eae6e620f8d..81c8eba2b7a9 100644
@@ -2174,6 +2174,18 @@ int amdgpu_ttm_init(struct amdgpu_device *adev)
 		gtt_size = configured_size;
 	}
 
+	/* Cap GTT so that it does not exceed total physical RAM. */
+	if (adev->flags & AMD_IS_APU) {
+		u64 phys_ram = (u64)totalram_pages() << PAGE_SHIFT;
+
+		if (gtt_size > phys_ram) {
+			gtt_size = phys_ram;
+			dev_info(adev->dev,
+				 "Capping GTT to %uM to not exceed available system memory\n",
+				 (unsigned int)(gtt_size / (1024 * 1024)));
+		}
+	}
+
 	/* Initialize GTT memory pool */
 	r = amdgpu_gtt_mgr_init(adev, gtt_size);
 	if (r) {
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +7 -3
index 4f7f9d0bd800..18811c819b16 100644
@@ -3038,10 +3038,14 @@ static int kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, v
 		goto out;
 	}
 
-	/* Check if target is still PTRACED. */
+	/*
+	 * Verify debugger has permission to debug target process.
+	 * For cross-process debugging, require active ptrace relationship.
+	 * This applies to ALL operations to prevent unauthorized interference.
+	 */
 	rcu_read_lock();
-	if (target != p && args->op != KFD_IOC_DBG_TRAP_DISABLE
-				&& ptrace_parent(target->lead_thread) != current) {
+	if (target != p && ptrace_parent(target->lead_thread) != current
+			&& target->debugger_process != p) {
 		pr_err("PID %i is not PTRACED and cannot be debugged\n", args->pid);
 		r = -EPERM;
 	}
drivers/gpu/drm/amd/amdkfd/kfd_events.c +20 -3
index ebdd1fbf9ac0..4615fbd9ac24 100644
@@ -524,6 +524,9 @@ int kfd_criu_restore_event(struct file *devkfd,
 
 		ret = create_other_event(p, ev, &ev_priv->event_id);
 		break;
+	default:
+		ret = -EINVAL;
+		break;
 	}
 	mutex_unlock(&p->event_mutex);
 
@@ -545,15 +548,27 @@ int kfd_criu_checkpoint_events(struct kfd_process *p,
 	int ret =  0;
 	struct kfd_event *ev;
 	uint32_t ev_id;
+	uint32_t num_events;
 
-	uint32_t num_events = kfd_get_num_events(p);
+	/* Serialize the count and the walk below against concurrent event
+	 * create/destroy. Those paths take only p->event_mutex, not the
+	 * p->mutex held by the CRIU checkpoint caller, so without this the
+	 * event_idr can grow between kfd_get_num_events() and the loop and the
+	 * walk writes past the ev_privs allocation.
+	 */
+	mutex_lock(&p->event_mutex);
 
-	if (!num_events)
+	num_events = kfd_get_num_events(p);
+	if (!num_events) {
+		mutex_unlock(&p->event_mutex);
 		return 0;
+	}
 
 	ev_privs = kvzalloc(num_events * sizeof(*ev_privs), GFP_KERNEL);
-	if (!ev_privs)
+	if (!ev_privs) {
+		mutex_unlock(&p->event_mutex);
 		return -ENOMEM;
+	}
 
 
 	idr_for_each_entry(&p->event_idr, ev, ev_id) {
@@ -594,6 +609,8 @@ int kfd_criu_checkpoint_events(struct kfd_process *p,
 		i++;
 	}
 
+	mutex_unlock(&p->event_mutex);
+
 	ret = copy_to_user(user_priv_data + *priv_data_offset,
 			   ev_privs, num_events * sizeof(*ev_privs));
 	if (ret) {
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c +1 -1
index 858cf5801f05..5b8d125cb517 100644
@@ -378,7 +378,7 @@ int pqm_create_queue(struct process_queue_manager *pqm,
 						     false);
 		if (retval) {
 			dev_err(dev->adev->dev, "failed to allocate process context bo\n");
-			return retval;
+			goto err_allocate_pqn;
 		}
 		memset(pdd->proc_ctx_cpu_ptr, 0, AMDGPU_MES_PROC_CTX_SIZE);
 	}
drivers/gpu/drm/amd/amdkfd/kfd_queue.c +1 -1
index 98a5512b701b..b249e7d1af48 100644
@@ -288,7 +288,7 @@ int kfd_queue_acquire_buffers(struct kfd_process_device *pdd, struct queue_prope
 		}
 		err = kfd_queue_buffer_get(vm, (void *)properties->eop_ring_buffer_address,
 					   &properties->eop_buf_bo,
-					   ALIGN(properties->eop_ring_buffer_size, PAGE_SIZE));
+					   ALIGN((u64)properties->eop_ring_buffer_size, PAGE_SIZE));
 		if (err)
 			goto out_err_unreserve;
 	}
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +184 -59

290 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/core/dc.c +45 -0

51 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 61a28e287c1b..65388a6926b6 100644
@@ -2738,6 +2738,7 @@ enum dc_irq_source dc_interrupt_to_irq_source(
 		uint32_t ext_id);
 bool dc_interrupt_set(struct dc *dc, enum dc_irq_source src, bool enable);
 void dc_interrupt_ack(struct dc *dc, enum dc_irq_source src);
+bool dc_get_flip_pending_on_otg(struct dc *dc, int otg_inst);
 enum dc_irq_source dc_get_hpd_irq_source_at_index(
 		struct dc *dc, uint32_t link_index);
 
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +9 -11
index 25c13822fede..638368d9969b 100644
@@ -45,9 +45,7 @@
 	clk_src->base.ctx
 
 #define DC_LOGGER \
-	calc_pll_cs->ctx->logger
-#define DC_LOGGER_INIT() \
-	struct calc_pll_clock_source *calc_pll_cs = &clk_src->calc_pll
+	CTX->logger
 
 #undef FN
 #define FN(reg_name, field_name) \
@@ -289,6 +287,7 @@ static bool calc_pll_dividers_in_range(
 }
 
 static uint32_t calculate_pixel_clock_pll_dividers(
+		struct dce110_clk_src *clk_src,
 		struct calc_pll_clock_source *calc_pll_cs,
 		struct pll_settings *pll_settings)
 {
@@ -477,7 +476,7 @@ static uint32_t dce110_get_pix_clk_dividers_helper (
 {
 	uint32_t field = 0;
 	uint32_t pll_calc_error = MAX_PLL_CALC_ERROR;
-	DC_LOGGER_INIT();
+
 	/* Check if reference clock is external (not pcie/xtalin)
 	* HW Dce80 spec:
 	* 00 - PCIE_REFCLK, 01 - XTALIN,    02 - GENERICA,    03 - GENERICB
@@ -520,12 +519,14 @@ static uint32_t dce110_get_pix_clk_dividers_helper (
 		/*Calculate Dividers by HDMI object, no SS case or SS case */
 		pll_calc_error =
 			calculate_pixel_clock_pll_dividers(
+				        clk_src,
 					&clk_src->calc_pll_hdmi,
 					pll_settings);
 	else
 		/*Calculate Dividers by default object, no SS case or SS case */
 		pll_calc_error =
 			calculate_pixel_clock_pll_dividers(
+					clk_src,
 					&clk_src->calc_pll,
 					pll_settings);
 
@@ -571,7 +572,6 @@ static uint32_t dce110_get_pix_clk_dividers(
 {
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
 	uint32_t pll_calc_error = MAX_PLL_CALC_ERROR;
-	DC_LOGGER_INIT();
 
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
@@ -603,7 +603,6 @@ static uint32_t dce112_get_pix_clk_dividers(
 		struct pll_settings *pll_settings)
 {
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
-	DC_LOGGER_INIT();
 
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
@@ -1372,8 +1371,6 @@ static uint32_t dcn3_get_pix_clk_dividers(
 	unsigned long long actual_pix_clk_100Hz = pix_clk_params ? pix_clk_params->requested_pix_clk_100hz : 0;
 	struct dce110_clk_src *clk_src = TO_DCE110_CLK_SRC(cs);
 
-	DC_LOGGER_INIT();
-
 	if (pix_clk_params == NULL || pll_settings == NULL
 			|| pix_clk_params->requested_pix_clk_100hz == 0) {
 		DC_LOG_ERROR(
@@ -1443,7 +1440,6 @@ static const struct clock_source_funcs dce110_clk_src_funcs = {
 	.get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz
 };
 
-
 static void get_ss_info_from_atombios(
 		struct dce110_clk_src *clk_src,
 		enum as_signal_type as_signal,
@@ -1456,7 +1452,7 @@ static void get_ss_info_from_atombios(
 	struct spread_spectrum_info *ss_info_cur;
 	struct spread_spectrum_data *ss_data_cur;
 	uint32_t i;
-	DC_LOGGER_INIT();
+
 	if (ss_entries_num == NULL) {
 		DC_LOG_SYNC(
 			"Invalid entry !!!\n");
@@ -1587,6 +1583,7 @@ static void ss_info_from_atombios_create(
 }
 
 static bool calc_pll_max_vco_construct(
+			struct dce110_clk_src *clk_src,
 			struct calc_pll_clock_source *calc_pll_cs,
 			struct calc_pll_clock_source_init_data *init_data)
 {
@@ -1738,6 +1735,7 @@ bool dce110_clk_src_construct(
 	ss_info_from_atombios_create(clk_src);
 
 	if (!calc_pll_max_vco_construct(
+			clk_src,
 			&clk_src->calc_pll,
 			&calc_pll_cs_init_data)) {
 		ASSERT_CRITICAL(false);
@@ -1752,7 +1750,7 @@ bool dce110_clk_src_construct(
 
 
 	if (!calc_pll_max_vco_construct(
-			&clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) {
+			clk_src, &clk_src->calc_pll_hdmi, &calc_pll_cs_init_data_hdmi)) {
 		ASSERT_CRITICAL(false);
 		goto unexpected_failure;
 	}
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c +7 -8
index 732de97335fa..741864399c77 100644
@@ -359,14 +359,13 @@ void dml21_handle_phantom_streams_planes(const struct dc *dc, struct dc_state *c
 					main_plane = main_stream_status->plane_states[dc_plane_index];
 
 					/* create phantom planes for subvp enabled plane */
-					dml21_add_phantom_plane(dml_ctx,
-							dc,
-							context,
-							phantom_stream,
-							main_plane,
-							&dml_ctx->v21.mode_programming.programming->plane_programming[dml_plane_index]);
-
-					phantoms_added = true;
+					if (dml21_add_phantom_plane(dml_ctx,
+								    dc,
+								    context,
+								    phantom_stream,
+								    main_plane,
+								    &dml_ctx->v21.mode_programming.programming->plane_programming[dml_plane_index]))
+						phantoms_added = true;
 				}
 			}
 		}
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c +25 -6
index 827bd9143c87..4c675a9395bc 100644
@@ -2425,7 +2425,7 @@ static void calculate_mcache_row_bytes(
 	DML_ASSERT(*p->num_mcaches > 0);
 }
 
-static void calculate_mcache_setting(
+static bool calculate_mcache_setting(
 	struct dml2_core_internal_scratch *scratch,
 	struct dml2_core_calcs_calculate_mcache_setting_params *p)
 {
@@ -2451,7 +2451,7 @@ static void calculate_mcache_setting(
 	*p->lc_comb_mcache = 0;
 
 	if (!p->dcc_enable)
-		return;
+		return true;
 
 	l->is_dual_plane = dml_is_420(p->source_format) || p->source_format == dml2_rgbe_alpha;
 
@@ -2488,7 +2488,14 @@ static void calculate_mcache_setting(
 	l->l_p.mvmpg_per_mcache_lb = &l->mvmpg_per_mcache_lb_l;
 
 	calculate_mcache_row_bytes(scratch, &l->l_p);
-	DML_ASSERT(*p->num_mcaches_l > 0);
+	if (*p->num_mcaches_l == 0 ||
+	    (p->surf_vert ? l->mvmpg_height_l : l->mvmpg_width_l) == 0) {
+		DML_LOG_VERBOSE("DML::%s: degenerate luma viewport (num_mcaches_l=%u mvmpg_%s_l=%u) — mode not supported\n",
+			__func__, *p->num_mcaches_l,
+			p->surf_vert ? "height" : "width",
+			p->surf_vert ? l->mvmpg_height_l : l->mvmpg_width_l);
+		return false;
+	}
 
 	if (l->is_dual_plane) {
 		l->c_p.num_chans = p->num_chans;
@@ -2524,7 +2531,14 @@ static void calculate_mcache_setting(
 		l->c_p.mvmpg_per_mcache_lb = &l->mvmpg_per_mcache_lb_c;
 
 		calculate_mcache_row_bytes(scratch, &l->c_p);
-		DML_ASSERT(*p->num_mcaches_c > 0);
+		if (*p->num_mcaches_c == 0 ||
+		    (p->surf_vert ? l->mvmpg_height_c : l->mvmpg_width_c) == 0) {
+			DML_LOG_VERBOSE("DML::%s: degenerate chroma viewport (num_mcaches_c=%u mvmpg_%s_c=%u) — mode not supported\n",
+				__func__, *p->num_mcaches_c,
+				p->surf_vert ? "height" : "width",
+				p->surf_vert ? l->mvmpg_height_c : l->mvmpg_width_c);
+			return false;
+		}
 	}
 
 	// Sharing for iMALL access
@@ -2634,6 +2648,7 @@ static void calculate_mcache_setting(
 
 	*p->mcache_shift_granularity_l = l->mvmpg_access_width_l;
 	*p->mcache_shift_granularity_c = l->mvmpg_access_width_c;
+	return true;
 }
 
 static void calculate_mall_bw_overhead_factor(
@@ -9430,7 +9445,10 @@ static bool dml_core_mode_support(struct dml2_core_calcs_mode_support_ex *in_out
 			calculate_mcache_setting_params->mall_comb_mcache_c = &mode_lib->ms.mall_comb_mcache_c[k];
 			calculate_mcache_setting_params->lc_comb_mcache = &mode_lib->ms.lc_comb_mcache[k];
 
-			calculate_mcache_setting(&mode_lib->scratch, calculate_mcache_setting_params);
+			if (!calculate_mcache_setting(&mode_lib->scratch, calculate_mcache_setting_params)) {
+				mode_lib->ms.support.ModeSupport = false;
+				return false;
+			}
 		}
 
 		calculate_mall_bw_overhead_factor(
@@ -10906,7 +10924,8 @@ static bool dml_core_mode_programming(struct dml2_core_calcs_mode_programming_ex
 			calculate_mcache_setting_params->mall_comb_mcache_l = &mode_lib->mp.mall_comb_mcache_l[k];
 			calculate_mcache_setting_params->mall_comb_mcache_c = &mode_lib->mp.mall_comb_mcache_c[k];
 			calculate_mcache_setting_params->lc_comb_mcache = &mode_lib->mp.lc_comb_mcache[k];
-			calculate_mcache_setting(&mode_lib->scratch, calculate_mcache_setting_params);
+			if (!calculate_mcache_setting(&mode_lib->scratch, calculate_mcache_setting_params))
+				return false;
 		}
 
 		calculate_mall_bw_overhead_factor(
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c +11 -5
index 2aa0f1de8103..920fbf2e2071 100644
@@ -841,13 +841,19 @@ void dcn30_set_avmute(struct pipe_ctx *pipe_ctx, bool enable)
 				pipe_ctx->stream_res.stream_enc,
 				enable);
 
-		/* Wait for two frame to make sure AV mute is sent out */
+		/* Wait for three frames to make sure AV mute is sent out.
+		 * Some HDMI sinks need additional GCP packets to properly
+		 * process the mute state, especially after link re-establishment
+		 * with HDMI 2.0 scrambling enabled.
+		 */
 		if (enable && pipe_ctx->stream_res.tg->funcs->is_tg_enabled(pipe_ctx->stream_res.tg)) {
+			int i;
+
 			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
-			pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			for (i = 0; i < 3; i++) {
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VBLANK);
+				pipe_ctx->stream_res.tg->funcs->wait_for_state(pipe_ctx->stream_res.tg, CRTC_STATE_VACTIVE);
+			}
 		}
 	}
 }
drivers/gpu/drm/amd/display/dc/link/link_dpms.c +8 -8
index e12c25896364..0bea0eac0f5c 100644
@@ -379,7 +379,7 @@ static bool write_i2c_retimer_vga(
 
 	for (size_t i = 0; i < ARRAY_SIZE(vga_data); i++) {
 		if (!write_i2c_retimer_offset_value(link, address, vga_data[i][0], vga_data[i][1])) {
-			DC_LOG_ERROR("Set retimer failed, vga index: %zu\n", i);
+			DC_LOG_DEBUG("Set retimer failed, vga index: %zu\n", i);
 			return false;
 		}
 	}
@@ -400,7 +400,7 @@ static bool write_i2c_retimer_byte(
 		return true;
 
 	if (!write_i2c_retimer_offset_value(link, address, index, value)) {
-		DC_LOG_ERROR("Set retimer failed, 3g index: 0x%x, value: 0x%x\n", index, value);
+		DC_LOG_DEBUG("Set retimer failed, 3g index: 0x%x, value: 0x%x\n", index, value);
 		return false;
 	}
 
@@ -416,14 +416,14 @@ static bool write_i2c_retimer_byte(
 			if (!link_query_ddc_data(
 					link->ddc, address, &offset, 1, &value, 1
 			)) {
-				DC_LOG_ERROR("Set retimer failed, link_query_ddc_data\n");
+				DC_LOG_DEBUG("Set retimer failed, link_query_ddc_data\n");
 				return false;
 			}
 		}
 
 		value |= apply_rx_tx_change;
 		if (!write_i2c_retimer_offset_value(link, address, offset, value)) {
-			DC_LOG_ERROR("Set retimer failed, 3g offset: 0x%x, value: 0x%x\n", offset, value);
+			DC_LOG_DEBUG("Set retimer failed, 3g offset: 0x%x, value: 0x%x\n", offset, value);
 			return false;
 		}
 	}
@@ -444,7 +444,7 @@ static bool write_i2c_retimer_setting(
 		uint8_t value = settings->reg_settings[i].i2c_reg_val;
 
 		if (!write_i2c_retimer_byte(link, address, index, value)) {
-			DC_LOG_ERROR("Set retimer failed, index: %zu\n", i);
+			DC_LOG_DEBUG("Set retimer failed, index: %zu\n", i);
 			return false;
 		}
 	}
@@ -455,7 +455,7 @@ static bool write_i2c_retimer_setting(
 			uint8_t value = settings->reg_settings_6g[i].i2c_reg_val;
 
 			if (!write_i2c_retimer_byte(link, address, index, value)) {
-				DC_LOG_ERROR("Set retimer failed, 6g index: %zu\n", i);
+				DC_LOG_DEBUG("Set retimer failed, 6g index: %zu\n", i);
 				return false;
 			}
 		}
@@ -487,7 +487,7 @@ static bool write_i2c_default_retimer_setting(
 
 	for (size_t i = 0; i < ARRAY_SIZE(data); i++) {
 		if (!write_i2c_retimer_offset_value(link, address, data[i][0], data[i][1])) {
-			DC_LOG_ERROR("Set default retimer failed, index: %zu\n", i);
+			DC_LOG_DEBUG("Set default retimer failed, index: %zu\n", i);
 			return false;
 		}
 	}
@@ -519,7 +519,7 @@ static bool write_i2c_redriver_setting(
 	);
 
 	if (!success)
-		DC_LOG_ERROR("Set redriver failed");
+		DC_LOG_DEBUG("Set redriver failed");
 	return success;
 }
 
drivers/gpu/drm/amd/include/kgd_pp_interface.h +4 -2
index 1bbf531de5ed..e03acc28091f 100644
@@ -24,6 +24,8 @@
 #ifndef __KGD_PP_INTERFACE_H__
 #define __KGD_PP_INTERFACE_H__
 
+#include <linux/units.h>
+
 extern const struct amdgpu_ip_block_version pp_smu_ip_block;
 extern const struct amdgpu_ip_block_version smu_v11_0_ip_block;
 extern const struct amdgpu_ip_block_version smu_v12_0_ip_block;
@@ -150,8 +152,8 @@ enum amd_pp_sensors {
 	AMDGPU_PP_SENSOR_MEM_TEMP,
 	AMDGPU_PP_SENSOR_VCE_POWER,
 	AMDGPU_PP_SENSOR_UVD_POWER,
-	AMDGPU_PP_SENSOR_GPU_AVG_POWER,
-	AMDGPU_PP_SENSOR_GPU_INPUT_POWER,
+	AMDGPU_PP_SENSOR_GPU_AVG_POWER, /* milliwatts */
+	AMDGPU_PP_SENSOR_GPU_INPUT_POWER, /* milliwatts */
 	AMDGPU_PP_SENSOR_SS_APU_SHARE,
 	AMDGPU_PP_SENSOR_SS_DGPU_SHARE,
 	AMDGPU_PP_SENSOR_STABLE_PSTATE_SCLK,
drivers/gpu/drm/amd/pm/amdgpu_dpm.c +31 -8
index feadf604b474..e8f3c116419a 100644
@@ -1183,20 +1183,36 @@ int amdgpu_dpm_dispatch_task(struct amdgpu_device *adev,
 	return ret;
 }
 
-int amdgpu_dpm_get_pp_table(struct amdgpu_device *adev, char **table)
+static bool amdgpu_dpm_is_pp_table_allowed(struct amdgpu_device *adev)
+{
+	return !amdgpu_sriov_vf(adev) &&
+	       !(adev->flags & AMD_IS_APU) &&
+	       !adev->scpm_enabled;
+}
+
+int amdgpu_dpm_get_pp_table(struct amdgpu_device *adev, char *table,
+			    size_t size)
 {
 	const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;
+	char *pptable = NULL;
 	int ret = 0;
 
-	if (!table)
+	if ((!table && size) || (table && !size))
 		return -EINVAL;
 
-	if (amdgpu_sriov_vf(adev) || !pp_funcs->get_pp_table || adev->scpm_enabled)
+	if (!amdgpu_dpm_is_pp_table_allowed(adev) ||
+	    !pp_funcs->get_pp_table)
 		return -EOPNOTSUPP;
 
 	mutex_lock(&adev->pm.mutex);
 	ret = pp_funcs->get_pp_table(adev->powerplay.pp_handle,
-				     table);
+				     &pptable);
+	if (ret > 0 && !pptable) {
+		ret = -EINVAL;
+	} else if (ret > 0 && table) {
+		ret = min_t(size_t, ret, size);
+		memcpy(table, pptable, ret);
+	}
 	mutex_unlock(&adev->pm.mutex);
 
 	return ret;
@@ -1426,17 +1442,23 @@ int amdgpu_dpm_set_power_profile_mode(struct amdgpu_device *adev,
 	return ret;
 }
 
-int amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void **table)
+ssize_t amdgpu_dpm_get_gpu_metrics(struct amdgpu_device *adev, void *buf,
+				   size_t size)
 {
 	const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;
-	int ret = 0;
+	void *table;
+	ssize_t ret;
 
 	if (!pp_funcs->get_gpu_metrics)
 		return 0;
 
 	mutex_lock(&adev->pm.mutex);
 	ret = pp_funcs->get_gpu_metrics(adev->powerplay.pp_handle,
-					table);
+					&table);
+	if (ret > 0) {
+		ret = min_t(ssize_t, ret, size);
+		memcpy(buf, table, ret);
+	}
 	mutex_unlock(&adev->pm.mutex);
 
 	return ret;
@@ -1703,7 +1725,8 @@ int amdgpu_dpm_set_pp_table(struct amdgpu_device *adev,
 	if (!buf || !size)
 		return -EINVAL;
 
-	if (amdgpu_sriov_vf(adev) || !pp_funcs->set_pp_table || adev->scpm_enabled)
+	if (!amdgpu_dpm_is_pp_table_allowed(adev) ||
+	    !pp_funcs->set_pp_table)
 		return -EOPNOTSUPP;
 
 	mutex_lock(&adev->pm.mutex);
drivers/gpu/drm/amd/pm/amdgpu_pm.c +7 -22
index 8915a4d18ffa..e66558951203 100644
@@ -41,8 +41,6 @@
 
 #define DEVICE_ATTR_IS(_name)		(attr_id == device_attr_id__##_name)
 
-#define power_2_mwatt(power)	(((power) >> 8) * 1000 + ((power) & 0xff))
-
 struct od_attribute {
 	struct kobj_attribute	attribute;
 	struct list_head	entry;
@@ -564,25 +562,19 @@ static ssize_t amdgpu_get_pp_table(struct device *dev,
 {
 	struct drm_device *ddev = dev_get_drvdata(dev);
 	struct amdgpu_device *adev = drm_to_adev(ddev);
-	char *table = NULL;
 	int size, ret;
 
 	ret = amdgpu_pm_get_access_if_active(adev);
 	if (ret)
 		return ret;
 
-	size = amdgpu_dpm_get_pp_table(adev, &table);
+	size = amdgpu_dpm_get_pp_table(adev, buf, PAGE_SIZE - 1);
 
 	amdgpu_pm_put_access(adev);
 
 	if (size <= 0)
 		return size;
 
-	if (size >= PAGE_SIZE)
-		size = PAGE_SIZE - 1;
-
-	memcpy(buf, table, size);
-
 	return size;
 }
 
@@ -1773,7 +1765,6 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,
 {
 	struct drm_device *ddev = dev_get_drvdata(dev);
 	struct amdgpu_device *adev = drm_to_adev(ddev);
-	void *gpu_metrics;
 	ssize_t size = 0;
 	int ret;
 
@@ -1781,15 +1772,10 @@ static ssize_t amdgpu_get_gpu_metrics(struct device *dev,
 	if (ret)
 		return ret;
 
-	size = amdgpu_dpm_get_gpu_metrics(adev, &gpu_metrics);
+	size = amdgpu_dpm_get_gpu_metrics(adev, buf, PAGE_SIZE - 1);
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +4 -2
index aa3f427819a0..8d1b097a3c3c 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c +2 -2
index 55e2375e1dad..b0e0768d3d61 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c +2 -2
index d9899cf7020b..3979a9168722 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c +1 -1
index a9a85fd639b2..7f9d758670bf 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c +3 -2
index dab9b78a9fc8..e0e458412967 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h +5 -0
index 3ae45eac0c5c..576760d8d21a 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c +1 -1
index 54d3dba7d354..cfad8cd74773 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c +2 -4
index e6e009df9840..bb9620666dae 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c +4 -4
index cd0457e13f54..6dfc3b585c6b 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +4 -3
index f799e489b481..dccca6ddd5ad 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +3 -6
index d269b505aefb..83d53f17df97 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +3 -2
index 75335da224c7..175c44190caa 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c +2 -1
index 9d8b1227388f..18c0b43b93b9 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +1 -1
index acbd7046d8a5..0be34fbdac26 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c +2 -1
index fe929bd89058..8d476a60d62f 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c +2 -2
index ba91bf590eed..a9d558f5b739 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c +1 -1
index 27372a60e83d..f95b15af436d 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2 -1
index 0df8c05a7fce..13c5e75a7f40 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +1 -1
index 42c9ceeb4f7d..5d11ed8be4c3 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c +1 -1
index 7bf88ffd311b..edc3fedca9f8 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c +1 -2
index 3d73f2050bbe..568665265a13 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c +1 -1
index a6a88e7b2668..bd054cbfbae0 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_0_ppt.c +1 -2
index 6cd4c38a1341..a2b906bf9aa0 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c +2 -1
index db85186f2d66..e46418706158 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/bridge/display-connector.c +8 -3
index 16c0631adeb1..6b128fabe3a9 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/display/drm_dp_helper.c +12 -0
index a697cc227e28..51e713473ccb 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/drm_exec.c +2 -4
index 8d0601400182..746210f3f6c2 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/drm_gpuvm.c +1 -2
index 83020b6cf9ba..c422c5af1f4b 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
index 0987eee38bd1..a3bfb1be51de 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/display/intel_dp.c +8 -1
index f34da1a055dd..c12a8ee846d7 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/display/intel_hdmi.c +26 -0
index 05e898d10a2b..234866310c14 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/i915/display/intel_hdmi.h +2 -0
index be2fad57e4ad..0fa3661568e8 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/mediatek/mtk_crtc.c +3 -3
index fcb16f3f7b23..b01162a7df7f 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c +6 -1
index c0af3e3b51d5..6a259872b0a9 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/mediatek/mtk_hdmi_v2.c +0 -8
index a8eb6fd0908b..a0f4e626d889 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/panthor/panthor_fw.c +33 -14

47 lines not on this page · raw message

drivers/gpu/drm/vc4/vc4_irq.c +1 -1
index 63e88f90eef7..7248efd5fbb0 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vc4/vc4_validate.c +23 -6
index 545c4c3608f5..c0f6dfe1a6dc 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/ttm_object.c +5 -2
index 2421b0dd057c..f9042bafdc93 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_blit.c +31 -8
index 135b75a3e013..56f965ec99dc 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c +44 -5

49 lines not on this page · raw message

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +18 -2
index e1f18020170a..a9136a6523cb 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_fence.c +12 -1
index 4ef84ff9b638..384c6736cf6b 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c +2 -2
index 45561bc1c9ef..8ab88f388652 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +2 -2
index 388011696941..e3a187a2c7a1 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +9 -4
index eca4e3e97eb4..39811cf19db1 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c +9 -8
index 5abd7f5ad2db..0d499917682d 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/tests/xe_pci.c +6 -0
index 8a32fb469147..8bd0c5b03406 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_device.c +39 -17

56 lines not on this page · raw message

drivers/gpu/drm/xe/xe_device.h +2 -2
index e4b9de8d8e95..72848c5b896b 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_exec.c +16 -6
index e05dabfcd43c..d5293bc33a67 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_gt_debugfs.c +3 -1
index f45306308cd6..c38bcacb27e4 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_hw_engine.c +2 -0
index a7441a66e94c..b5a869c720af 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_hw_engine_types.h +8 -0
index e4191a7a2c31..04ca7545d22c 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_oa.c +7 -0
index d908f4e03906..5111c6519c6d 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_oa_types.h +3 -0
index b03ffd513483..c0ddfae755b6 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_pci.c +14 -1
index ad4955fe5ade..8e6ad000e6b3 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_pt.c +8 -5
index cf371c0d7b2b..a4d0d9bf0c8e 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_reg_whitelist.c +81 -6

87 lines not on this page · raw message

drivers/gpu/drm/xe/xe_reg_whitelist.h +4 -0
index 69b121d377da..f243b6ac60b7 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/xe/xe_vm.c +1 -2
index 70b71ab80272..8947fc4d722a 100644

Lines of this file are not shown. View the raw message.

drivers/hv/mshv_eventfd.c +25 -14
index 90959f639dc3..06aef99c8298 100644

Lines of this file are not shown. View the raw message.

drivers/hv/mshv_irq.c +1 -1
index b3142c84dcbc..65a4ffc82d56 100644

Lines of this file are not shown. View the raw message.

drivers/hv/mshv_portid_table.c +4 -2
index c349af1f0aaa..6f59b3e37624 100644

Lines of this file are not shown. View the raw message.

drivers/hv/mshv_root_main.c +32 -9

41 lines not on this page · raw message

drivers/hv/mshv_vtl_main.c +1 -0
index c19400701467..3ce4b4d6c11e 100644

Lines of this file are not shown. View the raw message.

drivers/hv/vmbus_drv.c +12 -1
index 23206640c613..44877664d9d0 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/adt7470.c +92 -37

129 lines not on this page · raw message

drivers/hwmon/ina2xx.c +35 -26

61 lines not on this page · raw message

drivers/hwmon/lm90.c +2 -2
index c78c96e1bd83..c56dd958429b 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/ltc4282.c +2 -2
index b9084424160d..bdbf370233d7 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/nct6775-core.c +9 -11
index d668dc390def..94482c8092cd 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/npcm750-pwm-fan.c +11 -0
index c8f5e695fb6d..d1b2c8cc60d8 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/nzxt-smart2.c +1 -1
index e2316c46629d..ff0c0bee0e83 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/pmbus/pmbus_core.c +4 -3
index 3143b9e0316c..5567d37f13fe 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/sht3x.c +5 -4
index c2f6b73aa7f3..4d90f89a9929 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-amd-mp2-plat.c +3 -1
index 188e24cc4d35..9fdd6a5fb8b6 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-bcm-iproc.c +11 -0
index b5629cffe99b..86ca4c2221c4 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-imx.c +49 -5

54 lines not on this page · raw message

drivers/i2c/busses/i2c-jz4780.c +4 -1
index 664a5471d933..695be3b21460 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-k1.c +5 -5
index 51a0c3d80fc9..3fe716cc153d 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-qcom-cci.c +1 -17
index 01e440b6585d..9bcb2b465834 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/mana/main.c +32 -8
index 307ae01bf26f..0e1727c53d5d 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/mana/mana_ib.h +14 -0
index c9c94e86a72b..da05966aff19 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/hw/mana/qp.c +61 -7

68 lines not on this page · raw message

drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c +15 -0
index ddae0b07c76b..b7a4a1b5eddd 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/io-pgfault.c +19 -5
index cca52a34d0ed..c16ff1fc4b95 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/iommufd/device.c +1 -1
index 170a7005f0bc..2895e5370910 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/iommufd/eventq.c +2 -0
index 5129e3bf5461..747dd5155121 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/iommufd/pages.c +3 -0
index 03c8379bbc34..404f31d8f729 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/iommufd/viommu.c +16 -6
index 4081deda9b33..fc13cf4737ea 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/chips-media/wave5/wave5-hw.c +3 -0
index 687ce6ccf3ae..4b85336e4b2c 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c +4 -1
index c605a91718d8..97c7ead3e72a 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/chips-media/wave5/wave5-vpuapi.h +1 -0
index c64135769869..a77569a580c7 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/c_can/c_can_main.c +4 -4
index 3702cac7fbf0..b3b321d9ce68 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/ctucanfd/ctucanfd_base.c +9 -5
index 0ea1ff28dfce..07d4aa43c700 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/ctucanfd/ctucanfd_pci.c +2 -1
index 625788fa8976..4b6db28f7b67 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/rcar/rcar_canfd.c +16 -16
index eaf8cac78038..fcc37b73ed43 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/softing/softing_fw.c +32 -14

46 lines not on this page · raw message

drivers/net/can/usb/ems_usb.c +43 -0

43 lines not on this page · raw message

drivers/net/can/usb/etas_es58x/es58x_core.c +0 -1
index b259f6109808..e1724ae79c5a 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/gs_usb.c +2 -2
index ec9a7cbbbc69..82508a865095 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c +1 -0
index e09d663e362f..efbb7bed34c9 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c +11 -2
index df737cfc5ea0..a876c7819b81 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/peak_usb/pcan_usb_core.c +0 -1
index cf48bb26d46d..079b23dd74f0 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/peak_usb/pcan_usb_fd.c +39 -1
index eb4f5884ad73..45ae4611ae4c 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/peak_usb/pcan_usb_pro.c +16 -4
index 4bfa8d0fbb32..ac22d7718299 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/mt7530-mdio.c +9 -2
index 11ea924a9f35..784dd58a7158 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/mt7530.c +38 -48

86 lines not on this page · raw message

drivers/net/ethernet/intel/e1000/e1000_main.c +1 -1
index 9b09eb144b81..d7f5c6f16142 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_dpll.c +12 -7
index 5f6f29142e30..14dfddc85d1c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_ethtool.c +5 -5
index cf6f3bd29f84..4c1672c27ce8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_main.c +10 -0
index e2fd2dab03e3..d88835482d3a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_vf_lib.c +27 -0
index 9052e71e9c99..a54cb2b8d3c7 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_vf_lib_private.h +1 -0
index 5392b0404986..321d29c25b7c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/virt/queues.c +21 -0
index 31be2f76181c..431c9c546b04 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_dev.c +1 -1
index 1a0c71c95ef1..4079a787657f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_lib.c +1 -1
index cf966fe6c759..bb81e620c5c8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_txrx.c +1 -4
index f6b3b15364ff..bddb601ee411 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_txrx.h +1 -1
index 4be5b3b6d3ed..908dfa28674e 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_vf_dev.c +1 -1
index a07d7e808ca9..6726084f6cfa 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_virtchnl.c +3 -2
index dc5ad784f456..8bd6cca64c9b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/idpf/idpf_virtchnl.h +1 -1
index 6876e3ed9d1b..9b1c9c86f6ea 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/igbvf/netdev.c +0 -2
index 5d04541072b3..88c6ce5040e2 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/igc/igc_main.c +1 -2
index c470d2354ce8..c0508d261592 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/af/cgx.c +12 -0
index 2e94d5105016..f5fd6138c352 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/af/cgx.h +1 -0
index 92ccf343dfe0..8411a75dd723 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/af/mbox.h +1 -0
index 44fdd6ba7307..714e47f68d93 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/af/rvu.h +2 -0
index 65397daae4c2..635a7630238e 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c +79 -0

79 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +69 -28

97 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c +33 -16

49 lines not on this page · raw message

drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +3 -5
index 617a0db97e80..c995f2900859 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
index 5d291e50a47b..351444fb4871 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en.h +0 -1
index d507289096c2..6867a5aed42c 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_main.c +0 -7
index fd442109aea8..7d1063c7bf64 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_stats.c +9 -10
index 8632b73179cb..bba51e198d73 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/microsoft/mana/mana_en.c +91 -52

143 lines not on this page · raw message

drivers/net/ethernet/microsoft/mana/mana_ethtool.c +22 -1
index 6a4b42fe0944..a9440c4b8825 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/nvidia/forcedeth.c +2 -2
index 5b0435d7bc39..58d3e55def48 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qede/qede_main.c +22 -22

44 lines not on this page · raw message

drivers/net/ethernet/realtek/rtase/rtase_main.c +3 -0
index a57a525327a3..bc9b14614f7a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c +8 -6
index 5051ada43d2f..70cf3619555f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +2 -1
index 755f48a34314..f28367fbcaf8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/wangxun/libwx/wx_lib.c +2 -0
index 5c2cd5756f8a..a553365b6994 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/phylink.c +15 -14
index 087ac63f9193..18d2ead97aa5 100644

Lines of this file are not shown. View the raw message.

drivers/net/veth.c +2 -2
index 1c5142149175..00e34afd858e 100644

Lines of this file are not shown. View the raw message.

drivers/net/vxlan/vxlan_core.c +14 -7
index 36c61f4f9b4d..32613e40b3ba 100644

Lines of this file are not shown. View the raw message.

drivers/net/vxlan/vxlan_mdb.c +2 -2
index af7a0d7f95a5..9a9038ae90c1 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath12k/mac.c +4 -1
index 7408c2577dc2..d13fb31d1301 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +1 -1
index 610ec8302adf..9deb47f22a61 100644

Lines of this file are not shown. View the raw message.

drivers/of/address.c +16 -6
index cf4aab11e9b1..499d37ceae21 100644

Lines of this file are not shown. View the raw message.

drivers/of/of_reserved_mem.c +11 -3
index deaea58c74f2..47041d195dff 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pci-imx6.c +6 -3
index 38b2d8262e51..ac0c465263af 100644

Lines of this file are not shown. View the raw message.

drivers/phy/qualcomm/phy-qcom-m31-eusb2.c +1 -1
index 68f1ba8fec4a..9434bd22ef32 100644

Lines of this file are not shown. View the raw message.

drivers/phy/xilinx/phy-zynqmp.c +45 -17

62 lines not on this page · raw message

drivers/pinctrl/Kconfig +2 -0
index 75131b6e6eea..33278057b24d 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/devicetree.c +4 -0
index 02a271dd292f..465b43092eb7 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-amd.c +1 -2
index e3128b0045d2..15a398bb3be2 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/qcom/pinctrl-msm.c +4 -4
index 45b3a2763eb8..6a24f9b5e4a9 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/qcom/pinctrl-sc8280xp.c +11 -10
index 4056b9fa32f8..e018bd11626c 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/bq25890_charger.c +1 -1
index 868e86e1749b..f246ec871d5c 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/macsmc-power.c +45 -7

52 lines not on this page · raw message

drivers/power/supply/max17040_battery.c +5 -1
index 48453508688a..f4748adec092 100644

Lines of this file are not shown. View the raw message.

drivers/ptp/ptp_netc.c +12 -3
index 5e381c354d74..1c20d7efab92 100644

Lines of this file are not shown. View the raw message.

drivers/s390/block/dasd_eckd.c +7 -4
index 14e58c336baa..b05ca904c4bc 100644

Lines of this file are not shown. View the raw message.

drivers/s390/block/dasd_ioctl.c +1 -1
index c85ee42732a3..e5b8b413f5ab 100644

Lines of this file are not shown. View the raw message.

drivers/s390/crypto/pkey_cca.c +5 -10
index 4bc47952324e..e8dc2f77c137 100644

Lines of this file are not shown. View the raw message.

drivers/s390/crypto/zcrypt_api.c +3 -1
index d6a455df228d..6111efd9489a 100644

Lines of this file are not shown. View the raw message.

drivers/s390/crypto/zcrypt_ccamisc.c +73 -16

89 lines not on this page · raw message

drivers/s390/crypto/zcrypt_ccamisc.h +3 -3
index 06507363947b..acd15641b749 100644

Lines of this file are not shown. View the raw message.

drivers/s390/net/qeth_core_main.c +3 -0
index cf5f760d0e02..4973ce3936e6 100644

Lines of this file are not shown. View the raw message.

drivers/s390/scsi/zfcp_aux.c +1 -0
index 8ff7db7921b5..fea573e00f9d 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/hisi_sas/hisi_sas_v3_hw.c +1 -9
index 213d5b5dea94..8a2500993e19 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libiscsi.c +1 -1
index 25857d6ed6e8..1b4e6af37c92 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libiscsi_tcp.c +1 -7
index e90805ba868f..7223bb18b048 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_init.c +18 -19
index 0bec236f0fb5..c3f3d05b46de 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_scsi_host.c +15 -0
index c83282733ec4..97ac3db5dccb 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpi3mr/mpi3mr_fw.c +7 -2
index 31b19ed1528e..681868716ebd 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/scsi_debug.c +6 -2
index 040c5e1e713a..615618aa11f4 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-cadence.c +16 -10
index 891e2ba36958..2f549e668ae6 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-nxp-fspi.c +80 -3

83 lines not on this page · raw message

drivers/spi/spi-qcom-qspi.c +2 -1
index 7e39038160e0..1ac605f1f19a 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-qpic-snand.c +18 -4
index 66f2d1b78ade..b6c58d9cfe14 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_iblock.c +3 -3
index 1087d1d17c36..ea65d39fef88 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_transport.c +10 -2
index fad03a15c969..dcfe94594916 100644

Lines of this file are not shown. View the raw message.

drivers/thunderbolt/xdomain.c +30 -10
index 1fd1cf4295a2..55f91ead8f13 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufs-rpmb.c +0 -2
index ffad049872b9..62120dc2e9da 100644

Lines of this file are not shown. View the raw message.

drivers/ufs/core/ufshcd.c +8 -38

46 lines not on this page · raw message

drivers/usb/typec/ucsi/ucsi.c +47 -43

90 lines not on this page · raw message

drivers/usb/typec/ucsi/ucsi.h +1 -0
index dd64ddc42118..a73c99ce6b00 100644

Lines of this file are not shown. View the raw message.

fs/afs/fsclient.c +4 -1
index a2ffd60889f8..1a3f186a6a11 100644

Lines of this file are not shown. View the raw message.

fs/afs/internal.h +2 -1
index 601f01e5c15f..290873bac89b 100644

Lines of this file are not shown. View the raw message.

fs/binfmt_misc.c +34 -20

54 lines not on this page · raw message

fs/btrfs/block-group.c +19 -15
index b611c64119db..a9a9b53fea25 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/block-rsv.c +17 -2
index 9efb3016ef11..c68a8f4b7d19 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/disk-io.c +49 -9

58 lines not on this page · raw message

fs/btrfs/extent_io.c +0 -6
index f0bfa8a6218a..741fd1d4ab2e 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/extent_io.h +6 -0
index b310a5145cf6..7b4152387d88 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/fs.h +9 -0
index a8aa086a4df8..0292246db614 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/raid56.c +8 -7
index 08ee8f316d96..09cb9d7f5e56 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/super.c +5 -3
index ba70d727622e..ba0b31e5816b 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/zoned.c +26 -1
index 0d590e81f325..e9d72401d328 100644

Lines of this file are not shown. View the raw message.

fs/erofs/Kconfig +16 -20
index 97c48ebe8458..8ca1767dafb6 100644

Lines of this file are not shown. View the raw message.

fs/erofs/Makefile +0 -1
index a80e1762b607..30423496786f 100644

Lines of this file are not shown. View the raw message.

fs/erofs/data.c +1 -3
index 44da21c9d777..af846bab1368 100644

Lines of this file are not shown. View the raw message.

fs/erofs/decompressor_lzma.c +2 -1
index f6692d0f2f04..6b0cdb446c6a 100644

Lines of this file are not shown. View the raw message.

fs/erofs/fscache.c deleted +0 -664

664 lines not on this page · raw message

fs/erofs/inode.c +1 -1
index e0c47da4f09e..45afe5c50de8 100644

Lines of this file are not shown. View the raw message.

fs/erofs/internal.h +5 -71

76 lines not on this page · raw message

fs/erofs/ishare.c +47 -56

103 lines not on this page · raw message

fs/erofs/super.c +18 -76

94 lines not on this page · raw message

fs/erofs/zdata.c +0 -6
index c6240dccbb0f..5fa6651147ea 100644

Lines of this file are not shown. View the raw message.

fs/iomap/ioend.c +19 -2
index 2d5611f6cc57..9fe0aea8e8d9 100644

Lines of this file are not shown. View the raw message.

fs/netfs/buffered_read.c +6 -4
index 76d0f6a29aba..6c2192bb49cf 100644

Lines of this file are not shown. View the raw message.

fs/netfs/internal.h +1 -0
index 645996ecfc80..acdd54334991 100644

Lines of this file are not shown. View the raw message.

fs/netfs/main.c +7 -0
index 73da6c9f5777..927badf3989d 100644

Lines of this file are not shown. View the raw message.

fs/netfs/objects.c +17 -13
index b8c4918d3dcd..01461a74642d 100644

Lines of this file are not shown. View the raw message.

fs/netfs/read_pgpriv2.c +2 -1
index a1489aa29f78..c31190993b76 100644

Lines of this file are not shown. View the raw message.

fs/netfs/rolling_buffer.c +13 -9
index a17fbf9853a4..8c0026836f9c 100644

Lines of this file are not shown. View the raw message.

fs/netfs/write_issue.c +10 -5
index d0d884731dc5..0e5f0f259bd0 100644

Lines of this file are not shown. View the raw message.

fs/ntfs/attrib.c +10 -0
index 0f1d0b54cfb5..22338ad54127 100644

Lines of this file are not shown. View the raw message.

fs/ntfs/namei.c +2 -1
index a20ef0608736..712c9ccc8b25 100644

Lines of this file are not shown. View the raw message.

fs/ntfs/runlist.c +27 -23

50 lines not on this page · raw message

fs/ocfs2/dir.c +3 -2
index 8e6b03238327..d7fc3cccf2f4 100644

Lines of this file are not shown. View the raw message.

fs/proc/task_mmu.c +30 -4
index 29f4bdf6e4ab..436e1c1d11f4 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/cifssmb.c +9 -3
index 9e27bfa7376b..024c5d462424 100644

Lines of this file are not shown. View the raw message.

fs/smb/client/inode.c +1 -0
index 56e54f8017b0..ed045f467cc4 100644

Lines of this file are not shown. View the raw message.

fs/smb/server/connection.h +5 -0
index e074be942582..c6db56ff56ef 100644

Lines of this file are not shown. View the raw message.

fs/smb/server/smb2pdu.c +4 -10
index c29850170b31..4781b6a92b40 100644

Lines of this file are not shown. View the raw message.

fs/smb/server/smb_common.c +30 -7
index 741aabdfcef5..e87dbbbf79c7 100644

Lines of this file are not shown. View the raw message.

fs/smb/server/vfs_cache.c +5 -1
index aa0924c9fdf9..c7d49aac7470 100644

Lines of this file are not shown. View the raw message.

include/acpi/cppc_acpi.h +3 -2
index d1f02ceec4f9..4391b9f0f5eb 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_exec.h +12 -8
index aa786b828a0a..dee6ebdbe416 100644

Lines of this file are not shown. View the raw message.

include/hyperv/hvhdk_mini.h +2 -1
index b4cb2fa26e9b..035ba20870f7 100644

Lines of this file are not shown. View the raw message.

include/kvm/arm_vgic.h +0 -3
index 1388dc6028a9..700d6c519d13 100644

Lines of this file are not shown. View the raw message.

include/linux/alloc_tag.h +3 -0
index 02de2ede560f..7e7cdc7612be 100644

Lines of this file are not shown. View the raw message.

include/linux/dma/qcom_bam_dma.h +16 -5
index 68fc0e643b1b..d9d07a9ab313 100644

Lines of this file are not shown. View the raw message.

include/linux/ethtool.h +1 -0
index 1cb0740ba331..091d382f0a2d 100644

Lines of this file are not shown. View the raw message.

include/linux/iommu.h +5 -0
index 695714426379..9b3a5448c441 100644

Lines of this file are not shown. View the raw message.

include/linux/libata.h +5 -1
index 127229fbd1a6..3b73a5b245d8 100644

Lines of this file are not shown. View the raw message.

include/linux/memcontrol.h +25 -0
index dc3fa687759b..cb1461ead162 100644

Lines of this file are not shown. View the raw message.

include/linux/netfilter/nf_conntrack_sip.h +1 -1
index dbc614dfe0d5..aafa0c04f917 100644

Lines of this file are not shown. View the raw message.

include/linux/netfs.h +1 -0
index 243c0f737938..7b2daadffe19 100644

Lines of this file are not shown. View the raw message.

include/linux/rolling_buffer.h +3 -3
index ac15b1ffdd83..9e5dad29669c 100644

Lines of this file are not shown. View the raw message.

include/linux/slab.h +17 -2
index 1a69255bb87f..739f474c5d92 100644

Lines of this file are not shown. View the raw message.

include/linux/thunderbolt.h +3 -0
index 0ba112175bb3..7204586c10c3 100644

Lines of this file are not shown. View the raw message.

include/net/bluetooth/hci_core.h +3 -1
index 02ba1cba6b23..2c15c9d8dbf7 100644

Lines of this file are not shown. View the raw message.

include/net/ip_vs.h +37 -8

45 lines not on this page · raw message

include/net/mana/mana.h +12 -3
index 4111b93169d2..f8e05456888e 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_conntrack_expect.h +3 -0
index c024345c9bd8..26d6babd92fc 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_tables.h +3 -1
index 9d844354c4d9..3be612145c13 100644

Lines of this file are not shown. View the raw message.

include/net/xdp_sock.h +1 -0
index ebac60a3d8a1..8b51876efbed 100644

Lines of this file are not shown. View the raw message.

include/net/xsk_buff_pool.h +7 -2
index ccb3b350001f..2bb1d122b1bc 100644

Lines of this file are not shown. View the raw message.

include/scsi/libsas.h +2 -1
index 163f23c92b41..619892098f52 100644

Lines of this file are not shown. View the raw message.

io_uring/cancel.c +1 -1
index 4aa3103ba9c3..4a10e078a609 100644

Lines of this file are not shown. View the raw message.

io_uring/net.c +1 -0
index bf60cd393b11..18cf4726e791 100644

Lines of this file are not shown. View the raw message.

io_uring/tctx.c +6 -1
index 42b219b34aa8..67504ecc8fcc 100644

Lines of this file are not shown. View the raw message.

io_uring/tctx.h +1 -0
index 2310d2a0c46d..76ad1ad4594e 100644

Lines of this file are not shown. View the raw message.

kernel/audit.c +9 -2
index 562476937fa7..9412af9144bc 100644

Lines of this file are not shown. View the raw message.

kernel/auditfilter.c +4 -2
index 4401119b5275..7f791afe5791 100644

Lines of this file are not shown. View the raw message.

kernel/events/uprobes.c +1 -1
index 4084e926e284..6300b216012c 100644

Lines of this file are not shown. View the raw message.

kernel/sched/cpufreq_schedutil.c +11 -0
index a4e689eefdfb..dff4ee04694c 100644

Lines of this file are not shown. View the raw message.

kernel/sched/deadline.c +2 -1
index 7db4c87df83b..e5a7701a8af7 100644

Lines of this file are not shown. View the raw message.

kernel/trace/fprobe.c +2 -4
index f215990b9061..f681015413b8 100644

Lines of this file are not shown. View the raw message.

kernel/trace/ring_buffer.c +2 -0
index da9339466bdd..d2e2cf18bfdb 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events.c +2 -2
index 956692856fa8..c01b10b99f67 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events_filter.c +3 -0
index 6385cd662d8d..2b46ca536045 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_fprobe.c +11 -1
index 9f5f08c0e7c2..3120403a5b60 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_mmiotrace.c +11 -2
index b88b8d9923ad..df8692c2dea8 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_probe.c +5 -1
index 2ad377d02b61..64afadf6a994 100644

Lines of this file are not shown. View the raw message.

lib/alloc_tag.c +9 -0
index a9ab88f416b9..e3a923594604 100644

Lines of this file are not shown. View the raw message.

lib/assoc_array.c +2 -1
index bcc6e0a013eb..b6c9723e12ce 100644

Lines of this file are not shown. View the raw message.

lib/test_fortify/Makefile +1 -0
index 399cae880e1d..44cd5df41a81 100644

Lines of this file are not shown. View the raw message.

lib/test_hmm.c +1 -1
index 1e2b76e79c74..54a10b5622f4 100644

Lines of this file are not shown. View the raw message.

mm/huge_memory.c +13 -1
index 6f241cddd7db..7a44c428d187 100644

Lines of this file are not shown. View the raw message.

mm/hugetlb.c +8 -4
index 571212b80835..e93c4d2456aa 100644

Lines of this file are not shown. View the raw message.

mm/memcontrol-v1.h +5 -1
index f92f81108d5e..4fa6e2bc8413 100644

Lines of this file are not shown. View the raw message.

mm/migrate_device.c +3 -2
index 19cd14b34114..17074c2573b9 100644

Lines of this file are not shown. View the raw message.

mm/mm_init.c +11 -4
index bd466a3c10c8..c7e498fc1c4c 100644

Lines of this file are not shown. View the raw message.

mm/page_reporting.c +4 -2
index 7418f2e500bb..4dc6f4b85223 100644

Lines of this file are not shown. View the raw message.

mm/percpu-km.c +1 -1
index 4efa74a495cb..dc096b5a6ce4 100644

Lines of this file are not shown. View the raw message.

mm/slab.h +26 -2
index bf2f87acf5e3..50414bd2b919 100644

Lines of this file are not shown. View the raw message.

mm/slab_common.c +13 -0
index 8b661fff5eed..214374233fb8 100644

Lines of this file are not shown. View the raw message.

mm/slub.c +36 -61

97 lines not on this page · raw message

mm/util.c +1 -1
index 3cc949a0b7ed..3b26f5bf9201 100644

Lines of this file are not shown. View the raw message.

mm/vmscan.c +4 -7
index bd1b1aa12581..1af6c96d1bc1 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_conn.c +13 -1
index eba4a548bef5..fb96d019cf85 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_sync.c +151 -65

216 lines not on this page · raw message

net/bluetooth/hidp/core.c +18 -12
index 70344bd3248a..4a01272f263f 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/iso.c +192 -81

273 lines not on this page · raw message

net/bluetooth/l2cap_core.c +5 -0
index 189085000c73..6585f08fe4a1 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/mgmt.c +64 -20

84 lines not on this page · raw message

net/bluetooth/sco.c +13 -9
index b2c51f3ebc40..3add30e72f71 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_mrp.c +1 -1
index f1aa67f7a051..460be392af47 100644

Lines of this file are not shown. View the raw message.

net/bridge/br_multicast.c +1 -0
index 2eef4f3345cd..710844f5e473 100644

Lines of this file are not shown. View the raw message.

net/can/isotp.c +239 -91

330 lines not on this page · raw message

net/can/j1939/bus.c +2 -0
index dc374286eeb6..cdc3c0a71937 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/j1939-priv.h +3 -0
index 81f58924b4ac..cf26352d1d8c 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/main.c +4 -4
index 9937c04241bc..5e5e6c228f22 100644

Lines of this file are not shown. View the raw message.

net/can/j1939/transport.c +3 -1
index 8a31cb23bc76..8fcfd13e5e6f 100644

Lines of this file are not shown. View the raw message.

net/core/lwt_bpf.c +3 -1
index bf588f508b79..652952d416f2 100644

Lines of this file are not shown. View the raw message.

net/core/pktgen.c +1 -3
index 8e185b318288..ee64f3012321 100644

Lines of this file are not shown. View the raw message.

net/core/skbuff.c +12 -6
index 8eab8eb5006a..a5cdcc0fc55e 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fou_core.c +1 -1
index 6bed0e1dbe0e..73e5652e3ef5 100644

Lines of this file are not shown. View the raw message.

net/ipv4/netfilter/nf_nat_h323.c +7 -15
index 183e8a3ff2ba..6bcd6734769b 100644

Lines of this file are not shown. View the raw message.

net/ipv4/nexthop.c +17 -8
index dc95a3d6e899..1bfc429fc960 100644

Lines of this file are not shown. View the raw message.

net/ipv4/route.c +0 -2
index 3d62d45d84bd..7cc9a7336c30 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp_tunnel_nic.c +17 -15
index 3b32a0afa979..53a1a9c1f8bf 100644

Lines of this file are not shown. View the raw message.

net/ipv6/fib6_rules.c +1 -0
index e1b2b4fa6e18..89ee3c969ca7 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_fib.c +1 -0
index 414fc3c56736..b4641bfffdf3 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_output.c +1 -1
index b5d9c57fe439..634f581e1711 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ndisc.c +2 -0
index f867ec8d3d90..fe36b3f51285 100644

Lines of this file are not shown. View the raw message.

net/mac80211/agg-tx.c +3 -1
index 4833b46770b6..0832213430f4 100644

Lines of this file are not shown. View the raw message.

net/mac80211/s1g.c +4 -0
index 5af4a0c6c642..abc338e22e59 100644

Lines of this file are not shown. View the raw message.

net/mpls/af_mpls.c +1 -0
index 35069183f59c..1ad5a2d9b6cd 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipset/ip_set_hash_gen.h +1 -1
index dedf59b661dd..a3ed683cc47e 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipvs/ip_vs_app.c +2 -2
index b0e00be85cb1..11cbdbaf561d 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipvs/ip_vs_conn.c +150 -42

192 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_core.c +95 -95

190 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_proto_sctp.c +11 -8
index c67317be17df..3dbd3096e163 100644

Lines of this file are not shown. View the raw message.

net/netfilter/ipvs/ip_vs_proto_tcp.c +10 -38

48 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_proto_udp.c +13 -41

54 lines not on this page · raw message

net/netfilter/ipvs/ip_vs_xmit.c +30 -12

42 lines not on this page · raw message

net/netfilter/nf_conntrack_expect.c +34 -1
index 38630c5e006f..16520a41fe5f 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_conntrack_sip.c +1 -1
index f3f90a866338..e4a70d1d77b0 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_nat_sip.c +7 -15
index aea02f6aff09..133bd713fe0c 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +16 -18
index e1db3e678656..c89e55ffc77d 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_payload.c +1 -11
index 4438d05f8018..8ffa864a2195 100644

Lines of this file are not shown. View the raw message.

net/netfilter/xt_hashlimit.c +15 -1
index 2704b4b60d1e..9af0fa895f73 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/actions.c +10 -2
index 513fca6a8e8a..dc5ff859f114 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/meter.c +19 -14
index a02c47277337..4aaeeae3af5b 100644

Lines of this file are not shown. View the raw message.

net/rds/tcp.c +5 -3
index 76f441cbf50e..c20dc6d5ca65 100644

Lines of this file are not shown. View the raw message.

net/sched/cls_u32.c +7 -0
index 8f30cc82181d..ac98b1c2144a 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_cake.c +5 -3
index b967b7153ad3..8965fe252471 100644

Lines of this file are not shown. View the raw message.

net/sctp/associola.c +3 -0
index 62d3cc155809..b6ac0966420a 100644

Lines of this file are not shown. View the raw message.

net/sctp/sm_make_chunk.c +13 -4
index c02809264075..0ae30c3c8913 100644

Lines of this file are not shown. View the raw message.

net/smc/smc_core.c +1 -1
index e2d083daeb7e..c10edd3fe6b9 100644

Lines of this file are not shown. View the raw message.

net/tipc/socket.c +1 -1
index d86f1cfdc364..ae40dc072db4 100644

Lines of this file are not shown. View the raw message.

net/unix/af_unix.c +1 -0
index 0d9cd977c7b7..bb01d5371dc8 100644

Lines of this file are not shown. View the raw message.

net/xdp/xsk.c +224 -31

255 lines not on this page · raw message

net/xdp/xsk_buff_pool.c +9 -4
index d981cfdd8535..4538223f4408 100644

Lines of this file are not shown. View the raw message.

net/xdp/xsk_queue.h +47 -18

65 lines not on this page · raw message

security/keys/keyring.c +8 -6
index 7a2ee0ded7c9..15bf4af8f282 100644

Lines of this file are not shown. View the raw message.

security/keys/trusted-keys/trusted_dcp.c +11 -4
index 7b6eb655df0c..c078adebe190 100644

Lines of this file are not shown. View the raw message.

sound/core/pcm_native.c +7 -0
index aa3344169685..a4e3d8ba4d4d 100644

Lines of this file are not shown. View the raw message.

sound/core/seq/seq_timer.c +4 -5
index 94a2f243a798..fe5c12b0be81 100644

Lines of this file are not shown. View the raw message.

sound/core/timer.c +2 -0
index 72d78902e9d5..373e26dc5958 100644

Lines of this file are not shown. View the raw message.

sound/core/ump.c +1 -0
index 70520c7ca293..632c13baf21e 100644

Lines of this file are not shown. View the raw message.

sound/hda/codecs/realtek/alc269.c +3 -1
index 427caf08145d..bfbdb88e2c0f 100644

Lines of this file are not shown. View the raw message.

sound/pci/lx6464es/lx6464es.c +1 -4
index 96df00db51d5..3b40ec071379 100644

Lines of this file are not shown. View the raw message.

sound/pci/lx6464es/lx_core.c +1 -4
index 6f0843cfb3be..9909f1067871 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/max98090.c +3 -2
index 13a15459040f..595efd84b62b 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/max98095.c +3 -2
index aae6423156e1..207374e45181 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/tas2562.c +19 -11
index adc4fdef3bee..1c36c910f47a 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/tas2781-i2c.c +2 -2
index a78a8f9b9833..775c3767bf3a 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_asrc.c +1 -1
index 5fda9b647c70..f23c21032287 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_easrc.c +1 -1
index 114a6c0b6b73..8535ef844ce0 100644

Lines of this file are not shown. View the raw message.

sound/soc/sdca/sdca_device.c +1 -1
index 405e80b979de..4bcd8d1fdff8 100644

Lines of this file are not shown. View the raw message.

sound/soc/sdca/sdca_fdl.c +4 -1
index 994821a6df61..60fdd406220d 100644

Lines of this file are not shown. View the raw message.

sound/soc/sdca/sdca_functions.c +2 -0
index 196bade11ab5..ecc372a39757 100644

Lines of this file are not shown. View the raw message.

sound/soc/sdca/sdca_ump.c +2 -2
index a86bb28c6d0a..82a8bf75bbca 100644

Lines of this file are not shown. View the raw message.

sound/soc/sophgo/cv1800b-sound-adc.c +8 -2
index b66761156b99..bd93e261bdd1 100644

Lines of this file are not shown. View the raw message.

sound/usb/6fire/chip.c +4 -0
index 2c5648966412..6cf410a92fa2 100644

Lines of this file are not shown. View the raw message.

sound/usb/endpoint.c +9 -5
index 24cd7692bd01..dca06ba1c67e 100644

Lines of this file are not shown. View the raw message.

sound/usb/midi.c +2 -0
index d87e3f357cf7..f8996416c3be 100644

Lines of this file are not shown. View the raw message.

sound/usb/midi2.c +3 -1
index 3ec633291772..83980fb83ac8 100644

Lines of this file are not shown. View the raw message.

sound/usb/mixer_quirks.c +1 -1
index 06d111e687eb..9da0eafc917c 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/clone3/clone3_set_tid.c +1 -1
index 5c944aee6b41..485efa7c9eed 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/filesystems/fclog.c +1 -3
index 551c4a0f395a..593a5136e991 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/lkdtm/tests.txt +1 -1
index 3245032db34d..444040ca5168 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/mm/mlock-random-test.c +1 -1
index 9d349c151360..16294bc7dae6 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/mm/pagemap_ioctl.c +55 -1

56 lines not on this page · raw message

tools/testing/selftests/net/af_unix/.gitignore +1 -0
index 240b26740c9e..973176644103 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/af_unix/Makefile +1 -0
index 4c0375e28bbe..57d159803a3a 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/af_unix/unix_listen.c new file +187 -0

187 lines not on this page · raw message

tools/testing/selftests/net/netfilter/nft_flowtable.sh +12 -2
index 08ad07500e8a..d9a21ca8ed2c 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/seccomp/seccomp_bpf.c +2 -1
index 358b6c65e120..0622bc2acad4 100644

Lines of this file are not shown. View the raw message.

tools/tracing/rtla/src/timerlat_top.c +1 -1
index 035abf01dbe6..d625b76a3167 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 7.1.8 kernel.

All users of the 7.1 kernel series must upgrade.

The updated 7.1.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-7.1.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Documentation/arch/arm64/silicon-errata.rst                                      |    4 
 Documentation/devicetree/bindings/ufs/qcom,sa8255p-ufshc.yaml                    |    9 
 Documentation/filesystems/erofs.rst                                              |    9 
 Documentation/networking/af_xdp.rst                                              |   54 
 Documentation/virt/kvm/api.rst                                                   |    6 
 Makefile                                                                         |   10 
 arch/arm64/include/asm/kvm_hypevents.h                                           |    1 
 arch/arm64/kvm/arm.c                                                             |   25 
 arch/arm64/kvm/hyp/nvhe/hyp-main.c                                               |    1 
 arch/arm64/kvm/hyp_trace.c                                                       |   36 
 arch/arm64/kvm/mmu.c                                                             |    4 
 arch/arm64/kvm/vgic/vgic-its.c                                                   |   25 
 arch/arm64/kvm/vgic/vgic-v3.c                                                    |    8 
 arch/arm64/kvm/vgic/vgic.c                                                       |   18 
 arch/powerpc/boot/simpleboot.c                                                   |    2 
 arch/powerpc/boot/treeboot-akebono.c                                             |    2 
 arch/powerpc/boot/treeboot-currituck.c                                           |    2 
 arch/powerpc/platforms/ps3/mm.c                                                  |    1 
 arch/riscv/Makefile                                                              |    2 
 arch/riscv/kernel/unaligned_access_speed.c                                       |    4 
 arch/riscv/mm/init.c                                                             |    7 
 arch/s390/kvm/pci.c                                                              |  107 +
 arch/s390/kvm/pci.h                                                              |    2 
 arch/s390/pci/pci_mmio.c                                                         |    1 
 arch/um/drivers/vector_kern.c                                                    |    3 
 arch/x86/boot/string.c                                                           |   11 
 arch/x86/kernel/cpu/amd.c                                                        |    4 
 arch/x86/kvm/svm/avic.c                                                          |    8 
 arch/x86/kvm/vmx/vmx_ops.h                                                       |    8 
 arch/x86/kvm/x86.c                                                               |    6 
 drivers/accel/qaic/qaic_control.c                                                |    2 
 drivers/acpi/cppc_acpi.c                                                         |   29 
 drivers/ata/ahci_ceva.c                                                          |   18 
 drivers/ata/libata-eh.c                                                          |   37 
 drivers/ata/libata-sata.c                                                        |    2 
 drivers/ata/libata-scsi.c                                                        |  119 +
 drivers/ata/libata.h                                                             |    3 
 drivers/ata/sata_mv.c                                                            |    2 
 drivers/block/ublk_drv.c                                                         |    9 
 drivers/bluetooth/btintel.c                                                      |    3 
 drivers/bluetooth/btmtk.c                                                        |   86 -
 drivers/bluetooth/btusb.c                                                        |   30 
 drivers/cpufreq/cppc_cpufreq.c                                                   |   33 
 drivers/cpufreq/powernow-k8.c                                                    |    1 
 drivers/dibs/dibs_loopback.c                                                     |   47 
 drivers/dma/idxd/cdev.c                                                          |    4 
 drivers/dma/idxd/init.c                                                          |   36 
 drivers/dma/sun6i-dma.c                                                          |   11 
 drivers/dma/switchtec_dma.c                                                      |    2 
 drivers/gpio/gpio-by-pinctrl.c                                                   |   18 
 drivers/gpio/gpio-pca953x.c                                                      |   15 
 drivers/gpio/gpio-pch.c                                                          |   28 
 drivers/gpio/gpio-sloppy-logic-analyzer.c                                        |   10 
 drivers/gpio/gpiolib.c                                                           |   13 
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c                                           |   39 
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c                                      |    9 
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                                          |   15 
 drivers/gpu/drm/amd/amdgpu/amdgpu_eviction_fence.c                               |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c                                          |    4 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                                          |   12 
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c                                         |   10 
 drivers/gpu/drm/amd/amdkfd/kfd_events.c                                          |   23 
 drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c                           |    2 
 drivers/gpu/drm/amd/amdkfd/kfd_queue.c                                           |    2 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                                |  243 ++-
 drivers/gpu/drm/amd/display/dc/core/dc.c                                         |   45 
 drivers/gpu/drm/amd/display/dc/dc.h                                              |    1 
 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c                            |   20 
 drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c                        |   15 
 drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c |   31 
 drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c                          |   16 
 drivers/gpu/drm/amd/display/dc/link/link_dpms.c                                  |   16 
 drivers/gpu/drm/amd/include/kgd_pp_interface.h                                   |    6 
 drivers/gpu/drm/amd/pm/amdgpu_dpm.c                                              |   39 
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                                               |   29 
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h                                          |    6 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c                              |    4 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c                            |    4 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c                            |    2 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c                            |    5 
 drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h                                     |    5 
 drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c                                |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c                          |    6 
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c                                  |    8 
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c                          |    7 
 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c                                 |    9 
 drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c                                  |    5 
 drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c                               |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c                             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c                            |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c                             |    4 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c                             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c                             |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c                             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c                             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c                             |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c                             |    2 
 drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_0_ppt.c                             |    3 
 drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c                             |    3 
 drivers/gpu/drm/bridge/display-connector.c                                       |   11 
 drivers/gpu/drm/display/drm_dp_helper.c                                          |   12 
 drivers/gpu/drm/drm_exec.c                                                       |    6 
 drivers/gpu/drm/drm_gpuvm.c                                                      |    3 
 drivers/gpu/drm/i915/display/intel_ddi.c                                         |    2 
 drivers/gpu/drm/i915/display/intel_dp.c                                          |    9 
 drivers/gpu/drm/i915/display/intel_hdmi.c                                        |   26 
 drivers/gpu/drm/i915/display/intel_hdmi.h                                        |    2 
 drivers/gpu/drm/mediatek/mtk_crtc.c                                              |    6 
 drivers/gpu/drm/mediatek/mtk_disp_ovl_adaptor.c                                  |    7 
 drivers/gpu/drm/mediatek/mtk_hdmi_v2.c                                           |    8 
 drivers/gpu/drm/panthor/panthor_fw.c                                             |   47 
 drivers/gpu/drm/vc4/vc4_irq.c                                                    |    2 
 drivers/gpu/drm/vc4/vc4_validate.c                                               |   29 
 drivers/gpu/drm/vmwgfx/ttm_object.c                                              |    7 
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c                                             |   39 
 drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c                                     |   49 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c                                          |   20 
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c                                            |   13 
 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c                                       |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c                                         |    4 
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c                                           |   13 
 drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c                                             |   17 
 drivers/gpu/drm/xe/tests/xe_pci.c                                                |    6 
 drivers/gpu/drm/xe/xe_device.c                                                   |   56 
 drivers/gpu/drm/xe/xe_device.h                                                   |    4 
 drivers/gpu/drm/xe/xe_exec.c                                                     |   22 
 drivers/gpu/drm/xe/xe_gt_debugfs.c                                               |    4 
 drivers/gpu/drm/xe/xe_hw_engine.c                                                |    2 
 drivers/gpu/drm/xe/xe_hw_engine_types.h                                          |    8 
 drivers/gpu/drm/xe/xe_oa.c                                                       |    7 
 drivers/gpu/drm/xe/xe_oa_types.h                                                 |    3 
 drivers/gpu/drm/xe/xe_pci.c                                                      |   15 
 drivers/gpu/drm/xe/xe_pt.c                                                       |   13 
 drivers/gpu/drm/xe/xe_reg_whitelist.c                                            |   87 +
 drivers/gpu/drm/xe/xe_reg_whitelist.h                                            |    4 
 drivers/gpu/drm/xe/xe_vm.c                                                       |    3 
 drivers/hv/mshv_eventfd.c                                                        |   39 
 drivers/hv/mshv_irq.c                                                            |    2 
 drivers/hv/mshv_portid_table.c                                                   |    6 
 drivers/hv/mshv_root_main.c                                                      |   41 
 drivers/hv/mshv_vtl_main.c                                                       |    1 
 drivers/hv/vmbus_drv.c                                                           |   13 
 drivers/hwmon/adt7470.c                                                          |  129 +
 drivers/hwmon/ina2xx.c                                                           |   61 
 drivers/hwmon/lm90.c                                                             |    4 
 drivers/hwmon/ltc4282.c                                                          |    4 
 drivers/hwmon/nct6775-core.c                                                     |   20 
 drivers/hwmon/npcm750-pwm-fan.c                                                  |   11 
 drivers/hwmon/nzxt-smart2.c                                                      |    2 
 drivers/hwmon/pmbus/pmbus_core.c                                                 |    7 
 drivers/hwmon/sht3x.c                                                            |    9 
 drivers/i2c/busses/i2c-amd-mp2-plat.c                                            |    4 
 drivers/i2c/busses/i2c-bcm-iproc.c                                               |   11 
 drivers/i2c/busses/i2c-imx.c                                                     |   54 
 drivers/i2c/busses/i2c-jz4780.c                                                  |    5 
 drivers/i2c/busses/i2c-k1.c                                                      |   10 
 drivers/i2c/busses/i2c-qcom-cci.c                                                |   18 
 drivers/infiniband/hw/mana/main.c                                                |   40 
 drivers/infiniband/hw/mana/mana_ib.h                                             |   14 
 drivers/infiniband/hw/mana/qp.c                                                  |   68 -
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-iommufd.c                              |   15 
 drivers/iommu/io-pgfault.c                                                       |   24 
 drivers/iommu/iommufd/device.c                                                   |    2 
 drivers/iommu/iommufd/eventq.c                                                   |    2 
 drivers/iommu/iommufd/pages.c                                                    |    3 
 drivers/iommu/iommufd/viommu.c                                                   |   22 
 drivers/media/platform/chips-media/wave5/wave5-hw.c                              |    3 
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c                         |    5 
 drivers/media/platform/chips-media/wave5/wave5-vpuapi.h                          |    1 
 drivers/net/can/c_can/c_can_main.c                                               |    8 
 drivers/net/can/ctucanfd/ctucanfd_base.c                                         |   14 
 drivers/net/can/ctucanfd/ctucanfd_pci.c                                          |    3 
 drivers/net/can/rcar/rcar_canfd.c                                                |   32 
 drivers/net/can/softing/softing_fw.c                                             |   46 
 drivers/net/can/usb/ems_usb.c                                                    |   43 
 drivers/net/can/usb/etas_es58x/es58x_core.c                                      |    1 
 drivers/net/can/usb/gs_usb.c                                                     |    4 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c                                |    1 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c                                 |   13 
 drivers/net/can/usb/peak_usb/pcan_usb_core.c                                     |    1 
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c                                       |   40 
 drivers/net/can/usb/peak_usb/pcan_usb_pro.c                                      |   20 
 drivers/net/dsa/mt7530-mdio.c                                                    |   11 
 drivers/net/dsa/mt7530.c                                                         |   86 -
 drivers/net/ethernet/intel/e1000/e1000_main.c                                    |    2 
 drivers/net/ethernet/intel/ice/ice_dpll.c                                        |   19 
 drivers/net/ethernet/intel/ice/ice_ethtool.c                                     |   10 
 drivers/net/ethernet/intel/ice/ice_main.c                                        |   10 
 drivers/net/ethernet/intel/ice/ice_vf_lib.c                                      |   27 
 drivers/net/ethernet/intel/ice/ice_vf_lib_private.h                              |    1 
 drivers/net/ethernet/intel/ice/virt/queues.c                                     |   21 
 drivers/net/ethernet/intel/idpf/idpf_dev.c                                       |    2 
 drivers/net/ethernet/intel/idpf/idpf_lib.c                                       |    2 
 drivers/net/ethernet/intel/idpf/idpf_txrx.c                                      |    5 
 drivers/net/ethernet/intel/idpf/idpf_txrx.h                                      |    2 
 drivers/net/ethernet/intel/idpf/idpf_vf_dev.c                                    |    2 
 drivers/net/ethernet/intel/idpf/idpf_virtchnl.c                                  |    5 
 drivers/net/ethernet/intel/idpf/idpf_virtchnl.h                                  |    2 
 drivers/net/ethernet/intel/igbvf/netdev.c                                        |    2 
 drivers/net/ethernet/intel/igc/igc_main.c                                        |    3 
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c                                  |   12 
 drivers/net/ethernet/marvell/octeontx2/af/cgx.h                                  |    1 
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h                                 |    1 
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h                                  |    2 
 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c                              |   79 +
 drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c                              |   97 +
 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c                              |   49 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c                             |    8 
 drivers/net/ethernet/mediatek/mtk_eth_soc.c                                      |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en.h                                     |    1 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c                                |    7 
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c                               |   19 
 drivers/net/ethernet/microsoft/mana/mana_en.c                                    |  143 +-
 drivers/net/ethernet/microsoft/mana/mana_ethtool.c                               |   23 
 drivers/net/ethernet/nvidia/forcedeth.c                                          |    4 
 drivers/net/ethernet/qlogic/qede/qede_main.c                                     |   44 
 drivers/net/ethernet/realtek/rtase/rtase_main.c                                  |    3 
 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c                                  |   14 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                                |    3 
 drivers/net/ethernet/wangxun/libwx/wx_lib.c                                      |    2 
 drivers/net/phy/phylink.c                                                        |   29 
 drivers/net/veth.c                                                               |    4 
 drivers/net/vxlan/vxlan_core.c                                                   |   21 
 drivers/net/vxlan/vxlan_mdb.c                                                    |    4 
 drivers/net/wireless/ath/ath12k/mac.c                                            |    5 
 drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c                             |    2 
 drivers/of/address.c                                                             |   22 
 drivers/of/of_reserved_mem.c                                                     |   14 
 drivers/pci/controller/dwc/pci-imx6.c                                            |    9 
 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c                                        |    2 
 drivers/phy/xilinx/phy-zynqmp.c                                                  |   62 
 drivers/pinctrl/Kconfig                                                          |    2 
 drivers/pinctrl/devicetree.c                                                     |    4 
 drivers/pinctrl/pinctrl-amd.c                                                    |    3 
 drivers/pinctrl/qcom/pinctrl-msm.c                                               |    8 
 drivers/pinctrl/qcom/pinctrl-sc8280xp.c                                          |   21 
 drivers/power/supply/bq25890_charger.c                                           |    2 
 drivers/power/supply/macsmc-power.c                                              |   52 
 drivers/power/supply/max17040_battery.c                                          |    6 
 drivers/ptp/ptp_netc.c                                                           |   15 
 drivers/s390/block/dasd_eckd.c                                                   |   11 
 drivers/s390/block/dasd_ioctl.c                                                  |    2 
 drivers/s390/crypto/pkey_cca.c                                                   |   15 
 drivers/s390/crypto/zcrypt_api.c                                                 |    4 
 drivers/s390/crypto/zcrypt_ccamisc.c                                             |   89 +
 drivers/s390/crypto/zcrypt_ccamisc.h                                             |    6 
 drivers/s390/net/qeth_core_main.c                                                |    3 
 drivers/s390/scsi/zfcp_aux.c                                                     |    1 
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c                                           |   10 
 drivers/scsi/libiscsi.c                                                          |    2 
 drivers/scsi/libiscsi_tcp.c                                                      |    8 
 drivers/scsi/libsas/sas_init.c                                                   |   37 
 drivers/scsi/libsas/sas_scsi_host.c                                              |   15 
 drivers/scsi/mpi3mr/mpi3mr_fw.c                                                  |    9 
 drivers/scsi/scsi_debug.c                                                        |    8 
 drivers/spi/spi-cadence.c                                                        |   26 
 drivers/spi/spi-nxp-fspi.c                                                       |   83 +
 drivers/spi/spi-qcom-qspi.c                                                      |    3 
 drivers/spi/spi-qpic-snand.c                                                     |   22 
 drivers/target/target_core_iblock.c                                              |    6 
 drivers/target/target_core_transport.c                                           |   12 
 drivers/thunderbolt/xdomain.c                                                    |   40 
 drivers/ufs/core/ufs-rpmb.c                                                      |    2 
 drivers/ufs/core/ufshcd.c                                                        |   46 
 drivers/usb/typec/ucsi/ucsi.c                                                    |   90 -
 drivers/usb/typec/ucsi/ucsi.h                                                    |    1 
 fs/afs/fsclient.c                                                                |    5 
 fs/afs/internal.h                                                                |    3 
 fs/binfmt_misc.c                                                                 |   54 
 fs/btrfs/block-group.c                                                           |   34 
 fs/btrfs/block-rsv.c                                                             |   19 
 fs/btrfs/disk-io.c                                                               |   58 
 fs/btrfs/extent_io.c                                                             |    6 
 fs/btrfs/extent_io.h                                                             |    6 
 fs/btrfs/fs.h                                                                    |    9 
 fs/btrfs/raid56.c                                                                |   15 
 fs/btrfs/super.c                                                                 |    8 
 fs/btrfs/zoned.c                                                                 |   27 
 fs/erofs/Kconfig                                                                 |   36 
 fs/erofs/Makefile                                                                |    1 
 fs/erofs/data.c                                                                  |    4 
 fs/erofs/decompressor_lzma.c                                                     |    3 
 fs/erofs/fscache.c                                                               |  664 ----------
 fs/erofs/inode.c                                                                 |    2 
 fs/erofs/internal.h                                                              |   76 -
 fs/erofs/ishare.c                                                                |  103 -
 fs/erofs/super.c                                                                 |   94 -
 fs/erofs/zdata.c                                                                 |    6 
 fs/iomap/ioend.c                                                                 |   21 
 fs/netfs/buffered_read.c                                                         |   10 
 fs/netfs/internal.h                                                              |    1 
 fs/netfs/main.c                                                                  |    7 
 fs/netfs/objects.c                                                               |   30 
 fs/netfs/read_pgpriv2.c                                                          |    3 
 fs/netfs/rolling_buffer.c                                                        |   22 
 fs/netfs/write_issue.c                                                           |   15 
 fs/ntfs/attrib.c                                                                 |   10 
 fs/ntfs/namei.c                                                                  |    3 
 fs/ntfs/runlist.c                                                                |   50 
 fs/ocfs2/dir.c                                                                   |    5 
 fs/proc/task_mmu.c                                                               |   34 
 fs/smb/client/cifssmb.c                                                          |   12 
 fs/smb/client/inode.c                                                            |    1 
 fs/smb/server/connection.h                                                       |    5 
 fs/smb/server/smb2pdu.c                                                          |   14 
 fs/smb/server/smb_common.c                                                       |   37 
 fs/smb/server/vfs_cache.c                                                        |    6 
 include/acpi/cppc_acpi.h                                                         |    5 
 include/drm/drm_exec.h                                                           |   20 
 include/hyperv/hvhdk_mini.h                                                      |    3 
 include/kvm/arm_vgic.h                                                           |    3 
 include/linux/alloc_tag.h                                                        |    3 
 include/linux/dma/qcom_bam_dma.h                                                 |   21 
 include/linux/ethtool.h                                                          |    1 
 include/linux/iommu.h                                                            |    5 
 include/linux/libata.h                                                           |    6 
 include/linux/memcontrol.h                                                       |   25 
 include/linux/netfilter/nf_conntrack_sip.h                                       |    2 
 include/linux/netfs.h                                                            |    1 
 include/linux/rolling_buffer.h                                                   |    6 
 include/linux/slab.h                                                             |   19 
 include/linux/thunderbolt.h                                                      |    3 
 include/net/bluetooth/hci_core.h                                                 |    4 
 include/net/ip_vs.h                                                              |   45 
 include/net/mana/mana.h                                                          |   15 
 include/net/netfilter/nf_conntrack_expect.h                                      |    3 
 include/net/netfilter/nf_tables.h                                                |    4 
 include/net/xdp_sock.h                                                           |    1 
 include/net/xsk_buff_pool.h                                                      |    9 
 include/scsi/libsas.h                                                            |    3 
 io_uring/cancel.c                                                                |    2 
 io_uring/net.c                                                                   |    1 
 io_uring/tctx.c                                                                  |    7 
 io_uring/tctx.h                                                                  |    1 
 kernel/audit.c                                                                   |   11 
 kernel/auditfilter.c                                                             |    6 
 kernel/events/uprobes.c                                                          |    2 
 kernel/sched/cpufreq_schedutil.c                                                 |   11 
 kernel/sched/deadline.c                                                          |    3 
 kernel/trace/fprobe.c                                                            |    6 
 kernel/trace/ring_buffer.c                                                       |    2 
 kernel/trace/trace_events.c                                                      |    4 
 kernel/trace/trace_events_filter.c                                               |    3 
 kernel/trace/trace_fprobe.c                                                      |   12 
 kernel/trace/trace_mmiotrace.c                                                   |   13 
 kernel/trace/trace_probe.c                                                       |    6 
 lib/alloc_tag.c                                                                  |    9 
 lib/assoc_array.c                                                                |    3 
 lib/test_fortify/Makefile                                                        |    1 
 lib/test_hmm.c                                                                   |    2 
 mm/huge_memory.c                                                                 |   14 
 mm/hugetlb.c                                                                     |   12 
 mm/memcontrol-v1.h                                                               |    6 
 mm/migrate_device.c                                                              |    5 
 mm/mm_init.c                                                                     |   15 
 mm/page_reporting.c                                                              |    6 
 mm/percpu-km.c                                                                   |    2 
 mm/slab.h                                                                        |   28 
 mm/slab_common.c                                                                 |   13 
 mm/slub.c                                                                        |   97 -
 mm/util.c                                                                        |    2 
 mm/vmscan.c                                                                      |   11 
 net/bluetooth/hci_conn.c                                                         |   14 
 net/bluetooth/hci_sync.c                                                         |  216 ++-
 net/bluetooth/hidp/core.c                                                        |   30 
 net/bluetooth/iso.c                                                              |  273 ++--
 net/bluetooth/l2cap_core.c                                                       |    5 
 net/bluetooth/mgmt.c                                                             |   84 -
 net/bluetooth/sco.c                                                              |   22 
 net/bridge/br_mrp.c                                                              |    2 
 net/bridge/br_multicast.c                                                        |    1 
 net/can/isotp.c                                                                  |  330 +++-
 net/can/j1939/bus.c                                                              |    2 
 net/can/j1939/j1939-priv.h                                                       |    3 
 net/can/j1939/main.c                                                             |    8 
 net/can/j1939/transport.c                                                        |    4 
 net/core/lwt_bpf.c                                                               |    4 
 net/core/pktgen.c                                                                |    4 
 net/core/skbuff.c                                                                |   18 
 net/ipv4/fou_core.c                                                              |    2 
 net/ipv4/netfilter/nf_nat_h323.c                                                 |   22 
 net/ipv4/nexthop.c                                                               |   25 
 net/ipv4/route.c                                                                 |    2 
 net/ipv4/udp_tunnel_nic.c                                                        |   32 
 net/ipv6/fib6_rules.c                                                            |    1 
 net/ipv6/ip6_fib.c                                                               |    1 
 net/ipv6/ip6_output.c                                                            |    2 
 net/ipv6/ndisc.c                                                                 |    2 
 net/mac80211/agg-tx.c                                                            |    4 
 net/mac80211/s1g.c                                                               |    4 
 net/mpls/af_mpls.c                                                               |    1 
 net/netfilter/ipset/ip_set_hash_gen.h                                            |    2 
 net/netfilter/ipvs/ip_vs_app.c                                                   |    4 
 net/netfilter/ipvs/ip_vs_conn.c                                                  |  192 ++
 net/netfilter/ipvs/ip_vs_core.c                                                  |  190 +-
 net/netfilter/ipvs/ip_vs_proto_sctp.c                                            |   19 
 net/netfilter/ipvs/ip_vs_proto_tcp.c                                             |   48 
 net/netfilter/ipvs/ip_vs_proto_udp.c                                             |   54 
 net/netfilter/ipvs/ip_vs_xmit.c                                                  |   42 
 net/netfilter/nf_conntrack_expect.c                                              |   35 
 net/netfilter/nf_conntrack_sip.c                                                 |    2 
 net/netfilter/nf_nat_sip.c                                                       |   22 
 net/netfilter/nf_tables_api.c                                                    |   34 
 net/netfilter/nft_payload.c                                                      |   12 
 net/netfilter/xt_hashlimit.c                                                     |   16 
 net/openvswitch/actions.c                                                        |   12 
 net/openvswitch/meter.c                                                          |   33 
 net/rds/tcp.c                                                                    |    8 
 net/sched/cls_u32.c                                                              |    7 
 net/sched/sch_cake.c                                                             |    8 
 net/sctp/associola.c                                                             |    3 
 net/sctp/sm_make_chunk.c                                                         |   17 
 net/smc/smc_core.c                                                               |    2 
 net/tipc/socket.c                                                                |    2 
 net/unix/af_unix.c                                                               |    1 
 net/xdp/xsk.c                                                                    |  255 +++
 net/xdp/xsk_buff_pool.c                                                          |   13 
 net/xdp/xsk_queue.h                                                              |   65 
 security/keys/keyring.c                                                          |   14 
 security/keys/trusted-keys/trusted_dcp.c                                         |   15 
 sound/core/pcm_native.c                                                          |    7 
 sound/core/seq/seq_timer.c                                                       |    9 
 sound/core/timer.c                                                               |    2 
 sound/core/ump.c                                                                 |    1 
 sound/hda/codecs/realtek/alc269.c                                                |    4 
 sound/pci/lx6464es/lx6464es.c                                                    |    5 
 sound/pci/lx6464es/lx_core.c                                                     |    5 
 sound/soc/codecs/max98090.c                                                      |    5 
 sound/soc/codecs/max98095.c                                                      |    5 
 sound/soc/codecs/tas2562.c                                                       |   30 
 sound/soc/codecs/tas2781-i2c.c                                                   |    4 
 sound/soc/fsl/fsl_asrc.c                                                         |    2 
 sound/soc/fsl/fsl_easrc.c                                                        |    2 
 sound/soc/sdca/sdca_device.c                                                     |    2 
 sound/soc/sdca/sdca_fdl.c                                                        |    5 
 sound/soc/sdca/sdca_functions.c                                                  |    2 
 sound/soc/sdca/sdca_ump.c                                                        |    4 
 sound/soc/sophgo/cv1800b-sound-adc.c                                             |   10 
 sound/usb/6fire/chip.c                                                           |    4 
 sound/usb/endpoint.c                                                             |   14 
 sound/usb/midi.c                                                                 |    2 
 sound/usb/midi2.c                                                                |    4 
 sound/usb/mixer_quirks.c                                                         |    2 
 tools/testing/selftests/clone3/clone3_set_tid.c                                  |    2 
 tools/testing/selftests/filesystems/fclog.c                                      |    4 
 tools/testing/selftests/lkdtm/tests.txt                                          |    2 
 tools/testing/selftests/mm/mlock-random-test.c                                   |    2 
 tools/testing/selftests/mm/pagemap_ioctl.c                                       |   56 
 tools/testing/selftests/net/af_unix/.gitignore                                   |    1 
 tools/testing/selftests/net/af_unix/Makefile                                     |    1 
 tools/testing/selftests/net/af_unix/unix_listen.c                                |  187 ++
 tools/testing/selftests/net/netfilter/nft_flowtable.sh                           |   14 
 tools/testing/selftests/seccomp/seccomp_bpf.c                                    |    3 
 tools/tracing/rtla/src/timerlat_top.c                                            |    2 
 454 files changed, 5956 insertions(+), 3358 deletions(-)

Aaron Ma (1):
ice: wait for reset completion in ice_resume()

Abdun Nihaal (3):
gpio: sloppy-logic-analyzer: Fix memory leak in gpio_la_poll_probe()
cpufreq: powernow-k8: Fix possible memory leak in powernowk8_cpu_init()
can: kvaser_usb: kvaser_usb_hydra_get_busparams(): fix memory leak in kvaser_usb_hydra_get_busparams()

Aboorva Devarajan (1):
mm/util: don't read __page_2 for order-1 folios in snapshot_page()

Aditya Garg (1):
net: mana: Return error code from mana_create_rxq()

Alan Swanson (1):
drm/amd/display: Silence link_dpms I2C retimer failures

Aldo Ariel Panzardo (1):
Bluetooth: SCO: give the socket its own sco_conn reference

Alex Deucher (1):
drm/amd/display: check if dml21_add_phantom_plane() is successful

Alex Tran (1):
gpio: gpio-by-pinctrl: Apply initial value in direction output wrapper

Alexander Kaplan (2):
drm/i915/dp: Ignore the sink's DSC max FRL rate without a PCON DSC encoder drm/dp: Read the PCON max FRL bandwidth only for HDMI DFPs

Alexandru Elisei (1):
KVM: arm64: Reject guest_memfd memslots when the VM has MTE

Andrei Kuchynski (2):
usb: typec: ucsi: Fix race condition and ordering in port unregistration
usb: typec: ucsi: Correct teardown ordering in ucsi_init() error path

Anirudh Srinivasan (1):
riscv: drop __init from vec_check_unaligned_access_speed_all_cpus

Ao Sun (1):

      scsi: ufs: core: Initialize hba->rpmbs list in ufshcd

Ashutosh Dixit (8):
drm/xe/rtp: Maintain OA whitelists separately drm/xe/rtp: Keep track of non-OA nonpriv slots drm/xe/rtp: Generalize whitelist_apply_to_hwe drm/xe/rtp: Save OA nonpriv registers to register save/restore lists drm/xe/rtp: Toggle 'deny' bit to (de-)whitelist OA regs drm/xe/rtp: (De-)whitelist OA registers for all hwe's for a gt drm/xe/oa: (De-)whitelist OA registers on OA stream open/release drm/xe/rtp: Ensure locking/ref counting for OA whitelists

Asim Viladi Oglu Manizada (1):
sctp: prevent peer transport count overflow

Aswin Karuvally (1):
s390/qeth: Check CAP_NET_ADMIN for private ioctls

Avi Weiss (4):
can: ctucanfd: use self-test mode for PRESUME_ACK
can: ctucanfd: unmap BAR0 using base address
can: ctucanfd: handle bus error interrupts
can: ctucanfd: mark error-active controller status valid

Baochen Qiang (1):
wifi: ath12k: fix out-of-bounds clear_bit in ath12k_mac_dp_peer_cleanup()

Bart Van Assche (1):
scsi: ufs: core: Revert "Delegate the interrupt service routine to a threaded IRQ handler"

Baul Lee (4):
ALSA: ump: fix double free of out_cvts on rawmidi error
ALSA: usb-audio: fix use-after-free in ump_to_endpoint()
ALSA: usb-audio: fix stack info leak in RME Digiface status
ALSA: usb-audio: fix OOB write in snd_usbmidi_akai_output()

Benjamin Block (1):
scsi: zfcp: Fix memory leak during adapter release by destroying gid_pn_req

Benjamin Boortz (2):
pinctrl: microchip-sgpio: add missing select REGMAP_MMIO
pinctrl: bm1880: add missing select GENERIC_PINCONF

Breno Leitao (2):
mm: memcg: initialize *locked in memcg1_oom_prepare() stub
uprobes: Fix NULL pointer dereference in hprobe_expire()

Candice Li (1):
drm/amdgpu: restore UMD profile pstate after runtime resume

Carlo Caione (1):
of/address: Fix NULL bus dereference in of_pci_range_parser_one()

Carlos López (2):
KVM: arm64: vgic: Fix race between LPI release and re-registration
KVM: arm64: vgic: Mitigate potential LPI registration failure

Carlos Song (1):
i2c: imx: mark I2C adapter when hardware is powered down

Cen Zhang (Microsoft) (1):
net/sched: cls_u32: validate offshift to prevent shift-out-of-bounds

Chandrakanth Patil (1):
scsi: mpi3mr: Fix potential deadlock in mpi3mr_fault_uevent_emit

Charles Keepax (4):
ASoC: SDCA: Correct pointer passed to devm_acpi_table_put
ASoC: SDCA: Always free firmware in FDL path
ASoC: SDCA: Make UMP message size check more robust
ASoC: SDCA: Ensure that Control Range is large enough for header

Charles Vosburgh (1):
sctp: validate Adaptation Indication parameter length

Chengfeng Ye (2):
Bluetooth: hci_sync: Fix advertising data UAFs
net: pktgen: fix proc entry use-after-free

Chenguang Zhao (4):
forcedeth: fix UAF of txrx_stats in nv_remove
net: ethernet: mtk_eth_soc: pass eth to mtk_handle_irq_rx in poll_controller
net: sxgbe: free TX rings on RX allocation failure
net: sxgbe: check descriptor ring allocation failures

Chris Gellermann (2):
selftests/mm: fix potential wild pointer access of getline due to missing init selftests/clone3: fix wild pointer access of getline due to missing init

Christian Brauner (5):
binfmt_misc: restore write access when removing an entry
binfmt_misc: use exe_file_deny_write_access() for the interpreter clone
binfmt_misc: reject a flag character as the field delimiter
binfmt_misc: don't let an 'F' entry pin its own instance
binfmt_misc: don't leak the user namespace when the mount fails

Christian Loehle (3):
ACPI: CPPC: Skip writes to unsupported performance controls
ACPI: CPPC: Check all controls for fast switching
cpufreq: cppc: Sanitize lockless policy limit snapshots

Christian Marangi (1):
net: phylink: put link_gpio if phylink_create fails

Christoph Hellwig (1):
iomap: add a separate bio_set for iomap_split_ioend

D Scott Phillips (1):
KVM: arm64: vgic: Avoid double-deactivate of IRQs in the nested context

Damien Le Moal (3):
ata: libata-scsi: terminate deferred commands on time out
ata: libata-scsi: schedule deferred atapi command
scsi: libsas: terminate deferred commands on time out

Daniel Golle (4):
net: dsa: mt7530: check bus->read() errors in the MDIO regmap backend
net: dsa: mt7530: error out on failed reads in ATC/VTCR command polling
net: dsa: mt7530: error out on failed reads in MT7531 PHY polling
gpiolib: tolerate gpio-hogs lacking a hogging state

David Carlier (2):
dmaengine: switchtec-dma: fix FIELD_GET misuse when programming SE threshold
igc: remove napi_synchronize() in igc_down()

David Corvaglia (1):
net: bridge: mrp: fix Option TLV length in MRP_Test frames

David Francis (1):
drm/amdkfd: Handle invalid event type in CRIU event restore

David Howells (4):
netfs: Fix folio_queue ENOMEM in writeback by adding a mempool
afs: Fix afs_fs_fetch_data() to set call->async
afs: Fix afs_fs_fetch_data() to subtract transferred from len
afs: Fix UAF when sending a message

David Lee (1):
netfilter: ipset: do not update comments from kernel-side hash adds

Dawei Feng (3):
smb: client: fix buffer leaks in SMB1 read and write
e1000: fix memory leak in e1000_probe()
ice: fix memory leak in ice_lbtest_prepare_rings()

Dawid Osuchowski (1):
ice: fix VF interrupts cleanup

Denis V. Lunev (1):
qede: sync udp_tunnel ports outside qede_lock in the recovery path

Dongjiang Zhu (1):
btrfs: skip global block reserve accounting for rescue mounts

Eckhart Mohr (1):
ALSA: hda/realtek: Add quirk for TongFang X6SP45xU

Eric Dumazet (7):
net: do not send ICMP/NDISC Redirects when peer allocation fails
net: udp_tunnel: fix memory leak in udp_tunnel_nic_unregister()
vxlan: re-fetch eth header after route_shortcircuit()
vxlan: unclone skb head before modifying eth header in route_shortcircuit()
vxlan: use neigh_ha_snapshot() in route_shortcircuit()
vxlan: use pskb_network_may_pull() for transmit path header pulls
vxlan: use pskb_network_may_pull() in route_shortcircuit()

Eric Joyner (1):
ethtool: Embed FEC hist ranges as buffer in struct

Fabrice Derepas (1):
KEYS: trusted: dcp: fix key_len validation and calc_blob_len() return type

Farhan Ali (6):
KVM: s390: pci: Reject adapter interrupt forwarding if already enabled
KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
KVM: s390: pci: Fix missing error codes and memory unaccounting
KVM: s390: pci: Fix resource leak on IRQ registration failure
KVM: s390: pci: Fix NULL dereference on AIBV allocation failure
KVM: s390: pci: Validate AIBV and AISB before pinning guest pages

Frank Sorenson (1):
cifs: add fscache_resize_cookie() to cifs_setsize()

Gabriele Monaco (1):
sched/deadline: Use revised wakeup rule only for running dl_server

Gang Ba (1):
drm/amdkfd: Fix missing authorization check in KFD_IOC_DBG_TRAP_DISABLE

Gao Xiang (3):
erofs: clean up erofs_ishare_fill_inode()
erofs: remove fscache backend entirely
erofs: ensure valid f_path for page cache sharing

George Zhang (1):
drm/amd/display: Fix divide-by-zero in calculate_mcache_setting on zero viewport

Greg Kroah-Hartman (4):
Bluetooth: btusb: Fix short read errors in btusb_qca_send_vendor_req()
Bluetooth: btmtk: Fix short read errors in btmtk_usb_uhw_reg_read()
Bluetooth: btmtk: Fix short read errors in btmtk_usb_reg_read() Linux 7.1.8

Gregory Price (1):
mm/vmstat: fold stranded per-cpu node stats when a node comes online

Guanghui Yang (1):
btrfs: zoned: fix missing chunk metadata reservation

Guangshuo Li (3):
scsi: ufs: core: Cancel RTC work in active-active suspend
can: etas_es58x: es58x_read_bulk_callback(): fix RX buffer leak on URB resubmit failure drm/mediatek: mtk_hdmi: Fix DDC adapter double put in v2

Guenter Roeck (8):
hwmon: (nct6775-core) Fix number of temperature registers for NCT6116
hwmon: (ina2xx) Fix various overflow issues
hwmon: (ltc4282) Fix reading the minimum alarm voltage
hwmon: (sht3x) Fix unaligned accesses
hwmon: (lm90) Only report alarms if driver is ready
hwmon: (nzxt-smart2) DMA-align output buffer
hwmon: (nct6775-core) Prevent access to unsupported weight registers
hwmon: (pmbus) Fix return value from pmbus_update_byte_data()

H. Nikolaus Schaller (1):
i2c: jz4780: Cache host clock rate at probe to prevent CCF prepare_lock deadlock

Haibo Chen (1):
spi: spi-nxp-fspi: add per-SoC SDR/DTR clock rate limits for all supported SoCs

Haidar Lee (2):
ASoC: tas2562: fix DVC coefficient write order
ASoC: tas2562: fix broken entries in the volume lookup table

Haofeng Li (1):
selftests/lkdtm: rename STACKLEAK_ERASING to KSTACK_ERASE

Harald Freudenberger (4):
s390/zcrypt: Fix wrong domain value verification with EP11 CPRBs s390/zcrypt: Close speculative mem read possibility
s390/zcrypt: Fix buffer over-read in cca_cipher2protkey s390/zcrypt: Fix missing mem scrub at clear key import in cca_clr2cipherkey()

Hariprasad Kelam (1):
octeontx2-af: Block VFs from clobbering special CGX PKIND state

Harkirat Gill (1):
drm/amdgpu: cap GTT size to physical RAM on APUs

Harry Yoo (Oracle) (3):
mm/slab: decouple SLAB_NO_SHEAVES from SLAB_NO_OBJ_EXT lib/alloc_tag: introduce mem_alloc_profiling_permanently_disabled() mm/slab: prevent unbounded recursion in free path with new kmalloc type

Hidayath Khan (1):
dibs: fix use-after-free of dmb_node in loopback attach/detach/unregister

Himal Prasad Ghimiray (1):
drm/xe/pt: check no-DMA huge-pte cases before DMA segment test

Holger Dengler (2):
s390/zcrypt: Validate length for CCA AES cipher key requests s390/zcrypt: Validate length for CCA ECC private key requests

Hongling Zeng (1):
dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA

Hongyan Xu (1):
hwmon: (npcm750-pwm-fan): stop fan timer on device detach

HyeongJun An (2):
scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer

Ibrahim Hashimov (1):
scsi: scsi_debug: Fix REPORT ZONES alloc_len underflow OOB write

Ilya Maximets (3):
net: openvswitch: fix potential UAF on meter attach failure
net: openvswitch: fix skb leak on flow key update failure during recirculation
net: openvswitch: fix skb leak on flow key update failure during ct

Jackson Lee (1):
media: chips-media: wave5: Support CBP profile

James Gao (1):
can: peak_usb: add bounds check for USB channel index

Jan Höppner (1):
s390/dasd: Fix potential NULL pointer dereference

Jason Xing (2):
xsk: fix buffer leak in xsk_drop_skb() for AF_XDP multi-buffer Tx
xsk: drain continuation descs after overflow in xsk_build_skb()

Jens Axboe (1):
io_uring/net: initialize mshot_len for send

Jerome Tollet (1):
drm/i915/hdmi: Poll for 200 msec for TMDS_Scrambler_Status

Jiakai Xu (1):
riscv/mm: use physical alignment for vmemmap_start_pfn

Jiale Yao (1):
Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp

Jianing Li (1):
power: supply: max17040: handle missing status supplier

Jiawen Wu (1):
net: libwx: fix FDIR ATR queue mismatch for software VLAN packets

Jiri Slaby (SUSE) (1):
drm/amd/display: use proper context for logging

Johannes Thumshirn (3):
btrfs: zoned: fix deadlock between metadata writeback and transaction commit
btrfs: zoned: reset meta_write_pointer on zone reset
btrfs: zoned: skip fully truncated ordered extents at zone finish

John Ericson (2):
af_unix: fix listen() succeeding on sockets in the wrong state selftests/net/af_unix: test listen() rejects wrong socket states

Jonas Gorski (1):
i2c: iproc: reset bus after timeout if START_BUSY is stuck

Jonas Köppeler (1):
net/sched: sch_cake: skip clearing unused tins during rate adjustment

Jori Koolstra (1):
selftest: fix headers in fclog.c

Jose Maria Casanova Crespo (1):
drm/vc4: Supply the overflow slot size in BPOS, not the whole bin BO size

Joseph Qi (1):
ocfs2: fix boundary check in ocfs2_check_dir_entry() to use buffer offset

Joshua Hay (1):
idpf: adjust TxQ ring count minimum

Julian Anastasov (5):
ipvs: adjust double hashing when fwd method changes
ipvs: fix the checksum validations
ipvs: fix places with wrong packet offsets
ipvs: do not mangle ICMP replies for non-first fragments
ipvs: clear the nfct flag under lock

Junjie Cao (1):
gpio: pch: use raw_spinlock_t for the register lock

Karl Mehltretter (2):
riscv: mm: Fix out-of-bounds page-table walk during memory hot-remove
pinctrl: devicetree: don't free uninitialized dev_name on error path

Kefeng Wang (1):
mm: migrate_device: fix pte_pfn/pte_dirty called on non-present PTE

Kiryl Shutsemau (Meta) (4):
mm/hugetlb: fix swap entry corruption when clearing uffd-wp at fork() fs/proc/task_mmu: fix PAGEMAP_SCAN written state for unpopulated ptes fs/proc/task_mmu: fix PAGEMAP_SCAN written state for PMD holes mm/huge_memory: unlock i_mmap_rwsem before releasing after-split folios

Konrad Dybcio (1):

      pinctrl: qcom: sc8280xp: Add missing wakeup entries for GPIO143/151

Krishna Kurapati (1):
phy: qcom: m31-eusb2: Fix return value of init call

Kuan-Ying Lee (1):
selftests/seccomp: Fix pointer type mismatch build error

Kyumin Lee (1):
io_uring: preserve task restrictions across exec

Laurent Pinchart (1):
drm/bridge: display-connector: Fix I2C adapter resource leak

Leo Li (2):
drm/amd/display: check GRPH_FLIP status before sending event drm/amd/display: Exit idle optimizations before programming

Leon Romanovsky (1):
scsi: target: Clear cmd_cnt when initial counter enrollment fails

Liem (2):
i2c: imx: Fix slave registration race and error handling
i2c: imx: Cancel hrtimer before clearing slave pointer

Link Lin (1):
mm/page_reporting: use system_freezable_wq to fix UAF during suspend

Linmao Li (1):
i2c: spacemit: request IRQ after controller initialization

Long Li (1):
net: mana: Create separate EQs for each vPort

Lorenzo Bianconi (1):
selftests: netfilter: nft_flowtable.sh: fix offload counter verification for tunnel tests

Lucas Martins Alves (1):
can: c_can: c_can_chip_config(): keep controller in init mode until bittiming is configured

Luiz Angelo Daros de Luca (8):
hwmon: (adt7470) Fix fans stuck in manual mode on I2C errors
hwmon: (adt7470) Fix cache updated before hardware write on I2C error
hwmon: (adt7470) Fix busy-loop and I2C flooding in update thread
hwmon: (adt7470) Fix temperature alarm logic in hwmon_temp_read()
hwmon: (adt7470) Fix swapped PWM3 and PWM4 auto mode masks
hwmon: (adt7470) Use cached PWM frequency value
hwmon: (adt7470) Fix divide-by-zero TOCTOU crash in fan speed read
hwmon: (adt7470) Fix PWM auto temp state array and bounds check

Luxiao Xu (1):
audit: fix potential use-after-free in audit_del_rule()

Maciej Fijalkowski (2):
xsk: provide sufficient space in pool->tx_descs
xsk: reclaim invalid Tx descriptors in ZC batch path

Maoyi Xie (1):
can: peak_usb: peak_usb_start(): fix double free of transfer buffer on URB submit error

Marc Kleine-Budde (1):
can: gs_usb: gs_usb_receive_bulk_callback(): resubmit URB on skb allocation failure

Mario Limonciello (1):
pinctrl-amd: Don't clear S4 wake bits at probe

Masami Hiramatsu (Google) (6):
fprobe: Fix module reference count leak on error in register_fprobe() tracing/mmiotrace: Reset dropped_count in mmio_reset_data() tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
ring-buffer: Fix subbuf_ids memory leak in rb_allocate_cpu_buffer() error path
tracing: Check return value of __register_event() in trace_module_add_events() tracing/filters: Fix false positive match in regex_match_full()

Matt Fleming (1):
veth: convert frag_list skbs before running XDP

Matt Vollrath (2):
ata: libata-eh: Increase STANDBY IMMEDIATE timeout
igbvf: Fix leak in TX DMA error cleanup

Matthew Brost (2):
drm/xe: Set TTM device beneficial_order to 9 (2M) drm/xe: Wait on external BO kernel fences in exec IOCTL

Mauricio Faria de Oliveira (1):
x86/boot: Add volatile, clobbers and zero-length test in memcmp()

Maíra Canal (1):
drm/vc4: Zero the tile state data array before each BIN job

Md Sadre Alam (1):
dmaengine: qcom: bam_dma: Fix command element mask field for BAM v1.6.0+

Michael Bommarito (7):
thunderbolt: Prevent XDomain delayed work use-after-free on disconnect
keys: fix out-of-bounds read in keyring_get_key_chunk()
keys: make keyring key-chunk byte order agree with keyring_diff_objects()
assoc_array: trim the final shortcut word using the current chunk end
idpf: bound interrupt-vector register fill to the allocated array
erofs: cap LZMA stream pool size
um: vector: fix use-after-free in vector_mmsg_rx()

Michael Diesen (1):
ALSA: hda/realtek: Add quirk for HP Dragonfly Folio G3 2-in-1 (103c:8a05)

Michal Wajdeczko (4):
drm/xe: Drop unused param from xe_device_create() drm/xe: Move xe->info.force_execlist initialization drm/xe: Move xe->info.devid|revid initialization drm/xe: Separate early xe_device initialization

Ming Lei (1):
ublk: reset kernel-owned dev_info fields in ublk_ctrl_add_dev()

Minhong He (1):
can: isotp: check register_netdevice_notifier() error in module init

Muhammad Bilal (1):
accel/qaic: use sizeof(*trans_hdr) for transaction length check

Myeonghun Pak (2):
i2c: amd-mp2: Unregister callback on adapter add failure drm/mediatek: ovl_adaptor: balance component registrations

Mykola Lysenko (1):
btrfs: raid56: fix scrub read assembly submitting no reads

Namjae Jeon (7):
ntfs: preserve RECALL_ON_OPEN on WSL special-file reparse points
ntfs: harden runlist realloc size calculations
ntfs: drop stale page-cache when shrinking a non-resident attr
ksmbd: return success for deferred final close
ksmbd: fix use-after-free in __close_file_table_ids()
ksmbd: use memcmp() to compare ClientGUIDs
ksmbd: reject repeated SMB2 NEGOTIATE requests

Nathan Chancellor (1):
fortify: Disable -Wstringop-overread in tests

Nava kishore Manne (3):
phy: zynqmp: fix L0_TM_DISABLE_SCRAMBLE_ENCODER mask
phy: zynqmp: use read-modify-write for SERDES scrambler bypass
phy: zynqmp: keep SERDES scrambler and 8b/10b enabled for USB

Nazim Amirul (1):
net: stmmac: Fix E2E delay mechanism

Nicolas Schier (1):

      kbuild: Stop modifying $(objtree)/Makefile when building oot-kmods oos

Nicolin Chen (3):
iommu/arm-smmu-v3-iommufd: Require exactly one Stream ID for a vDEVICE iommufd/viommu: Release the igroup lock on the vdevice_size error path iommufd/viommu: Publish a vDEVICE only after vdevice_init() succeeds

Niklas Cassel (1):
ata: libata-sata: fix ata_scsi_lpm_supported() iteration

Niklas Schnelle (1):
s390/pci: Fix s390_pci_mmio_write syscall error return without MIO

Norbert Szetei (3):
ALSA: pcm: wake linked drain waiters on unlink
ALSA: seq: Fix division by zero in initialize_timer()
ALSA: timer: Clear SNDRV_TIMER_IFLG_DEAD once the close completes

Oleksij Rempel (1):
can: j1939: transport: j1939_session_fresh_new(): initialize receive buffer

Oliver Hartkopp (1):
can: isotp: fix timer drain order, wakeup handling and tx_gen ordering

Osama Abdelkader (2):
drm/panthor: reject firmware sections with oversized data drm/panthor: validate firmware interface structure sizes

Pablo Neira Ayuso (3):
netfilter: nf_conntrack_expect: add and use nf_ct_expect_related_pair()
netfilter: nf_tables: make nft_object rhltable per table
netfilter: xt_hashlimit: validate hashtable supports XT_HASHLIMIT_RATE_MATCH

Paolo Bonzini (1):
KVM: VMX: add memory clobber to asm for VMX instructions

Pauli Virtanen (19):
Bluetooth: ISO: clear iso_data always when detaching conn from hcon
Bluetooth: ISO: fix CONNECTED -> CLOSED transition on shutdown/release
Bluetooth: ISO: lock sk in iso_sock_getname
Bluetooth: ISO: lock sk in iso_connect_ind
Bluetooth: ISO: fix timeout vs sync_timeout typo in check_bcast_qos
Bluetooth: ISO: validate sockaddr_iso first in iso_sock_rebind_bis()
Bluetooth: ISO: hold sk properly in iso_conn_ready
Bluetooth: ISO: fix leaking sk after socket release
Bluetooth: ISO: avoid deadlocks in iso_sock_timeout
Bluetooth: ISO: ensure no dangling hcon references in iso_conn
Bluetooth: ISO: fix refcounting of iso_conn
Bluetooth: ISO: fix race of kfree vs kref_get_unless_zero
Bluetooth: hci_conn: hold conn reference in abort_conn_sync()
Bluetooth: hci_sync: hold conn in hci_connect_acl/le_sync() callbacks
Bluetooth: hci_sync: hold conn in hci_connect_big_sync() callback
Bluetooth: hci_sync: hold conn in hci_connect_pa_sync() callback
Bluetooth: hci_sync: hold conn in hci_past_sync() callback
Bluetooth: hci_sync: fix hci_conn_del() use in hci_le_create_conn_sync
Bluetooth: hci_sync: remove unnecessary hci_conn_get in create_conn_sync

Peiyang He (3):
iommufd: Reject DMABUF pages from the access pin path
iommufd: Fix wrong hwpt passed to iommufd_auto_response_faults on replace iommu/iommufd: Fix IOPF group ownership UAF

Pengpeng Hou (5):
can: ems_usb: validate CPC message lengths
can: kvaser_usb_leaf: kvaser_usb_leaf_wait_cmd(): validate received command extents
can: softing: fw_parse(): validate firmware record spans
can: peak_usb: validate uCAN receive record lengths
can: ctucanfd: add missing MODULE_DEVICE_TABLE()

Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: move debug_vm handling to amdgpu_cs_parser_fini

Pratik Vishwakarma (1):
x86/CPU/AMD: Carve out a Zen5 models range

Przemyslaw Korba (1):
ice: suppress DPLL errors during reset recovery

Qi Zheng (1):
mm: mglru: fix stale batch updates after memcg reparenting

Qu Wenruo (3):
btrfs: fix leaking BTRFS_FS_STATE_REMOUNTING flag
btrfs: warn about extent buffer that can not be released
btrfs: raid56: fix an incorrect csum skip during scrub

Radhey Shyam Pandey (3):
ata: ahci_ceva: fix error paths in ceva_ahci_platform_enable_resources()
phy: zynqmp: fix clock error handling in xpsgtr_phy_init()
phy: zynqmp: fix runtime PM leak on probe allocation failure

Ratheesh Kannoth (1):
octeontx2: cn20k: Coordinate default rules with NIX LF lifecycle

Raushan Patel (2):
tracing/probes: Reject $arg0 in meta argument expansion tracing/fprobe: Roll back on enable_trace_fprobe() failure

Ray Wu (1):
drm/amd/display: Increase HDMI AV mute wait from 2 to 3 frames

Rosen Penev (1):
ata: sata_mv: accept 1 or 2 resources in platform probe

Ruoyu Wang (1):
drm/mediatek: Check CRTC state before freeing

Sang-Heon Jeon (1):
of: reserved_mem: prevent OOB when too many dynamic regions are defined

Sangho Lee (2):
Bluetooth: HIDP: reject frames without a transaction header
Bluetooth: HIDP: validate numbered report payloads

Sasha Finkelstein (1):
power: supply: macsmc: Support macOS 27 SMC firmware

Sean Christopherson (1):
KVM: SVM: Update x2APIC MSR intercepts if AVIC is inhibited while L2 is active

Sebastian Andrzej Siewior (1):
Drivers: hv: vmbus: Replace lockdep_hardirq_threaded() with lockdep annotation

Sergey Senozhatsky (1):
usb: typec: ucsi: split connector lock classes

Shawn Guo (1):
scsi: ufs: dt-bindings: Add missing mcq reg for qcom,sa8255p-ufshc

Shengjiu Wang (2):
ASoC: fsl_asrc: fix m2m_init error path to use goto instead of bare return
ASoC: fsl_easrc: fix m2m_init error path to use goto instead of bare return

Shuangpeng Bai (1):
ipv6: release fib6_null_entry on subtree failure

Sneh Mankad (1):
pinctrl: qcom: Unconditionally mark gpio as wakeup enable

Soeren Moch (1):
PCI: imx6: Keep i.MX6 Root Port MSI/MSI-X Capabilities with iMSI-RX to work around hardware bug

Sonali Pradhan (2):
ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set
ALSA: usb-audio: Clamp frame size in implicit-feedback mode

Srikanth Boyapally (1):
spi: spi-cadence: Move TX FIFO full busy-wait into FIFO

Stanislav Kinsburskii (8):
mshv: Fix duplicate GSI detection for GSI 0
mshv: Fix sleeping under spinlock in mshv_portid_alloc
mshv: Fix race in mshv_irqfd_deassign
mshv: Fix level-triggered check on uninitialized data
mshv: Fix missing error code on VP allocation failure
mshv: Order pt_vp_array publish against irqfd assertion path
mshv: Publish VP to pt_vp_array before installing the file descriptor
lib: test_hmm: use device devt for coherent device range selection

Stanislaw Pal (1):
spi: spi-qpic-snand: write the feature value before executing SET_FEATURE

Stefan Haberland (1):
s390/dasd: Fix undersized format-check buffer

Suman Ghosh (1):
octeontx2-pf: Set correct sequence for carrier off and tx queue stop

Surendra Singh Chouhan (1):
ASoC: sophgo: return 1 on volume change in cv1800b_adc_volume_set()

Takashi Iwai (1):
ALSA: 6fire: Fix UAF at error handling during probe

TanZheng (1):
scsi: target: iblock: Fix wrong PR ops NULL check for PREEMPT/RELEASE

Tetsuo Handa (1):
can: j1939: use netdevice_tracker for j1939_{priv,session,ecu} tracking

Thomas Hellström (1):
drm/exec: Remove the index parameter from drm_exec_for_each_locked_obj[_reverse]

Thomas Weißschuh (1):
riscv: vdso: Only try to install vDSO when present

Thorsten Blum (4):
powerpc/boot: Fix simpleboot CPU node lookup check powerpc/boot: Fix treeboot-currituck CPU node lookup check powerpc/boot: Fix treeboot-akebono CPU node lookup check powerpc/ps3: Fix map failure path in dma_ioc0_map_pages()

Tomas Glozar (1):
rtla/timerlat_top: Fix on-threshold actions firing on signal

Tu Nguyen (1):
can: rcar_canfd: change the initializing flow for clocks and resets

Uday Khare (2):
ASoC: max98095: fix missing IS_ERR() before PTR_ERR() on mclk lookup
ASoC: max98090: fix missing IS_ERR() before PTR_ERR() on mclk lookup

Usama Arif (1):
userfaultfd: wait on source PMD during UFFDIO_MOVE

Vijaya Krishna Nivarthi (1):
spi: qcom-qspi: Correct max DMA length to avoid 64K boundary failure

Vincent Donnefort (5):
KVM: arm64: Fix hyp_trace clock disabling
KVM: arm64: Fix potential leak in hyp_trace_buffer_alloc_bpages_backing
KVM: arm64: Fix hyp_trace_desc allocation size in hyp_trace_load()
KVM: arm64: Add missing hyp_enter when trapping sysreg
ring-buffer: Fix reader page read offset for remote buffers

Vincent Jardin (1):
hwmon: (pmbus/core) notify on the hwmon device, not the i2c client

Vladimir Marioukhine (1):
drm/amdkfd: fix QID bit leak in pqm_create_queue()

Wei Fang (1):
ptp: netc: fix potential interrupt storm caused by incorrect unbind order

Wei Liu (1):
mshv: fix hv_input_get_system_property struct

Weiming Shi (1):
KVM: x86: Cancel delayed I/O APIC EOI handling before destroying vCPUs

Wenmeng Liu (1):
i2c: qcom-cci: drop custom suspend/resume and rely on runtime PM helpers

William Palacek (2):
drm/amdkfd: fix uint32_t overflow in EOP ring buffer size alignment drm/amdkfd: hold event_mutex while checkpointing CRIU events

Xiang Mei (2):
netfilter: nf_conntrack_sip: widen NAT rewrite delta to s32 in sip_help_tcp()
rds: tcp: hold the RCU lock across ipv6_chk_addr() in rds_tcp_laddr_check()

Xiang Mei (Microsoft) (3):
netfilter: nft_payload: fix mask build for partial field offload
nexthop: take nh->lock for f6i_list walks in replace check and notify
nexthop: avoid unlocked f6i_list walk in nh_rt_cache_flush

Xiangfeng Cai (1):
mm/hugetlb: fix list corruption in allocate_file_region_entries()

Xingui Yang (1):
scsi: libsas: Fix HA resume deadlock and hisi_sas disk-wake race

Xu Rao (2):
ALSA: lx6464es: fix period byte count for 16-bit streams
power: supply: bq25890: fix the -10 C NTC lookup entry

Xuanqiang Luo (3):
bpf: lwt: Fix dst reference leak on reroute failure
fou: Fix use-after-free in fou_create()
net/smc: fix socket use-after-free during link group termination

Yang Wang (4):
drm/amd/pm: fix torn gpu metrics reads drm/amd/pm: fix pptable use-after-free drm/amd/pm: hide pp_table sysfs on APUs drm/amd/pm: use milliwatts for GPU power sensors

Yehyeong Lee (1):
net: mpls: initialize rtm_tos in mpls_getroute()

Yi Xie (1):
mshv_vtl: fix fd leak in mshv_ioctl_create_vtl()

Yichong Chen (3):
netfs: clear PG_private_2 on copy-to-cache append failure
netfs: handle single writeback rolling buffer allocation failure
netfs: release readahead folios on iterator preparation failure

Yuho Choi (3):
dmaengine: idxd: fix double free of wq, engine, and group structs
dmaengine: idxd: fix fdev setup failure cleanup in idxd_cdev_open()
idpf: Fix mailbox IRQ name leak on request failure

Yun Lu (1):
rtase: fix double free of multi-frag skb on DMA map failure

Yuxiang Yang (1):
sctp: reject stale cookies with mismatched verification tags

Zack Rusin (11):
drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size drm/vmwgfx: reject DX_BIND_QUERY without a DX context drm/vmwgfx: clamp dirty-page range with min, not max drm/vmwgfx: take fman->lock around fence list mutation in fifo_down drm/vmwgfx: drop dma_buf reference on foreign-fd prime import drm/vmwgfx: validate DRAW_PRIMITIVES header size before division drm/vmwgfx: bound DMA command body size against suffix pointer drm/vmwgfx: avoid destroy_workqueue(NULL) on vkms init failure drm/vmwgfx: enforce cursor size limits for MOB cursors drm/vmwgfx: use check_add_overflow for shader size+offset bound drm/vmwgfx: validate external BO copy bounds for both stride paths

Zhan Xusheng (1):
audit: fix potential integer overflow in audit_log_n_string()

Zhao Li (3):
wifi: mac80211: validate individual TWT params before driver setup
wifi: mac80211: fix tid_tx use-after-free on BA session stop
wifi: mwifiex: use the subframe length when parsing A-MSDU TDLS frames

Zhiling Zou (3):
ipvs: do not propagate one-packet flag to synced conns
net: bridge: stop fast-leave after deleting a port group
net: ipv6: clear suppressed fib6 rule result

Zhongqiu Han (1):
cpufreq: schedutil: Publish util hooks only after all sg_cpu are initialized

Zi Yan (1):
mm/percpu-km: fix bitmap overflow and accounting in pcpu_create_chunk()

Zihan Xi (3):
Bluetooth: mgmt: fix pending command UAF in EIR updates
Bluetooth: mgmt: fix UAF in pair command cancellation
tipc: avoid use-after-free in poll trace queue dumps

Zijun Hu (1):
Bluetooth: btintel: Validate length before parsing diagnostics TLV

bui duc phuc (1):
gpio: pca953x: fix cache_only and IRQ state on restore_context() failure

wangdicheng (1):
ASoC: tas2781: Use correct calibration data for SINEGAIN2 register