Skip to contentSkip to conversation

Linux 6.1.80

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Mar 1, 2024 Stable branch

lore
Share & tools
lore
author maintainer
#1 lore raw
In reply to Greg Kroah-Hartman
Makefile +1 -1
index d6bc9f597e8b..bc4adb561a7c 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 1
-SUBLEVEL = 79
+SUBLEVEL = 80
 EXTRAVERSION =
 NAME = Curry Ramen
 
arch/arm/mach-ep93xx/core.c +1 -0
index 95e731676cea..961daac65326 100644
@@ -339,6 +339,7 @@ static struct gpiod_lookup_table ep93xx_i2c_gpiod_table = {
 				GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
 		GPIO_LOOKUP_IDX("G", 0, NULL, 1,
 				GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN),
+		{ }
 	},
 };
 
arch/arm64/boot/dts/rockchip/px30.dtsi +2 -0
index bfa3580429d1..61f0186447da 100644
@@ -607,6 +607,7 @@ spi0: spi@ff1d0000 {
 		clock-names = "spiclk", "apb_pclk";
 		dmas = <&dmac 12>, <&dmac 13>;
 		dma-names = "tx", "rx";
+		num-cs = <2>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&spi0_clk &spi0_csn &spi0_miso &spi0_mosi>;
 		#address-cells = <1>;
@@ -622,6 +623,7 @@ spi1: spi@ff1d8000 {
 		clock-names = "spiclk", "apb_pclk";
 		dmas = <&dmac 14>, <&dmac 15>;
 		dma-names = "tx", "rx";
+		num-cs = <2>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_csn1 &spi1_miso &spi1_mosi>;
 		#address-cells = <1>;
arch/arm64/include/asm/fpsimd.h +2 -0
index d720b6f7e5f9..da18413712c0 100644
@@ -343,6 +343,7 @@ extern void sme_alloc(struct task_struct *task, bool flush);
 extern unsigned int sme_get_vl(void);
 extern int sme_set_current_vl(unsigned long arg);
 extern int sme_get_current_vl(void);
+extern void sme_suspend_exit(void);
 
 /*
  * Return how many bytes of memory are required to store the full SME
@@ -372,6 +373,7 @@ static inline int sme_max_vl(void) { return 0; }
 static inline int sme_max_virtualisable_vl(void) { return 0; }
 static inline int sme_set_current_vl(unsigned long arg) { return -EINVAL; }
 static inline int sme_get_current_vl(void) { return -EINVAL; }
+static inline void sme_suspend_exit(void) { }
 
 static inline size_t za_state_size(struct task_struct const *task)
 {
arch/arm64/kernel/fpsimd.c +14 -0
index 8c226d79abdf..59b5a16bab5d 100644
@@ -1347,6 +1347,20 @@ void __init sme_setup(void)
 		get_sme_default_vl());
 }
 
+void sme_suspend_exit(void)
+{
+	u64 smcr = 0;
+
+	if (!system_supports_sme())
+		return;
+
+	if (system_supports_fa64())
+		smcr |= SMCR_ELx_FA64;
+
+	write_sysreg_s(smcr, SYS_SMCR_EL1);
+	write_sysreg_s(0, SYS_SMPRI_EL1);
+}
+
 #endif /* CONFIG_ARM64_SME */
 
 static void sve_init_regs(void)
arch/arm64/kernel/suspend.c +3 -0
index 8b02d310838f..064d996cc55b 100644
@@ -11,6 +11,7 @@
 #include <asm/daifflags.h>
 #include <asm/debug-monitors.h>
 #include <asm/exec.h>
+#include <asm/fpsimd.h>
 #include <asm/mte.h>
 #include <asm/memory.h>
 #include <asm/mmu_context.h>
@@ -77,6 +78,8 @@ void notrace __cpu_suspend_exit(void)
 	 */
 	spectre_v4_enable_mitigation(NULL);
 
+	sme_suspend_exit();
+
 	/* Restore additional feature-specific configuration */
 	ptrauth_suspend_exit();
 }
arch/arm64/kvm/vgic/vgic-its.c +5 -0
index 3c344e4cd4ca..092327665a6e 100644
@@ -462,6 +462,9 @@ static int its_sync_lpi_pending_table(struct kvm_vcpu *vcpu)
 		}
 
 		irq = vgic_get_irq(vcpu->kvm, NULL, intids[i]);
+		if (!irq)
+			continue;
+
 		raw_spin_lock_irqsave(&irq->irq_lock, flags);
 		irq->pending_latch = pendmask & (1U << bit_nr);
 		vgic_queue_irq_unlock(vcpu->kvm, irq, flags);
@@ -1427,6 +1430,8 @@ static int vgic_its_cmd_handle_movall(struct kvm *kvm, struct vgic_its *its,
 
 	for (i = 0; i < irq_count; i++) {
 		irq = vgic_get_irq(kvm, NULL, intids[i]);
+		if (!irq)
+			continue;
 
 		update_affinity(irq, vcpu2);
 
arch/loongarch/Kconfig +2 -21
index e737dc8cd660..fa3171f56327 100644
@@ -9,6 +9,7 @@ config LOONGARCH
 	select ARCH_BINFMT_ELF_STATE
 	select ARCH_ENABLE_MEMORY_HOTPLUG
 	select ARCH_ENABLE_MEMORY_HOTREMOVE
+	select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
 	select ARCH_HAS_ACPI_TABLE_UPGRADE	if ACPI
 	select ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
 	select ARCH_HAS_PTE_SPECIAL
@@ -80,6 +81,7 @@ config LOONGARCH
 	select GPIOLIB
 	select HAVE_ARCH_AUDITSYSCALL
 	select HAVE_ARCH_MMAP_RND_BITS if MMU
+	select HAVE_ARCH_SECCOMP
 	select HAVE_ARCH_SECCOMP_FILTER
 	select HAVE_ARCH_TRACEHOOK
 	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
@@ -461,23 +463,6 @@ config PHYSICAL_START
 	  specified in the "crashkernel=YM@XM" command line boot parameter
 	  passed to the panic-ed kernel).
 
-config SECCOMP
-	bool "Enable seccomp to safely compute untrusted bytecode"
-	depends on PROC_FS
-	default y
-	help
-	  This kernel feature is useful for number crunching applications
-	  that may need to compute untrusted bytecode during their
-	  execution. By using pipes or other transports made available to
-	  the process as file descriptors supporting the read/write
-	  syscalls, it's possible to isolate those applications in
-	  their own address space using seccomp. Once seccomp is
-	  enabled via /proc/<pid>/seccomp, it cannot be disabled
-	  and the task is only allowed to execute a few safe syscalls
-	  defined by each seccomp mode.
-
-	  If unsure, say Y. Only embedded should say N here.
-
 endmenu
 
 config ARCH_SELECT_MEMORY_MODEL
@@ -495,10 +480,6 @@ config ARCH_SPARSEMEM_ENABLE
 	  or have huge holes in the physical address space for other reasons.
 	  See <file:Documentation/mm/numa.rst> for more.
 
-config ARCH_ENABLE_THP_MIGRATION
-	def_bool y
-	depends on TRANSPARENT_HUGEPAGE
-
 config ARCH_MEMORY_PROBE
 	def_bool y
 	depends on MEMORY_HOTPLUG
arch/loongarch/kernel/smp.c +1 -0
index e0404df2c952..18a2b37f4aea 100644
@@ -297,6 +297,7 @@ void play_dead(void)
 		addr = iocsr_read64(LOONGARCH_IOCSR_MBUF0);
 	} while (addr == 0);
 
+	local_irq_disable();
 	init_fn = (void *)TO_CACHE(addr);
 	iocsr_write32(0xffffffff, LOONGARCH_IOCSR_IPI_CLEAR);
 
arch/mips/kernel/traps.c +7 -1
index 246c6a6b0261..5b778995d448 100644
@@ -2007,7 +2007,13 @@ unsigned long vi_handlers[64];
 
 void reserve_exception_space(phys_addr_t addr, unsigned long size)
 {
-	memblock_reserve(addr, size);
+	/*
+	 * reserve exception space on CPUs other than CPU0
+	 * is too late, since memblock is unavailable when APs
+	 * up
+	 */
+	if (smp_processor_id() == 0)
+		memblock_reserve(addr, size);
 }
 
 void __init *set_except_vector(int n, void *addr)
arch/parisc/kernel/processor.c +0 -8
index 1f6c776d8081..c67883487ecd 100644
@@ -171,7 +171,6 @@ static int __init processor_probe(struct parisc_device *dev)
 	p->cpu_num = cpu_info.cpu_num;
 	p->cpu_loc = cpu_info.cpu_loc;
 
-	set_cpu_possible(cpuid, true);
 	store_cpu_topology(cpuid);
 
 #ifdef CONFIG_SMP
@@ -466,13 +465,6 @@ static struct parisc_driver cpu_driver __refdata = {
  */
 void __init processor_init(void)
 {
-	unsigned int cpu;
-
 	reset_cpu_topology();
-
-	/* reset possible mask. We will mark those which are possible. */
-	for_each_possible_cpu(cpu)
-		set_cpu_possible(cpu, false);
-
 	register_parisc_driver(&cpu_driver);
 }
arch/s390/pci/pci.c +1 -1
index 2c99f9552b2f..394c69fda399 100644
@@ -241,7 +241,7 @@ resource_size_t pcibios_align_resource(void *data, const struct resource *res,
 /* combine single writes by using store-block insn */
 void __iowrite64_copy(void __iomem *to, const void *from, size_t count)
 {
-       zpci_memcpy_toio(to, from, count);
+	zpci_memcpy_toio(to, from, count * 8);
 }
 
 static void __iomem *__ioremap(phys_addr_t addr, size_t size, pgprot_t prot)
arch/x86/include/asm/nospec-branch.h +2 -0
index 2f123d4fb85b..d3706de91a93 100644
@@ -222,6 +222,8 @@ extern void srso_alias_untrain_ret(void);
 extern void entry_untrain_ret(void);
 extern void entry_ibpb(void);
 
+extern void (*x86_return_thunk)(void);
+
 #ifdef CONFIG_RETPOLINE
 
 #define GEN(reg) \
arch/x86/kernel/alternative.c +9 -4
index 6b8c93989aa3..69f85e274611 100644
@@ -536,6 +536,7 @@ void __init_or_module noinline apply_retpolines(s32 *start, s32 *end)
 }
 
 #ifdef CONFIG_RETHUNK
+
 /*
  * Rewrite the compiler generated return thunk tail-calls.
  *
@@ -551,14 +552,18 @@ static int patch_return(void *addr, struct insn *insn, u8 *bytes)
 {
 	int i = 0;
 
-	if (cpu_feature_enabled(X86_FEATURE_RETHUNK))
-		return -1;
+	if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) {
+		if (x86_return_thunk == __x86_return_thunk)
+			return -1;
 
-	bytes[i++] = RET_INSN_OPCODE;
+		i = JMP32_INSN_SIZE;
+		__text_gen_insn(bytes, JMP32_INSN_OPCODE, addr, x86_return_thunk, i);
+	} else {
+		bytes[i++] = RET_INSN_OPCODE;
+	}
 
 	for (; i < insn->length;)
 		bytes[i++] = INT3_INSN_OPCODE;
-
 	return i;
 }
 
arch/x86/kernel/ftrace.c +1 -1
index e07234ec7e23..ec51ce713dea 100644
@@ -361,7 +361,7 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
 
 	ip = trampoline + size;
 	if (cpu_feature_enabled(X86_FEATURE_RETHUNK))
-		__text_gen_insn(ip, JMP32_INSN_OPCODE, ip, &__x86_return_thunk, JMP32_INSN_SIZE);
+		__text_gen_insn(ip, JMP32_INSN_OPCODE, ip, x86_return_thunk, JMP32_INSN_SIZE);
 	else
 		memcpy(ip, retq, sizeof(retq));
 
arch/x86/kernel/static_call.c +1 -1
index 3fbb49168827..b32134b093ec 100644
@@ -80,7 +80,7 @@ static void __ref __static_call_transform(void *insn, enum insn_type type,
 
 	case RET:
 		if (cpu_feature_enabled(X86_FEATURE_RETHUNK))
-			code = text_gen_insn(JMP32_INSN_OPCODE, insn, &__x86_return_thunk);
+			code = text_gen_insn(JMP32_INSN_OPCODE, insn, x86_return_thunk);
 		else
 			code = &retinsn;
 		break;
arch/x86/mm/numa.c +8 -13
index aa39d678fe81..dae5c952735c 100644
@@ -961,7 +961,7 @@ static int __init cmp_memblk(const void *a, const void *b)
 	const struct numa_memblk *ma = *(const struct numa_memblk **)a;
 	const struct numa_memblk *mb = *(const struct numa_memblk **)b;
 
-	return ma->start - mb->start;
+	return (ma->start > mb->start) - (ma->start < mb->start);
 }
 
 static struct numa_memblk *numa_memblk_list[NR_NODE_MEMBLKS] __initdata;
@@ -971,14 +971,12 @@ static struct numa_memblk *numa_memblk_list[NR_NODE_MEMBLKS] __initdata;
  * @start: address to begin fill
  * @end: address to end fill
  *
- * Find and extend numa_meminfo memblks to cover the @start-@end
- * physical address range, such that the first memblk includes
- * @start, the last memblk includes @end, and any gaps in between
- * are filled.
+ * Find and extend numa_meminfo memblks to cover the physical
+ * address range @start-@end
  *
  * RETURNS:
  * 0		  : Success
- * NUMA_NO_MEMBLK : No memblk exists in @start-@end range
+ * NUMA_NO_MEMBLK : No memblks exist in address range @start-@end
  */
 
 int __init numa_fill_memblks(u64 start, u64 end)
@@ -990,17 +988,14 @@ int __init numa_fill_memblks(u64 start, u64 end)
 
 	/*
 	 * Create a list of pointers to numa_meminfo memblks that
-	 * overlap start, end. Exclude (start == bi->end) since
-	 * end addresses in both a CFMWS range and a memblk range
-	 * are exclusive.
-	 *
-	 * This list of pointers is used to make in-place changes
-	 * that fill out the numa_meminfo memblks.
+	 * overlap start, end. The list is used to make in-place
+	 * changes that fill out the numa_meminfo memblks.
 	 */
 	for (int i = 0; i < mi->nr_blks; i++) {
 		struct numa_memblk *bi = &mi->blk[i];
 
-		if (start < bi->end && end >= bi->start) {
+		if (memblock_addrs_overlap(start, end - start, bi->start,
+					   bi->end - bi->start)) {
 			blk[count] = &mi->blk[i];
 			count++;
 		}
arch/x86/net/bpf_jit_comp.c +1 -1
index b69aee6245e4..7913440c0fd4 100644
@@ -432,7 +432,7 @@ static void emit_return(u8 **pprog, u8 *ip)
 	u8 *prog = *pprog;
 
 	if (cpu_feature_enabled(X86_FEATURE_RETHUNK)) {
-		emit_jump(&prog, &__x86_return_thunk, ip);
+		emit_jump(&prog, x86_return_thunk, ip);
 	} else {
 		EMIT1(0xC3);		/* ret */
 		if (IS_ENABLED(CONFIG_SLS))
block/blk-map.c +10 -3
index 66da9e2b19ab..b337ae347bfa 100644
@@ -203,12 +203,19 @@ static int bio_copy_user_iov(struct request *rq, struct rq_map_data *map_data,
 	/*
 	 * success
 	 */
-	if ((iov_iter_rw(iter) == WRITE &&
-	     (!map_data || !map_data->null_mapped)) ||
-	    (map_data && map_data->from_user)) {
+	if (iov_iter_rw(iter) == WRITE &&
+	     (!map_data || !map_data->null_mapped)) {
 		ret = bio_copy_from_iter(bio, iter);
 		if (ret)
 			goto cleanup;
+	} else if (map_data && map_data->from_user) {
+		struct iov_iter iter2 = *iter;
+
+		/* This is the copy-in part of SG_DXFER_TO_FROM_DEV. */
+		iter2.data_source = ITER_SOURCE;
+		ret = bio_copy_from_iter(bio, &iter2);
+		if (ret)
+			goto cleanup;
 	} else {
 		if (bmd->is_our_pages)
 			zero_fill_bio(bio);
drivers/ata/ahci.c +38 -11

88 lines not on this page · raw message

drivers/ata/ahci.h +1 -0
index ff8e6ae1c636..f9c5906a8afa 100644
@@ -247,6 +247,7 @@ enum {
 	AHCI_HFLAG_SUSPEND_PHYS		= BIT(26), /* handle PHYs during
 						      suspend/resume */
 	AHCI_HFLAG_NO_SXS		= BIT(28), /* SXS not supported */
+	AHCI_HFLAG_43BIT_ONLY		= BIT(29), /* 43bit DMA addr limit */
 
 	/* ap->flags bits */
 
drivers/ata/ahci_ceva.c +79 -46

198 lines not on this page · raw message

drivers/ata/libata-core.c +4 -0
index fa2fc1953fc2..f14e56a5cff6 100644
@@ -2005,6 +2005,10 @@ void ata_dev_power_set_active(struct ata_device *dev)
 	struct ata_taskfile tf;
 	unsigned int err_mask;
 
+	/* If the device is already sleeping, do nothing. */
+	if (dev->flags & ATA_DFLAG_SLEEPING)
+		return;
+
 	/*
 	 * Issue READ VERIFY SECTORS command for 1 sector at lba=0 only
 	 * if supported by the device.
drivers/block/aoe/aoeblk.c +4 -1
index 128722cf6c3c..827802e418dd 100644
@@ -333,6 +333,7 @@ aoeblk_gdalloc(void *vp)
 	struct gendisk *gd;
 	mempool_t *mp;
 	struct blk_mq_tag_set *set;
+	sector_t ssize;
 	ulong flags;
 	int late = 0;
 	int err;
@@ -395,7 +396,7 @@ aoeblk_gdalloc(void *vp)
 	gd->minors = AOE_PARTITIONS;
 	gd->fops = &aoe_bdops;
 	gd->private_data = d;
-	set_capacity(gd, d->ssize);
+	ssize = d->ssize;
 	snprintf(gd->disk_name, sizeof gd->disk_name, "etherd/e%ld.%d",
 		d->aoemajor, d->aoeminor);
 
@@ -404,6 +405,8 @@ aoeblk_gdalloc(void *vp)
 
 	spin_unlock_irqrestore(&d->lock, flags);
 
+	set_capacity(gd, ssize);
+
 	err = device_add_disk(NULL, gd, aoe_attr_groups);
 	if (err)
 		goto out_disk_cleanup;
drivers/block/virtio_blk.c +4 -3
index 3124837aa406..505026f0025c 100644
@@ -1206,14 +1206,15 @@ static int virtblk_freeze(struct virtio_device *vdev)
 {
 	struct virtio_blk *vblk = vdev->priv;
 
+	/* Ensure no requests in virtqueues before deleting vqs. */
+	blk_mq_freeze_queue(vblk->disk->queue);
+
 	/* Ensure we don't receive any more interrupts */
 	virtio_reset_device(vdev);
 
 	/* Make sure no work handler is accessing the device. */
 	flush_work(&vblk->config_work);
 
-	blk_mq_quiesce_queue(vblk->disk->queue);
-
 	vdev->config->del_vqs(vdev);
 	kfree(vblk->vqs);
 
@@ -1231,7 +1232,7 @@ static int virtblk_restore(struct virtio_device *vdev)
 
 	virtio_device_ready(vdev);
 
-	blk_mq_unquiesce_queue(vblk->disk->queue);
+	blk_mq_unfreeze_queue(vblk->disk->queue);
 	return 0;
 }
 #endif
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c +3 -2
index 168195672e2e..d2df97cfcb29 100644
@@ -104,7 +104,8 @@ static void virtio_crypto_dataq_akcipher_callback(struct virtio_crypto_request *
 }
 
 static int virtio_crypto_alg_akcipher_init_session(struct virtio_crypto_akcipher_ctx *ctx,
-		struct virtio_crypto_ctrl_header *header, void *para,
+		struct virtio_crypto_ctrl_header *header,
+		struct virtio_crypto_akcipher_session_para *para,
 		const uint8_t *key, unsigned int keylen)
 {
 	struct scatterlist outhdr_sg, key_sg, inhdr_sg, *sgs[3];
@@ -128,7 +129,7 @@ static int virtio_crypto_alg_akcipher_init_session(struct virtio_crypto_akcipher
 
 	ctrl = &vc_ctrl_req->ctrl;
 	memcpy(&ctrl->header, header, sizeof(ctrl->header));
-	memcpy(&ctrl->u, para, sizeof(ctrl->u));
+	memcpy(&ctrl->u.akcipher_create_session.para, para, sizeof(*para));
 	input = &vc_ctrl_req->input;
 	input->status = cpu_to_le32(VIRTIO_CRYPTO_ERR);
 
drivers/cxl/core/pci.c +3 -3
index 003a44132418..5584af15300a 100644
@@ -376,9 +376,9 @@ static bool __cxl_hdm_decode_init(struct cxl_dev_state *cxlds,
 		allowed++;
 	}
 
-	if (!allowed) {
-		cxl_set_mem_enable(cxlds, 0);
-		info->mem_enabled = 0;
+	if (!allowed && info->mem_enabled) {
+		dev_err(dev, "Range register decodes outside platform defined CXL ranges.\n");
+		return -ENXIO;
 	}
 
 	/*
drivers/dma/apple-admac.c +4 -1
index 4cf8da77bdd9..cac4532fe23a 100644
@@ -56,6 +56,8 @@
 
 #define REG_BUS_WIDTH(ch)	(0x8040 + (ch) * 0x200)
 
+#define BUS_WIDTH_WORD_SIZE	GENMASK(3, 0)
+#define BUS_WIDTH_FRAME_SIZE	GENMASK(7, 4)
 #define BUS_WIDTH_8BIT		0x00
 #define BUS_WIDTH_16BIT		0x01
 #define BUS_WIDTH_32BIT		0x02
@@ -739,7 +741,8 @@ static int admac_device_config(struct dma_chan *chan,
 	struct admac_data *ad = adchan->host;
 	bool is_tx = admac_chan_direction(adchan->no) == DMA_MEM_TO_DEV;
 	int wordsize = 0;
-	u32 bus_width = 0;
+	u32 bus_width = readl_relaxed(ad->base + REG_BUS_WIDTH(adchan->no)) &
+		~(BUS_WIDTH_WORD_SIZE | BUS_WIDTH_FRAME_SIZE);
 
 	switch (is_tx ? config->dst_addr_width : config->src_addr_width) {
 	case DMA_SLAVE_BUSWIDTH_1_BYTE:
drivers/dma/fsl-qdma.c +1 -1
index 69385f32e275..f383f219ed00 100644
@@ -805,7 +805,7 @@ fsl_qdma_irq_init(struct platform_device *pdev,
 	int i;
 	int cpu;
 	int ret;
-	char irq_name[20];
+	char irq_name[32];
 
 	fsl_qdma->error_irq =
 		platform_get_irq_byname(pdev, "qdma-error");
drivers/dma/sh/shdma.h +1 -1
index 9c121a4b33ad..f97d80343aea 100644
@@ -25,7 +25,7 @@ struct sh_dmae_chan {
 	const struct sh_dmae_slave_config *config; /* Slave DMA configuration */
 	int xmit_shift;			/* log_2(bytes_per_xfer) */
 	void __iomem *base;
-	char dev_id[16];		/* unique name per DMAC of channel */
+	char dev_id[32];		/* unique name per DMAC of channel */
 	int pm_error;
 	dma_addr_t slave_addr;
 };
drivers/dma/ti/edma.c +10 -0
index 7ec6e5d728b0..9212ac9f978f 100644
@@ -2413,6 +2413,11 @@ static int edma_probe(struct platform_device *pdev)
 	if (irq > 0) {
 		irq_name = devm_kasprintf(dev, GFP_KERNEL, "%s_ccint",
 					  dev_name(dev));
+		if (!irq_name) {
+			ret = -ENOMEM;
+			goto err_disable_pm;
+		}
+
 		ret = devm_request_irq(dev, irq, dma_irq_handler, 0, irq_name,
 				       ecc);
 		if (ret) {
@@ -2429,6 +2434,11 @@ static int edma_probe(struct platform_device *pdev)
 	if (irq > 0) {
 		irq_name = devm_kasprintf(dev, GFP_KERNEL, "%s_ccerrint",
 					  dev_name(dev));
+		if (!irq_name) {
+			ret = -ENOMEM;
+			goto err_disable_pm;
+		}
+
 		ret = devm_request_irq(dev, irq, dma_ccerr_handler, 0, irq_name,
 				       ecc);
 		if (ret) {
drivers/firewire/core-card.c +17 -1
index 6ac5ff20a2fe..8aaa7fcb2630 100644
@@ -429,7 +429,23 @@ static void bm_work(struct work_struct *work)
 	 */
 	card->bm_generation = generation;
 
-	if (root_device == NULL) {
+	if (card->gap_count == 0) {
+		/*
+		 * If self IDs have inconsistent gap counts, do a
+		 * bus reset ASAP. The config rom read might never
+		 * complete, so don't wait for it. However, still
+		 * send a PHY configuration packet prior to the
+		 * bus reset. The PHY configuration packet might
+		 * fail, but 1394-2008 8.4.5.2 explicitly permits
+		 * it in this case, so it should be safe to try.
+		 */
+		new_root_id = local_id;
+		/*
+		 * We must always send a bus reset if the gap count
+		 * is inconsistent, so bypass the 5-reset limit.
+		 */
+		card->bm_retries = 0;
+	} else if (root_device == NULL) {
 		/*
 		 * Either link_on is false, or we failed to read the
 		 * config rom.  In either case, pick another root.
drivers/firmware/efi/arm-runtime.c +1 -1
index 7c48c380d722..1995f0a2e0fc 100644
@@ -107,7 +107,7 @@ static int __init arm_enable_runtime_services(void)
 		efi_memory_desc_t *md;
 
 		for_each_efi_memory_desc(md) {
-			int md_size = md->num_pages << EFI_PAGE_SHIFT;
+			u64 md_size = md->num_pages << EFI_PAGE_SHIFT;
 			struct resource *res;
 
 			if (!(md->attribute & EFI_MEMORY_SP))
drivers/firmware/efi/efi-init.c +10 -9
index 2fd770b499a3..ff9791ce2e15 100644
@@ -116,15 +116,6 @@ static __init int is_usable_memory(efi_memory_desc_t *md)
 	case EFI_BOOT_SERVICES_DATA:
 	case EFI_CONVENTIONAL_MEMORY:
 	case EFI_PERSISTENT_MEMORY:
-		/*
-		 * Special purpose memory is 'soft reserved', which means it
-		 * is set aside initially, but can be hotplugged back in or
-		 * be assigned to the dax driver after boot.
-		 */
-		if (efi_soft_reserve_enabled() &&
-		    (md->attribute & EFI_MEMORY_SP))
-			return false;
-
 		/*
 		 * According to the spec, these regions are no longer reserved
 		 * after calling ExitBootServices(). However, we can only use
@@ -169,6 +160,16 @@ static __init void reserve_regions(void)
 		size = npages << PAGE_SHIFT;
 
 		if (is_memory(md)) {
+			/*
+			 * Special purpose memory is 'soft reserved', which
+			 * means it is set aside initially. Don't add a memblock
+			 * for it now so that it can be hotplugged back in or
+			 * be assigned to the dax driver after boot.
+			 */
+			if (efi_soft_reserve_enabled() &&
+			    (md->attribute & EFI_MEMORY_SP))
+				continue;
+
 			early_init_dt_add_memory_arch(paddr, size);
 
 			if (!is_usable_memory(md))
drivers/firmware/efi/libstub/Makefile +1 -1
index ef5045a53ce0..b6e1dcb98a64 100644
@@ -25,7 +25,7 @@ cflags-$(CONFIG_ARM)		:= $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
 				   -fno-builtin -fpic \
 				   $(call cc-option,-mno-single-pic-base)
 cflags-$(CONFIG_RISCV)		:= $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
-				   -fpic
+				   -fpic -mno-relax
 cflags-$(CONFIG_LOONGARCH)	:= $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
 				   -fpie
 
drivers/firmware/efi/riscv-runtime.c +1 -1
index d0daacd2c903..6b142aa35389 100644
@@ -85,7 +85,7 @@ static int __init riscv_enable_runtime_services(void)
 		efi_memory_desc_t *md;
 
 		for_each_efi_memory_desc(md) {
-			int md_size = md->num_pages << EFI_PAGE_SHIFT;
+			u64 md_size = md->num_pages << EFI_PAGE_SHIFT;
 			struct resource *res;
 
 			if (!(md->attribute & EFI_MEMORY_SP))
drivers/gpu/drm/amd/amdgpu/amdgpu.h +2 -0
index c46c6fbd235e..e636c7850f77 100644
@@ -999,6 +999,8 @@ struct amdgpu_device {
 	bool				in_s3;
 	bool				in_s4;
 	bool				in_s0ix;
+	/* indicate amdgpu suspension status */
+	bool				suspend_complete;
 
 	enum pp_mp1_state               mp1_state;
 	struct amdgpu_doorbell_index doorbell_index;
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +2 -0
index b9983ca99eb7..f24c3a20e901 100644
@@ -2414,6 +2414,7 @@ static int amdgpu_pmops_suspend(struct device *dev)
 	struct drm_device *drm_dev = dev_get_drvdata(dev);
 	struct amdgpu_device *adev = drm_to_adev(drm_dev);
 
+	adev->suspend_complete = false;
 	if (amdgpu_acpi_is_s0ix_active(adev))
 		adev->in_s0ix = true;
 	else if (amdgpu_acpi_is_s3_active(adev))
@@ -2428,6 +2429,7 @@ static int amdgpu_pmops_suspend_noirq(struct device *dev)
 	struct drm_device *drm_dev = dev_get_drvdata(dev);
 	struct amdgpu_device *adev = drm_to_adev(drm_dev);
 
+	adev->suspend_complete = true;
 	if (amdgpu_acpi_should_gpu_reset(adev))
 		return amdgpu_asic_reset(adev);
 
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +8 -0
index 84ca601f7d5f..195b29892354 100644
@@ -3064,6 +3064,14 @@ static int gfx_v9_0_cp_gfx_start(struct amdgpu_device *adev)
 
 	gfx_v9_0_cp_gfx_enable(adev, true);
 
+	/* Now only limit the quirk on the APU gfx9 series and already
+	 * confirmed that the APU gfx10/gfx11 needn't such update.
+	 */
+	if (adev->flags & AMD_IS_APU &&
+			adev->in_s3 && !adev->suspend_complete) {
+		DRM_INFO(" Will skip the CSB packet resubmit\n");
+		return 0;
+	}
 	r = amdgpu_ring_alloc(ring, gfx_v9_0_get_csb_size(adev) + 4 + 3);
 	if (r) {
 		DRM_ERROR("amdgpu: cp failed to lock ring (%d).\n", r);
drivers/gpu/drm/amd/amdgpu/soc15.c +22 -0
index 811dd3ea6362..489c89465c78 100644
@@ -1285,10 +1285,32 @@ static int soc15_common_suspend(void *handle)
 	return soc15_common_hw_fini(adev);
 }
 
+static bool soc15_need_reset_on_resume(struct amdgpu_device *adev)
+{
+	u32 sol_reg;
+
+	sol_reg = RREG32_SOC15(MP0, 0, mmMP0_SMN_C2PMSG_81);
+
+	/* Will reset for the following suspend abort cases.
+	 * 1) Only reset limit on APU side, dGPU hasn't checked yet.
+	 * 2) S3 suspend abort and TOS already launched.
+	 */
+	if (adev->flags & AMD_IS_APU && adev->in_s3 &&
+			!adev->suspend_complete &&
+			sol_reg)
+		return true;
+
+	return false;
+}
+
 static int soc15_common_resume(void *handle)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 
+	if (soc15_need_reset_on_resume(adev)) {
+		dev_info(adev->dev, "S3 suspend abort case, let's reset ASIC.\n");
+		soc15_asic_reset(adev);
+	}
 	return soc15_common_hw_init(adev);
 }
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -0
index a826c9293319..da16048bf100 100644
@@ -2255,6 +2255,7 @@ static int dm_sw_fini(void *handle)
 
 	if (adev->dm.dmub_srv) {
 		dmub_srv_destroy(adev->dm.dmub_srv);
+		kfree(adev->dm.dmub_srv);
 		adev->dm.dmub_srv = NULL;
 	}
 
drivers/gpu/drm/drm_syncobj.c +4 -2
index da0145bc104a..8f2737075dc2 100644
@@ -980,7 +980,8 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
 	uint64_t *points;
 	uint32_t signaled_count, i;
 
-	if (flags & DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT)
+	if (flags & (DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT |
+		     DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE))
 		lockdep_assert_none_held_once();
 
 	points = kmalloc_array(count, sizeof(*points), GFP_KERNEL);
@@ -1049,7 +1050,8 @@ static signed long drm_syncobj_array_wait_timeout(struct drm_syncobj **syncobjs,
 	 * fallthough and try a 0 timeout wait!
 	 */
 
-	if (flags & DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT) {
+	if (flags & (DRM_SYNCOBJ_WAIT_FLAGS_WAIT_FOR_SUBMIT |
+		     DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE)) {
 		for (i = 0; i < count; ++i)
 			drm_syncobj_fence_add_wait(syncobjs[i], &entries[i]);
 	}
drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c +7 -1
index 19188683c8fc..8c2bf1c16f2a 100644
@@ -154,11 +154,17 @@ shadow_fw_init(struct nvkm_bios *bios, const char *name)
 	return (void *)fw;
 }
 
+static void
+shadow_fw_release(void *fw)
+{
+	release_firmware(fw);
+}
+
 static const struct nvbios_source
 shadow_fw = {
 	.name = "firmware",
 	.init = shadow_fw_init,
-	.fini = (void(*)(void *))release_firmware,
+	.fini = shadow_fw_release,
 	.read = shadow_fw_read,
 	.rw = false,
 };
drivers/gpu/drm/ttm/ttm_pool.c +1 -1
index 86affe987a1c..393b97b4a991 100644
@@ -383,7 +383,7 @@ static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt,
 				enum ttm_caching caching,
 				pgoff_t start_page, pgoff_t end_page)
 {
-	struct page **pages = tt->pages;
+	struct page **pages = &tt->pages[start_page];
 	unsigned int order;
 	pgoff_t i, nr;
 
drivers/hwmon/coretemp.c +1 -1
index 59344ad62822..c0aa6bfa66b2 100644
@@ -40,7 +40,7 @@ MODULE_PARM_DESC(tjmax, "TjMax value in degrees Celsius");
 
 #define PKG_SYSFS_ATTR_NO	1	/* Sysfs attribute for package temp */
 #define BASE_SYSFS_ATTR_NO	2	/* Sysfs Base attr no for coretemp */
-#define NUM_REAL_CORES		128	/* Number of Real cores per cpu */
+#define NUM_REAL_CORES		512	/* Number of Real cores per cpu */
 #define CORETEMP_NAME_LENGTH	28	/* String Length of attrs */
 #define MAX_CORE_ATTRS		4	/* Maximum no of basic attrs */
 #define TOTAL_ATTRS		(MAX_CORE_ATTRS + 1)
drivers/i2c/busses/i2c-imx.c +5 -0
index fc70920c4dda..0c203c614197 100644
@@ -804,6 +804,11 @@ static irqreturn_t i2c_imx_slave_handle(struct imx_i2c_struct *i2c_imx,
 		ctl &= ~I2CR_MTX;
 		imx_i2c_write_reg(ctl, i2c_imx, IMX_I2C_I2CR);
 		imx_i2c_read_reg(i2c_imx, IMX_I2C_I2DR);
+
+		/* flag the last byte as processed */
+		i2c_imx_slave_event(i2c_imx,
+				    I2C_SLAVE_READ_PROCESSED, &value);
+
 		i2c_imx_slave_finish_op(i2c_imx);
 		return IRQ_HANDLED;
 	}
drivers/infiniband/hw/bnxt_re/ib_verbs.c +2 -3
index 4ed8814efde6..6ed0568747ea 100644
@@ -1710,7 +1710,7 @@ int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr,
 	switch (srq_attr_mask) {
 	case IB_SRQ_MAX_WR:
 		/* SRQ resize is not supported */
-		break;
+		return -EINVAL;
 	case IB_SRQ_LIMIT:
 		/* Change the SRQ threshold */
 		if (srq_attr->srq_limit > srq->qplib_srq.max_wqe)
@@ -1725,13 +1725,12 @@ int bnxt_re_modify_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr,
 		/* On success, update the shadow */
 		srq->srq_limit = srq_attr->srq_limit;
 		/* No need to Build and send response back to udata */
-		break;
+		return 0;
 	default:
 		ibdev_err(&rdev->ibdev,
 			  "Unsupported srq_attr_mask 0x%x", srq_attr_mask);
 		return -EINVAL;
 	}
-	return 0;
 }
 
 int bnxt_re_query_srq(struct ib_srq *ib_srq, struct ib_srq_attr *srq_attr)
drivers/infiniband/hw/hfi1/pio.c +5 -1
index 51ae58c02b15..802b0e5801a7 100644
@@ -2089,7 +2089,7 @@ int init_credit_return(struct hfi1_devdata *dd)
 				   "Unable to allocate credit return DMA range for NUMA %d\n",
 				   i);
 			ret = -ENOMEM;
-			goto done;
+			goto free_cr_base;
 		}
 	}
 	set_dev_node(&dd->pcidev->dev, dd->node);
@@ -2097,6 +2097,10 @@ int init_credit_return(struct hfi1_devdata *dd)
 	ret = 0;
 done:
 	return ret;
+
+free_cr_base:
+	free_credit_return(dd);
+	goto done;
 }
 
 void free_credit_return(struct hfi1_devdata *dd)
drivers/infiniband/hw/hfi1/sdma.c +1 -1
index 26c62162759b..969c5c3ab859 100644
@@ -3158,7 +3158,7 @@ int _pad_sdma_tx_descs(struct hfi1_devdata *dd, struct sdma_txreq *tx)
 {
 	int rval = 0;
 
-	if ((unlikely(tx->num_desc + 1 == tx->desc_limit))) {
+	if ((unlikely(tx->num_desc == tx->desc_limit))) {
 		rval = _extend_sdma_tx_descs(dd, tx);
 		if (rval) {
 			__sdma_txclean(dd, tx);
drivers/infiniband/hw/irdma/defs.h +1 -0
index ad54260cb58c..ebe98fa2b1cd 100644
@@ -345,6 +345,7 @@ enum irdma_cqp_op_type {
 #define IRDMA_AE_LLP_TOO_MANY_KEEPALIVE_RETRIES				0x050b
 #define IRDMA_AE_LLP_DOUBT_REACHABILITY					0x050c
 #define IRDMA_AE_LLP_CONNECTION_ESTABLISHED				0x050e
+#define IRDMA_AE_LLP_TOO_MANY_RNRS					0x050f
 #define IRDMA_AE_RESOURCE_EXHAUSTION					0x0520
 #define IRDMA_AE_RESET_SENT						0x0601
 #define IRDMA_AE_TERMINATE_SENT						0x0602
drivers/infiniband/hw/irdma/hw.c +8 -0
index 311a1138e838..918a2d783141 100644
@@ -379,6 +379,7 @@ static void irdma_process_aeq(struct irdma_pci_f *rf)
 		case IRDMA_AE_LLP_TOO_MANY_RETRIES:
 		case IRDMA_AE_LCE_QP_CATASTROPHIC:
 		case IRDMA_AE_LCE_FUNCTION_CATASTROPHIC:
+		case IRDMA_AE_LLP_TOO_MANY_RNRS:
 		case IRDMA_AE_LCE_CQ_CATASTROPHIC:
 		case IRDMA_AE_UDA_XMIT_DGRAM_TOO_LONG:
 		default:
@@ -562,6 +563,13 @@ static void irdma_destroy_irq(struct irdma_pci_f *rf,
 	dev->irq_ops->irdma_dis_irq(dev, msix_vec->idx);
 	irq_update_affinity_hint(msix_vec->irq, NULL);
 	free_irq(msix_vec->irq, dev_id);
+	if (rf == dev_id) {
+		tasklet_kill(&rf->dpc_tasklet);
+	} else {
+		struct irdma_ceq *iwceq = (struct irdma_ceq *)dev_id;
+
+		tasklet_kill(&iwceq->dpc_tasklet);
+	}
 }
 
 /**
drivers/infiniband/hw/irdma/verbs.c +5 -4
index 01faec6ea528..42c671f20923 100644
@@ -762,7 +762,9 @@ static int irdma_validate_qp_attrs(struct ib_qp_init_attr *init_attr,
 
 	if (init_attr->cap.max_inline_data > uk_attrs->max_hw_inline ||
 	    init_attr->cap.max_send_sge > uk_attrs->max_hw_wq_frags ||
-	    init_attr->cap.max_recv_sge > uk_attrs->max_hw_wq_frags)
+	    init_attr->cap.max_recv_sge > uk_attrs->max_hw_wq_frags ||
+	    init_attr->cap.max_send_wr > uk_attrs->max_hw_wq_quanta ||
+	    init_attr->cap.max_recv_wr > uk_attrs->max_hw_rq_quanta)
 		return -EINVAL;
 
 	if (rdma_protocol_roce(&iwdev->ibdev, 1)) {
@@ -2119,9 +2121,8 @@ static int irdma_create_cq(struct ib_cq *ibcq,
 		info.cq_base_pa = iwcq->kmem.pa;
 	}
 
-	if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2)
-		info.shadow_read_threshold = min(info.cq_uk_init_info.cq_size / 2,
-						 (u32)IRDMA_MAX_CQ_READ_THRESH);
+	info.shadow_read_threshold = min(info.cq_uk_init_info.cq_size / 2,
+					 (u32)IRDMA_MAX_CQ_READ_THRESH);
 
 	if (irdma_sc_cq_init(cq, &info)) {
 		ibdev_dbg(&iwdev->ibdev, "VERBS: init cq fail\n");
drivers/infiniband/hw/qedr/verbs.c +10 -1
index d745ce9dc88a..61755b5f3e20 100644
@@ -1879,8 +1879,17 @@ static int qedr_create_user_qp(struct qedr_dev *dev,
 		/* RQ - read access only (0) */
 		rc = qedr_init_user_queue(udata, dev, &qp->urq, ureq.rq_addr,
 					  ureq.rq_len, true, 0, alloc_and_init);
-		if (rc)
+		if (rc) {
+			ib_umem_release(qp->usq.umem);
+			qp->usq.umem = NULL;
+			if (rdma_protocol_roce(&dev->ibdev, 1)) {
+				qedr_free_pbl(dev, &qp->usq.pbl_info,
+					      qp->usq.pbl_tbl);
+			} else {
+				kfree(qp->usq.pbl_tbl);
+			}
 			return rc;
+		}
 	}
 
 	memset(&in_params, 0, sizeof(in_params));
drivers/infiniband/ulp/srpt/ib_srpt.c +11 -6
index 25e799dba999..cffa93f114a7 100644
@@ -79,12 +79,16 @@ module_param(srpt_srq_size, int, 0444);
 MODULE_PARM_DESC(srpt_srq_size,
 		 "Shared receive queue (SRQ) size.");
 
+static int srpt_set_u64_x(const char *buffer, const struct kernel_param *kp)
+{
+	return kstrtou64(buffer, 16, (u64 *)kp->arg);
+}
 static int srpt_get_u64_x(char *buffer, const struct kernel_param *kp)
 {
 	return sprintf(buffer, "0x%016llx\n", *(u64 *)kp->arg);
 }
-module_param_call(srpt_service_guid, NULL, srpt_get_u64_x, &srpt_service_guid,
-		  0444);
+module_param_call(srpt_service_guid, srpt_set_u64_x, srpt_get_u64_x,
+		  &srpt_service_guid, 0444);
 MODULE_PARM_DESC(srpt_service_guid,
 		 "Using this value for ioc_guid, id_ext, and cm_listen_id instead of using the node_guid of the first HCA.");
 
@@ -210,10 +214,12 @@ static const char *get_ch_state_name(enum rdma_ch_state s)
 /**
  * srpt_qp_event - QP event callback function
  * @event: Description of the event that occurred.
- * @ch: SRPT RDMA channel.
+ * @ptr: SRPT RDMA channel.
  */
-static void srpt_qp_event(struct ib_event *event, struct srpt_rdma_ch *ch)
+static void srpt_qp_event(struct ib_event *event, void *ptr)
 {
+	struct srpt_rdma_ch *ch = ptr;
+
 	pr_debug("QP event %d on ch=%p sess_name=%s-%d state=%s\n",
 		 event->event, ch, ch->sess_name, ch->qp->qp_num,
 		 get_ch_state_name(ch->state));
@@ -1807,8 +1813,7 @@ static int srpt_create_ch_ib(struct srpt_rdma_ch *ch)
 	ch->cq_size = ch->rq_size + sq_size;
 
 	qp_init->qp_context = (void *)ch;
-	qp_init->event_handler
-		= (void(*)(struct ib_event *, void*))srpt_qp_event;
+	qp_init->event_handler = srpt_qp_event;
 	qp_init->send_cq = ch->cq;
 	qp_init->recv_cq = ch->cq;
 	qp_init->sq_sig_type = IB_SIGNAL_REQ_WR;
drivers/input/joystick/xpad.c +2 -0
index e8011d70d079..02f3bc4e4895 100644
@@ -294,6 +294,7 @@ static const struct xpad_device {
 	{ 0x1689, 0xfd00, "Razer Onza Tournament Edition", 0, XTYPE_XBOX360 },
 	{ 0x1689, 0xfd01, "Razer Onza Classic Edition", 0, XTYPE_XBOX360 },
 	{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
+	{ 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
 	{ 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
 	{ 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
 	{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
@@ -489,6 +490,7 @@ static const struct usb_device_id xpad_table[] = {
 	XPAD_XBOX360_VENDOR(0x15e4),		/* Numark X-Box 360 controllers */
 	XPAD_XBOX360_VENDOR(0x162e),		/* Joytech X-Box 360 controllers */
 	XPAD_XBOX360_VENDOR(0x1689),		/* Razer Onza */
+	XPAD_XBOX360_VENDOR(0x17ef),		/* Lenovo */
 	XPAD_XBOX360_VENDOR(0x1949),		/* Amazon controllers */
 	XPAD_XBOX360_VENDOR(0x1bad),		/* Harminix Rock Band Guitar and Drums */
 	XPAD_XBOX360_VENDOR(0x20d6),		/* PowerA Controllers */
drivers/input/serio/i8042-acpipnpio.h +8 -0
index cd45a65e17f2..dfc6c581873b 100644
@@ -634,6 +634,14 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		},
 		.driver_data = (void *)(SERIO_QUIRK_NOAUX)
 	},
+	{
+		/* Fujitsu Lifebook U728 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK U728"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_NOAUX)
+	},
 	{
 		/* Gigabyte M912 */
 		.matches = {
drivers/input/touchscreen/goodix.c +2 -1
index 3f0732db7bf5..6de64b3f900f 100644
@@ -884,7 +884,8 @@ static int goodix_add_acpi_gpio_mappings(struct goodix_ts_data *ts)
 		}
 	}
 
-	if (ts->gpio_count == 2 && ts->gpio_int_idx == 0) {
+	/* Some devices with gpio_int_idx 0 list a third unused GPIO */
+	if ((ts->gpio_count == 2 || ts->gpio_count == 3) && ts->gpio_int_idx == 0) {
 		ts->irq_pin_access_method = IRQ_PIN_ACCESS_ACPI_GPIO;
 		gpio_mapping = acpi_goodix_int_first_gpios;
 	} else if (ts->gpio_count == 2 && ts->gpio_int_idx == 1) {
drivers/irqchip/irq-gic-v3-its.c +1 -1
index b83b39e93e1a..4d03fb3a8246 100644
@@ -3161,6 +3161,7 @@ static void its_cpu_init_lpis(void)
 	val |= GICR_CTLR_ENABLE_LPIS;
 	writel_relaxed(val, rbase + GICR_CTLR);
 
+out:
 	if (gic_rdists->has_vlpis && !gic_rdists->has_rvpeid) {
 		void __iomem *vlpi_base = gic_data_rdist_vlpi_base();
 
@@ -3196,7 +3197,6 @@ static void its_cpu_init_lpis(void)
 
 	/* Make sure the GIC has seen the above */
 	dsb(sy);
-out:
 	gic_data_rdist()->flags |= RD_LOCAL_LPI_ENABLED;
 	pr_info("GICv3: CPU%d: using %s LPI pending table @%pa\n",
 		smp_processor_id(),
drivers/irqchip/irq-sifive-plic.c +7 -1
index 2f4784860df5..be5e19a86ac3 100644
@@ -144,7 +144,13 @@ static void plic_irq_eoi(struct irq_data *d)
 {
 	struct plic_handler *handler = this_cpu_ptr(&plic_handlers);
 
-	writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM);
+	if (unlikely(irqd_irq_disabled(d))) {
+		plic_toggle(handler, d->hwirq, 1);
+		writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM);
+		plic_toggle(handler, d->hwirq, 0);
+	} else {
+		writel(d->hwirq, handler->hart_base + CONTEXT_CLAIM);
+	}
 }
 
 #ifdef CONFIG_SMP
drivers/md/dm-crypt.c +79 -16

180 lines not on this page · raw message

drivers/md/dm-integrity.c +82 -9

121 lines not on this page · raw message

drivers/md/dm-verity-target.c +80 -6

123 lines not on this page · raw message

drivers/md/dm-verity.h +6 -0
index f3f607008419..4620a98c9956 100644
@@ -11,6 +11,7 @@
 #ifndef DM_VERITY_H
 #define DM_VERITY_H
 
+#include <linux/dm-io.h>
 #include <linux/dm-bufio.h>
 #include <linux/device-mapper.h>
 #include <linux/interrupt.h>
@@ -68,6 +69,9 @@ struct dm_verity {
 	unsigned long *validated_blocks; /* bitset blocks validated */
 
 	char *signature_key_desc; /* signature keyring reference */
+
+	struct dm_io_client *io;
+	mempool_t recheck_pool;
 };
 
 struct dm_verity_io {
@@ -84,6 +88,8 @@ struct dm_verity_io {
 
 	struct work_struct work;
 
+	char *recheck_buffer;
+
 	/*
 	 * Three variably-size fields follow this struct:
 	 *
drivers/md/md.c +5 -1
index c7efe1522951..846bdee4daa0 100644
@@ -564,8 +564,12 @@ static void submit_flushes(struct work_struct *ws)
 			rcu_read_lock();
 		}
 	rcu_read_unlock();
-	if (atomic_dec_and_test(&mddev->flush_pending))
+	if (atomic_dec_and_test(&mddev->flush_pending)) {
+		/* The pair is percpu_ref_get() from md_flush_request() */
+		percpu_ref_put(&mddev->active_io);
+
 		queue_work(md_wq, &mddev->flush_work);
+	}
 }
 
 static void md_submit_flush_data(struct work_struct *ws)
drivers/misc/open-dice.c +1 -1
index c61be3404c6f..504b836a7abf 100644
@@ -142,7 +142,6 @@ static int __init open_dice_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	*drvdata = (struct open_dice_drvdata){
-		.lock = __MUTEX_INITIALIZER(drvdata->lock),
 		.rmem = rmem,
 		.misc = (struct miscdevice){
 			.parent	= dev,
@@ -152,6 +151,7 @@ static int __init open_dice_probe(struct platform_device *pdev)
 			.mode	= 0600,
 		},
 	};
+	mutex_init(&drvdata->lock);
 
 	/* Index overflow check not needed, misc_register() will fail. */
 	snprintf(drvdata->name, sizeof(drvdata->name), DRIVER_NAME"%u", dev_idx++);
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c +4 -0
index 3784347b6fd8..55639c133dd0 100644
@@ -437,6 +437,10 @@ static void npc_fixup_vf_rule(struct rvu *rvu, struct npc_mcam *mcam,
 			return;
 	}
 
+	/* AF modifies given action iff PF/VF has requested for it */
+	if ((entry->action & 0xFULL) != NIX_RX_ACTION_DEFAULT)
+		return;
+
 	/* copy VF default entry action to the VF mcam entry */
 	rx_action = npc_get_default_entry_action(rvu, mcam, blkaddr,
 						 target_func);
drivers/net/ethernet/microchip/sparx5/sparx5_main.c +1 -0
index 3423c95cc84a..7031f41287e0 100644
@@ -744,6 +744,7 @@ static int mchp_sparx5_probe(struct platform_device *pdev)
 	platform_set_drvdata(pdev, sparx5);
 	sparx5->pdev = pdev;
 	sparx5->dev = &pdev->dev;
+	spin_lock_init(&sparx5->tx_lock);
 
 	/* Do switch core reset if available */
 	reset = devm_reset_control_get_optional_shared(&pdev->dev, "switch");
drivers/net/ethernet/microchip/sparx5/sparx5_main.h +1 -0
index 7a83222caa73..cb3173d2b0e8 100644
@@ -278,6 +278,7 @@ struct sparx5 {
 	int xtr_irq;
 	/* Frame DMA */
 	int fdma_irq;
+	spinlock_t tx_lock; /* lock for frame transmission */
 	struct sparx5_rx rx;
 	struct sparx5_tx tx;
 	/* PTP */
drivers/net/ethernet/microchip/sparx5/sparx5_packet.c +2 -0
index 6db6ac6a3bbc..ac7e1cffbcec 100644
@@ -244,10 +244,12 @@ netdev_tx_t sparx5_port_xmit_impl(struct sk_buff *skb, struct net_device *dev)
 	}
 
 	skb_tx_timestamp(skb);
+	spin_lock(&sparx5->tx_lock);
 	if (sparx5->fdma_irq > 0)
 		ret = sparx5_fdma_xmit(sparx5, ifh, skb);
 	else
 		ret = sparx5_inject(sparx5, ifh, skb, dev);
+	spin_unlock(&sparx5->tx_lock);
 
 	if (ret == -EBUSY)
 		goto busy;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +0 -20
index 66178ce6d000..91b2aa81914b 100644
@@ -5823,11 +5823,6 @@ static irqreturn_t stmmac_mac_interrupt(int irq, void *dev_id)
 	struct net_device *dev = (struct net_device *)dev_id;
 	struct stmmac_priv *priv = netdev_priv(dev);
 
-	if (unlikely(!dev)) {
-		netdev_err(priv->dev, "%s: invalid dev pointer\n", __func__);
-		return IRQ_NONE;
-	}
-
 	/* Check if adapter is up */
 	if (test_bit(STMMAC_DOWN, &priv->state))
 		return IRQ_HANDLED;
@@ -5843,11 +5838,6 @@ static irqreturn_t stmmac_safety_interrupt(int irq, void *dev_id)
 	struct net_device *dev = (struct net_device *)dev_id;
 	struct stmmac_priv *priv = netdev_priv(dev);
 
-	if (unlikely(!dev)) {
-		netdev_err(priv->dev, "%s: invalid dev pointer\n", __func__);
-		return IRQ_NONE;
-	}
-
 	/* Check if adapter is up */
 	if (test_bit(STMMAC_DOWN, &priv->state))
 		return IRQ_HANDLED;
@@ -5869,11 +5859,6 @@ static irqreturn_t stmmac_msi_intr_tx(int irq, void *data)
 	dma_conf = container_of(tx_q, struct stmmac_dma_conf, tx_queue[chan]);
 	priv = container_of(dma_conf, struct stmmac_priv, dma_conf);
 
-	if (unlikely(!data)) {
-		netdev_err(priv->dev, "%s: invalid dev pointer\n", __func__);
-		return IRQ_NONE;
-	}
-
 	/* Check if adapter is up */
 	if (test_bit(STMMAC_DOWN, &priv->state))
 		return IRQ_HANDLED;
@@ -5900,11 +5885,6 @@ static irqreturn_t stmmac_msi_intr_rx(int irq, void *data)
 	dma_conf = container_of(rx_q, struct stmmac_dma_conf, rx_queue[chan]);
 	priv = container_of(dma_conf, struct stmmac_priv, dma_conf);
 
-	if (unlikely(!data)) {
-		netdev_err(priv->dev, "%s: invalid dev pointer\n", __func__);
-		return IRQ_NONE;
-	}
-
 	/* Check if adapter is up */
 	if (test_bit(STMMAC_DOWN, &priv->state))
 		return IRQ_HANDLED;
drivers/net/gtp.c +5 -5
index bace989591f7..937dd9cf4fba 100644
@@ -1906,20 +1906,20 @@ static int __init gtp_init(void)
 	if (err < 0)
 		goto error_out;
 
-	err = genl_register_family(&gtp_genl_family);
+	err = register_pernet_subsys(&gtp_net_ops);
 	if (err < 0)
 		goto unreg_rtnl_link;
 
-	err = register_pernet_subsys(&gtp_net_ops);
+	err = genl_register_family(&gtp_genl_family);
 	if (err < 0)
-		goto unreg_genl_family;
+		goto unreg_pernet_subsys;
 
 	pr_info("GTP module loaded (pdp ctx size %zd bytes)\n",
 		sizeof(struct pdp_ctx));
 	return 0;
 
-unreg_genl_family:
-	genl_unregister_family(&gtp_genl_family);
+unreg_pernet_subsys:
+	unregister_pernet_subsys(&gtp_net_ops);
 unreg_rtnl_link:
 	rtnl_link_unregister(&gtp_link_ops);
 error_out:
drivers/net/phy/realtek.c +3 -1
index 3d99fd6664d7..70e52d27064e 100644
@@ -414,9 +414,11 @@ static int rtl8211f_config_init(struct phy_device *phydev)
 				ERR_PTR(ret));
 			return ret;
 		}
+
+		return genphy_soft_reset(phydev);
 	}
 
-	return genphy_soft_reset(phydev);
+	return 0;
 }
 
 static int rtl821x_resume(struct phy_device *phydev)
drivers/nvme/host/fc.c +6 -41

95 lines not on this page · raw message

drivers/nvme/target/fc.c +75 -56

328 lines not on this page · raw message

drivers/nvme/target/fcloop.c +3 -3
index c780af36c1d4..f5b8442b653d 100644
@@ -358,7 +358,7 @@ fcloop_h2t_ls_req(struct nvme_fc_local_port *localport,
 	if (!rport->targetport) {
 		tls_req->status = -ECONNREFUSED;
 		spin_lock(&rport->lock);
-		list_add_tail(&rport->ls_list, &tls_req->ls_list);
+		list_add_tail(&tls_req->ls_list, &rport->ls_list);
 		spin_unlock(&rport->lock);
 		queue_work(nvmet_wq, &rport->ls_work);
 		return ret;
@@ -391,7 +391,7 @@ fcloop_h2t_xmt_ls_rsp(struct nvmet_fc_target_port *targetport,
 	if (remoteport) {
 		rport = remoteport->private;
 		spin_lock(&rport->lock);
-		list_add_tail(&rport->ls_list, &tls_req->ls_list);
+		list_add_tail(&tls_req->ls_list, &rport->ls_list);
 		spin_unlock(&rport->lock);
 		queue_work(nvmet_wq, &rport->ls_work);
 	}
@@ -446,7 +446,7 @@ fcloop_t2h_ls_req(struct nvmet_fc_target_port *targetport, void *hosthandle,
 	if (!tport->remoteport) {
 		tls_req->status = -ECONNREFUSED;
 		spin_lock(&tport->lock);
-		list_add_tail(&tport->ls_list, &tls_req->ls_list);
+		list_add_tail(&tls_req->ls_list, &tport->ls_list);
 		spin_unlock(&tport->lock);
 		queue_work(nvmet_wq, &tport->ls_work);
 		return ret;
drivers/nvme/target/tcp.c +1 -0
index ce42afe8f64e..348076827469 100644
@@ -1884,6 +1884,7 @@ static void __exit nvmet_tcp_exit(void)
 	flush_workqueue(nvmet_wq);
 
 	destroy_workqueue(nvmet_tcp_wq);
+	ida_destroy(&nvmet_tcp_queue_ida);
 }
 
 module_init(nvmet_tcp_init);
drivers/pci/controller/dwc/pcie-designware-ep.c +2 -1
index 59c164b5c64a..4086a7818981 100644
@@ -6,6 +6,7 @@
  * Author: Kishon Vijay Abraham I <[email protected]>
  */
 
+#include <linux/align.h>
 #include <linux/of.h>
 #include <linux/platform_device.h>
 
@@ -600,7 +601,7 @@ int dw_pcie_ep_raise_msix_irq(struct dw_pcie_ep *ep, u8 func_no,
 	}
 
 	aligned_offset = msg_addr & (epc->mem->window.page_size - 1);
-	msg_addr &= ~aligned_offset;
+	msg_addr = ALIGN_DOWN(msg_addr, epc->mem->window.page_size);
 	ret = dw_pcie_ep_map_addr(epc, func_no, 0, ep->msi_mem_phys, msg_addr,
 				  epc->mem->window.page_size);
 	if (ret)
drivers/pci/msi/irqdomain.c +1 -1
index e9cf318e6670..34877a1f43a1 100644
@@ -60,7 +60,7 @@ static irq_hw_number_t pci_msi_domain_calc_hwirq(struct msi_desc *desc)
 
 	return (irq_hw_number_t)desc->msi_index |
 		pci_dev_id(dev) << 11 |
-		(pci_domain_nr(dev->bus) & 0xFFFFFFFF) << 27;
+		((irq_hw_number_t)(pci_domain_nr(dev->bus) & 0xFFFFFFFF)) << 27;
 }
 
 static inline bool pci_msi_desc_is_multi_msi(struct msi_desc *desc)
drivers/platform/x86/intel/vbtn.c +0 -3
index 8e2b07ed2ce9..c10c99a31a90 100644
@@ -200,9 +200,6 @@ static void notify_handler(acpi_handle handle, u32 event, void *context)
 	autorelease = val && (!ke_rel || ke_rel->type == KE_IGNORE);
 
 	sparse_keymap_report_event(input_dev, event, val, autorelease);
-
-	/* Some devices need this to report further events */
-	acpi_evaluate_object(handle, "VBDL", NULL, NULL);
 }
 
 /*
drivers/platform/x86/thinkpad_acpi.c +3 -2
index 6edd2e294750..c2fb19af1070 100644
@@ -10511,6 +10511,7 @@ static int convert_dytc_to_profile(int funcmode, int dytcmode,
 		return 0;
 	default:
 		/* Unknown function */
+		pr_debug("unknown function 0x%x\n", funcmode);
 		return -EOPNOTSUPP;
 	}
 	return 0;
@@ -10696,8 +10697,8 @@ static void dytc_profile_refresh(void)
 		return;
 
 	perfmode = (output >> DYTC_GET_MODE_BIT) & 0xF;
-	convert_dytc_to_profile(funcmode, perfmode, &profile);
-	if (profile != dytc_current_profile) {
+	err = convert_dytc_to_profile(funcmode, perfmode, &profile);
+	if (!err && profile != dytc_current_profile) {
 		dytc_current_profile = profile;
 		platform_profile_notify();
 	}
drivers/platform/x86/touchscreen_dmi.c +37 -2
index 9a92d515abb9..11d72a353355 100644
@@ -50,7 +50,7 @@ static const struct property_entry chuwi_hi8_air_props[] = {
 };
 
 static const struct ts_dmi_data chuwi_hi8_air_data = {
-	.acpi_name	= "MSSL1680:00",
+	.acpi_name	= "MSSL1680",
 	.properties	= chuwi_hi8_air_props,
 };
 
@@ -913,6 +913,32 @@ static const struct ts_dmi_data teclast_tbook11_data = {
 	.properties	= teclast_tbook11_props,
 };
 
+static const struct property_entry teclast_x16_plus_props[] = {
+	PROPERTY_ENTRY_U32("touchscreen-min-x", 8),
+	PROPERTY_ENTRY_U32("touchscreen-min-y", 14),
+	PROPERTY_ENTRY_U32("touchscreen-size-x", 1916),
+	PROPERTY_ENTRY_U32("touchscreen-size-y", 1264),
+	PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
+	PROPERTY_ENTRY_STRING("firmware-name", "gsl3692-teclast-x16-plus.fw"),
+	PROPERTY_ENTRY_U32("silead,max-fingers", 10),
+	PROPERTY_ENTRY_BOOL("silead,home-button"),
+	{ }
+};
+
+static const struct ts_dmi_data teclast_x16_plus_data = {
+	.embedded_fw = {
+		.name	= "silead/gsl3692-teclast-x16-plus.fw",
+		.prefix = { 0xf0, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00 },
+		.length	= 43560,
+		.sha256	= { 0x9d, 0xb0, 0x3d, 0xf1, 0x00, 0x3c, 0xb5, 0x25,
+			    0x62, 0x8a, 0xa0, 0x93, 0x4b, 0xe0, 0x4e, 0x75,
+			    0xd1, 0x27, 0xb1, 0x65, 0x3c, 0xba, 0xa5, 0x0f,
+			    0xcd, 0xb4, 0xbe, 0x00, 0xbb, 0xf6, 0x43, 0x29 },
+	},
+	.acpi_name	= "MSSL1680:00",
+	.properties	= teclast_x16_plus_props,
+};
+
 static const struct property_entry teclast_x3_plus_props[] = {
 	PROPERTY_ENTRY_U32("touchscreen-size-x", 1980),
 	PROPERTY_ENTRY_U32("touchscreen-size-y", 1500),
@@ -1567,6 +1593,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
 			DMI_MATCH(DMI_PRODUCT_SKU, "E5A6_A1"),
 		},
 	},
+	{
+		/* Teclast X16 Plus */
+		.driver_data = (void *)&teclast_x16_plus_data,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "TECLAST"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Default string"),
+			DMI_MATCH(DMI_PRODUCT_SKU, "D3A5_A1"),
+		},
+	},
 	{
 		/* Teclast X3 Plus */
 		.driver_data = (void *)&teclast_x3_plus_data,
@@ -1741,7 +1776,7 @@ static void ts_dmi_add_props(struct i2c_client *client)
 	int error;
 
 	if (has_acpi_companion(dev) &&
-	    !strncmp(ts_data->acpi_name, client->name, I2C_NAME_SIZE)) {
+	    strstarts(client->name, ts_data->acpi_name)) {
 		error = device_create_managed_software_node(dev, ts_data->properties, NULL);
 		if (error)
 			dev_err(dev, "failed to add properties: %d\n", error);
drivers/regulator/pwm-regulator.c +3 -0
index b9eeaff1c661..925e486f73a6 100644
@@ -158,6 +158,9 @@ static int pwm_regulator_get_voltage(struct regulator_dev *rdev)
 	pwm_get_state(drvdata->pwm, &pstate);
 
 	voltage = pwm_get_relative_duty_cycle(&pstate, duty_unit);
+	if (voltage < min(max_uV_duty, min_uV_duty) ||
+	    voltage > max(max_uV_duty, min_uV_duty))
+		return -ENOTRECOVERABLE;
 
 	/*
 	 * The dutycycle for min_uV might be greater than the one for max_uV.
drivers/s390/cio/device_ops.c +3 -3
index c533d1dadc6b..a5dba3829769 100644
@@ -202,7 +202,8 @@ int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa,
 		return -EINVAL;
 	if (cdev->private->state == DEV_STATE_NOT_OPER)
 		return -ENODEV;
-	if (cdev->private->state == DEV_STATE_VERIFY) {
+	if (cdev->private->state == DEV_STATE_VERIFY ||
+	    cdev->private->flags.doverify) {
 		/* Remember to fake irb when finished. */
 		if (!cdev->private->flags.fake_irb) {
 			cdev->private->flags.fake_irb = FAKE_CMD_IRB;
@@ -214,8 +215,7 @@ int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa,
 	}
 	if (cdev->private->state != DEV_STATE_ONLINE ||
 	    ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) &&
-	     !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) ||
-	    cdev->private->flags.doverify)
+	     !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)))
 		return -EBUSY;
 	ret = cio_set_options (sch, flags);
 	if (ret)
drivers/scsi/Kconfig +1 -1
index 03e71e3d5e5b..3b990cf2c195 100644
@@ -1285,7 +1285,7 @@ source "drivers/scsi/arm/Kconfig"
 
 config JAZZ_ESP
 	bool "MIPS JAZZ FAS216 SCSI support"
-	depends on MACH_JAZZ && SCSI
+	depends on MACH_JAZZ && SCSI=y
 	select SCSI_SPI_ATTRS
 	help
 	  This is the driver for the onboard SCSI host adapter of MIPS Magnum
drivers/scsi/lpfc/lpfc_scsi.c +6 -6
index 7aac9fc71967..0bb7e164b525 100644
@@ -1919,7 +1919,7 @@ lpfc_bg_setup_bpl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc,
  *
  * Returns the number of SGEs added to the SGL.
  **/
-static int
+static uint32_t
 lpfc_bg_setup_sgl(struct lpfc_hba *phba, struct scsi_cmnd *sc,
 		struct sli4_sge *sgl, int datasegcnt,
 		struct lpfc_io_buf *lpfc_cmd)
@@ -1927,8 +1927,8 @@ lpfc_bg_setup_sgl(struct lpfc_hba *phba, struct scsi_cmnd *sc,
 	struct scatterlist *sgde = NULL; /* s/g data entry */
 	struct sli4_sge_diseed *diseed = NULL;
 	dma_addr_t physaddr;
-	int i = 0, num_sge = 0, status;
-	uint32_t reftag;
+	int i = 0, status;
+	uint32_t reftag, num_sge = 0;
 	uint8_t txop, rxop;
 #ifdef CONFIG_SCSI_LPFC_DEBUG_FS
 	uint32_t rc;
@@ -2100,7 +2100,7 @@ lpfc_bg_setup_sgl(struct lpfc_hba *phba, struct scsi_cmnd *sc,
  *
  * Returns the number of SGEs added to the SGL.
  **/
-static int
+static uint32_t
 lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc,
 		struct sli4_sge *sgl, int datacnt, int protcnt,
 		struct lpfc_io_buf *lpfc_cmd)
@@ -2124,8 +2124,8 @@ lpfc_bg_setup_sgl_prot(struct lpfc_hba *phba, struct scsi_cmnd *sc,
 	uint32_t rc;
 #endif
 	uint32_t checking = 1;
-	uint32_t dma_offset = 0;
-	int num_sge = 0, j = 2;
+	uint32_t dma_offset = 0, num_sge = 0;
+	int j = 2;
 	struct sli4_hybrid_sgl *sgl_xtra = NULL;
 
 	sgpe = scsi_prot_sglist(sc);
drivers/scsi/scsi.c +20 -2
index 3cda5d26b66c..e70ab8db3014 100644
@@ -328,21 +328,39 @@ static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer,
 	return result + 4;
 }
 
+enum scsi_vpd_parameters {
+	SCSI_VPD_HEADER_SIZE = 4,
+	SCSI_VPD_LIST_SIZE = 36,
+};
+
 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page)
 {
-	unsigned char vpd_header[SCSI_VPD_HEADER_SIZE] __aligned(4);
+	unsigned char vpd[SCSI_VPD_LIST_SIZE] __aligned(4);
 	int result;
 
 	if (sdev->no_vpd_size)
 		return SCSI_DEFAULT_VPD_LEN;
 
+	/*
+	 * Fetch the supported pages VPD and validate that the requested page
+	 * number is present.
+	 */
+	if (page != 0) {
+		result = scsi_vpd_inquiry(sdev, vpd, 0, sizeof(vpd));
+		if (result < SCSI_VPD_HEADER_SIZE)
+			return 0;
+
+		result -= SCSI_VPD_HEADER_SIZE;
+		if (!memchr(&vpd[SCSI_VPD_HEADER_SIZE], page, result))
+			return 0;
+	}
 	/*
 	 * Fetch the VPD page header to find out how big the page
 	 * is. This is done to prevent problems on legacy devices
 	 * which can not handle allocation lengths as large as
 	 * potentially requested by the caller.
 	 */
-	result = scsi_vpd_inquiry(sdev, vpd_header, page, sizeof(vpd_header));
+	result = scsi_vpd_inquiry(sdev, vpd, page, SCSI_VPD_HEADER_SIZE);
 	if (result < 0)
 		return 0;
 
drivers/scsi/smartpqi/smartpqi_init.c +4 -1
index 47d487729635..e44f6bb25a8e 100644
@@ -6449,8 +6449,11 @@ static void pqi_map_queues(struct Scsi_Host *shost)
 {
 	struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost);
 
-	blk_mq_pci_map_queues(&shost->tag_set.map[HCTX_TYPE_DEFAULT],
+	if (!ctrl_info->disable_managed_interrupts)
+		return blk_mq_pci_map_queues(&shost->tag_set.map[HCTX_TYPE_DEFAULT],
 			      ctrl_info->pci_dev, 0);
+	else
+		return blk_mq_map_queues(&shost->tag_set.map[HCTX_TYPE_DEFAULT]);
 }
 
 static inline bool pqi_is_tape_changer_device(struct pqi_scsi_dev *device)
drivers/soc/mediatek/mtk-pm-domains.c +7 -8
index 474b272f9b02..832adb570b50 100644
@@ -499,6 +499,11 @@ static int scpsys_add_subdomain(struct scpsys *scpsys, struct device_node *paren
 			goto err_put_node;
 		}
 
+		/* recursive call to add all subdomains */
+		ret = scpsys_add_subdomain(scpsys, child);
+		if (ret)
+			goto err_put_node;
+
 		ret = pm_genpd_add_subdomain(parent_pd, child_pd);
 		if (ret) {
 			dev_err(scpsys->dev, "failed to add %s subdomain to parent %s\n",
@@ -508,11 +513,6 @@ static int scpsys_add_subdomain(struct scpsys *scpsys, struct device_node *paren
 			dev_dbg(scpsys->dev, "%s add subdomain: %s\n", parent_pd->name,
 				child_pd->name);
 		}
-
-		/* recursive call to add all subdomains */
-		ret = scpsys_add_subdomain(scpsys, child);
-		if (ret)
-			goto err_put_node;
 	}
 
 	return 0;
@@ -526,9 +526,6 @@ static void scpsys_remove_one_domain(struct scpsys_domain *pd)
 {
 	int ret;
 
-	if (scpsys_domain_is_on(pd))
-		scpsys_power_off(&pd->genpd);
-
 	/*
 	 * We're in the error cleanup already, so we only complain,
 	 * but won't emit another error on top of the original one.
@@ -538,6 +535,8 @@ static void scpsys_remove_one_domain(struct scpsys_domain *pd)
 		dev_err(pd->scpsys->dev,
 			"failed to remove domain '%s' : %d - state may be inconsistent\n",
 			pd->genpd.name, ret);
+	if (scpsys_domain_is_on(pd))
+		scpsys_power_off(&pd->genpd);
 
 	clk_bulk_put(pd->num_clks, pd->clks);
 	clk_bulk_put(pd->num_subsys_clks, pd->subsys_clks);
drivers/soc/renesas/r8a77980-sysc.c +2 -1
index 39ca84a67daa..621e411fc999 100644
@@ -25,7 +25,8 @@ static const struct rcar_sysc_area r8a77980_areas[] __initconst = {
 	  PD_CPU_NOCR },
 	{ "ca53-cpu3",	0x200, 3, R8A77980_PD_CA53_CPU3, R8A77980_PD_CA53_SCU,
 	  PD_CPU_NOCR },
-	{ "cr7",	0x240, 0, R8A77980_PD_CR7,	R8A77980_PD_ALWAYS_ON },
+	{ "cr7",	0x240, 0, R8A77980_PD_CR7,	R8A77980_PD_ALWAYS_ON,
+	  PD_CPU_NOCR },
 	{ "a3ir",	0x180, 0, R8A77980_PD_A3IR,	R8A77980_PD_ALWAYS_ON },
 	{ "a2ir0",	0x400, 0, R8A77980_PD_A2IR0,	R8A77980_PD_A3IR },
 	{ "a2ir1",	0x400, 1, R8A77980_PD_A2IR1,	R8A77980_PD_A3IR },
drivers/spi/spi-hisi-sfc-v3xx.c +5 -0
index d3a23b1c2a4c..61bf00dfe9c3 100644
@@ -377,6 +377,11 @@ static const struct spi_controller_mem_ops hisi_sfc_v3xx_mem_ops = {
 static irqreturn_t hisi_sfc_v3xx_isr(int irq, void *data)
 {
 	struct hisi_sfc_v3xx_host *host = data;
+	u32 reg;
+
+	reg = readl(host->regbase + HISI_SFC_V3XX_INT_STAT);
+	if (!reg)
+		return IRQ_NONE;
 
 	hisi_sfc_v3xx_disable_int(host);
 
drivers/spi/spi-sh-msiof.c +8 -8
index 51ceaa485724..ec3a4939ee98 100644
@@ -137,14 +137,14 @@ struct sh_msiof_spi_priv {
 
 /* SIFCTR */
 #define SIFCTR_TFWM_MASK	GENMASK(31, 29)	/* Transmit FIFO Watermark */
-#define SIFCTR_TFWM_64		(0 << 29)	/*  Transfer Request when 64 empty stages */
-#define SIFCTR_TFWM_32		(1 << 29)	/*  Transfer Request when 32 empty stages */
-#define SIFCTR_TFWM_24		(2 << 29)	/*  Transfer Request when 24 empty stages */
-#define SIFCTR_TFWM_16		(3 << 29)	/*  Transfer Request when 16 empty stages */
-#define SIFCTR_TFWM_12		(4 << 29)	/*  Transfer Request when 12 empty stages */
-#define SIFCTR_TFWM_8		(5 << 29)	/*  Transfer Request when 8 empty stages */
-#define SIFCTR_TFWM_4		(6 << 29)	/*  Transfer Request when 4 empty stages */
-#define SIFCTR_TFWM_1		(7 << 29)	/*  Transfer Request when 1 empty stage */
+#define SIFCTR_TFWM_64		(0UL << 29)	/*  Transfer Request when 64 empty stages */
+#define SIFCTR_TFWM_32		(1UL << 29)	/*  Transfer Request when 32 empty stages */
+#define SIFCTR_TFWM_24		(2UL << 29)	/*  Transfer Request when 24 empty stages */
+#define SIFCTR_TFWM_16		(3UL << 29)	/*  Transfer Request when 16 empty stages */
+#define SIFCTR_TFWM_12		(4UL << 29)	/*  Transfer Request when 12 empty stages */
+#define SIFCTR_TFWM_8		(5UL << 29)	/*  Transfer Request when 8 empty stages */
+#define SIFCTR_TFWM_4		(6UL << 29)	/*  Transfer Request when 4 empty stages */
+#define SIFCTR_TFWM_1		(7UL << 29)	/*  Transfer Request when 1 empty stage */
 #define SIFCTR_TFUA_MASK	GENMASK(26, 20) /* Transmit FIFO Usable Area */
 #define SIFCTR_TFUA_SHIFT	20
 #define SIFCTR_TFUA(i)		((i) << SIFCTR_TFUA_SHIFT)
drivers/target/target_core_device.c +0 -5
index 301fe376a120..13558cbd9b82 100644
@@ -147,7 +147,6 @@ int transport_lookup_tmr_lun(struct se_cmd *se_cmd)
 	struct se_session *se_sess = se_cmd->se_sess;
 	struct se_node_acl *nacl = se_sess->se_node_acl;
 	struct se_tmr_req *se_tmr = se_cmd->se_tmr_req;
-	unsigned long flags;
 
 	rcu_read_lock();
 	deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun);
@@ -178,10 +177,6 @@ int transport_lookup_tmr_lun(struct se_cmd *se_cmd)
 	se_cmd->se_dev = rcu_dereference_raw(se_lun->lun_se_dev);
 	se_tmr->tmr_dev = rcu_dereference_raw(se_lun->lun_se_dev);
 
-	spin_lock_irqsave(&se_tmr->tmr_dev->se_tmr_lock, flags);
-	list_add_tail(&se_tmr->tmr_list, &se_tmr->tmr_dev->dev_tmr_list);
-	spin_unlock_irqrestore(&se_tmr->tmr_dev->se_tmr_lock, flags);
-
 	return 0;
 }
 EXPORT_SYMBOL(transport_lookup_tmr_lun);
drivers/target/target_core_pscsi.c +6 -3
index 69a4c9581e80..7aec34c09066 100644
@@ -910,12 +910,15 @@ pscsi_map_sg(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_nents,
 
 	return 0;
 fail:
-	if (bio)
-		bio_put(bio);
+	if (bio) {
+		bio_uninit(bio);
+		kfree(bio);
+	}
 	while (req->bio) {
 		bio = req->bio;
 		req->bio = bio->bi_next;
-		bio_put(bio);
+		bio_uninit(bio);
+		kfree(bio);
 	}
 	req->biotail = NULL;
 	return TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE;
drivers/target/target_core_transport.c +4 -0
index 0686882bcbda..fb93d74c5d0b 100644
@@ -3627,6 +3627,10 @@ int transport_generic_handle_tmr(
 	unsigned long flags;
 	bool aborted = false;
 
+	spin_lock_irqsave(&cmd->se_dev->se_tmr_lock, flags);
+	list_add_tail(&cmd->se_tmr_req->tmr_list, &cmd->se_dev->dev_tmr_list);
+	spin_unlock_irqrestore(&cmd->se_dev->se_tmr_lock, flags);
+
 	spin_lock_irqsave(&cmd->t_state_lock, flags);
 	if (cmd->transport_state & CMD_T_ABORTED) {
 		aborted = true;
drivers/tty/serial/amba-pl011.c +30 -30

83 lines not on this page · raw message

drivers/ufs/core/ufshcd.c +0 -1
index 9fd4e9ed93b8..f3c25467e571 100644
@@ -6159,7 +6159,6 @@ static void ufshcd_err_handling_prepare(struct ufs_hba *hba)
 		ufshcd_hold(hba, false);
 		if (!ufshcd_is_clkgating_allowed(hba))
 			ufshcd_setup_clocks(hba, true);
-		ufshcd_release(hba);
 		pm_op = hba->is_sys_suspended ? UFS_SYSTEM_PM : UFS_RUNTIME_PM;
 		ufshcd_vops_resume(hba, pm_op);
 	} else {
drivers/usb/cdns3/cdns3-gadget.c +6 -2
index ccdd525bd7c8..2b8f98f0707e 100644
@@ -826,7 +826,11 @@ void cdns3_gadget_giveback(struct cdns3_endpoint *priv_ep,
 			return;
 	}
 
-	if (request->complete) {
+	/*
+	 * zlp request is appended by driver, needn't call usb_gadget_giveback_request() to notify
+	 * gadget composite driver.
+	 */
+	if (request->complete && request->buf != priv_dev->zlp_buf) {
 		spin_unlock(&priv_dev->lock);
 		usb_gadget_giveback_request(&priv_ep->endpoint,
 					    request);
@@ -2537,11 +2541,11 @@ static int cdns3_gadget_ep_disable(struct usb_ep *ep)
 
 	while (!list_empty(&priv_ep->wa2_descmiss_req_list)) {
 		priv_req = cdns3_next_priv_request(&priv_ep->wa2_descmiss_req_list);
+		list_del_init(&priv_req->list);
 
 		kfree(priv_req->request.buf);
 		cdns3_gadget_ep_free_request(&priv_ep->endpoint,
 					     &priv_req->request);
-		list_del_init(&priv_req->list);
 		--priv_ep->wa2_counter;
 	}
 
drivers/usb/cdns3/core.c +0 -1
index 7b20d2d5c262..7242591b346b 100644
@@ -394,7 +394,6 @@ static int cdns_role_set(struct usb_role_switch *sw, enum usb_role role)
 	return ret;
 }
 
-
 /**
  * cdns_wakeup_irq - interrupt handler for wakeup events
  * @irq: irq number for cdns3/cdnsp core device
drivers/usb/cdns3/drd.c +9 -4
index d00ff98dffab..33ba30f79b33 100644
@@ -156,7 +156,8 @@ bool cdns_is_device(struct cdns *cdns)
  */
 static void cdns_otg_disable_irq(struct cdns *cdns)
 {
-	writel(0, &cdns->otg_irq_regs->ien);
+	if (cdns->version)
+		writel(0, &cdns->otg_irq_regs->ien);
 }
 
 /**
@@ -418,15 +419,20 @@ int cdns_drd_init(struct cdns *cdns)
 
 		cdns->otg_regs = (void __iomem *)&cdns->otg_v1_regs->cmd;
 
-		if (readl(&cdns->otg_cdnsp_regs->did) == OTG_CDNSP_DID) {
+		state = readl(&cdns->otg_cdnsp_regs->did);
+
+		if (OTG_CDNSP_CHECK_DID(state)) {
 			cdns->otg_irq_regs = (struct cdns_otg_irq_regs __iomem *)
 					      &cdns->otg_cdnsp_regs->ien;
 			cdns->version  = CDNSP_CONTROLLER_V2;
-		} else {
+		} else if (OTG_CDNS3_CHECK_DID(state)) {
 			cdns->otg_irq_regs = (struct cdns_otg_irq_regs __iomem *)
 					      &cdns->otg_v1_regs->ien;
 			writel(1, &cdns->otg_v1_regs->simulate);
 			cdns->version  = CDNS3_CONTROLLER_V1;
+		} else {
+			dev_err(cdns->dev, "not supporte DID=0x%08x\n", state);
+			return -EINVAL;
 		}
 
 		dev_dbg(cdns->dev, "DRD version v1 (ID: %08x, rev: %08x)\n",
@@ -479,7 +485,6 @@ int cdns_drd_exit(struct cdns *cdns)
 	return 0;
 }
 
-
 /* Indicate the cdns3 core was power lost before */
 bool cdns_power_is_lost(struct cdns *cdns)
 {
drivers/usb/cdns3/drd.h +5 -1
index cbdf94f73ed9..d72370c321d3 100644
@@ -79,7 +79,11 @@ struct cdnsp_otg_regs {
 	__le32 susp_timing_ctrl;
 };
 
-#define OTG_CDNSP_DID	0x0004034E
+/* CDNSP driver supports 0x000403xx Cadence USB controller family. */
+#define OTG_CDNSP_CHECK_DID(did) (((did) & GENMASK(31, 8)) == 0x00040300)
+
+/* CDNS3 driver supports 0x000402xx Cadence USB controller family. */
+#define OTG_CDNS3_CHECK_DID(did) (((did) & GENMASK(31, 8)) == 0x00040200)
 
 /*
  * Common registers interface for both CDNS3 and CDNSP version of DRD.
drivers/usb/cdns3/host.c +14 -2
index 6164fc4c96a4..ceca4d839dfd 100644
@@ -18,6 +18,11 @@
 #include "../host/xhci.h"
 #include "../host/xhci-plat.h"
 
+/*
+ * The XECP_PORT_CAP_REG and XECP_AUX_CTRL_REG1 exist only
+ * in Cadence USB3 dual-role controller, so it can't be used
+ * with Cadence CDNSP dual-role controller.
+ */
 #define XECP_PORT_CAP_REG	0x8000
 #define XECP_AUX_CTRL_REG1	0x8120
 
@@ -57,6 +62,8 @@ static const struct xhci_plat_priv xhci_plat_cdns3_xhci = {
 	.resume_quirk = xhci_cdns3_resume_quirk,
 };
 
+static const struct xhci_plat_priv xhci_plat_cdnsp_xhci;
+
 static int __cdns_host_init(struct cdns *cdns)
 {
 	struct platform_device *xhci;
@@ -81,8 +88,13 @@ static int __cdns_host_init(struct cdns *cdns)
 		goto err1;
 	}
 
-	cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci,
-			sizeof(struct xhci_plat_priv), GFP_KERNEL);
+	if (cdns->version < CDNSP_CONTROLLER_V2)
+		cdns->xhci_plat_data = kmemdup(&xhci_plat_cdns3_xhci,
+				sizeof(struct xhci_plat_priv), GFP_KERNEL);
+	else
+		cdns->xhci_plat_data = kmemdup(&xhci_plat_cdnsp_xhci,
+				sizeof(struct xhci_plat_priv), GFP_KERNEL);
+
 	if (!cdns->xhci_plat_data) {
 		ret = -ENOMEM;
 		goto err1;
drivers/usb/dwc3/gadget.c +5 -0
index 576c21bf77cd..b134110cc2ed 100644
@@ -2548,6 +2548,11 @@ static int dwc3_gadget_soft_disconnect(struct dwc3 *dwc)
 	int ret;
 
 	spin_lock_irqsave(&dwc->lock, flags);
+	if (!dwc->pullups_connected) {
+		spin_unlock_irqrestore(&dwc->lock, flags);
+		return 0;
+	}
+
 	dwc->connected = false;
 
 	/*
drivers/usb/gadget/function/f_ncm.c +9 -1
index bbb6ff6b11aa..5e78fcc63e4d 100644
@@ -1340,7 +1340,15 @@ static int ncm_unwrap_ntb(struct gether *port,
 	     "Parsed NTB with %d frames\n", dgram_counter);
 
 	to_process -= block_len;
-	if (to_process != 0) {
+
+	/*
+	 * Windows NCM driver avoids USB ZLPs by adding a 1-byte
+	 * zero pad as needed.
+	 */
+	if (to_process == 1 &&
+	    (*(unsigned char *)(ntb_ptr + block_len) == 0x00)) {
+		to_process--;
+	} else if (to_process > 0) {
 		ntb_ptr = (unsigned char *)(ntb_ptr + block_len);
 		goto parse_ntb;
 	}
drivers/usb/roles/class.c +21 -8
index 32e6d19f7011..a327f8bc5704 100644
@@ -19,7 +19,9 @@ static struct class *role_class;
 struct usb_role_switch {
 	struct device dev;
 	struct mutex lock; /* device lock*/
+	struct module *module; /* the module this device depends on */
 	enum usb_role role;
+	bool registered;
 
 	/* From descriptor */
 	struct device *usb2_port;
@@ -46,6 +48,9 @@ int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role)
 	if (IS_ERR_OR_NULL(sw))
 		return 0;
 
+	if (!sw->registered)
+		return -EOPNOTSUPP;
+
 	mutex_lock(&sw->lock);
 
 	ret = sw->set(sw, role);
@@ -71,7 +76,7 @@ enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw)
 {
 	enum usb_role role;
 
-	if (IS_ERR_OR_NULL(sw))
+	if (IS_ERR_OR_NULL(sw) || !sw->registered)
 		return USB_ROLE_NONE;
 
 	mutex_lock(&sw->lock);
@@ -133,7 +138,7 @@ struct usb_role_switch *usb_role_switch_get(struct device *dev)
 						  usb_role_switch_match);
 
 	if (!IS_ERR_OR_NULL(sw))
-		WARN_ON(!try_module_get(sw->dev.parent->driver->owner));
+		WARN_ON(!try_module_get(sw->module));
 
 	return sw;
 }
@@ -155,7 +160,7 @@ struct usb_role_switch *fwnode_usb_role_switch_get(struct fwnode_handle *fwnode)
 		sw = fwnode_connection_find_match(fwnode, "usb-role-switch",
 						  NULL, usb_role_switch_match);
 	if (!IS_ERR_OR_NULL(sw))
-		WARN_ON(!try_module_get(sw->dev.parent->driver->owner));
+		WARN_ON(!try_module_get(sw->module));
 
 	return sw;
 }
@@ -170,7 +175,7 @@ EXPORT_SYMBOL_GPL(fwnode_usb_role_switch_get);
 void usb_role_switch_put(struct usb_role_switch *sw)
 {
 	if (!IS_ERR_OR_NULL(sw)) {
-		module_put(sw->dev.parent->driver->owner);
+		module_put(sw->module);
 		put_device(&sw->dev);
 	}
 }
@@ -187,15 +192,18 @@ struct usb_role_switch *
 usb_role_switch_find_by_fwnode(const struct fwnode_handle *fwnode)
 {
 	struct device *dev;
+	struct usb_role_switch *sw = NULL;
 
 	if (!fwnode)
 		return NULL;
 
 	dev = class_find_device_by_fwnode(role_class, fwnode);
-	if (dev)
-		WARN_ON(!try_module_get(dev->parent->driver->owner));
+	if (dev) {
+		sw = to_role_switch(dev);
+		WARN_ON(!try_module_get(sw->module));
+	}
 
-	return dev ? to_role_switch(dev) : NULL;
+	return sw;
 }
 EXPORT_SYMBOL_GPL(usb_role_switch_find_by_fwnode);
 
@@ -337,6 +345,7 @@ usb_role_switch_register(struct device *parent,
 	sw->set = desc->set;
 	sw->get = desc->get;
 
+	sw->module = parent->driver->owner;
 	sw->dev.parent = parent;
 	sw->dev.fwnode = desc->fwnode;
 	sw->dev.class = role_class;
@@ -351,6 +360,8 @@ usb_role_switch_register(struct device *parent,
 		return ERR_PTR(ret);
 	}
 
+	sw->registered = true;
+
 	/* TODO: Symlinks for the host port and the device controller. */
 
 	return sw;
@@ -365,8 +376,10 @@ EXPORT_SYMBOL_GPL(usb_role_switch_register);
  */
 void usb_role_switch_unregister(struct usb_role_switch *sw)
 {
-	if (!IS_ERR_OR_NULL(sw))
+	if (!IS_ERR_OR_NULL(sw)) {
+		sw->registered = false;
 		device_unregister(&sw->dev);
+	}
 }
 EXPORT_SYMBOL_GPL(usb_role_switch_unregister);
 
drivers/usb/typec/ucsi/ucsi_acpi.c +68 -3

71 lines not on this page · raw message

drivers/vfio/iova_bitmap.c +15 -10
index 0f19d502f351..dfab5b742191 100644

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

drivers/video/fbdev/savage/savagefb_driver.c +3 -0
index b7818b652698..a7b63c475f95 100644

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

drivers/video/fbdev/sis/sis_main.c +2 -0
index 1c197c3f9538..fe8996461b9e 100644

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

fs/afs/volume.c +2 -2
index 1c9144e3e83a..a146d70efa65 100644

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

fs/aio.c +8 -1
index e85ba0b77f59..849c3e3ed558 100644

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

fs/cachefiles/cache.c +2 -0
index 7077f72e6f47..f449f7340aad 100644

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

fs/cachefiles/daemon.c +1 -0
index aa4efcabb5e3..5f4df9588620 100644

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

fs/erofs/compress.h +4 -0
index 26fa170090b8..c4a3187bdb8f 100644

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

fs/erofs/decompressor.c +57 -3

60 lines not on this page · raw message

fs/erofs/decompressor_lzma.c +2 -2
index 49addc345aeb..970464c4b676 100644

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

fs/erofs/internal.h +3 -25
index d8d09fc3ed65..79a7a5815ea6 100644

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

fs/erofs/namei.c +14 -14
index 0dc34721080c..e8ccaa761bd6 100644

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

fs/erofs/super.c +10 -62

72 lines not on this page · raw message

fs/erofs/zmap.c +13 -10
index 0337b70b2dac..abcded1acd19 100644

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

fs/ext4/extents.c +70 -41

111 lines not on this page · raw message

fs/ext4/mballoc.c +9 -6
index 1a310ee7d9e5..6a3e27771df7 100644

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

fs/ntfs3/attrib.c +12 -8
index 2215179c925b..2618bf5a3789 100644

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

fs/ntfs3/attrlist.c +4 -4
index 0c6a68e71e7d..723e49ec83ce 100644

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

fs/ntfs3/dir.c +28 -12
index d4d9f4ffb6d9..72cdfa8727d3 100644

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

fs/ntfs3/file.c +2 -0
index f31c0389a2e7..14efe46df91e 100644

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

fs/ntfs3/fslog.c +8 -6
index 710cb5aa5a65..d53ef128fa73 100644

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

fs/ntfs3/fsntfs.c +24 -0
index 4b72bc7f12ca..1eac80d55b55 100644

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

fs/ntfs3/inode.c +1 -1
index dc937089a464..42dd9fdaf415 100644

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

fs/ntfs3/ntfs.h +1 -3
index 0f38d558169a..ba26a465b309 100644

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

fs/ntfs3/ntfs_fs.h +1 -13
index 74482ef569ab..0f9bec29f2b7 100644

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

fs/ntfs3/record.c +16 -9
index ba336c7280b8..a8d4ed7bca02 100644

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

fs/ntfs3/xattr.c +3 -0
index df15e00c2a3a..d98cf7b382bc 100644

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

fs/smb/client/cached_dir.c +1 -1
index 6f4d7aa70e5a..fd082151c5f9 100644

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

fs/smb/client/cifsencrypt.c +1 -1
index d0ac2648c0d6..d3d4cf6321fd 100644

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

fs/smb/client/cifsglob.h +1 -1
index 7f1aea4c11b9..58bb54994e22 100644

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

fs/smb/client/fs_context.c +1 -1
index f4818599c00a..4d5302b58b53 100644

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

fs/smb/client/readdir.c +8 -7
index 2d75ba5aaa8a..5990bdbae598 100644

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

fs/smb/client/smb2pdu.c +6 -0
index c1fc1651d8b6..4c1231496a72 100644

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

fs/smb/client/transport.c +11 -4
index 8a1dd8407a3a..df44acaec9ae 100644

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

include/linux/fs.h +2 -0
index 4a1911dcf834..67313881f8ac 100644

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

include/linux/memblock.h +2 -0
index 50ad19662a32..6790f08066b7 100644

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

include/linux/socket.h +4 -1
index b3c58042bd25..d79efd026880 100644

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

include/linux/swap.h +5 -0
index a18cf4b7c724..add47f43e568 100644

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

include/net/netfilter/nf_flow_table.h +2 -2
index dde4dd9c4012..4a767b3d20b9 100644

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

include/net/switchdev.h +3 -0
index 7dcdc97c0bc3..a3d8f013adcd 100644

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

include/net/tcp.h +1 -1
index 4c838f7290dd..8ea1fba84eff 100644

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

include/scsi/scsi_device.h +0 -4
index fdc31fdb612d..d2751ed536df 100644

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

kernel/bpf/helpers.c +4 -1
index 6a61a98d602c..83f8f67e933d 100644

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

kernel/sched/rt.c +8 -4
index 76bafa8d331a..3a2335bc1d58 100644

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

mm/damon/lru_sort.c +36 -7

43 lines not on this page · raw message

mm/damon/reclaim.c +17 -1
index 162c9b1ca00f..cc337e94acfd 100644

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

mm/memblock.c +3 -2
index 511d4783dcf1..516efec80851 100644

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

mm/memcontrol.c +7 -3
index 9da98e3e71cf..4570d3e315cf 100644

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

mm/memory.c +20 -0
index fc8b264ec0ca..fb83cf56377a 100644

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

mm/swap.h +5 -0
index cc08c459c619..5eff40ef7693 100644

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

mm/swapfile.c +13 -0
index 71db6d8a1ea3..cca9fda9d036 100644

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

mm/zswap.c +2 -0
index b3829ada4a41..b7cb126797f9 100644

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

net/bridge/br_switchdev.c +56 -28

84 lines not on this page · raw message

net/core/dev.c +1 -1
index 1ba3662faf0a..60619fe8af5f 100644

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

net/core/dev_ioctl.c +1 -1
index 7674bb9f3076..5cdbfbf9a7dc 100644

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

net/core/skmsg.c +5 -2
index 3818035ea002..39643f78cf78 100644

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

net/ipv4/arp.c +2 -1
index 9456f5bb35e5..ccff96820a70 100644

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

net/ipv4/devinet.c +17 -4
index 35d6e74be840..bb0d1252cad8 100644

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

net/ipv4/inet_hashtables.c +24 -1
index f2ed2aed08ab..56776e1b1de5 100644

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

net/ipv6/addrconf.c +18 -3
index b8dc20fe7a4e..46527b5cc8f0 100644

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

net/ipv6/exthdrs.c +10 -0
index 5fa0e37305d9..1cfdd9d95012 100644

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

net/ipv6/seg6.c +11 -9
index 29346a6eec9f..35508abd76f4 100644

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

net/l2tp/l2tp_ip6.c +1 -1
index 314ec3a51e8d..bb92dc8b82f3 100644

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

net/mac80211/cfg.c +2 -0
index a2c4866080bd..6cf0b77839d1 100644

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

net/mac80211/mlme.c +1 -0
index c6f0da028a2a..f25dc6931a5b 100644

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

net/mac80211/sta_info.c +2 -0
index f3d6c3e4c970..bd56015b2925 100644

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

net/mac80211/tx.c +1 -1
index 322a035f7592..3d62e8b71874 100644

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

net/mctp/route.c +1 -1
index 68be8f2b622d..256bf0b89e6c 100644

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

net/mptcp/diag.c +5 -1
index a536586742f2..e57c5f47f035 100644

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

net/mptcp/pm_netlink.c +19 -5
index 980050f6b456..70a1025f093c 100644

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

net/mptcp/pm_userspace.c +47 -7

54 lines not on this page · raw message

net/mptcp/protocol.h +0 -2
index 259672cc344f..b09220521323 100644

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

net/netfilter/nf_conntrack_proto_sctp.c +1 -1
index c94a9971d790..7ffd698497f2 100644

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

net/netfilter/nf_flow_table_core.c +17 -24

41 lines not on this page · raw message

net/netfilter/nf_tables_api.c +45 -42

87 lines not on this page · raw message

net/netfilter/nft_flow_offload.c +8 -4
index 3d9f6dda5aeb..7a8707632a81 100644

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

net/packet/af_packet.c +5 -5
index 51882f07ef70..c3117350f5fb 100644

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

net/phonet/datagram.c +2 -2
index ff5f49ab236e..39a6c5713d0b 100644

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

net/phonet/pep.c +32 -9

41 lines not on this page · raw message

net/sched/Kconfig +0 -42

42 lines not on this page · raw message

net/sched/Makefile +0 -3
index 8a33a35fc50d..a66ac1e7b79b 100644

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

net/sched/sch_atm.c deleted +0 -706

706 lines not on this page · raw message

net/sched/sch_cbq.c deleted +0 -1727

1,727 lines not on this page · raw message

net/sched/sch_dsmark.c deleted +0 -518

518 lines not on this page · raw message

net/switchdev/switchdev.c +73 -0

73 lines not on this page · raw message

net/tls/tls_main.c +1 -1
index 80b42a3e7883..6b7189a520af 100644

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

net/tls/tls_sw.c +16 -8
index c8cbdd02a784..93e1bfa72d79 100644

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

net/wireless/nl80211.c +1 -0
index 70fb14b8bab0..c259d3227a9e 100644

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

scripts/bpf_doc.py +1 -1
index d5c389df6045..4de98b7bbea9 100755

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

sound/soc/codecs/wm_adsp.c +12 -17
index 2cfca78f0401..47a4c363227c 100644

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

sound/soc/sunxi/sun4i-spdif.c +5 -0
index bcceebca915a..484b0e7c2def 100644

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

sound/usb/clock.c +9 -1
index 33db334e6556..a676ad093d18 100644

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

sound/usb/format.c +20 -0
index ab5fed9f55b6..3b45d0ee7693 100644

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

tools/testing/selftests/tc-testing/tc-tests/qdiscs/atm.json deleted +0 -94

94 lines not on this page · raw message

tools/testing/selftests/tc-testing/tc-tests/qdiscs/cbq.json deleted +0 -184

184 lines not on this page · raw message

tools/testing/selftests/tc-testing/tc-tests/qdiscs/dsmark.json deleted +0 -140

140 lines not on this page · 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 6.1.80 kernel.

All users of the 6.1 kernel series must upgrade.

The updated 6.1.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.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

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

 Makefile                                                       |    2 
 arch/arm/mach-ep93xx/core.c                                    |    1 
 arch/arm64/boot/dts/rockchip/px30.dtsi                         |    2 
 arch/arm64/include/asm/fpsimd.h                                |    2 
 arch/arm64/kernel/fpsimd.c                                     |   14 
 arch/arm64/kernel/suspend.c                                    |    3 
 arch/arm64/kvm/vgic/vgic-its.c                                 |    5 
 arch/loongarch/Kconfig                                         |   23 
 arch/loongarch/kernel/smp.c                                    |    1 
 arch/mips/kernel/traps.c                                       |    8 
 arch/parisc/kernel/processor.c                                 |    8 
 arch/s390/pci/pci.c                                            |    2 
 arch/x86/include/asm/nospec-branch.h                           |    2 
 arch/x86/kernel/alternative.c                                  |   13 
 arch/x86/kernel/ftrace.c                                       |    2 
 arch/x86/kernel/static_call.c                                  |    2 
 arch/x86/mm/numa.c                                             |   21 
 arch/x86/net/bpf_jit_comp.c                                    |    2 
 block/blk-map.c                                                |   13 
 drivers/ata/ahci.c                                             |   49 
 drivers/ata/ahci.h                                             |    1 
 drivers/ata/ahci_ceva.c                                        |  125 
 drivers/ata/libata-core.c                                      |    4 
 drivers/block/aoe/aoeblk.c                                     |    5 
 drivers/block/virtio_blk.c                                     |    7 
 drivers/crypto/virtio/virtio_crypto_akcipher_algs.c            |    5 
 drivers/cxl/core/pci.c                                         |    6 
 drivers/dma/apple-admac.c                                      |    5 
 drivers/dma/fsl-qdma.c                                         |    2 
 drivers/dma/sh/shdma.h                                         |    2 
 drivers/dma/ti/edma.c                                          |   10 
 drivers/firewire/core-card.c                                   |   18 
 drivers/firmware/efi/arm-runtime.c                             |    2 
 drivers/firmware/efi/efi-init.c                                |   19 
 drivers/firmware/efi/libstub/Makefile                          |    2 
 drivers/firmware/efi/riscv-runtime.c                           |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                            |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c                        |    2 
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                          |    8 
 drivers/gpu/drm/amd/amdgpu/soc15.c                             |   22 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c              |    1 
 drivers/gpu/drm/drm_syncobj.c                                  |    6 
 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c              |    8 
 drivers/gpu/drm/ttm/ttm_pool.c                                 |    2 
 drivers/hwmon/coretemp.c                                       |    2 
 drivers/i2c/busses/i2c-imx.c                                   |    5 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                       |    5 
 drivers/infiniband/hw/hfi1/pio.c                               |    6 
 drivers/infiniband/hw/hfi1/sdma.c                              |    2 
 drivers/infiniband/hw/irdma/defs.h                             |    1 
 drivers/infiniband/hw/irdma/hw.c                               |    8 
 drivers/infiniband/hw/irdma/verbs.c                            |    9 
 drivers/infiniband/hw/qedr/verbs.c                             |   11 
 drivers/infiniband/ulp/srpt/ib_srpt.c                          |   17 
 drivers/input/joystick/xpad.c                                  |    2 
 drivers/input/serio/i8042-acpipnpio.h                          |    8 
 drivers/input/touchscreen/goodix.c                             |    3 
 drivers/irqchip/irq-gic-v3-its.c                               |    2 
 drivers/irqchip/irq-sifive-plic.c                              |    8 
 drivers/md/dm-crypt.c                                          |   95 
 drivers/md/dm-integrity.c                                      |   91 
 drivers/md/dm-verity-target.c                                  |   86 
 drivers/md/dm-verity.h                                         |    6 
 drivers/md/md.c                                                |    6 
 drivers/misc/open-dice.c                                       |    2 
 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c            |    4 
 drivers/net/ethernet/microchip/sparx5/sparx5_main.c            |    1 
 drivers/net/ethernet/microchip/sparx5/sparx5_main.h            |    1 
 drivers/net/ethernet/microchip/sparx5/sparx5_packet.c          |    2 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c              |   20 
 drivers/net/gtp.c                                              |   10 
 drivers/net/phy/realtek.c                                      |    4 
 drivers/nvme/host/fc.c                                         |   47 
 drivers/nvme/target/fc.c                                       |  131 
 drivers/nvme/target/fcloop.c                                   |    6 
 drivers/nvme/target/tcp.c                                      |    1 
 drivers/pci/controller/dwc/pcie-designware-ep.c                |    3 
 drivers/pci/msi/irqdomain.c                                    |    2 
 drivers/platform/x86/intel/vbtn.c                              |    3 
 drivers/platform/x86/thinkpad_acpi.c                           |    5 
 drivers/platform/x86/touchscreen_dmi.c                         |   39 
 drivers/regulator/pwm-regulator.c                              |    3 
 drivers/s390/cio/device_ops.c                                  |    6 
 drivers/scsi/Kconfig                                           |    2 
 drivers/scsi/lpfc/lpfc_scsi.c                                  |   12 
 drivers/scsi/scsi.c                                            |   22 
 drivers/scsi/smartpqi/smartpqi_init.c                          |    5 
 drivers/soc/mediatek/mtk-pm-domains.c                          |   15 
 drivers/soc/renesas/r8a77980-sysc.c                            |    3 
 drivers/spi/spi-hisi-sfc-v3xx.c                                |    5 
 drivers/spi/spi-sh-msiof.c                                     |   16 
 drivers/target/target_core_device.c                            |    5 
 drivers/target/target_core_pscsi.c                             |    9 
 drivers/target/target_core_transport.c                         |    4 
 drivers/tty/serial/amba-pl011.c                                |   60 
 drivers/ufs/core/ufshcd.c                                      |    1 
 drivers/usb/cdns3/cdns3-gadget.c                               |    8 
 drivers/usb/cdns3/core.c                                       |    1 
 drivers/usb/cdns3/drd.c                                        |   13 
 drivers/usb/cdns3/drd.h                                        |    6 
 drivers/usb/cdns3/host.c                                       |   16 
 drivers/usb/dwc3/gadget.c                                      |    5 
 drivers/usb/gadget/function/f_ncm.c                            |   10 
 drivers/usb/roles/class.c                                      |   29 
 drivers/usb/typec/ucsi/ucsi_acpi.c                             |   71 
 drivers/vfio/iova_bitmap.c                                     |   25 
 drivers/video/fbdev/savage/savagefb_driver.c                   |    3 
 drivers/video/fbdev/sis/sis_main.c                             |    2 
 fs/afs/volume.c                                                |    4 
 fs/aio.c                                                       |    9 
 fs/cachefiles/cache.c                                          |    2 
 fs/cachefiles/daemon.c                                         |    1 
 fs/erofs/compress.h                                            |    4 
 fs/erofs/decompressor.c                                        |   60 
 fs/erofs/decompressor_lzma.c                                   |    4 
 fs/erofs/internal.h                                            |   28 
 fs/erofs/namei.c                                               |   28 
 fs/erofs/super.c                                               |   72 
 fs/erofs/zmap.c                                                |   23 
 fs/ext4/extents.c                                              |  111 
 fs/ext4/mballoc.c                                              |   15 
 fs/ntfs3/attrib.c                                              |   20 
 fs/ntfs3/attrlist.c                                            |    8 
 fs/ntfs3/dir.c                                                 |   40 
 fs/ntfs3/file.c                                                |    2 
 fs/ntfs3/fslog.c                                               |   14 
 fs/ntfs3/fsntfs.c                                              |   24 
 fs/ntfs3/inode.c                                               |    2 
 fs/ntfs3/ntfs.h                                                |    4 
 fs/ntfs3/ntfs_fs.h                                             |   14 
 fs/ntfs3/record.c                                              |   25 
 fs/ntfs3/xattr.c                                               |    3 
 fs/smb/client/cached_dir.c                                     |    2 
 fs/smb/client/cifsencrypt.c                                    |    2 
 fs/smb/client/cifsglob.h                                       |    2 
 fs/smb/client/fs_context.c                                     |    2 
 fs/smb/client/readdir.c                                        |   15 
 fs/smb/client/smb2pdu.c                                        |    6 
 fs/smb/client/transport.c                                      |   15 
 include/linux/fs.h                                             |    2 
 include/linux/memblock.h                                       |    2 
 include/linux/socket.h                                         |    5 
 include/linux/swap.h                                           |    5 
 include/net/netfilter/nf_flow_table.h                          |    4 
 include/net/switchdev.h                                        |    3 
 include/net/tcp.h                                              |    2 
 include/scsi/scsi_device.h                                     |    4 
 kernel/bpf/helpers.c                                           |    5 
 kernel/sched/rt.c                                              |   12 
 mm/damon/lru_sort.c                                            |   43 
 mm/damon/reclaim.c                                             |   18 
 mm/memblock.c                                                  |    5 
 mm/memcontrol.c                                                |   10 
 mm/memory.c                                                    |   20 
 mm/swap.h                                                      |    5 
 mm/swapfile.c                                                  |   13 
 mm/zswap.c                                                     |    2 
 net/bridge/br_switchdev.c                                      |   84 
 net/core/dev.c                                                 |    2 
 net/core/dev_ioctl.c                                           |    2 
 net/core/skmsg.c                                               |    7 
 net/ipv4/arp.c                                                 |    3 
 net/ipv4/devinet.c                                             |   21 
 net/ipv4/inet_hashtables.c                                     |   25 
 net/ipv6/addrconf.c                                            |   21 
 net/ipv6/exthdrs.c                                             |   10 
 net/ipv6/seg6.c                                                |   20 
 net/l2tp/l2tp_ip6.c                                            |    2 
 net/mac80211/cfg.c                                             |    2 
 net/mac80211/mlme.c                                            |    1 
 net/mac80211/sta_info.c                                        |    2 
 net/mac80211/tx.c                                              |    2 
 net/mctp/route.c                                               |    2 
 net/mptcp/diag.c                                               |    6 
 net/mptcp/pm_netlink.c                                         |   24 
 net/mptcp/pm_userspace.c                                       |   54 
 net/mptcp/protocol.h                                           |    2 
 net/netfilter/nf_conntrack_proto_sctp.c                        |    2 
 net/netfilter/nf_flow_table_core.c                             |   41 
 net/netfilter/nf_tables_api.c                                  |   87 
 net/netfilter/nft_flow_offload.c                               |   12 
 net/packet/af_packet.c                                         |   10 
 net/phonet/datagram.c                                          |    4 
 net/phonet/pep.c                                               |   41 
 net/sched/Kconfig                                              |   42 
 net/sched/Makefile                                             |    3 
 net/sched/sch_atm.c                                            |  706 ----
 net/sched/sch_cbq.c                                            | 1727 ----------
 net/sched/sch_dsmark.c                                         |  518 --
 net/switchdev/switchdev.c                                      |   73 
 net/tls/tls_main.c                                             |    2 
 net/tls/tls_sw.c                                               |   24 
 net/wireless/nl80211.c                                         |    1 
 scripts/bpf_doc.py                                             |    2 
 sound/soc/codecs/wm_adsp.c                                     |   29 
 sound/soc/sunxi/sun4i-spdif.c                                  |    5 
 sound/usb/clock.c                                              |   10 
 sound/usb/format.c                                             |   20 
 tools/testing/selftests/tc-testing/tc-tests/qdiscs/atm.json    |   94 
 tools/testing/selftests/tc-testing/tc-tests/qdiscs/cbq.json    |  184 -
 tools/testing/selftests/tc-testing/tc-tests/qdiscs/dsmark.json |  140 
 201 files changed, 1952 insertions(+), 4290 deletions(-)

Alexander Tsoy (2):
ALSA: usb-audio: Check presence of valid altsetting control
ALSA: usb-audio: Ignore clock selector errors for single connection

Alison Schofield (2):
x86/numa: Fix the address overlap check in numa_fill_memblks() x86/numa: Fix the sort compare func used in numa_fill_memblks()

Andrew Bresticker (2):
efi: runtime: Fix potential overflow of soft-reserved region size
efi: Don't add memblocks for soft-reserved memory

Armin Wolf (1):
drm/amd/display: Fix memory leak in dm_sw_fini()

Arnd Bergmann (3):
dm-integrity, dm-verity: reduce stack usage for recheck RDMA/srpt: fix function pointer cast warnings
nouveau: fix function cast warnings

Baokun Li (4):
ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
cachefiles: fix memory leak in cachefiles_add_cache()

Bart Van Assche (2):
RDMA/srpt: Support specifying the srpt_service_guid parameter fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio

Borislav Petkov (AMD) (1):
Revert "x86/alternative: Make custom return thunk unconditional"

Brenton Simpson (1):
Input: xpad - add Lenovo Legion Go controllers

Chen-Yu Tsai (1):
ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616

Christian A. Ehrhardt (2):
block: Fix WARNING in _copy_from_iter
usb: ucsi_acpi: Quirk to ack a connector change ack cmd

Conrad Kostecki (1):
ahci: asm1166: correct count of reported ports

Corey Minyard (1):
i2c: imx: when being a target, mark the last read as processed

Cyril Hrubis (2):
sched/rt: Disallow writing invalid values to sched_rt_period_us sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset

Damien Le Moal (1):
ata: libata-core: Do not try to set sleeping devices to standby

Dan Carpenter (1):
PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()

Daniel Vacek (1):

      IB/hfi1: Fix sdma.h tx->num_descs off-by-one error

Daniel Wagner (8):
nvme-fc: do not wait in vain when unloading module
nvmet-fcloop: swap the list_add_tail arguments
nvmet-fc: release reference on target port
nvmet-fc: defer cleanup using RCU properly
nvmet-fc: hold reference on hostport match
nvmet-fc: abort command when there is no binding
nvmet-fc: avoid deadlock on delete association path
nvmet-fc: take ref count on tgtport before delete assoc

Daniil Dulov (1):
afs: Increase buffer size in afs_update_volume_status()

Devyn Liu (1):
spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected

Dmitry Bogdanov (1):
scsi: target: core: Add TMF to tmr_list handling

Don Brace (1):
scsi: smartpqi: Fix disable_managed_interrupts

Edward Adam Davis (1):
fs/ntfs3: Fix oob in ntfs_listxattr

Edward Lo (1):
fs/ntfs3: Enhance the attribute size check

Eric Dumazet (2):
ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid

Erik Kurzinger (1):
drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set

Eugen Hristev (1):
pmdomain: mediatek: fix race conditions with genpd

Felix Fietkau (1):
wifi: mac80211: fix race condition on enabling fast-xmit

Florian Westphal (2):
netfilter: nf_tables: set dormant flag on hook register failure
netfilter: nf_tables: use kzalloc for hook allocation

Frank Li (2):
usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
usb: cdns3: fix memory double free when handle zero packet

Fullway Wang (2):
fbdev: savage: Error out if pixclock equals zero
fbdev: sis: Error out if pixclock equals zero

Gao Xiang (2):
erofs: simplify compression configuration parser
erofs: fix inconsistent per-file compression format

Geert Uytterhoeven (1):
pmdomain: renesas: r8a77980-sysc: CR7 must be always on

Geliang Tang (4):
mptcp: make userspace_pm_append_new_local_addr static
mptcp: add needs_id for userspace appending addr
mptcp: userspace pm send RM_ADDR for ID 0
mptcp: add needs_id for netlink appending addr

Gianmarco Lusvardi (1):
bpf, scripts: Correct GPL license name

Greg Kroah-Hartman (1):

      Linux 6.1.80

Guixin Liu (1):
nvmet-tcp: fix nvme tcp ida memory leak

Hannes Reinecke (1):
scsi: lpfc: Use unsigned type for num_sge

Hans de Goede (3):
Input: goodix - accept ACPI resources with gpio_count == 3 && gpio_int_idx == 0 platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names

Hector Martin (1):
dmaengine: apple-admac: Keep upper bits of REG_BUS_WIDTH

Heiko Stuebner (1):
arm64: dts: rockchip: set num-cs property for spi on px30

Helge Deller (1):
Revert "parisc: Only list existing CPUs in cpu_possible_mask"

Horatiu Vultur (1):
net: sparx5: Add spinlock for frame transmission from CPU

Huacai Chen (1):
LoongArch: Disable IRQ before init_fn() for nonboot CPUs

Huang Pei (1):
MIPS: reserve exception vector space ONLY ONCE

Ism Hong (1):
fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache

Jamal Hadi Salim (3):
net/sched: Retire CBQ qdisc
net/sched: Retire ATM qdisc
net/sched: Retire dsmark qdisc

Jan Kiszka (1):
riscv/efistub: Ensure GP-relative addressing is not used

Jason Gunthorpe (1):
s390: use the correct count for __iowrite64_copy()

Jeremy Kerr (1):
net: mctp: put sock on tag allocation failure

Joao Martins (3):
iommufd/iova_bitmap: Bounds check mapped::pages access iommufd/iova_bitmap: Switch iova_bitmap::bitmap to an u8 array iommufd/iova_bitmap: Consider page offset for the pages to be pinned

Johannes Berg (2):
wifi: mac80211: set station RX-NSS on reconfig
wifi: mac80211: adding missing drv_mgd_complete_tx() call

Johannes Weiner (1):
mm: memcontrol: clarify swapaccount=0 deprecation warning

Justin Iurman (1):
Fix write to cloned skb in ipv6_hop_ioam()

Kairui Song (1):
mm/swap: fix race when skipping swapcache

Kalesh AP (1):
RDMA/bnxt_re: Return error for SRQ resize

Kamal Heib (1):
RDMA/qedr: Fix qedr_create_user_qp error flow

Kees Cook (2):
smb: Work around Clang __bdos() type confusion
net: dev: Convert sa_data to flexible array in struct sockaddr

Konstantin Komarov (10):
fs/ntfs3: Modified fix directory element type detection
fs/ntfs3: Improve ntfs_dir_count
fs/ntfs3: Correct hard links updating when dealing with DOS names fs/ntfs3: Print warning while fixing hard links count
fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name" fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame() fs/ntfs3: Disable ATTR_LIST_ENTRY size check
fs/ntfs3: Prevent generic message "attempt to access beyond end of device" fs/ntfs3: Correct function is_rst_area_valid
fs/ntfs3: Update inode->i_size after success write into compressed file

Krishna Kurapati (1):
usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs

Kuniyuki Iwashima (2):
dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().
arp: Prevent overflow in arp_req_get().

Kunwu Chan (1):
dmaengine: ti: edma: Add some null pointer checks to the edma_probe

Lennert Buytenhek (2):
ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
ahci: Extend ASM1061 43-bit DMA address quirk to other ASM106x parts

Lino Sanfilippo (1):
serial: amba-pl011: Fix DMA transmission in RS485 mode

Maksim Kiselev (1):
aoe: avoid potential deadlock at set_capacity

Mario Limonciello (1):
platform/x86: thinkpad_acpi: Only update profile if successfully converted

Mark Brown (1):
arm64/sme: Restore SME registers on exit from suspend

Martin Blumenstingl (1):
regulator: pwm-regulator: Add validity checks in continuous .get_voltage

Martin K. Petersen (1):
scsi: core: Consult supported VPD page list prior to fetching page

Martin KaFai Lau (1):
bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel

Masahiro Yamada (2):
LoongArch: Select ARCH_ENABLE_THP_MIGRATION instead of redefining it
LoongArch: Select HAVE_ARCH_SECCOMP to use the common SECCOMP menu

Michal Kazior (1):
wifi: cfg80211: fix missing interfaces when dumping

Mike Marciniszyn (1):
RDMA/irdma: Fix KASAN issue with tasklet

Mikulas Patocka (4):
dm-crypt: recheck the integrity tag after a failure
dm-integrity: recheck the integrity tag after a failure
dm-crypt: don't modify the data when using authenticated encryption
dm-verity: recheck the hash after a failure

Mustafa Ismail (2):
RDMA/irdma: Set the CQ read threshold for GEN 1 RDMA/irdma: Add AE for too many RNRS

Nam Cao (1):
irqchip/sifive-plic: Enable interrupt if needed before EOI

Naohiro Aota (1):
scsi: target: pscsi: Fix bio_put() for error case

Nikita Shubin (1):
ARM: ep93xx: Add terminator to gpiod_lookup_table

Oliver Upton (3):
KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table() irqchip/gic-v3-its: Do not assume vPE tables are preallocated

Pablo Neira Ayuso (5):
netfilter: flowtable: simplify route logic
netfilter: nft_flow_offload: reset dst in route object after setting up flow
netfilter: nft_flow_offload: release dst in case direct xmit path is used
netfilter: nf_tables: rename function to destroy hook list
netfilter: nf_tables: register hooks last when adding new chain/flowtable

Paolo Abeni (1):
mptcp: fix lockless access in subflow ULP diag

Paulo Alcantara (2):
smb: client: increase number of PDUs allowed in a compound request
smb: client: set correct d_type for reparse points under DFS mounts

Pavel Sakharov (1):
net: stmmac: Fix incorrect dereference in interrupt handlers

Pawel Laszczak (2):
usb: cdnsp: blocked some cdns3 specific code
usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers

Peter Oberparleiter (1):
s390/cio: fix invalid -EBUSY on ccw_device_start

Peter Zijlstra (2):
x86/returnthunk: Allow different return thunks x86/alternative: Make custom return thunk unconditional

Phoenix Chen (1):
platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet

Prike Liang (2):
drm/amdgpu: skip to program GFXDEC registers for suspend abort drm/amdgpu: reset gpu for s3 suspend abort case

Radhey Shyam Pandey (1):
ata: ahci_ceva: fix error handling for Xilinx GT PHY support

Randy Dunlap (1):
scsi: jazz_esp: Only build if SCSI core is builtin

Richard Fitzgerald (1):
ASoC: wm_adsp: Don't overwrite fwf_name with the default

Robert Richter (1):
cxl/pci: Fix disabling memory if DVSEC CXL Range does not match a CFMWS window

Rémi Denis-Courmont (2):
phonet: take correct lock to peek at the RX queue phonet/pep: fix racy skb_queue_empty() use

SEO HOYOUNG (1):
scsi: ufs: core: Remove the ufshcd_release() in ufshcd_err_handling_prepare()

Sabrina Dubroca (3):
tls: break out of main loop when PEEK gets a non-data record
tls: stop recv() if initial process_rx_list gave us non-DATA
tls: don't skip over different type records from the rx_list

Sandeep Dhavale (1):
erofs: fix refcount on the metabuf used for inode lookup

SeongJae Park (2):
mm/damon/lru_sort: fix quota status loss due to online tunings mm/damon/reclaim: fix quota stauts loss due to online tunings

Shigeru Yoshida (1):
bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()

Shiraz Saleem (1):
RDMA/irdma: Validate max_send_wr and max_recv_wr

Shyam Prasad N (2):
cifs: open_cached_dir should not rely on primary channel
cifs: translate network errors on send to -ECONNABORTED

Siddharth Vadapalli (1):

      net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY

Sohaib Nadeem (2):
drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz Revert "drm/amd/display: increased min_dcfclk_mhz and min_fclk_mhz"

Steve French (1):
smb3: clarify mount warning

Subbaraya Sundeep (1):
octeontx2-af: Consider the action set by PF

Szilard Fabian (1):
Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table

Szuying Chen (1):
ata: ahci: add identifiers for ASM2116 series adapters

Takashi Sakamoto (1):
firewire: core: send bus reset promptly on gap count error

Thinh Nguyen (1):
usb: dwc3: gadget: Don't disconnect if not started

Thomas Hellström (1):
drm/ttm: Fix an invalid freeing on already freed page in error path

Tobias Waldekranz (2):
net: bridge: switchdev: Skip MDB replays of deferred events on offload
net: bridge: switchdev: Ensure deferred event delivery on unoffload

Tom Parkin (1):
l2tp: pass correct message length to ip6_append_data

Vasiliy Kovalev (2):
gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
ipv6: sr: fix possible use-after-free and null-ptr-deref

Vidya Sagar (1):
PCI/MSI: Prevent MSI hardware interrupt number truncation

Vinod Koul (2):
dmaengine: shdma: increase size of 'dev_id'
dmaengine: fsl-qdma: increase size of 'irq_name'

Will Deacon (1):
misc: open-dice: Fix spurious lockdep warning

Wolfram Sang (1):
spi: sh-msiof: avoid integer overflow in constants

Xin Long (1):
netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new

Xu Yang (2):
usb: roles: fix NULL pointer issue when put module's reference
usb: roles: don't get/set_role() when usb_role_switch is unregistered

Yi Sun (1):
virtio-blk: Ensure no requests in virtqueues before deleting vqs.

Yosry Ahmed (1):
mm: zswap: fix missing folio cleanup in writeback race path

Yu Kuai (1):
md: Fix missing release of 'active_io' for flush

Zhang Rui (1):
hwmon: (coretemp) Enlarge per package core count limit

Zhang Yi (1):
ext4: correct the hole length returned by ext4_map_blocks()

Zhipeng Lu (1):
IB/hfi1: Fix a memleak in init_credit_return

zhenwei pi (1):
crypto: virtio/akcipher - Fix stack overflow on memcpy