Skip to contentSkip to conversation

Linux 6.6.57

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

lore
Share & tools
lore
author maintainer
#1 lore raw
In reply to Greg Kroah-Hartman
Documentation/dev-tools/kselftest.rst +12 -0
index deede972f254..3ae1b3677d7f 100644
@@ -255,9 +255,21 @@ Contributing new tests (details)
 
    TEST_PROGS_EXTENDED, TEST_GEN_PROGS_EXTENDED mean it is the
    executable which is not tested by default.
+
    TEST_FILES, TEST_GEN_FILES mean it is the file which is used by
    test.
 
+   TEST_INCLUDES is similar to TEST_FILES, it lists files which should be
+   included when exporting or installing the tests, with the following
+   differences:
+
+    * symlinks to files in other directories are preserved
+    * the part of paths below tools/testing/selftests/ is preserved when
+      copying the files to the output directory
+
+   TEST_INCLUDES is meant to list dependencies located in other directories of
+   the selftests hierarchy.
+
  * First use the headers inside the kernel source and/or git repo, and then the
    system headers.  Headers for the kernel release as opposed to headers
    installed by the distro on the system should be the primary focus to be able
Makefile +1 -1
index 301c5694995c..5b5e40c4088c 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 56
+SUBLEVEL = 57
 EXTRAVERSION =
 NAME = Pinguïn Aangedreven
 
arch/loongarch/pci/acpi.c +1 -0
index 365f7de771cb..1da4dc46df43 100644
@@ -225,6 +225,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
 	if (bus) {
 		memcpy(bus->sysdata, info->cfg, sizeof(struct pci_config_window));
 		kfree(info);
+		kfree(root_ops);
 	} else {
 		struct pci_bus *child;
 
arch/powerpc/configs/ps3_defconfig +0 -1
index aa8bb0208bcc..2b175ddf82f0 100644
@@ -24,7 +24,6 @@ CONFIG_PS3_VRAM=m
 CONFIG_PS3_LPM=m
 # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set
 CONFIG_KEXEC=y
-# CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2 is not set
 CONFIG_PPC_4K_PAGES=y
 CONFIG_SCHED_SMT=y
 CONFIG_PM=y
arch/riscv/include/asm/sbi.h +2 -0
index b79d0228144f..3ed853b8a8c8 100644
@@ -327,6 +327,8 @@ static inline int sbi_remote_fence_i(const struct cpumask *cpu_mask) { return -1
 static inline void sbi_init(void) {}
 #endif /* CONFIG_RISCV_SBI */
 
+unsigned long riscv_get_mvendorid(void);
+unsigned long riscv_get_marchid(void);
 unsigned long riscv_cached_mvendorid(unsigned int cpu_id);
 unsigned long riscv_cached_marchid(unsigned int cpu_id);
 unsigned long riscv_cached_mimpid(unsigned int cpu_id);
arch/riscv/include/asm/sparsemem.h +1 -1
index 63acaecc3374..2f901a410586 100644
@@ -7,7 +7,7 @@
 #ifdef CONFIG_64BIT
 #define MAX_PHYSMEM_BITS	56
 #else
-#define MAX_PHYSMEM_BITS	34
+#define MAX_PHYSMEM_BITS	32
 #endif /* CONFIG_64BIT */
 #define SECTION_SIZE_BITS	27
 #endif /* CONFIG_SPARSEMEM */
arch/riscv/include/asm/thread_info.h +0 -1
index 4fb84c2e94c6..8c72d1bcdf14 100644
@@ -33,7 +33,6 @@
 
 #define THREAD_SHIFT            (PAGE_SHIFT + THREAD_SIZE_ORDER)
 #define OVERFLOW_STACK_SIZE     SZ_4K
-#define SHADOW_OVERFLOW_STACK_SIZE (1024)
 
 #define IRQ_STACK_SIZE		THREAD_SIZE
 
arch/riscv/kernel/cpu.c +36 -4
index 157ace8b262c..88732abecd02 100644
@@ -139,6 +139,34 @@ int riscv_of_parent_hartid(struct device_node *node, unsigned long *hartid)
 	return -1;
 }
 
+unsigned long __init riscv_get_marchid(void)
+{
+	struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);
+
+#if IS_ENABLED(CONFIG_RISCV_SBI)
+	ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
+#elif IS_ENABLED(CONFIG_RISCV_M_MODE)
+	ci->marchid = csr_read(CSR_MARCHID);
+#else
+	ci->marchid = 0;
+#endif
+	return ci->marchid;
+}
+
+unsigned long __init riscv_get_mvendorid(void)
+{
+	struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);
+
+#if IS_ENABLED(CONFIG_RISCV_SBI)
+	ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
+#elif IS_ENABLED(CONFIG_RISCV_M_MODE)
+	ci->mvendorid = csr_read(CSR_MVENDORID);
+#else
+	ci->mvendorid = 0;
+#endif
+	return ci->mvendorid;
+}
+
 DEFINE_PER_CPU(struct riscv_cpuinfo, riscv_cpuinfo);
 
 unsigned long riscv_cached_mvendorid(unsigned int cpu_id)
@@ -170,12 +198,16 @@ static int riscv_cpuinfo_starting(unsigned int cpu)
 	struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo);
 
 #if IS_ENABLED(CONFIG_RISCV_SBI)
-	ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
-	ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
+	if (!ci->mvendorid)
+		ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid();
+	if (!ci->marchid)
+		ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid();
 	ci->mimpid = sbi_spec_is_0_1() ? 0 : sbi_get_mimpid();
 #elif IS_ENABLED(CONFIG_RISCV_M_MODE)
-	ci->mvendorid = csr_read(CSR_MVENDORID);
-	ci->marchid = csr_read(CSR_MARCHID);
+	if (!ci->mvendorid)
+		ci->mvendorid = csr_read(CSR_MVENDORID);
+	if (!ci->marchid)
+		ci->marchid = csr_read(CSR_MARCHID);
 	ci->mimpid = csr_read(CSR_MIMPID);
 #else
 	ci->mvendorid = 0;
arch/riscv/kernel/cpufeature.c +6 -2
index e39a905aca24..bb5fb2b820a2 100644
@@ -351,6 +351,8 @@ static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap)
 	struct acpi_table_header *rhct;
 	acpi_status status;
 	unsigned int cpu;
+	u64 boot_vendorid;
+	u64 boot_archid;
 
 	if (!acpi_disabled) {
 		status = acpi_get_table(ACPI_SIG_RHCT, 0, &rhct);
@@ -358,6 +360,9 @@ static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap)
 			return;
 	}
 
+	boot_vendorid = riscv_get_mvendorid();
+	boot_archid = riscv_get_marchid();
+
 	for_each_possible_cpu(cpu) {
 		struct riscv_isainfo *isainfo = &hart_isa[cpu];
 		unsigned long this_hwcap = 0;
@@ -405,8 +410,7 @@ static void __init riscv_fill_hwcap_from_isa_string(unsigned long *isa2hwcap)
 		 * CPU cores with the ratified spec will contain non-zero
 		 * marchid.
 		 */
-		if (acpi_disabled && riscv_cached_mvendorid(cpu) == THEAD_VENDOR_ID &&
-		    riscv_cached_marchid(cpu) == 0x0) {
+		if (acpi_disabled && boot_vendorid == THEAD_VENDOR_ID && boot_archid == 0x0) {
 			this_hwcap &= ~isa2hwcap[RISCV_ISA_EXT_v];
 			clear_bit(RISCV_ISA_EXT_v, isainfo->isa);
 		}
arch/riscv/kernel/elf_kexec.c +6 -0
index e60fbd8660c4..8c32bf1eedda 100644
@@ -444,6 +444,12 @@ int arch_kexec_apply_relocations_add(struct purgatory_info *pi,
 			*(u32 *)loc = CLEAN_IMM(CJTYPE, *(u32 *)loc) |
 				 ENCODE_CJTYPE_IMM(val - addr);
 			break;
+		case R_RISCV_ADD16:
+			*(u16 *)loc += val;
+			break;
+		case R_RISCV_SUB16:
+			*(u16 *)loc -= val;
+			break;
 		case R_RISCV_ADD32:
 			*(u32 *)loc += val;
 			break;
arch/riscv/kernel/entry.S +2 -2
index ed7baf2cf7e8..1f90fee24a8b 100644
@@ -219,8 +219,8 @@ SYM_CODE_START(ret_from_fork)
 	jalr s0
 1:
 	move a0, sp /* pt_regs */
-	la ra, ret_from_exception
-	tail syscall_exit_to_user_mode
+	call syscall_exit_to_user_mode
+	j ret_from_exception
 SYM_CODE_END(ret_from_fork)
 
 /*
arch/s390/include/asm/facility.h +4 -2
index 94b6919026df..953d42205ea8 100644
@@ -60,8 +60,10 @@ static inline int test_facility(unsigned long nr)
 	unsigned long facilities_als[] = { FACILITIES_ALS };
 
 	if (__builtin_constant_p(nr) && nr < sizeof(facilities_als) * 8) {
-		if (__test_facility(nr, &facilities_als))
-			return 1;
+		if (__test_facility(nr, &facilities_als)) {
+			if (!__is_defined(__DECOMPRESSOR))
+				return 1;
+		}
 	}
 	return __test_facility(nr, &stfle_fac_list);
 }
arch/s390/include/asm/io.h +2 -0
index 4453ad7c11ac..36a9c7740c43 100644
@@ -16,8 +16,10 @@
 #include <asm/pci_io.h>
 
 #define xlate_dev_mem_ptr xlate_dev_mem_ptr
+#define kc_xlate_dev_mem_ptr xlate_dev_mem_ptr
 void *xlate_dev_mem_ptr(phys_addr_t phys);
 #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr
+#define kc_unxlate_dev_mem_ptr unxlate_dev_mem_ptr
 void unxlate_dev_mem_ptr(phys_addr_t phys, void *addr);
 
 #define IO_SPACE_LIMIT 0
arch/s390/kernel/perf_cpum_sf.c +4 -8
index 06efad5b4f93..a3169193775f 100644
@@ -1463,7 +1463,7 @@ static int aux_output_begin(struct perf_output_handle *handle,
 	unsigned long range, i, range_scan, idx, head, base, offset;
 	struct hws_trailer_entry *te;
 
-	if (WARN_ON_ONCE(handle->head & ~PAGE_MASK))
+	if (handle->head & ~PAGE_MASK)
 		return -EINVAL;
 
 	aux->head = handle->head >> PAGE_SHIFT;
@@ -1642,7 +1642,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 	unsigned long num_sdb;
 
 	aux = perf_get_aux(handle);
-	if (WARN_ON_ONCE(!aux))
+	if (!aux)
 		return;
 
 	/* Inform user space new data arrived */
@@ -1661,7 +1661,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 				num_sdb);
 			break;
 		}
-		if (WARN_ON_ONCE(!aux))
+		if (!aux)
 			return;
 
 		/* Update head and alert_mark to new position */
@@ -1896,12 +1896,8 @@ static void cpumsf_pmu_start(struct perf_event *event, int flags)
 {
 	struct cpu_hw_sf *cpuhw = this_cpu_ptr(&cpu_hw_sf);
 
-	if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED)))
+	if (!(event->hw.state & PERF_HES_STOPPED))
 		return;
-
-	if (flags & PERF_EF_RELOAD)
-		WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE));
-
 	perf_pmu_disable(event->pmu);
 	event->hw.state = 0;
 	cpuhw->lsctl.cs = 1;
arch/s390/mm/cmm.c +17 -1
index f47515313226..9af4d8296494 100644
@@ -95,11 +95,12 @@ static long cmm_alloc_pages(long nr, long *counter,
 		(*counter)++;
 		spin_unlock(&cmm_lock);
 		nr--;
+		cond_resched();
 	}
 	return nr;
 }
 
-static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+static long __cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 {
 	struct cmm_page_array *pa;
 	unsigned long addr;
@@ -123,6 +124,21 @@ static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 	return nr;
 }
 
+static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+{
+	long inc = 0;
+
+	while (nr) {
+		inc = min(256L, nr);
+		nr -= inc;
+		inc = __cmm_free_pages(inc, counter, list);
+		if (inc)
+			break;
+		cond_resched();
+	}
+	return nr + inc;
+}
+
 static int cmm_oom_notify(struct notifier_block *self,
 			  unsigned long dummy, void *parm)
 {
arch/x86/kernel/amd_nb.c +4 -0
index 6f1cc7f1b202..6dabb53f58a4 100644
@@ -26,6 +26,7 @@
 #define PCI_DEVICE_ID_AMD_19H_M70H_ROOT		0x14e8
 #define PCI_DEVICE_ID_AMD_1AH_M00H_ROOT		0x153a
 #define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT		0x1507
+#define PCI_DEVICE_ID_AMD_1AH_M60H_ROOT		0x1122
 #define PCI_DEVICE_ID_AMD_MI200_ROOT		0x14bb
 
 #define PCI_DEVICE_ID_AMD_17H_DF_F4		0x1464
@@ -61,6 +62,7 @@ static const struct pci_device_id amd_root_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M70H_ROOT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M00H_ROOT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_ROOT) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_ROOT) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI200_ROOT) },
 	{}
 };
@@ -92,6 +94,8 @@ static const struct pci_device_id amd_nb_misc_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_MI200_DF_F3) },
 	{}
 };
arch/x86/net/bpf_jit_comp.c +52 -2

72 lines not on this page · raw message

drivers/ata/ahci.c +85 -0

97 lines not on this page · raw message

drivers/ata/libata-eh.c +14 -4
index cd8745737545..a96566e1b2b8 100644
@@ -4049,10 +4049,20 @@ static void ata_eh_handle_port_suspend(struct ata_port *ap)
 
 	WARN_ON(ap->pflags & ATA_PFLAG_SUSPENDED);
 
-	/* Set all devices attached to the port in standby mode */
-	ata_for_each_link(link, ap, HOST_FIRST) {
-		ata_for_each_dev(dev, link, ENABLED)
-			ata_dev_power_set_standby(dev);
+	/*
+	 * We will reach this point for all of the PM events:
+	 * PM_EVENT_SUSPEND (if runtime pm, PM_EVENT_AUTO will also be set)
+	 * PM_EVENT_FREEZE, and PM_EVENT_HIBERNATE.
+	 *
+	 * We do not want to perform disk spin down for PM_EVENT_FREEZE.
+	 * (Spin down will be performed by the subsequent PM_EVENT_HIBERNATE.)
+	 */
+	if (!(ap->pm_mesg.event & PM_EVENT_FREEZE)) {
+		/* Set all devices attached to the port in standby mode */
+		ata_for_each_link(link, ap, HOST_FIRST) {
+			ata_for_each_dev(dev, link, ENABLED)
+				ata_dev_power_set_standby(dev);
+		}
 	}
 
 	/*
drivers/base/bus.c +6 -2
index d7c4330786ca..d4361ad3b433 100644
@@ -152,7 +152,8 @@ static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for reading a bus attribute without show() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->show)
 		ret = bus_attr->show(subsys_priv->bus, buf);
@@ -164,7 +165,8 @@ static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for writing a bus attribute without store() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->store)
 		ret = bus_attr->store(subsys_priv->bus, buf, count);
@@ -920,6 +922,8 @@ int bus_register(const struct bus_type *bus)
 	bus_remove_file(bus, &bus_attr_uevent);
 bus_uevent_fail:
 	kset_unregister(&priv->subsys);
+	/* Above kset_unregister() will kfree @priv */
+	priv = NULL;
 out:
 	kfree(priv);
 	return retval;
drivers/block/zram/zram_drv.c +7 -0
index 06673c6ca255..606f388c7a57 100644
@@ -1983,6 +1983,13 @@ static void zram_destroy_comps(struct zram *zram)
 		zcomp_destroy(comp);
 		zram->num_active_comps--;
 	}
+
+	for (prio = ZRAM_PRIMARY_COMP; prio < ZRAM_MAX_COMPS; prio++) {
+		/* Do not free statically defined compression algorithms */
+		if (zram->comp_algs[prio] != default_compressor)
+			kfree(zram->comp_algs[prio]);
+		zram->comp_algs[prio] = NULL;
+	}
 }
 
 static void zram_reset_device(struct zram *zram)
drivers/bus/mhi/ep/internal.h +1 -0
index a2125fa5fe2f..accbf3a51d0c 100644
@@ -159,6 +159,7 @@ struct mhi_ep_chan {
 	void (*xfer_cb)(struct mhi_ep_device *mhi_dev, struct mhi_result *result);
 	enum mhi_ch_state state;
 	enum dma_data_direction dir;
+	size_t rd_offset;
 	u64 tre_loc;
 	u32 tre_size;
 	u32 tre_bytes_left;
drivers/bus/mhi/ep/main.c +149 -99

415 lines not on this page · raw message

drivers/bus/mhi/ep/ring.c +4 -4
index c673d7200b3e..ba9f696d1aa8 100644
@@ -48,7 +48,7 @@ static int __mhi_ep_cache_ring(struct mhi_ep_ring *ring, size_t end)
 		buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element));
 		buf_info.dev_addr = &ring->ring_cache[start];
 
-		ret = mhi_cntrl->read_from_host(mhi_cntrl, &buf_info);
+		ret = mhi_cntrl->read_sync(mhi_cntrl, &buf_info);
 		if (ret < 0)
 			return ret;
 	} else {
@@ -56,7 +56,7 @@ static int __mhi_ep_cache_ring(struct mhi_ep_ring *ring, size_t end)
 		buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element));
 		buf_info.dev_addr = &ring->ring_cache[start];
 
-		ret = mhi_cntrl->read_from_host(mhi_cntrl, &buf_info);
+		ret = mhi_cntrl->read_sync(mhi_cntrl, &buf_info);
 		if (ret < 0)
 			return ret;
 
@@ -65,7 +65,7 @@ static int __mhi_ep_cache_ring(struct mhi_ep_ring *ring, size_t end)
 			buf_info.dev_addr = &ring->ring_cache[0];
 			buf_info.size = end * sizeof(struct mhi_ring_element);
 
-			ret = mhi_cntrl->read_from_host(mhi_cntrl, &buf_info);
+			ret = mhi_cntrl->read_sync(mhi_cntrl, &buf_info);
 			if (ret < 0)
 				return ret;
 		}
@@ -143,7 +143,7 @@ int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *e
 	buf_info.dev_addr = el;
 	buf_info.size = sizeof(*el);
 
-	return mhi_cntrl->write_to_host(mhi_cntrl, &buf_info);
+	return mhi_cntrl->write_sync(mhi_cntrl, &buf_info);
 }
 
 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id)
drivers/char/virtio_console.c +10 -8
index 680d1ef2a217..796ab9a4e48f 100644
@@ -2052,25 +2052,27 @@ static int virtcons_probe(struct virtio_device *vdev)
 		multiport = true;
 	}
 
-	err = init_vqs(portdev);
-	if (err < 0) {
-		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
-		goto free_chrdev;
-	}
-
 	spin_lock_init(&portdev->ports_lock);
 	INIT_LIST_HEAD(&portdev->ports);
 	INIT_LIST_HEAD(&portdev->list);
 
-	virtio_device_ready(portdev->vdev);
-
 	INIT_WORK(&portdev->config_work, &config_work_handler);
 	INIT_WORK(&portdev->control_work, &control_work_handler);
 
 	if (multiport) {
 		spin_lock_init(&portdev->c_ivq_lock);
 		spin_lock_init(&portdev->c_ovq_lock);
+	}
 
+	err = init_vqs(portdev);
+	if (err < 0) {
+		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
+		goto free_chrdev;
+	}
+
+	virtio_device_ready(portdev->vdev);
+
+	if (multiport) {
 		err = fill_queue(portdev->c_ivq, &portdev->c_ivq_lock);
 		if (err < 0) {
 			dev_err(&vdev->dev,
drivers/clk/bcm/clk-bcm53573-ilp.c +1 -1
index 84f2af736ee8..83ef41d618be 100644
@@ -112,7 +112,7 @@ static void bcm53573_ilp_init(struct device_node *np)
 		goto err_free_ilp;
 	}
 
-	ilp->regmap = syscon_node_to_regmap(of_get_parent(np));
+	ilp->regmap = syscon_node_to_regmap(np->parent);
 	if (IS_ERR(ilp->regmap)) {
 		err = PTR_ERR(ilp->regmap);
 		goto err_free_ilp;
drivers/clk/imx/clk-imx7d.c +2 -2
index 2b77d1fc7bb9..1e1296e74835 100644
@@ -498,9 +498,9 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
 	hws[IMX7D_ENET_AXI_ROOT_SRC] = imx_clk_hw_mux2_flags("enet_axi_src", base + 0x8900, 24, 3, enet_axi_sel, ARRAY_SIZE(enet_axi_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_NAND_USDHC_BUS_ROOT_SRC] = imx_clk_hw_mux2_flags("nand_usdhc_src", base + 0x8980, 24, 3, nand_usdhc_bus_sel, ARRAY_SIZE(nand_usdhc_bus_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_DRAM_PHYM_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_phym_src", base + 0x9800, 24, 1, dram_phym_sel, ARRAY_SIZE(dram_phym_sel), CLK_SET_PARENT_GATE);
-	hws[IMX7D_DRAM_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_src", base + 0x9880, 24, 1, dram_sel, ARRAY_SIZE(dram_sel), CLK_SET_PARENT_GATE);
+	hws[IMX7D_DRAM_ROOT_SRC] = imx_clk_hw_mux2("dram_src", base + 0x9880, 24, 1, dram_sel, ARRAY_SIZE(dram_sel));
 	hws[IMX7D_DRAM_PHYM_ALT_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_phym_alt_src", base + 0xa000, 24, 3, dram_phym_alt_sel, ARRAY_SIZE(dram_phym_alt_sel), CLK_SET_PARENT_GATE);
-	hws[IMX7D_DRAM_ALT_ROOT_SRC]  = imx_clk_hw_mux2_flags("dram_alt_src", base + 0xa080, 24, 3, dram_alt_sel, ARRAY_SIZE(dram_alt_sel), CLK_SET_PARENT_GATE);
+	hws[IMX7D_DRAM_ALT_ROOT_SRC]  = imx_clk_hw_mux2("dram_alt_src", base + 0xa080, 24, 3, dram_alt_sel, ARRAY_SIZE(dram_alt_sel));
 	hws[IMX7D_USB_HSIC_ROOT_SRC] = imx_clk_hw_mux2_flags("usb_hsic_src", base + 0xa100, 24, 3, usb_hsic_sel, ARRAY_SIZE(usb_hsic_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_PCIE_CTRL_ROOT_SRC] = imx_clk_hw_mux2_flags("pcie_ctrl_src", base + 0xa180, 24, 3, pcie_ctrl_sel, ARRAY_SIZE(pcie_ctrl_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_PCIE_PHY_ROOT_SRC] = imx_clk_hw_mux2_flags("pcie_phy_src", base + 0xa200, 24, 3, pcie_phy_sel, ARRAY_SIZE(pcie_phy_sel), CLK_SET_PARENT_GATE);
drivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c +5 -0
index d55521b5bdcb..892a66b2cea6 100644
@@ -140,6 +140,11 @@ int main(void)
 {
 	FILE *fp = fopen("ni_values.py", "w");
 
+	if (fp == NULL) {
+		fprintf(stderr, "Could not open file!");
+		return -1;
+	}
+
 	/* write route register values */
 	fprintf(fp, "ni_route_values = {\n");
 	for (int i = 0; ni_all_route_values[i]; ++i)
drivers/dax/device.c +1 -1
index 93ebedc5ec8c..01e89b7ac637 100644
@@ -86,7 +86,7 @@ static void dax_set_mapping(struct vm_fault *vmf, pfn_t pfn,
 		nr_pages = 1;
 
 	pgoff = linear_page_index(vmf->vma,
-			ALIGN(vmf->address, fault_size));
+			ALIGN_DOWN(vmf->address, fault_size));
 
 	for (i = 0; i < nr_pages; i++) {
 		struct page *page = pfn_to_page(pfn_t_to_pfn(pfn) + i);
drivers/gpio/gpio-aspeed.c +3 -1
index 58f107194fda..76468e6a2899 100644
@@ -406,6 +406,8 @@ static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
 	gpio->dcache[GPIO_BANK(offset)] = reg;
 
 	iowrite32(reg, addr);
+	/* Flush write */
+	ioread32(addr);
 }
 
 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
@@ -1191,7 +1193,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
 	if (!gpio_id)
 		return -EINVAL;
 
-	gpio->clk = of_clk_get(pdev->dev.of_node, 0);
+	gpio->clk = devm_clk_get_enabled(&pdev->dev, NULL);
 	if (IS_ERR(gpio->clk)) {
 		dev_warn(&pdev->dev,
 				"Failed to get clock from devicetree, debouncing disabled\n");
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -1
index a7a6f6c5c765..c2efe18ceacd 100644
@@ -1691,7 +1691,7 @@ bool dc_validate_boot_timing(const struct dc *dc,
 		if (crtc_timing->pix_clk_100hz != pix_clk_100hz)
 			return false;
 
-		if (!se->funcs->dp_get_pixel_format)
+		if (!se || !se->funcs->dp_get_pixel_format)
 			return false;
 
 		if (!se->funcs->dp_get_pixel_format(
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c +12 -15
index 93c0455766dd..cee5e9e64ae7 100644
@@ -432,21 +432,18 @@ static enum mod_hdcp_status authenticated_dp(struct mod_hdcp *hdcp,
 		goto out;
 	}
 
-	if (status == MOD_HDCP_STATUS_SUCCESS)
-		if (!mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
-				&input->bstatus_read, &status,
-				hdcp, "bstatus_read"))
-			goto out;
-	if (status == MOD_HDCP_STATUS_SUCCESS)
-		if (!mod_hdcp_execute_and_set(check_link_integrity_dp,
-				&input->link_integrity_check, &status,
-				hdcp, "link_integrity_check"))
-			goto out;
-	if (status == MOD_HDCP_STATUS_SUCCESS)
-		if (!mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
-				&input->reauth_request_check, &status,
-				hdcp, "reauth_request_check"))
-			goto out;
+	mod_hdcp_execute_and_set(mod_hdcp_read_bstatus,
+			&input->bstatus_read, &status,
+			hdcp, "bstatus_read");
+
+	mod_hdcp_execute_and_set(check_link_integrity_dp,
+			&input->link_integrity_check, &status,
+			hdcp, "link_integrity_check");
+
+	mod_hdcp_execute_and_set(check_no_reauthentication_request_dp,
+			&input->reauth_request_check, &status,
+			hdcp, "reauth_request_check");
+
 out:
 	return status;
 }
drivers/gpu/drm/drm_crtc.c +1 -0
index cb90e70d85e8..65f9f66933bb 100644
@@ -904,6 +904,7 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
 	connector_set = NULL;
 	fb = NULL;
 	mode = NULL;
+	num_connectors = 0;
 
 	DRM_MODESET_LOCK_ALL_END(dev, ctx, ret);
 
drivers/gpu/drm/i915/display/intel_hdcp.c +7 -3
index a42549fa9691..cb99839afcd0 100644
@@ -1005,7 +1005,8 @@ static void intel_hdcp_update_value(struct intel_connector *connector,
 	hdcp->value = value;
 	if (update_property) {
 		drm_connector_get(&connector->base);
-		queue_work(i915->unordered_wq, &hdcp->prop_work);
+		if (!queue_work(i915->unordered_wq, &hdcp->prop_work))
+			drm_connector_put(&connector->base);
 	}
 }
 
@@ -2480,7 +2481,8 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,
 		mutex_lock(&hdcp->mutex);
 		hdcp->value = DRM_MODE_CONTENT_PROTECTION_DESIRED;
 		drm_connector_get(&connector->base);
-		queue_work(i915->unordered_wq, &hdcp->prop_work);
+		if (!queue_work(i915->unordered_wq, &hdcp->prop_work))
+			drm_connector_put(&connector->base);
 		mutex_unlock(&hdcp->mutex);
 	}
 
@@ -2497,7 +2499,9 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,
 		 */
 		if (!desired_and_not_enabled && !content_protection_type_changed) {
 			drm_connector_get(&connector->base);
-			queue_work(i915->unordered_wq, &hdcp->prop_work);
+			if (!queue_work(i915->unordered_wq, &hdcp->prop_work))
+				drm_connector_put(&connector->base);
+
 		}
 	}
 
drivers/gpu/drm/nouveau/dispnv04/crtc.c +1 -1
index a34917b048f9..8c7fff19c97b 100644
@@ -1157,7 +1157,7 @@ nv04_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
 	chan = drm->channel;
 	if (!chan)
 		return -ENODEV;
-	cli = (void *)chan->user.client;
+	cli = chan->cli;
 	push = chan->chan.push;
 
 	s = kzalloc(sizeof(*s), GFP_KERNEL);
drivers/gpu/drm/nouveau/nouveau_abi16.c +1 -1
index 74b16e391385..2e177ebab303 100644
@@ -351,7 +351,7 @@ nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS)
 	list_add(&chan->head, &abi16->channels);
 
 	/* create channel object and initialise dma and fence management */
-	ret = nouveau_channel_new(drm, device, false, runm, init->fb_ctxdma_handle,
+	ret = nouveau_channel_new(cli, false, runm, init->fb_ctxdma_handle,
 				  init->tt_ctxdma_handle, &chan->chan);
 	if (ret)
 		goto done;
drivers/gpu/drm/nouveau/nouveau_bo.c +1 -1
index 3a7f4ce34aa3..5d398a422459 100644
@@ -843,7 +843,7 @@ nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict,
 {
 	struct nouveau_drm *drm = nouveau_bdev(bo->bdev);
 	struct nouveau_channel *chan = drm->ttm.chan;
-	struct nouveau_cli *cli = (void *)chan->user.client;
+	struct nouveau_cli *cli = chan->cli;
 	struct nouveau_fence *fence;
 	int ret;
 
drivers/gpu/drm/nouveau/nouveau_chan.c +11 -10
index 7c97b2886807..cee36b1efd39 100644
@@ -52,7 +52,7 @@ static int
 nouveau_channel_killed(struct nvif_event *event, void *repv, u32 repc)
 {
 	struct nouveau_channel *chan = container_of(event, typeof(*chan), kill);
-	struct nouveau_cli *cli = (void *)chan->user.client;
+	struct nouveau_cli *cli = chan->cli;
 
 	NV_PRINTK(warn, cli, "channel %d killed!\n", chan->chid);
 
@@ -66,7 +66,7 @@ int
 nouveau_channel_idle(struct nouveau_channel *chan)
 {
 	if (likely(chan && chan->fence && !atomic_read(&chan->killed))) {
-		struct nouveau_cli *cli = (void *)chan->user.client;
+		struct nouveau_cli *cli = chan->cli;
 		struct nouveau_fence *fence = NULL;
 		int ret;
 
@@ -142,10 +142,11 @@ nouveau_channel_wait(struct nvif_push *push, u32 size)
 }
 
 static int
-nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device,
+nouveau_channel_prep(struct nouveau_cli *cli,
 		     u32 size, struct nouveau_channel **pchan)
 {
-	struct nouveau_cli *cli = (void *)device->object.client;
+	struct nouveau_drm *drm = cli->drm;
+	struct nvif_device *device = &cli->device;
 	struct nv_dma_v0 args = {};
 	struct nouveau_channel *chan;
 	u32 target;
@@ -155,6 +156,7 @@ nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device,
 	if (!chan)
 		return -ENOMEM;
 
+	chan->cli = cli;
 	chan->device = device;
 	chan->drm = drm;
 	chan->vmm = nouveau_cli_vmm(cli);
@@ -254,7 +256,7 @@ nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device,
 }
 
 static int
-nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool priv, u64 runm,
+nouveau_channel_ctor(struct nouveau_cli *cli, bool priv, u64 runm,
 		     struct nouveau_channel **pchan)
 {
 	const struct nvif_mclass hosts[] = {
@@ -279,7 +281,7 @@ nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool p
 		struct nvif_chan_v0 chan;
 		char name[TASK_COMM_LEN+16];
 	} args;
-	struct nouveau_cli *cli = (void *)device->object.client;
+	struct nvif_device *device = &cli->device;
 	struct nouveau_channel *chan;
 	const u64 plength = 0x10000;
 	const u64 ioffset = plength;
@@ -298,7 +300,7 @@ nouveau_channel_ctor(struct nouveau_drm *drm, struct nvif_device *device, bool p
 		size = ioffset + ilength;
 
 	/* allocate dma push buffer */
-	ret = nouveau_channel_prep(drm, device, size, &chan);
+	ret = nouveau_channel_prep(cli, size, &chan);
 	*pchan = chan;
 	if (ret)
 		return ret;
@@ -493,13 +495,12 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
 }
 
 int
-nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device,
+nouveau_channel_new(struct nouveau_cli *cli,
 		    bool priv, u64 runm, u32 vram, u32 gart, struct nouveau_channel **pchan)
 {
-	struct nouveau_cli *cli = (void *)device->object.client;
 	int ret;
 
-	ret = nouveau_channel_ctor(drm, device, priv, runm, pchan);
+	ret = nouveau_channel_ctor(cli, priv, runm, pchan);
 	if (ret) {
 		NV_PRINTK(dbg, cli, "channel create, %d\n", ret);
 		return ret;
drivers/gpu/drm/nouveau/nouveau_chan.h +2 -1
index 5de2ef4e98c2..260febd634ee 100644
@@ -12,6 +12,7 @@ struct nouveau_channel {
 		struct nvif_push *push;
 	} chan;
 
+	struct nouveau_cli *cli;
 	struct nvif_device *device;
 	struct nouveau_drm *drm;
 	struct nouveau_vmm *vmm;
@@ -62,7 +63,7 @@ struct nouveau_channel {
 int nouveau_channels_init(struct nouveau_drm *);
 void nouveau_channels_fini(struct nouveau_drm *);
 
-int  nouveau_channel_new(struct nouveau_drm *, struct nvif_device *, bool priv, u64 runm,
+int  nouveau_channel_new(struct nouveau_cli *, bool priv, u64 runm,
 			 u32 vram, u32 gart, struct nouveau_channel **);
 void nouveau_channel_del(struct nouveau_channel **);
 int  nouveau_channel_idle(struct nouveau_channel *);
drivers/gpu/drm/nouveau/nouveau_dmem.c +1 -1
index 6fb65b01d778..097bd3af0719 100644
@@ -193,7 +193,7 @@ static vm_fault_t nouveau_dmem_migrate_to_ram(struct vm_fault *vmf)
 	if (!spage || !(src & MIGRATE_PFN_MIGRATE))
 		goto done;
 
-	dpage = alloc_page_vma(GFP_HIGHUSER, vmf->vma, vmf->address);
+	dpage = alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO, vmf->vma, vmf->address);
 	if (!dpage)
 		goto done;
 
drivers/gpu/drm/nouveau/nouveau_drm.c +2 -2
index 75545da9d1e9..ac15a662e060 100644
@@ -343,7 +343,7 @@ nouveau_accel_ce_init(struct nouveau_drm *drm)
 		return;
 	}
 
-	ret = nouveau_channel_new(drm, device, false, runm, NvDmaFB, NvDmaTT, &drm->cechan);
+	ret = nouveau_channel_new(&drm->client, true, runm, NvDmaFB, NvDmaTT, &drm->cechan);
 	if (ret)
 		NV_ERROR(drm, "failed to create ce channel, %d\n", ret);
 }
@@ -371,7 +371,7 @@ nouveau_accel_gr_init(struct nouveau_drm *drm)
 		return;
 	}
 
-	ret = nouveau_channel_new(drm, device, false, runm, NvDmaFB, NvDmaTT, &drm->channel);
+	ret = nouveau_channel_new(&drm->client, false, runm, NvDmaFB, NvDmaTT, &drm->channel);
 	if (ret) {
 		NV_ERROR(drm, "failed to create kernel channel, %d\n", ret);
 		nouveau_accel_gr_fini(drm);
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c +4 -4
index cfa5b54ed6fe..e6328991c87e 100644
@@ -2112,11 +2112,11 @@ static const struct panel_desc starry_qfh032011_53g_desc = {
 };
 
 static const struct drm_display_mode starry_himax83102_j02_default_mode = {
-	.clock = 162850,
+	.clock = 162680,
 	.hdisplay = 1200,
-	.hsync_start = 1200 + 50,
-	.hsync_end = 1200 + 50 + 20,
-	.htotal = 1200 + 50 + 20 + 50,
+	.hsync_start = 1200 + 60,
+	.hsync_end = 1200 + 60 + 20,
+	.htotal = 1200 + 60 + 20 + 40,
 	.vdisplay = 1920,
 	.vsync_start = 1920 + 116,
 	.vsync_end = 1920 + 116 + 8,
drivers/gpu/drm/v3d/v3d_perfmon.c +8 -1
index e1be7368b87d..73b9c92dc0fc 100644
@@ -103,6 +103,11 @@ void v3d_perfmon_open_file(struct v3d_file_priv *v3d_priv)
 static int v3d_perfmon_idr_del(int id, void *elem, void *data)
 {
 	struct v3d_perfmon *perfmon = elem;
+	struct v3d_dev *v3d = (struct v3d_dev *)data;
+
+	/* If the active perfmon is being destroyed, stop it first */
+	if (perfmon == v3d->active_perfmon)
+		v3d_perfmon_stop(v3d, perfmon, false);
 
 	v3d_perfmon_put(perfmon);
 
@@ -111,8 +116,10 @@ static int v3d_perfmon_idr_del(int id, void *elem, void *data)
 
 void v3d_perfmon_close_file(struct v3d_file_priv *v3d_priv)
 {
+	struct v3d_dev *v3d = v3d_priv->v3d;
+
 	mutex_lock(&v3d_priv->perfmon.lock);
-	idr_for_each(&v3d_priv->perfmon.idr, v3d_perfmon_idr_del, NULL);
+	idr_for_each(&v3d_priv->perfmon.idr, v3d_perfmon_idr_del, v3d);
 	idr_destroy(&v3d_priv->perfmon.idr);
 	mutex_unlock(&v3d_priv->perfmon.lock);
 	mutex_destroy(&v3d_priv->perfmon.lock);
drivers/gpu/drm/vc4/vc4_perfmon.c +6 -1
index c4ac2c946238..c00a5cc2316d 100644
@@ -116,6 +116,11 @@ void vc4_perfmon_open_file(struct vc4_file *vc4file)
 static int vc4_perfmon_idr_del(int id, void *elem, void *data)
 {
 	struct vc4_perfmon *perfmon = elem;
+	struct vc4_dev *vc4 = (struct vc4_dev *)data;
+
+	/* If the active perfmon is being destroyed, stop it first */
+	if (perfmon == vc4->active_perfmon)
+		vc4_perfmon_stop(vc4, perfmon, false);
 
 	vc4_perfmon_put(perfmon);
 
@@ -130,7 +135,7 @@ void vc4_perfmon_close_file(struct vc4_file *vc4file)
 		return;
 
 	mutex_lock(&vc4file->perfmon.lock);
-	idr_for_each(&vc4file->perfmon.idr, vc4_perfmon_idr_del, NULL);
+	idr_for_each(&vc4file->perfmon.idr, vc4_perfmon_idr_del, vc4);
 	idr_destroy(&vc4file->perfmon.idr);
 	mutex_unlock(&vc4file->perfmon.lock);
 	mutex_destroy(&vc4file->perfmon.lock);
drivers/hid/Kconfig +9 -0
index 790aa908e2a7..9e2cde55b465 100644
@@ -1300,6 +1300,15 @@ config HID_ALPS
 	Say Y here if you have a Alps touchpads over i2c-hid or usbhid
 	and want support for its special functionalities.
 
+config HID_MCP2200
+	tristate "Microchip MCP2200 HID USB-to-GPIO bridge"
+	depends on USB_HID && GPIOLIB
+	help
+	  Provides GPIO functionality over USB-HID through MCP2200 device.
+
+	  To compile this driver as a module, choose M here: the module
+	  will be called hid-mcp2200.ko.
+
 config HID_MCP2221
 	tristate "Microchip MCP2221 HID USB-to-I2C/SMbus host support"
 	depends on USB_HID && I2C
drivers/hid/Makefile +1 -0
index 8a06d0f840bc..082a728eac60 100644
@@ -79,6 +79,7 @@ obj-$(CONFIG_HID_LOGITECH_HIDPP)	+= hid-logitech-hidpp.o
 obj-$(CONFIG_HID_MACALLY)	+= hid-macally.o
 obj-$(CONFIG_HID_MAGICMOUSE)	+= hid-magicmouse.o
 obj-$(CONFIG_HID_MALTRON)	+= hid-maltron.o
+obj-$(CONFIG_HID_MCP2200)	+= hid-mcp2200.o
 obj-$(CONFIG_HID_MCP2221)	+= hid-mcp2221.o
 obj-$(CONFIG_HID_MAYFLASH)	+= hid-mf.o
 obj-$(CONFIG_HID_MEGAWORLD_FF)	+= hid-megaworld.o
drivers/hid/amd-sfh-hid/amd_sfh_client.c +3 -11
index 4b59687ff5d8..3438d392920f 100644
@@ -236,9 +236,9 @@ int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata)
 	cl_data->in_data = in_data;
 
 	for (i = 0; i < cl_data->num_hid_devices; i++) {
-		in_data->sensor_virt_addr[i] = dma_alloc_coherent(dev, sizeof(int) * 8,
-								  &cl_data->sensor_dma_addr[i],
-								  GFP_KERNEL);
+		in_data->sensor_virt_addr[i] = dmam_alloc_coherent(dev, sizeof(int) * 8,
+								   &cl_data->sensor_dma_addr[i],
+								   GFP_KERNEL);
 		if (!in_data->sensor_virt_addr[i]) {
 			rc = -ENOMEM;
 			goto cleanup;
@@ -331,7 +331,6 @@ int amd_sfh_hid_client_init(struct amd_mp2_dev *privdata)
 int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata)
 {
 	struct amdtp_cl_data *cl_data = privdata->cl_data;
-	struct amd_input_data *in_data = cl_data->in_data;
 	int i, status;
 
 	for (i = 0; i < cl_data->num_hid_devices; i++) {
@@ -351,12 +350,5 @@ int amd_sfh_hid_client_deinit(struct amd_mp2_dev *privdata)
 	cancel_delayed_work_sync(&cl_data->work_buffer);
 	amdtp_hid_remove(cl_data);
 
-	for (i = 0; i < cl_data->num_hid_devices; i++) {
-		if (in_data->sensor_virt_addr[i]) {
-			dma_free_coherent(&privdata->pdev->dev, 8 * sizeof(int),
-					  in_data->sensor_virt_addr[i],
-					  cl_data->sensor_dma_addr[i]);
-		}
-	}
 	return 0;
 }
drivers/hid/hid-asus.c +13 -1
index 88cbb2fe6ac8..84625e817ce9 100644
@@ -881,7 +881,10 @@ static int asus_input_mapping(struct hid_device *hdev,
 		case 0xb3: asus_map_key_clear(KEY_PROG3);	break; /* Fn+Left next aura */
 		case 0x6a: asus_map_key_clear(KEY_F13);		break; /* Screenpad toggle */
 		case 0x4b: asus_map_key_clear(KEY_F14);		break; /* Arrows/Pg-Up/Dn toggle */
-
+		case 0xa5: asus_map_key_clear(KEY_F15);		break; /* ROG Ally left back */
+		case 0xa6: asus_map_key_clear(KEY_F16);		break; /* ROG Ally QAM button */
+		case 0xa7: asus_map_key_clear(KEY_F17);		break; /* ROG Ally ROG long-press */
+		case 0xa8: asus_map_key_clear(KEY_F18);		break; /* ROG Ally ROG long-press-release */
 
 		default:
 			/* ASUS lazily declares 256 usages, ignore the rest,
@@ -1273,6 +1276,15 @@ static const struct hid_device_id asus_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
 	    USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3),
 	  QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
+	    USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR),
+	  QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
+	    USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY),
+	  QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
+	    USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X),
+	  QUIRK_USE_KBD_BACKLIGHT | QUIRK_ROG_NKEY_KEYBOARD },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_ASUSTEK,
 	    USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD),
 	  QUIRK_ROG_CLAYMORE_II_KEYBOARD },
drivers/hid/hid-ids.h +10 -0
index f2e8fb357590..d4f6066dbbc5 100644
@@ -208,6 +208,9 @@
 #define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD	0x1866
 #define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD2	0x19b6
 #define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD3	0x1a30
+#define USB_DEVICE_ID_ASUSTEK_ROG_Z13_LIGHTBAR		0x18c6
+#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY		0x1abe
+#define USB_DEVICE_ID_ASUSTEK_ROG_NKEY_ALLY_X		0x1b4c
 #define USB_DEVICE_ID_ASUSTEK_ROG_CLAYMORE_II_KEYBOARD	0x196b
 #define USB_DEVICE_ID_ASUSTEK_FX503VD_KEYBOARD	0x1869
 
@@ -298,6 +301,9 @@
 
 #define USB_VENDOR_ID_CIDC		0x1677
 
+#define I2C_VENDOR_ID_CIRQUE           0x0488
+#define I2C_PRODUCT_ID_CIRQUE_1063     0x1063
+
 #define USB_VENDOR_ID_CJTOUCH		0x24b8
 #define USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0020	0x0020
 #define USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0040	0x0040
@@ -499,6 +505,7 @@
 #define USB_DEVICE_ID_GENERAL_TOUCH_WIN8_PIT_E100 0xe100
 
 #define I2C_VENDOR_ID_GOODIX		0x27c6
+#define I2C_DEVICE_ID_GOODIX_01E0	0x01e0
 #define I2C_DEVICE_ID_GOODIX_01E8	0x01e8
 #define I2C_DEVICE_ID_GOODIX_01E9	0x01e9
 #define I2C_DEVICE_ID_GOODIX_01F0	0x01f0
@@ -907,6 +914,7 @@
 #define USB_DEVICE_ID_PICK16F1454	0x0042
 #define USB_DEVICE_ID_PICK16F1454_V2	0xf2f7
 #define USB_DEVICE_ID_LUXAFOR		0xf372
+#define USB_DEVICE_ID_MCP2200		0x00df
 #define USB_DEVICE_ID_MCP2221		0x00dd
 
 #define USB_VENDOR_ID_MICROSOFT		0x045e
@@ -1025,6 +1033,8 @@
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3220_SERIES	0xc056
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3215_SERIES	0xc057
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES	0xc058
+#define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES	0x430c
+#define USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES		0x431e
 
 #define USB_VENDOR_ID_PANASONIC		0x04da
 #define USB_DEVICE_ID_PANABOARD_UBT780	0x1044
drivers/hid/hid-mcp2200.c new file +392 -0

392 lines not on this page · raw message

drivers/hid/hid-multitouch.c +6 -2
index 6d76463f5896..e7199ae2e3d9 100644
@@ -1447,7 +1447,8 @@ static __u8 *mt_report_fixup(struct hid_device *hdev, __u8 *rdesc,
 {
 	if (hdev->vendor == I2C_VENDOR_ID_GOODIX &&
 	    (hdev->product == I2C_DEVICE_ID_GOODIX_01E8 ||
-	     hdev->product == I2C_DEVICE_ID_GOODIX_01E9)) {
+	     hdev->product == I2C_DEVICE_ID_GOODIX_01E9 ||
+		 hdev->product == I2C_DEVICE_ID_GOODIX_01E0)) {
 		if (rdesc[607] == 0x15) {
 			rdesc[607] = 0x25;
 			dev_info(
@@ -2068,7 +2069,10 @@ static const struct hid_device_id mt_devices[] = {
 		     I2C_DEVICE_ID_GOODIX_01E8) },
 	{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU,
 	  HID_DEVICE(BUS_I2C, HID_GROUP_ANY, I2C_VENDOR_ID_GOODIX,
-		     I2C_DEVICE_ID_GOODIX_01E8) },
+		     I2C_DEVICE_ID_GOODIX_01E9) },
+	{ .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT_NSMU,
+	  HID_DEVICE(BUS_I2C, HID_GROUP_ANY, I2C_VENDOR_ID_GOODIX,
+		     I2C_DEVICE_ID_GOODIX_01E0) },
 
 	/* GoodTouch panels */
 	{ .driver_data = MT_CLS_NSMU,
drivers/hid/hid-plantronics.c +23 -0
index 3d414ae194ac..25cfd964dc25 100644
@@ -38,8 +38,10 @@
 			    (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER)
 
 #define PLT_QUIRK_DOUBLE_VOLUME_KEYS BIT(0)
+#define PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS BIT(1)
 
 #define PLT_DOUBLE_KEY_TIMEOUT 5 /* ms */
+#define PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT 220 /* ms */
 
 struct plt_drv_data {
 	unsigned long device_type;
@@ -137,6 +139,21 @@ static int plantronics_event(struct hid_device *hdev, struct hid_field *field,
 
 		drv_data->last_volume_key_ts = cur_ts;
 	}
+	if (drv_data->quirks & PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS) {
+		unsigned long prev_ts, cur_ts;
+
+		/* Usages are filtered in plantronics_usages. */
+
+		if (!value) /* Handle key presses only. */
+			return 0;
+
+		prev_ts = drv_data->last_volume_key_ts;
+		cur_ts = jiffies;
+		if (jiffies_to_msecs(cur_ts - prev_ts) <= PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT)
+			return 1; /* Ignore the followed opposite volume key. */
+
+		drv_data->last_volume_key_ts = cur_ts;
+	}
 
 	return 0;
 }
@@ -210,6 +227,12 @@ static const struct hid_device_id plantronics_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
 					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES),
 		.driver_data = PLT_QUIRK_DOUBLE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS, HID_ANY_ID) },
 	{ }
 };
drivers/hid/i2c-hid/i2c-hid-core.c +11 -11
index 799ad0ef9c4a..045db6f0fb4c 100644
@@ -44,12 +44,12 @@
 #include "i2c-hid.h"
 
 /* quirks to control the device */
-#define I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV	BIT(0)
-#define I2C_HID_QUIRK_NO_IRQ_AFTER_RESET	BIT(1)
-#define I2C_HID_QUIRK_BOGUS_IRQ			BIT(4)
-#define I2C_HID_QUIRK_RESET_ON_RESUME		BIT(5)
-#define I2C_HID_QUIRK_BAD_INPUT_SIZE		BIT(6)
-#define I2C_HID_QUIRK_NO_WAKEUP_AFTER_RESET	BIT(7)
+#define I2C_HID_QUIRK_NO_IRQ_AFTER_RESET	BIT(0)
+#define I2C_HID_QUIRK_BOGUS_IRQ			BIT(1)
+#define I2C_HID_QUIRK_RESET_ON_RESUME		BIT(2)
+#define I2C_HID_QUIRK_BAD_INPUT_SIZE		BIT(3)
+#define I2C_HID_QUIRK_NO_WAKEUP_AFTER_RESET	BIT(4)
+#define I2C_HID_QUIRK_NO_SLEEP_ON_SUSPEND	BIT(5)
 
 /* Command opcodes */
 #define I2C_HID_OPCODE_RESET			0x01
@@ -119,8 +119,6 @@ static const struct i2c_hid_quirks {
 	__u16 idProduct;
 	__u32 quirks;
 } i2c_hid_quirks[] = {
-	{ USB_VENDOR_ID_WEIDA, HID_ANY_ID,
-		I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV },
 	{ I2C_VENDOR_ID_HANTICK, I2C_PRODUCT_ID_HANTICK_5288,
 		I2C_HID_QUIRK_NO_IRQ_AFTER_RESET },
 	{ I2C_VENDOR_ID_ITE, I2C_DEVICE_ID_ITE_VOYO_WINPAD_A15,
@@ -133,6 +131,8 @@ static const struct i2c_hid_quirks {
 		 I2C_HID_QUIRK_RESET_ON_RESUME },
 	{ USB_VENDOR_ID_ITE, I2C_DEVICE_ID_ITE_LENOVO_LEGION_Y720,
 		I2C_HID_QUIRK_BAD_INPUT_SIZE },
+	{ I2C_VENDOR_ID_CIRQUE, I2C_PRODUCT_ID_CIRQUE_1063,
+		I2C_HID_QUIRK_NO_SLEEP_ON_SUSPEND },
 	/*
 	 * Sending the wakeup after reset actually break ELAN touchscreen controller
 	 */
@@ -389,8 +389,7 @@ static int i2c_hid_set_power(struct i2c_hid *ihid, int power_state)
 	 * The call will get a return value (EREMOTEIO) but device will be
 	 * triggered and activated. After that, it goes like a normal device.
 	 */
-	if (power_state == I2C_HID_PWR_ON &&
-	    ihid->quirks & I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV) {
+	if (power_state == I2C_HID_PWR_ON) {
 		ret = i2c_hid_set_power_command(ihid, I2C_HID_PWR_ON);
 
 		/* Device was already activated */
@@ -949,7 +948,8 @@ static int i2c_hid_core_suspend(struct i2c_hid *ihid, bool force_poweroff)
 		return ret;
 
 	/* Save some power */
-	i2c_hid_set_power(ihid, I2C_HID_PWR_SLEEP);
+	if (!(ihid->quirks & I2C_HID_QUIRK_NO_SLEEP_ON_SUSPEND))
+		i2c_hid_set_power(ihid, I2C_HID_PWR_SLEEP);
 
 	disable_irq(client->irq);
 
drivers/hid/intel-ish-hid/ishtp-fw-loader.c +1 -1
index 16aa030af845..983be15fedcc 100644
@@ -635,7 +635,7 @@ static int ish_fw_xfer_direct_dma(struct ishtp_cl_data *client_data,
 				  const struct firmware *fw,
 				  const struct shim_fw_info fw_info)
 {
-	int rv;
+	int rv = 0;
 	void *dma_buf;
 	dma_addr_t dma_buf_phy;
 	u32 fragment_offset, fragment_size, payload_max_size;
drivers/hwmon/Kconfig +4 -0
index ec38c8892158..a4c361b6619c 100644
@@ -174,6 +174,7 @@ config SENSORS_ADM9240
 	tristate "Analog Devices ADM9240 and compatibles"
 	depends on I2C
 	select HWMON_VID
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for Analog Devices ADM9240,
 	  Dallas DS1780, National Semiconductor LM81 sensor chips.
@@ -235,6 +236,7 @@ config SENSORS_ADT7462
 config SENSORS_ADT7470
 	tristate "Analog Devices ADT7470"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for the Analog Devices
 	  ADT7470 temperature monitoring chips.
@@ -1200,6 +1202,7 @@ config SENSORS_MAX31790
 config SENSORS_MC34VR500
 	tristate "NXP MC34VR500 hardware monitoring driver"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for the temperature and input
 	  voltage sensors of the NXP MC34VR500.
@@ -2137,6 +2140,7 @@ config SENSORS_TMP464
 config SENSORS_TMP513
 	tristate "Texas Instruments TMP513 and compatibles"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for Texas Instruments TMP512,
 	  and TMP513 temperature and power supply sensor chips.
drivers/hwmon/intel-m10-bmc-hwmon.c +1 -1
index ca2dff158925..96397ae6ff18 100644
@@ -358,7 +358,7 @@ static const struct m10bmc_sdata n6000bmc_temp_tbl[] = {
 	{ 0x4f0, 0x4f4, 0x4f8, 0x52c, 0x0, 500, "Board Top Near FPGA Temperature" },
 	{ 0x4fc, 0x500, 0x504, 0x52c, 0x0, 500, "Board Bottom Near CVL Temperature" },
 	{ 0x508, 0x50c, 0x510, 0x52c, 0x0, 500, "Board Top East Near VRs Temperature" },
-	{ 0x514, 0x518, 0x51c, 0x52c, 0x0, 500, "Columbiaville Die Temperature" },
+	{ 0x514, 0x518, 0x51c, 0x52c, 0x0, 500, "CVL Die Temperature" },
 	{ 0x520, 0x524, 0x528, 0x52c, 0x0, 500, "Board Rear Side Temperature" },
 	{ 0x530, 0x534, 0x538, 0x52c, 0x0, 500, "Board Front Side Temperature" },
 	{ 0x53c, 0x540, 0x544, 0x0, 0x0, 500, "QSFP1 Case Temperature" },
drivers/hwmon/k10temp.c +1 -0
index ae0f454c305d..c906731c6c2d 100644
@@ -545,6 +545,7 @@ static const struct pci_device_id k10temp_id_table[] = {
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M78H_DF_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3) },
 	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3) },
+	{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3) },
 	{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
 	{}
 };
drivers/i2c/busses/i2c-i801.c +8 -1
index 3410add34aad..2b8bcd121ffa 100644
@@ -1754,8 +1754,15 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
 
 	i801_add_tco(priv);
 
+	/*
+	 * adapter.name is used by platform code to find the main I801 adapter
+	 * to instantiante i2c_clients, do not change.
+	 */
 	snprintf(priv->adapter.name, sizeof(priv->adapter.name),
-		"SMBus I801 adapter at %04lx", priv->smba);
+		 "SMBus %s adapter at %04lx",
+		 (priv->features & FEATURE_IDF) ? "I801 IDF" : "I801",
+		 priv->smba);
+
 	err = i2c_add_adapter(&priv->adapter);
 	if (err) {
 		platform_device_unregister(priv->tco_pdev);
drivers/i3c/master/i3c-master-cdns.c +1 -0
index fa5aaaf44618..d8426847c283 100644
@@ -1666,6 +1666,7 @@ static void cdns_i3c_master_remove(struct platform_device *pdev)
 {
 	struct cdns_i3c_master *master = platform_get_drvdata(pdev);
 
+	cancel_work_sync(&master->hj_work);
 	i3c_master_unregister(&master->base);
 
 	clk_disable_unprepare(master->sysclk);
drivers/infiniband/core/mad.c +8 -6
index 674344eb8e2f..58befbaaf0ad 100644
@@ -2616,14 +2616,16 @@ static int retry_send(struct ib_mad_send_wr_private *mad_send_wr)
 
 static void timeout_sends(struct work_struct *work)
 {
+	struct ib_mad_send_wr_private *mad_send_wr, *n;
 	struct ib_mad_agent_private *mad_agent_priv;
-	struct ib_mad_send_wr_private *mad_send_wr;
 	struct ib_mad_send_wc mad_send_wc;
+	struct list_head local_list;
 	unsigned long flags, delay;
 
 	mad_agent_priv = container_of(work, struct ib_mad_agent_private,
 				      timed_work.work);
 	mad_send_wc.vendor_err = 0;
+	INIT_LIST_HEAD(&local_list);
 
 	spin_lock_irqsave(&mad_agent_priv->lock, flags);
 	while (!list_empty(&mad_agent_priv->wait_list)) {
@@ -2641,13 +2643,16 @@ static void timeout_sends(struct work_struct *work)
 			break;
 		}
 
-		list_del(&mad_send_wr->agent_list);
+		list_del_init(&mad_send_wr->agent_list);
 		if (mad_send_wr->status == IB_WC_SUCCESS &&
 		    !retry_send(mad_send_wr))
 			continue;
 
-		spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
+		list_add_tail(&mad_send_wr->agent_list, &local_list);
+	}
+	spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
 
+	list_for_each_entry_safe(mad_send_wr, n, &local_list, agent_list) {
 		if (mad_send_wr->status == IB_WC_SUCCESS)
 			mad_send_wc.status = IB_WC_RESP_TIMEOUT_ERR;
 		else
@@ -2655,11 +2660,8 @@ static void timeout_sends(struct work_struct *work)
 		mad_send_wc.send_buf = &mad_send_wr->send_buf;
 		mad_agent_priv->agent.send_handler(&mad_agent_priv->agent,
 						   &mad_send_wc);
-
 		deref_mad_agent(mad_agent_priv);
-		spin_lock_irqsave(&mad_agent_priv->lock, flags);
 	}
-	spin_unlock_irqrestore(&mad_agent_priv->lock, flags);
 }
 
 /*
drivers/infiniband/hw/mlx5/odp.c +16 -9
index a524181f34df..3a4605fda6d5 100644
@@ -733,24 +733,31 @@ static int pagefault_dmabuf_mr(struct mlx5_ib_mr *mr, size_t bcnt,
  *  >0: Number of pages mapped
  */
 static int pagefault_mr(struct mlx5_ib_mr *mr, u64 io_virt, size_t bcnt,
-			u32 *bytes_mapped, u32 flags)
+			u32 *bytes_mapped, u32 flags, bool permissive_fault)
 {
 	struct ib_umem_odp *odp = to_ib_umem_odp(mr->umem);
 
-	if (unlikely(io_virt < mr->ibmr.iova))
+	if (unlikely(io_virt < mr->ibmr.iova) && !permissive_fault)
 		return -EFAULT;
 
 	if (mr->umem->is_dmabuf)
 		return pagefault_dmabuf_mr(mr, bcnt, bytes_mapped, flags);
 
 	if (!odp->is_implicit_odp) {
+		u64 offset = io_virt < mr->ibmr.iova ? 0 : io_virt - mr->ibmr.iova;
 		u64 user_va;
 
-		if (check_add_overflow(io_virt - mr->ibmr.iova,
-				       (u64)odp->umem.address, &user_va))
+		if (check_add_overflow(offset, (u64)odp->umem.address,
+				       &user_va))
 			return -EFAULT;
-		if (unlikely(user_va >= ib_umem_end(odp) ||
-			     ib_umem_end(odp) - user_va < bcnt))
+
+		if (permissive_fault) {
+			if (user_va < ib_umem_start(odp))
+				user_va = ib_umem_start(odp);
+			if ((user_va + bcnt) > ib_umem_end(odp))
+				bcnt = ib_umem_end(odp) - user_va;
+		} else if (unlikely(user_va >= ib_umem_end(odp) ||
+				    ib_umem_end(odp) - user_va < bcnt))
 			return -EFAULT;
 		return pagefault_real_mr(mr, odp, user_va, bcnt, bytes_mapped,
 					 flags);
@@ -857,7 +864,7 @@ static int pagefault_single_data_segment(struct mlx5_ib_dev *dev,
 	case MLX5_MKEY_MR:
 		mr = container_of(mmkey, struct mlx5_ib_mr, mmkey);
 
-		ret = pagefault_mr(mr, io_virt, bcnt, bytes_mapped, 0);
+		ret = pagefault_mr(mr, io_virt, bcnt, bytes_mapped, 0, false);
 		if (ret < 0)
 			goto end;
 
@@ -1710,7 +1717,7 @@ static void mlx5_ib_prefetch_mr_work(struct work_struct *w)
 	for (i = 0; i < work->num_sge; ++i) {
 		ret = pagefault_mr(work->frags[i].mr, work->frags[i].io_virt,
 				   work->frags[i].length, &bytes_mapped,
-				   work->pf_flags);
+				   work->pf_flags, false);
 		if (ret <= 0)
 			continue;
 		mlx5_update_odp_stats(work->frags[i].mr, prefetch, ret);
@@ -1761,7 +1768,7 @@ static int mlx5_ib_prefetch_sg_list(struct ib_pd *pd,
 		if (IS_ERR(mr))
 			return PTR_ERR(mr);
 		ret = pagefault_mr(mr, sg_list[i].addr, sg_list[i].length,
-				   &bytes_mapped, pf_flags);
+				   &bytes_mapped, pf_flags, false);
 		if (ret < 0) {
 			mlx5r_deref_odp_mkey(&mr->mmkey);
 			return ret;
drivers/infiniband/ulp/rtrs/rtrs-srv.c +11 -2
index 94ac99a4f696..758a3d9c2844 100644
@@ -931,12 +931,11 @@ static void rtrs_srv_info_req_done(struct ib_cq *cq, struct ib_wc *wc)
 	if (err)
 		goto close;
 
-out:
 	rtrs_iu_free(iu, srv_path->s.dev->ib_dev, 1);
 	return;
 close:
+	rtrs_iu_free(iu, srv_path->s.dev->ib_dev, 1);
 	close_path(srv_path);
-	goto out;
 }
 
 static int post_recv_info_req(struct rtrs_srv_con *con)
@@ -987,6 +986,16 @@ static int post_recv_path(struct rtrs_srv_path *srv_path)
 			q_size = SERVICE_CON_QUEUE_DEPTH;
 		else
 			q_size = srv->queue_depth;
+		if (srv_path->state != RTRS_SRV_CONNECTING) {
+			rtrs_err(s, "Path state invalid. state %s\n",
+				 rtrs_srv_state_str(srv_path->state));
+			return -EIO;
+		}
+
+		if (!srv_path->s.con[cid]) {
+			rtrs_err(s, "Conn not set for %d\n", cid);
+			return -EIO;
+		}
 
 		err = post_recv_io(to_srv_con(srv_path->s.con[cid]), q_size);
 		if (err) {
drivers/input/rmi4/rmi_driver.c +3 -3
index aa32371f04af..ef9ea295f9e0 100644
@@ -978,12 +978,12 @@ static int rmi_driver_remove(struct device *dev)
 
 	rmi_disable_irq(rmi_dev, false);
 
-	irq_domain_remove(data->irqdomain);
-	data->irqdomain = NULL;
-
 	rmi_f34_remove_sysfs(rmi_dev);
 	rmi_free_function_list(rmi_dev);
 
+	irq_domain_remove(data->irqdomain);
+	data->irqdomain = NULL;
+
 	return 0;
 }
 
drivers/media/common/videobuf2/videobuf2-core.c +4 -4
index 468191438849..29bfc2bf796b 100644
@@ -302,6 +302,10 @@ static void __vb2_plane_dmabuf_put(struct vb2_buffer *vb, struct vb2_plane *p)
 	p->mem_priv = NULL;
 	p->dbuf = NULL;
 	p->dbuf_mapped = 0;
+	p->bytesused = 0;
+	p->length = 0;
+	p->m.fd = 0;
+	p->data_offset = 0;
 }
 
 /*
@@ -1296,10 +1300,6 @@ static int __prepare_dmabuf(struct vb2_buffer *vb)
 
 		/* Release previously acquired memory if present */
 		__vb2_plane_dmabuf_put(vb, &vb->planes[plane]);
-		vb->planes[plane].bytesused = 0;
-		vb->planes[plane].length = 0;
-		vb->planes[plane].m.fd = 0;
-		vb->planes[plane].data_offset = 0;
 
 		/* Acquire each plane's memory */
 		mem_priv = call_ptr_memop(attach_dmabuf,
drivers/mfd/intel_soc_pmic_chtwc.c +0 -1
index 7fce3ef7ab45..2a83f540d4c9 100644
@@ -178,7 +178,6 @@ static const struct dmi_system_id cht_wc_model_dmi_ids[] = {
 		.driver_data = (void *)(long)INTEL_CHT_WC_LENOVO_YT3_X90,
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
-			DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
 			DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
 		},
 	},
drivers/net/dsa/b53/b53_common.c +13 -4
index ae1c4dc35fe3..4a2c9a9134d8 100644
@@ -27,6 +27,7 @@
 #include <linux/phylink.h>
 #include <linux/etherdevice.h>
 #include <linux/if_bridge.h>
+#include <linux/if_vlan.h>
 #include <net/dsa.h>
 
 #include "b53_regs.h"
@@ -224,6 +225,9 @@ static const struct b53_mib_desc b53_mibs_58xx[] = {
 
 #define B53_MIBS_58XX_SIZE	ARRAY_SIZE(b53_mibs_58xx)
 
+#define B53_MAX_MTU_25		(1536 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
+#define B53_MAX_MTU		(9720 - ETH_HLEN - VLAN_HLEN - ETH_FCS_LEN)
+
 static int b53_do_vlan_op(struct b53_device *dev, u8 op)
 {
 	unsigned int i;
@@ -2263,20 +2267,25 @@ static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu)
 	bool allow_10_100;
 
 	if (is5325(dev) || is5365(dev))
-		return -EOPNOTSUPP;
+		return 0;
 
 	if (!dsa_is_cpu_port(ds, port))
 		return 0;
 
-	enable_jumbo = (mtu >= JMS_MIN_SIZE);
-	allow_10_100 = (dev->chip_id == BCM583XX_DEVICE_ID);
+	enable_jumbo = (mtu > ETH_DATA_LEN);
+	allow_10_100 = !is63xx(dev);
 
 	return b53_set_jumbo(dev, enable_jumbo, allow_10_100);
 }
 
 static int b53_get_max_mtu(struct dsa_switch *ds, int port)
 {
-	return JMS_MAX_SIZE;
+	struct b53_device *dev = ds->priv;
+
+	if (is5325(dev) || is5365(dev))
+		return B53_MAX_MTU_25;
+
+	return B53_MAX_MTU;
 }
 
 static const struct dsa_switch_ops b53_switch_ops = {
drivers/net/dsa/lan9303-core.c +29 -0
index 24ef219e6f56..8b05a70c0ff3 100644
@@ -6,6 +6,7 @@
 #include <linux/module.h>
 #include <linux/gpio/consumer.h>
 #include <linux/regmap.h>
+#include <linux/iopoll.h>
 #include <linux/mutex.h>
 #include <linux/mii.h>
 #include <linux/of.h>
@@ -839,6 +840,8 @@ static void lan9303_handle_reset(struct lan9303 *chip)
 	if (!chip->reset_gpio)
 		return;
 
+	gpiod_set_value_cansleep(chip->reset_gpio, 1);
+
 	if (chip->reset_duration != 0)
 		msleep(chip->reset_duration);
 
@@ -864,8 +867,34 @@ static int lan9303_disable_processing(struct lan9303 *chip)
 static int lan9303_check_device(struct lan9303 *chip)
 {
 	int ret;
+	int err;
 	u32 reg;
 
+	/* In I2C-managed configurations this polling loop will clash with
+	 * switch's reading of EEPROM right after reset and this behaviour is
+	 * not configurable. While lan9303_read() already has quite long retry
+	 * timeout, seems not all cases are being detected as arbitration error.
+	 *
+	 * According to datasheet, EEPROM loader has 30ms timeout (in case of
+	 * missing EEPROM).
+	 *
+	 * Loading of the largest supported EEPROM is expected to take at least
+	 * 5.9s.
+	 */
+	err = read_poll_timeout(lan9303_read, ret,
+				!ret && reg & LAN9303_HW_CFG_READY,
+				20000, 6000000, false,
+				chip->regmap, LAN9303_HW_CFG, &reg);
+	if (ret) {
+		dev_err(chip->dev, "failed to read HW_CFG reg: %pe\n",
+			ERR_PTR(ret));
+		return ret;
+	}
+	if (err) {
+		dev_err(chip->dev, "HW_CFG not ready: 0x%08x\n", reg);
+		return err;
+	}
+
 	ret = lan9303_read(chip->regmap, LAN9303_CHIP_REV, &reg);
 	if (ret) {
 		dev_err(chip->dev, "failed to read chip revision register: %d\n",
drivers/net/ethernet/adi/adin1110.c +2 -2
index d7c274af6d4d..3c26176316a3 100644
@@ -318,11 +318,11 @@ static int adin1110_read_fifo(struct adin1110_port_priv *port_priv)
 	 * from the  ADIN1110 frame header.
 	 */
 	if (frame_size < ADIN1110_FRAME_HEADER_LEN + ADIN1110_FEC_LEN)
-		return ret;
+		return -EINVAL;
 
 	round_len = adin1110_round_len(frame_size);
 	if (round_len < 0)
-		return ret;
+		return -EINVAL;
 
 	frame_size_no_fcs = frame_size - ADIN1110_FRAME_HEADER_LEN - ADIN1110_FEC_LEN;
 	memset(priv->data, 0, ADIN1110_RD_HEADER_LEN);
drivers/net/ethernet/amd/pds_core/main.c +6 -0
index 6d589ac532a3..eddbf0acdde7 100644
@@ -451,6 +451,9 @@ static void pdsc_remove(struct pci_dev *pdev)
 
 static void pdsc_stop_health_thread(struct pdsc *pdsc)
 {
+	if (pdsc->pdev->is_virtfn)
+		return;
+
 	timer_shutdown_sync(&pdsc->wdtimer);
 	if (pdsc->health_work.func)
 		cancel_work_sync(&pdsc->health_work);
@@ -458,6 +461,9 @@ static void pdsc_stop_health_thread(struct pdsc *pdsc)
 
 static void pdsc_restart_health_thread(struct pdsc *pdsc)
 {
+	if (pdsc->pdev->is_virtfn)
+		return;
+
 	timer_setup(&pdsc->wdtimer, pdsc_wdtimer_cb, 0);
 	mod_timer(&pdsc->wdtimer, jiffies + 1);
 }
drivers/net/ethernet/cortina/gemini.c +18 -14
index f69d974a23a1..5af98fba7480 100644
@@ -79,8 +79,8 @@ MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
 #define GMAC0_IRQ4_8 (GMAC0_MIB_INT_BIT | GMAC0_RX_OVERRUN_INT_BIT)
 
 #define GMAC_OFFLOAD_FEATURES (NETIF_F_SG | NETIF_F_IP_CSUM | \
-		NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | \
-		NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6)
+			       NETIF_F_IPV6_CSUM | NETIF_F_RXCSUM | \
+			       NETIF_F_TSO | NETIF_F_TSO_ECN | NETIF_F_TSO6)
 
 /**
  * struct gmac_queue_page - page buffer per-page info
@@ -1148,24 +1148,26 @@ static int gmac_map_tx_bufs(struct net_device *netdev, struct sk_buff *skb,
 	struct gmac_txdesc *txd;
 	skb_frag_t *skb_frag;
 	dma_addr_t mapping;
-	unsigned short mtu;
 	void *buffer;
+	u16 mss;
 	int ret;
 
-	mtu  = ETH_HLEN;
-	mtu += netdev->mtu;
-	if (skb->protocol == htons(ETH_P_8021Q))
-		mtu += VLAN_HLEN;
-
 	word1 = skb->len;
 	word3 = SOF_BIT;
 
-	if (word1 > mtu) {
+	mss = skb_shinfo(skb)->gso_size;
+	if (mss) {
+		/* This means we are dealing with TCP and skb->len is the
+		 * sum total of all the segments. The TSO will deal with
+		 * chopping this up for us.
+		 */
+		/* The accelerator needs the full frame size here */
+		mss += skb_tcp_all_headers(skb);
+		netdev_dbg(netdev, "segment offloading mss = %04x len=%04x\n",
+			   mss, skb->len);
 		word1 |= TSS_MTU_ENABLE_BIT;
-		word3 |= mtu;
-	}
-
-	if (skb->len >= ETH_FRAME_LEN) {
+		word3 |= mss;
+	} else if (skb->len >= ETH_FRAME_LEN) {
 		/* Hardware offloaded checksumming isn't working on frames
 		 * bigger than 1514 bytes. A hypothesis about this is that the
 		 * checksum buffer is only 1518 bytes, so when the frames get
@@ -1180,7 +1182,9 @@ static int gmac_map_tx_bufs(struct net_device *netdev, struct sk_buff *skb,
 				return ret;
 		}
 		word1 |= TSS_BYPASS_BIT;
-	} else if (skb->ip_summed == CHECKSUM_PARTIAL) {
+	}
+
+	if (skb->ip_summed == CHECKSUM_PARTIAL) {
 		int tcp = 0;
 
 		/* We do not switch off the checksumming on non TCP/UDP
drivers/net/ethernet/freescale/fec_main.c +4 -2
index 81e317352158..e8d9a0eba4d6 100644
@@ -1058,7 +1058,8 @@ fec_restart(struct net_device *ndev)
 	u32 rcntl = OPT_FRAME_SIZE | 0x04;
 	u32 ecntl = FEC_ECR_ETHEREN;
 
-	fec_ptp_save_state(fep);
+	if (fep->bufdesc_ex)
+		fec_ptp_save_state(fep);
 
 	/* Whack a reset.  We should wait for this.
 	 * For i.MX6SX SOC, enet use AXI bus, we use disable MAC
@@ -1321,7 +1322,8 @@ fec_stop(struct net_device *ndev)
 			netdev_err(ndev, "Graceful transmit stop did not complete!\n");
 	}
 
-	fec_ptp_save_state(fep);
+	if (fep->bufdesc_ex)
+		fec_ptp_save_state(fep);
 
 	/* Whack a reset.  We should wait for this.
 	 * For i.MX6SX SOC, enet use AXI bus, we use disable MAC
drivers/net/ethernet/ibm/emac/mal.c +1 -1
index c3236b59e7e9..3578b7d720c0 100644
@@ -578,7 +578,7 @@ static int mal_probe(struct platform_device *ofdev)
 		printk(KERN_ERR "%pOF: Support for 405EZ not enabled!\n",
 				ofdev->dev.of_node);
 		err = -ENODEV;
-		goto fail;
+		goto fail_unmap;
 #endif
 	}
 
drivers/net/ethernet/intel/e1000e/hw.h +2 -2
index 4b6e7536170a..fc8ed38aa095 100644
@@ -108,8 +108,8 @@ struct e1000_hw;
 #define E1000_DEV_ID_PCH_RPL_I219_V22		0x0DC8
 #define E1000_DEV_ID_PCH_MTP_I219_LM18		0x550A
 #define E1000_DEV_ID_PCH_MTP_I219_V18		0x550B
-#define E1000_DEV_ID_PCH_MTP_I219_LM19		0x550C
-#define E1000_DEV_ID_PCH_MTP_I219_V19		0x550D
+#define E1000_DEV_ID_PCH_ADP_I219_LM19		0x550C
+#define E1000_DEV_ID_PCH_ADP_I219_V19		0x550D
 #define E1000_DEV_ID_PCH_LNP_I219_LM20		0x550E
 #define E1000_DEV_ID_PCH_LNP_I219_V20		0x550F
 #define E1000_DEV_ID_PCH_LNP_I219_LM21		0x5510
drivers/net/ethernet/intel/e1000e/ich8lan.c +55 -0

73 lines not on this page · raw message

drivers/net/ethernet/intel/e1000e/netdev.c +2 -20
index d377a286c0e1..721c098f2bb1 100644
@@ -6623,7 +6623,6 @@ static int __e1000_shutdown(struct pci_dev *pdev, bool runtime)
 	struct e1000_hw *hw = &adapter->hw;
 	u32 ctrl, ctrl_ext, rctl, status, wufc;
 	int retval = 0;
-	u16 smb_ctrl;
 
 	/* Runtime suspend should only enable wakeup for link changes */
 	if (runtime)
@@ -6701,23 +6700,6 @@ static int __e1000_shutdown(struct pci_dev *pdev, bool runtime)
 				goto skip_phy_configurations;
 			}
 		}
-
-		/* Force SMBUS to allow WOL */
-		/* Switching PHY interface always returns MDI error
-		 * so disable retry mechanism to avoid wasting time
-		 */
-		e1000e_disable_phy_retry(hw);
-
-		e1e_rphy(hw, CV_SMB_CTRL, &smb_ctrl);
-		smb_ctrl |= CV_SMB_CTRL_FORCE_SMBUS;
-		e1e_wphy(hw, CV_SMB_CTRL, smb_ctrl);
-
-		e1000e_enable_phy_retry(hw);
-
-		/* Force SMBus mode in MAC */
-		ctrl_ext = er32(CTRL_EXT);
-		ctrl_ext |= E1000_CTRL_EXT_FORCE_SMBUS;
-		ew32(CTRL_EXT, ctrl_ext);
 	}
 
 	/* Ensure that the appropriate bits are set in LPI_CTRL
@@ -7917,10 +7899,10 @@ static const struct pci_device_id e1000_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ADP_I219_V17), board_pch_adp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_RPL_I219_LM22), board_pch_adp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_RPL_I219_V22), board_pch_adp },
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ADP_I219_LM19), board_pch_adp },
+	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_ADP_I219_V19), board_pch_adp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_MTP_I219_LM18), board_pch_mtp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_MTP_I219_V18), board_pch_mtp },
-	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_MTP_I219_LM19), board_pch_mtp },
-	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_MTP_I219_V19), board_pch_mtp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_LNP_I219_LM20), board_pch_mtp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_LNP_I219_V20), board_pch_mtp },
 	{ PCI_VDEVICE(INTEL, E1000_DEV_ID_PCH_LNP_I219_LM21), board_pch_mtp },
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h +1 -0
index 18a1c3b6d72c..c8f35d4de271 100644
@@ -5,6 +5,7 @@
 #define _I40E_ADMINQ_CMD_H_
 
 #include <linux/bits.h>
+#include <linux/types.h>
 
 /* This header file defines the i40e Admin Queue commands and is shared between
  * i40e Firmware and Software.
drivers/net/ethernet/intel/i40e/i40e_diag.h +1 -0
index ece3a6b9a5c6..ab20202a3da3 100644
@@ -4,6 +4,7 @@
 #ifndef _I40E_DIAG_H_
 #define _I40E_DIAG_H_
 
+#include <linux/types.h>
 #include "i40e_adminq_cmd.h"
 
 /* forward-declare the HW struct for the compiler */
drivers/net/ethernet/intel/i40e/i40e_main.c +1 -0
index 1d241ebd04ec..80472aa1deba 100644
@@ -1744,6 +1744,7 @@ struct i40e_mac_filter *i40e_add_mac_filter(struct i40e_vsi *vsi,
 	struct hlist_node *h;
 	int bkt;
 
+	lockdep_assert_held(&vsi->mac_filter_hash_lock);
 	if (vsi->info.pvid)
 		return i40e_add_filter(vsi, macaddr,
 				       le16_to_cpu(vsi->info.pvid));
drivers/net/ethernet/intel/i40e/i40e_register.h +1 -1
index 989c18682473..d3c82ba3835a 100644
@@ -204,7 +204,7 @@
 #define I40E_GLGEN_MSCA_OPCODE_SHIFT 26
 #define I40E_GLGEN_MSCA_OPCODE_MASK(_i) I40E_MASK(_i, I40E_GLGEN_MSCA_OPCODE_SHIFT)
 #define I40E_GLGEN_MSCA_STCODE_SHIFT 28
-#define I40E_GLGEN_MSCA_STCODE_MASK I40E_MASK(0x1, I40E_GLGEN_MSCA_STCODE_SHIFT)
+#define I40E_GLGEN_MSCA_STCODE_MASK(_i) I40E_MASK(_i, I40E_GLGEN_MSCA_STCODE_SHIFT)
 #define I40E_GLGEN_MSCA_MDICMD_SHIFT 30
 #define I40E_GLGEN_MSCA_MDICMD_MASK I40E_MASK(0x1, I40E_GLGEN_MSCA_MDICMD_SHIFT)
 #define I40E_GLGEN_MSCA_MDIINPROGEN_SHIFT 31
drivers/net/ethernet/intel/i40e/i40e_type.h +2 -2
index 4092f82bcfb1..6e7cb2081ab3 100644
@@ -40,11 +40,11 @@ typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
 #define I40E_QTX_CTL_VM_QUEUE	0x1
 #define I40E_QTX_CTL_PF_QUEUE	0x2
 
-#define I40E_MDIO_CLAUSE22_STCODE_MASK		I40E_GLGEN_MSCA_STCODE_MASK
+#define I40E_MDIO_CLAUSE22_STCODE_MASK		I40E_GLGEN_MSCA_STCODE_MASK(1)
 #define I40E_MDIO_CLAUSE22_OPCODE_WRITE_MASK	I40E_GLGEN_MSCA_OPCODE_MASK(1)
 #define I40E_MDIO_CLAUSE22_OPCODE_READ_MASK	I40E_GLGEN_MSCA_OPCODE_MASK(2)
 
-#define I40E_MDIO_CLAUSE45_STCODE_MASK		I40E_GLGEN_MSCA_STCODE_MASK
+#define I40E_MDIO_CLAUSE45_STCODE_MASK		I40E_GLGEN_MSCA_STCODE_MASK(0)
 #define I40E_MDIO_CLAUSE45_OPCODE_ADDRESS_MASK	I40E_GLGEN_MSCA_OPCODE_MASK(0)
 #define I40E_MDIO_CLAUSE45_OPCODE_WRITE_MASK	I40E_GLGEN_MSCA_OPCODE_MASK(1)
 #define I40E_MDIO_CLAUSE45_OPCODE_READ_MASK	I40E_GLGEN_MSCA_OPCODE_MASK(3)
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +2 -0
index 7d47a0527454..d5509bc16d0d 100644
@@ -2219,8 +2219,10 @@ static int i40e_vc_get_vf_resources_msg(struct i40e_vf *vf, u8 *msg)
 		vfres->vsi_res[0].qset_handle
 					  = le16_to_cpu(vsi->info.qs_handle[0]);
 		if (!(vf->driver_caps & VIRTCHNL_VF_OFFLOAD_USO) && !vf->pf_set_mac) {
+			spin_lock_bh(&vsi->mac_filter_hash_lock);
 			i40e_del_mac_filter(vsi, vf->default_lan_addr.addr);
 			eth_zero_addr(vf->default_lan_addr.addr);
+			spin_unlock_bh(&vsi->mac_filter_hash_lock);
 		}
 		ether_addr_copy(vfres->vsi_res[0].default_mac_addr,
 				vf->default_lan_addr.addr);
drivers/net/ethernet/intel/ice/ice.h +3 -3
index 7b3ce30ba38f..f943964ec05a 100644
@@ -518,7 +518,7 @@ enum ice_misc_thread_tasks {
 	ICE_MISC_THREAD_NBITS		/* must be last */
 };
 
-struct ice_switchdev_info {
+struct ice_eswitch {
 	struct ice_vsi *control_vsi;
 	struct ice_vsi *uplink_vsi;
 	struct ice_esw_br_offloads *br_offloads;
@@ -631,7 +631,7 @@ struct ice_pf {
 	struct ice_link_default_override_tlv link_dflt_override;
 	struct ice_lag *lag; /* Link Aggregation information */
 
-	struct ice_switchdev_info switchdev;
+	struct ice_eswitch eswitch;
 	struct ice_esw_br_port *br_port;
 
 #define ICE_INVALID_AGG_NODE_ID		0
@@ -838,7 +838,7 @@ static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num)
  */
 static inline bool ice_is_switchdev_running(struct ice_pf *pf)
 {
-	return pf->switchdev.is_running;
+	return pf->eswitch.is_running;
 }
 
 #define ICE_FD_STAT_CTR_BLOCK_COUNT	256
drivers/net/ethernet/intel/ice/ice_eswitch.c +32 -31

188 lines not on this page · raw message

drivers/net/ethernet/intel/ice/ice_eswitch_br.c +10 -7
index 67bfd1f61cdd..4750198d0c0c 100644
@@ -582,10 +582,13 @@ ice_eswitch_br_switchdev_event(struct notifier_block *nb,
 	return NOTIFY_DONE;
 }
 
-static void ice_eswitch_br_fdb_flush(struct ice_esw_br *bridge)
+void ice_eswitch_br_fdb_flush(struct ice_esw_br *bridge)
 {
 	struct ice_esw_br_fdb_entry *entry, *tmp;
 
+	if (!bridge)
+		return;
+
 	list_for_each_entry_safe(entry, tmp, &bridge->fdb_list, list)
 		ice_eswitch_br_fdb_entry_notify_and_cleanup(bridge, entry);
 }
@@ -947,7 +950,7 @@ ice_eswitch_br_vf_repr_port_init(struct ice_esw_br *bridge,
 static int
 ice_eswitch_br_uplink_port_init(struct ice_esw_br *bridge, struct ice_pf *pf)
 {
-	struct ice_vsi *vsi = pf->switchdev.uplink_vsi;
+	struct ice_vsi *vsi = pf->eswitch.uplink_vsi;
 	struct ice_esw_br_port *br_port;
 	int err;
 
@@ -1185,7 +1188,7 @@ ice_eswitch_br_port_event(struct notifier_block *nb,
 static void
 ice_eswitch_br_offloads_dealloc(struct ice_pf *pf)
 {
-	struct ice_esw_br_offloads *br_offloads = pf->switchdev.br_offloads;
+	struct ice_esw_br_offloads *br_offloads = pf->eswitch.br_offloads;
 
 	ASSERT_RTNL();
 
@@ -1194,7 +1197,7 @@ ice_eswitch_br_offloads_dealloc(struct ice_pf *pf)
 
 	ice_eswitch_br_deinit(br_offloads, br_offloads->bridge);
 
-	pf->switchdev.br_offloads = NULL;
+	pf->eswitch.br_offloads = NULL;
 	kfree(br_offloads);
 }
 
@@ -1205,14 +1208,14 @@ ice_eswitch_br_offloads_alloc(struct ice_pf *pf)
 
 	ASSERT_RTNL();
 
-	if (pf->switchdev.br_offloads)
+	if (pf->eswitch.br_offloads)
 		return ERR_PTR(-EEXIST);
 
 	br_offloads = kzalloc(sizeof(*br_offloads), GFP_KERNEL);
 	if (!br_offloads)
 		return ERR_PTR(-ENOMEM);
 
-	pf->switchdev.br_offloads = br_offloads;
+	pf->eswitch.br_offloads = br_offloads;
 	br_offloads->pf = pf;
 
 	return br_offloads;
@@ -1223,7 +1226,7 @@ ice_eswitch_br_offloads_deinit(struct ice_pf *pf)
 {
 	struct ice_esw_br_offloads *br_offloads;
 
-	br_offloads = pf->switchdev.br_offloads;
+	br_offloads = pf->eswitch.br_offloads;
 	if (!br_offloads)
 		return;
 
drivers/net/ethernet/intel/ice/ice_eswitch_br.h +1 -0
index 85a8fadb2928..3920e5061191 100644
@@ -116,5 +116,6 @@ void
 ice_eswitch_br_offloads_deinit(struct ice_pf *pf);
 int
 ice_eswitch_br_offloads_init(struct ice_pf *pf);
+void ice_eswitch_br_fdb_flush(struct ice_esw_br *bridge);
 
 #endif /* _ICE_ESWITCH_BR_H_ */
drivers/net/ethernet/intel/ice/ice_main.c +5 -22
index 4d3a9fc79a6c..9f12c9a0fe29 100644
@@ -84,7 +84,8 @@ ice_indr_setup_tc_cb(struct net_device *netdev, struct Qdisc *sch,
 
 bool netif_is_ice(const struct net_device *dev)
 {
-	return dev && (dev->netdev_ops == &ice_netdev_ops);
+	return dev && (dev->netdev_ops == &ice_netdev_ops ||
+		       dev->netdev_ops == &ice_netdev_safe_mode_ops);
 }
 
 /**
@@ -517,25 +518,6 @@ static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked)
 		pf->vf_agg_node[node].num_vsis = 0;
 }
 
-/**
- * ice_clear_sw_switch_recipes - clear switch recipes
- * @pf: board private structure
- *
- * Mark switch recipes as not created in sw structures. There are cases where
- * rules (especially advanced rules) need to be restored, either re-read from
- * hardware or added again. For example after the reset. 'recp_created' flag
- * prevents from doing that and need to be cleared upfront.
- */
-static void ice_clear_sw_switch_recipes(struct ice_pf *pf)
-{
-	struct ice_sw_recipe *recp;
-	u8 i;
-
-	recp = pf->hw.switch_info->recp_list;
-	for (i = 0; i < ICE_MAX_NUM_RECIPES; i++)
-		recp[i].recp_created = false;
-}
-
 /**
  * ice_prepare_for_reset - prep for reset
  * @pf: board private structure
@@ -572,8 +554,9 @@ ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type)
 	mutex_unlock(&pf->vfs.table_lock);
 
 	if (ice_is_eswitch_mode_switchdev(pf)) {
-		if (reset_type != ICE_RESET_PFR)
-			ice_clear_sw_switch_recipes(pf);
+		rtnl_lock();
+		ice_eswitch_br_fdb_flush(pf->eswitch.br_offloads->bridge);
+		rtnl_unlock();
 	}
 
 	/* release ADQ specific HW and SW resources */
drivers/net/ethernet/intel/ice/ice_switch.c +0 -2
index 355716e6bcc8..19f730a68fa2 100644
@@ -6326,8 +6326,6 @@ ice_replay_vsi_fltr(struct ice_hw *hw, u16 vsi_handle, u8 recp_id,
 		if (!itr->vsi_list_info ||
 		    !test_bit(vsi_handle, itr->vsi_list_info->vsi_map))
 			continue;
-		/* Clearing it so that the logic can add it back */
-		clear_bit(vsi_handle, itr->vsi_list_info->vsi_map);
 		f_entry.fltr_info.vsi_handle = vsi_handle;
 		f_entry.fltr_info.fltr_act = ICE_FWD_TO_VSI;
 		/* update the src in case it is VSI num */
drivers/net/ethernet/intel/ice/ice_tc_lib.c +13 -2
index 76ad5930c010..c213121aa501 100644
@@ -660,7 +660,7 @@ static int ice_tc_setup_redirect_action(struct net_device *filter_dev,
 		   ice_tc_is_dev_uplink(target_dev)) {
 		repr = ice_netdev_to_repr(filter_dev);
 
-		fltr->dest_vsi = repr->src_vsi->back->switchdev.uplink_vsi;
+		fltr->dest_vsi = repr->src_vsi->back->eswitch.uplink_vsi;
 		fltr->direction = ICE_ESWITCH_FLTR_EGRESS;
 	} else if (ice_tc_is_dev_uplink(filter_dev) &&
 		   ice_is_port_repr_netdev(target_dev)) {
@@ -772,11 +772,22 @@ ice_eswitch_add_tc_fltr(struct ice_vsi *vsi, struct ice_tc_flower_fltr *fltr)
 		rule_info.sw_act.src = hw->pf_id;
 		rule_info.flags_info.act = ICE_SINGLE_ACT_LB_ENABLE;
 	} else if (fltr->direction == ICE_ESWITCH_FLTR_EGRESS &&
-		   fltr->dest_vsi == vsi->back->switchdev.uplink_vsi) {
+		   fltr->dest_vsi == vsi->back->eswitch.uplink_vsi) {
 		/* VF to Uplink */
 		rule_info.sw_act.flag |= ICE_FLTR_TX;
 		rule_info.sw_act.src = vsi->idx;
 		rule_info.flags_info.act = ICE_SINGLE_ACT_LAN_ENABLE;
+		/* This is a specific case. The destination VSI index is
+		 * overwritten by the source VSI index. This type of filter
+		 * should allow the packet to go to the LAN, not to the
+		 * VSI passed here. It should set LAN_EN bit only. However,
+		 * the VSI must be a valid one. Setting source VSI index
+		 * here is safe. Even if the result from switch is set LAN_EN
+		 * and LB_EN (which normally will pass the packet to this VSI)
+		 * packet won't be seen on the VSI, because local loopback is
+		 * turned off.
+		 */
+		rule_info.sw_act.vsi_handle = vsi->idx;
 	} else {
 		/* VF to VF */
 		rule_info.sw_act.flag |= ICE_FLTR_TX;
drivers/net/ethernet/intel/igb/igb_main.c +4 -0
index 986bcbf0a6ab..49b349fa2254 100644
@@ -9672,6 +9672,10 @@ static void igb_io_resume(struct pci_dev *pdev)
 	struct igb_adapter *adapter = netdev_priv(netdev);
 
 	if (netif_running(netdev)) {
+		if (!test_bit(__IGB_DOWN, &adapter->state)) {
+			dev_dbg(&pdev->dev, "Resuming from non-fatal error, do nothing.\n");
+			return;
+		}
 		if (igb_up(adapter)) {
 			dev_err(&pdev->dev, "igb_up failed after reset\n");
 			return;
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1 -1
index 89a80e3e8bb8..d6167a7b19f2 100644
@@ -2018,7 +2018,7 @@ static int __alloc_dma_rx_desc_resources(struct stmmac_priv *priv,
 	rx_q->queue_index = queue;
 	rx_q->priv_data = priv;
 
-	pp_params.flags = PP_FLAG_DMA_MAP | (xdp_prog ? PP_FLAG_DMA_SYNC_DEV : 0);
+	pp_params.flags = PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV;
 	pp_params.pool_size = dma_conf->dma_rx_size;
 	num_pages = DIV_ROUND_UP(dma_conf->dma_buf_sz, PAGE_SIZE);
 	pp_params.order = ilog2(num_pages);
drivers/net/phy/bcm84881.c +2 -2
index 9717a1626f3f..37a64a37b2ae 100644
@@ -120,7 +120,7 @@ static int bcm84881_aneg_done(struct phy_device *phydev)
 
 	bmsr = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_C22 + MII_BMSR);
 	if (bmsr < 0)
-		return val;
+		return bmsr;
 
 	return !!(val & MDIO_AN_STAT1_COMPLETE) &&
 	       !!(bmsr & BMSR_ANEGCOMPLETE);
@@ -146,7 +146,7 @@ static int bcm84881_read_status(struct phy_device *phydev)
 
 	bmsr = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_C22 + MII_BMSR);
 	if (bmsr < 0)
-		return val;
+		return bmsr;
 
 	phydev->autoneg_complete = !!(val & MDIO_AN_STAT1_COMPLETE) &&
 				   !!(bmsr & BMSR_ANEGCOMPLETE);
drivers/net/phy/dp83869.c +0 -1
index d7aaefb5226b..5f056d7db83e 100644
@@ -645,7 +645,6 @@ static int dp83869_configure_fiber(struct phy_device *phydev,
 		     phydev->supported);
 
 	linkmode_set_bit(ETHTOOL_LINK_MODE_FIBRE_BIT, phydev->supported);
-	linkmode_set_bit(ADVERTISED_FIBRE, phydev->advertising);
 
 	if (dp83869->mode == DP83869_RGMII_1000_BASE) {
 		linkmode_set_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT,
drivers/net/phy/phy_device.c +3 -2
index 2e4bff6055e2..ec2a3d16b1a2 100644
@@ -3082,10 +3082,11 @@ static __maybe_unused int phy_led_hw_is_supported(struct led_classdev *led_cdev,
 
 static void phy_leds_unregister(struct phy_device *phydev)
 {
-	struct phy_led *phyled;
[… more lines in the raw message]

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

drivers/net/ppp/ppp_async.c +1 -1
index e94a4b08fd63..7d9201ef925f 100644

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

drivers/net/slip/slhc.c +34 -23

57 lines not on this page · raw message

drivers/net/vxlan/vxlan_core.c +5 -1
index 8268fa331826..c114c91b558b 100644

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

drivers/net/vxlan/vxlan_private.h +1 -1
index 817fa3075842..85b6d0c347e3 100644

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

drivers/net/vxlan/vxlan_vnifilter.c +9 -10
index 9c59d0bf8c3d..d2023e7131bd 100644

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

drivers/ntb/hw/mscc/ntb_hw_switchtec.c +1 -0
index d6bbcc7b5b90..0a94c634ddc2 100644

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

drivers/nvdimm/nd_virtio.c +9 -0
index 1f8c667c6f1e..839f10ca56ea 100644

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

drivers/pci/endpoint/functions/pci-epf-mhi.c +4 -4
index 6dc918a8a023..34e7191f9508 100644

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

drivers/pci/quirks.c +8 -0
index 0b08ac45effb..54061b65a2b7 100644

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

drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c +62 -89

151 lines not on this page · raw message

drivers/powercap/intel_rapl_tpmi.c +15 -4
index f6b7f085977c..1c48dba0ba96 100644

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

drivers/remoteproc/imx_rproc.c +12 -1
index d68d4b22f528..610a69928dff 100644

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

drivers/scsi/lpfc/lpfc_ct.c +12 -0
index baae1f8279e0..177511523986 100644

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

drivers/scsi/lpfc/lpfc_disc.h +7 -0
index f82615d87c4b..f5ae8cc15820 100644

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

drivers/scsi/lpfc/lpfc_els.c +4 -3
index f67d72160d36..ebe84bb7bb3d 100644

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

drivers/scsi/lpfc/lpfc_vport.c +36 -7

43 lines not on this page · raw message

drivers/scsi/sd.c +3 -6
index b0a574c534c4..2c627deedc1f 100644

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

drivers/scsi/wd33c93.c +1 -1
index e4fafc77bd20..bbf6327b9e5a 100644

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

drivers/soundwire/cadence_master.c +37 -2
index 3e7cf04aaf2a..e69982dbd449 100644

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

drivers/soundwire/cadence_master.h +5 -0
index bc84435e420f..e1d7969ba48a 100644

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

drivers/soundwire/intel.h +2 -0
index 511932c55216..bb6b1df2d2c2 100644

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

drivers/soundwire/intel_auxdevice.c +1 -0
index 93698532deac..bdfff78ac2f8 100644

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

drivers/soundwire/intel_bus_common.c +19 -8
index e5ac3cc7cb79..db9cf211671a 100644

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

drivers/spi/spi-fsl-lpspi.c +6 -8
index 180cea7d3817..13313f07839b 100644

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

drivers/staging/vme_user/vme_fake.c +6 -0
index 7c53a8a7b79b..95730d1270af 100644

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

drivers/staging/vme_user/vme_tsi148.c +6 -0
index 2f5eafd50934..4566e391d913 100644

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

drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +10 -13
index 0d1e98007270..24eaec5d095c 100644

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

drivers/tty/serial/serial_core.c +9 -7
index 5d5570bebfeb..8ff0efac6aa0 100644

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

drivers/ufs/core/ufshcd.c +2 -3
index ed59d2367a4e..59d53ea100c0 100644

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

drivers/usb/chipidea/udc.c +7 -1
index 0b7bd3c643c3..f70ceedfb468 100644

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

drivers/usb/dwc2/platform.c +14 -12
index 7b84416dfc2b..c1b7209b9483 100644

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

drivers/usb/dwc3/core.c +19 -3
index 9955091c5336..af851e4e8c8a 100644

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

drivers/usb/dwc3/core.h +0 -4
index db1a793a9b13..420753205faf 100644

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

drivers/usb/dwc3/gadget.c +0 -11
index 1a1da4a05701..6d439aba6460 100644

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

drivers/usb/gadget/udc/core.c +1 -0
index 9886e1cb1398..33979f61dc4d 100644

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

drivers/usb/host/xhci-pci.c +5 -0
index dd02b064ecd4..044303187d9f 100644

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

drivers/usb/misc/yurex.c +8 -11
index 6adaaf66c14d..c313cd41f7a5 100644

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

drivers/usb/storage/unusual_devs.h +11 -0
index fd68204374f2..e5ad23d86833 100644

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

drivers/usb/typec/tipd/core.c +2 -0
index 125269f39f83..01db27cbf1d1 100644

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

drivers/video/fbdev/core/fbcon.c +2 -0
index 24035b4f2cd7..405d587450ef 100644

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

drivers/video/fbdev/sis/sis_main.c +1 -1
index 6d524a65af18..ad39571f9134 100644

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

fs/btrfs/extent-tree.c +15 -4
index 50d795a2542c..b3680e1c7054 100644

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

fs/btrfs/volumes.h +6 -0
index 2128a032c3b7..5203095318b0 100644

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

fs/btrfs/zoned.c +1 -1
index 2784f6cb4482..c4463c3f2068 100644

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

fs/ext4/super.c +5 -4
index ed0dc4cc1d28..1d14a38017a7 100644

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

fs/ext4/xattr.c +2 -2
index 04ca085b2827..f40785bc4e55 100644

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

fs/gfs2/quota.c +25 -34

59 lines not on this page · raw message

fs/nfs/callback_xdr.c +2 -0
index 321af81c456e..d5f6437da352 100644

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

fs/nfs/client.c +1 -0
index 4d9249c99989..62607d52bfa5 100644

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

fs/nfs/nfs42proc.c +1 -1
index 28704f924612..531c9c20ef1d 100644

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

fs/nfs/nfs4state.c +1 -1
index 6c4539ed2654..794bb4aa588d 100644

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

fs/nfsd/filecache.c +3 -1
index 5c9f8f8404d5..6f2bcbfde45e 100644

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

fs/ntfs3/file.c +3 -1
index cd69cbd0aaae..f14d21b6c6d3 100644

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

fs/ntfs3/frecord.c +8 -13
index f7c381730b39..61055bcfe827 100644

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

fs/ntfs3/fslog.c +17 -2
index 231b012fb19d..2a1aeab53ea4 100644

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

fs/ntfs3/namei.c +2 -2
index b5687d74b449..bcdc1ec90a96 100644

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

fs/proc/kcore.c +34 -2
index 23fc24d16b31..7e4fa9c68c1d 100644

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

fs/smb/client/smb2ops.c +28 -19

47 lines not on this page · raw message

fs/smb/client/smb2pdu.c +6 -0
index bf45b8652e58..83a03201bb86 100644

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

fs/unicode/mkutf8data.c +0 -70

70 lines not on this page · raw message

fs/unicode/utf8data.c_shipped +3346 -3357

6,703 lines not on this page · raw message

include/linux/bpf.h +1 -0
index 722102518dc9..1e05cc80e048 100644

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

include/linux/intel_tpmi.h +6 -0
index 04d937ad4dc4..ee07393445f9 100644

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

include/linux/jbd2.h +1 -1
index 8553dc1d0e89..f0bc9aa5aed3 100644

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

include/linux/mhi_ep.h +17 -4
index 96f3a133540d..11bf3212f782 100644

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

include/linux/netlink.h +2 -0
index 75d7de34c908..e8d713a37d17 100644

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

include/linux/nfs_fs_sb.h +1 -0
index cd628c4b011e..86d96e00c2e3 100644

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

include/linux/pci.h +8 -26
index 7b18a4b3efb0..2b7e45bae940 100644

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

include/linux/pci_ids.h +4 -0
index abff4e3b6a58..3dce2be622e7 100644

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

include/linux/tcp.h +8 -0
index 3c5efeeb024f..9b371aa7c796 100644

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

include/net/mctp.h +1 -1
index 2bff5f47ce82..1eb1b4393e46 100644

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

include/net/rtnetlink.h +18 -0
index 6506221c5fe3..c1fa6fee0acf 100644

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

include/net/sch_generic.h +0 -1
index 2799d44e5b97..326d3a322c10 100644

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

include/net/sock.h +2 -0
index 2a1aee503848..c3961050b8e3 100644

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

include/scsi/scsi_device.h +0 -1
index 9c8b6f611330..c38f4fe5e64c 100644

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

include/sound/cs35l56.h +1 -0
index 4e5f35dc042a..c0f2135968fe 100644

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

include/sound/tas2781-tlv.h +1 -1
index 4038dd421150..1dc59005d241 100644

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

include/uapi/linux/tcp.h +12 -0
index 879eeb0a084b..d1d08da6331a 100644

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

io_uring/io_uring.c +15 -0
index 7b0a100e1139..39d8d1fc5c2b 100644

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

kernel/bpf/arraymap.c +3 -0
index c9843dde6908..1811efcfbd6e 100644

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

kernel/bpf/core.c +18 -3
index 4124805ad7ba..58ee17f429a3 100644

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

kernel/bpf/hashtab.c +3 -0
index 85cd17ca3829..7c64ad4f3732 100644

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

kernel/kthread.c +2 -0
index ac03bc55e17c..980e6b325b7d 100644

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

kernel/rcu/tree.c +6 -3
index 8541084eeba5..3d7b119f6e2a 100644

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

kernel/rcu/tree_nocb.h +16 -12
index e019f166daa6..8993b2322be2 100644

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

kernel/trace/trace.c +8 -10
index be878005e344..4f93d57cc029 100644

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

kernel/trace/trace_output.c +2 -4
index 3b7d3e9eb6ea..db575094c498 100644

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

lib/bootconfig.c +2 -1
index 8841554432d5..97f8911ea339 100644

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

lib/build_OID_registry +3 -1
index 56d8bafeb848..8267e8d71338 100755

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

mm/secretmem.c +2 -2
index 3afb5ad701e1..399552814fd0 100644

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

net/bluetooth/hci_conn.c +3 -0
index ed95a87ef9ab..35d739988ce3 100644

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

net/bluetooth/hci_core.c +12 -15
index f787b0eb7d66..d4e607bf35ba 100644

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

net/bluetooth/rfcomm/sock.c +0 -2
index 29aa07e9db9d..cbff37b32734 100644

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

net/bridge/br_netfilter_hooks.c +5 -0
index 68d553861303..a1cfa75bbadb 100644

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

net/bridge/br_netlink.c +5 -1
index 4488faf059a3..4b80ec5ae570 100644

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

net/bridge/br_private.h +3 -2
index e4f1a08322da..72d80fd943a8 100644

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

net/bridge/br_vlan.c +9 -10
index 15f44d026e75..be714b4d7b43 100644

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

net/ceph/messenger_v2.c +3 -0
index a901cae2f106..f9ed6bf6c477 100644

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

net/core/dst.c +12 -5
index 980e2fd2f013..137b8d1c7220 100644

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

net/core/rtnetlink.c +31 -0
index 8573dad6d817..c76c54879fdd 100644

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

net/ipv4/netfilter/nf_reject_ipv4.c +4 -6
index fc761915c5f6..675b5bbed638 100644

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

net/ipv4/netfilter/nft_fib_ipv4.c +1 -3
index 9eee535c64dd..ba233fdd8188 100644

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

net/ipv4/tcp.c +9 -0
index 1e3202f2b7a8..75371928d94f 100644

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

net/ipv4/tcp_input.c +53 -4

57 lines not on this page · raw message

net/ipv4/tcp_minisocks.c +4 -0
index 0c04c460001f..cc2b608b1a8e 100644

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

net/ipv4/tcp_timer.c +15 -2
index 64bcf384e9dd..b65cd417b0f7 100644

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

net/ipv6/netfilter/nf_reject_ipv6.c +2 -3
index 690d1c047691..4e0976534648 100644

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

net/ipv6/netfilter/nft_fib_ipv6.c +3 -2
index 36dc14b34388..c9f1634b3838 100644

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

net/mac80211/scan.c +9 -8
index 933a58895432..d4a032f34577 100644

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

net/mctp/af_mctp.c +5 -1
index f6be58b68c6f..28be85d05533 100644

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

net/mctp/device.c +18 -12
index acb97b257428..85cc5f31f1e7 100644

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

net/mctp/neigh.c +19 -12
index ffa0f9e0983f..590f642413e4 100644

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

net/mctp/route.c +23 -10
index 01c530dbc1a6..c6a815df9d35 100644

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

net/mpls/af_mpls.c +41 -46

87 lines not on this page · raw message

net/mptcp/mib.c +2 -0
index 7884217f33eb..79f2278434b9 100644

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

net/mptcp/mib.h +2 -0
index 443604462ace..e6e570251d32 100644

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

net/mptcp/pm_netlink.c +2 -1
index 953c22c0ec47..131af6be4b67 100644

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

net/mptcp/protocol.c +21 -3
index ba6248372aee..8cdd4ec152e7 100644

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

net/mptcp/subflow.c +4 -2
index 2c779275a031..38f46502d76e 100644

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

net/netfilter/nf_nat_core.c +118 -2

120 lines not on this page · raw message

net/netfilter/xt_CHECKSUM.c +23 -10
index c8a639f56168..9d99f5a3d176 100644

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

net/netfilter/xt_CLASSIFY.c +14 -2
index 0accac98dea7..0ae8d8a1216e 100644

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

net/netfilter/xt_CONNSECMARK.c +25 -11
index 76acecf3e757..1494b3ee30e1 100644

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

net/netfilter/xt_CT.c +69 -37

106 lines not on this page · raw message

net/netfilter/xt_IDLETIMER.c +40 -19

59 lines not on this page · raw message

net/netfilter/xt_LED.c +27 -12
index 36c9720ad8d6..f7b0286d106a 100644

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

net/netfilter/xt_NFLOG.c +25 -11
index e660c3710a10..d80abd6ccaf8 100644

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

net/netfilter/xt_RATEEST.c +27 -12
index 80f6624e2355..4f49cfc27831 100644

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

net/netfilter/xt_SECMARK.c +25 -2
index 498a0bf6f044..5bc5ea505eb9 100644

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

net/netfilter/xt_TRACE.c +24 -11
index 5582dce98cae..f3fa4f11348c 100644

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

net/netfilter/xt_addrtype.c +13 -2
index e9b2181e8c42..a77088943107 100644

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

net/netfilter/xt_cluster.c +23 -10
index a047a545371e..908fd5f2c3c8 100644

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

net/netfilter/xt_connbytes.c +3 -1
index 93cb018c3055..2aabdcea8707 100644

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

net/netfilter/xt_connlimit.c +27 -12
index 5d04ef80a61d..d1d0fa6c8061 100644

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

net/netfilter/xt_connmark.c +25 -3
index ad3c033db64e..4277084de2e7 100644

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

net/netfilter/xt_mark.c +32 -10

42 lines not on this page · raw message

net/netlink/af_netlink.c +23 -15
index db49fc4d42cf..50e13207a05a 100644

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

net/netlink/af_netlink.h +3 -2
index 2145979b9986..9751e29d4bbb 100644

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

net/phonet/pn_netlink.c +19 -24

43 lines not on this page · raw message

net/rxrpc/sendmsg.c +5 -5
index 8e0b94714e84..24f765d243db 100644

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

net/sched/sch_api.c +6 -1
index 0feb824242a6..1455892694c0 100644

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

net/sctp/socket.c +13 -5
index 4a1ebe46d045..108a0745c0c3 100644

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

net/socket.c +6 -1
index 9db33cd4a71b..bad58f23f307 100644

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

sound/pci/hda/hda_intel.c +1 -1
index a6a9d353fe63..134c6f6e0959 100644

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

sound/pci/hda/patch_realtek.c +3 -4
index ebdd7c432336..07e1547fff2e 100644

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

sound/soc/codecs/cs35l56-shared.c +36 -0
index 69c951e30584..d3db89c93b33 100644

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

sound/soc/codecs/cs35l56.c +27 -5
index c855ef3ec665..015269f0db54 100644

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

sound/soc/codecs/cs35l56.h +1 -0
index d9fbf568a195..b000e7365e40 100644

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

tools/iio/iio_generic_buffer.c +4 -0
index 0d0a7a19d6f9..9ef5ee087eda 100644

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

tools/lib/subcmd/parse-options.c +3 -5
index d943d78b787e..9fa75943f2ed 100644

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

tools/perf/builtin-kmem.c +2 -0
index 9714327fd0ea..cf623c1490d9 100644

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

tools/perf/builtin-kvm.c +3 -0
index 71165036e4ca..988bef73bd09 100644

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

tools/perf/builtin-kwork.c +3 -0
index de2fbb7c56c3..be210be42c77 100644

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

tools/perf/builtin-lock.c +3 -0
index 0b4b4445c520..fcb32c58bee7 100644

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

tools/perf/builtin-mem.c +3 -0
index 865f321d729b..286105be91ce 100644

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

tools/perf/builtin-sched.c +106 -58

164 lines not on this page · raw message

tools/testing/ktest/ktest.pl +1 -1
index 24451f8f4291..045090085ac5 100755

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

tools/testing/selftests/Makefile +6 -1
index 697f13bbbc32..5b61b8bb29f8 100644

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

tools/testing/selftests/bpf/progs/verifier_int_ptr.c +1 -4
index 589e8270de46..d873da71f143 100644

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

tools/testing/selftests/lib.mk +19 -0
index a8f0442a36bc..01db65c0e84c 100644

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

tools/testing/selftests/mm/hmm-tests.c +1 -1
index 20294553a5dd..2840924ec976 100644

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

tools/testing/selftests/net/forwarding/no_forwarding.sh +1 -1
index 9e677aa64a06..694ece9ba3a7 100755

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

tools/testing/selftests/net/setup_loopback.sh +0 -0
old mode 100755
new mode 100644
tools/testing/selftests/rseq/rseq.c +75 -35

110 lines not on this page · raw message

tools/testing/selftests/rseq/rseq.h +2 -8
index d7364ea4d201..4e217b620e0c 100644

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

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

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

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.57 kernel.

All users of the 6.6 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/dev-tools/kselftest.rst                                |   12 
 Makefile                                                             |    2 
 arch/loongarch/pci/acpi.c                                            |    1 
 arch/powerpc/configs/ps3_defconfig                                   |    1 
 arch/riscv/include/asm/sbi.h                                         |    2 
 arch/riscv/include/asm/sparsemem.h                                   |    2 
 arch/riscv/include/asm/thread_info.h                                 |    1 
 arch/riscv/kernel/cpu.c                                              |   40 
 arch/riscv/kernel/cpufeature.c                                       |    8 
 arch/riscv/kernel/elf_kexec.c                                        |    6 
 arch/riscv/kernel/entry.S                                            |    4 
 arch/s390/include/asm/facility.h                                     |    6 
 arch/s390/include/asm/io.h                                           |    2 
 arch/s390/kernel/perf_cpum_sf.c                                      |   12 
 arch/s390/mm/cmm.c                                                   |   18 
 arch/x86/kernel/amd_nb.c                                             |    4 
 arch/x86/net/bpf_jit_comp.c                                          |   54 
 drivers/ata/ahci.c                                                   |   85 
 drivers/ata/libata-eh.c                                              |   18 
 drivers/base/bus.c                                                   |    8 
 drivers/block/zram/zram_drv.c                                        |    7 
 drivers/bus/mhi/ep/internal.h                                        |    1 
 drivers/bus/mhi/ep/main.c                                            |  248 
 drivers/bus/mhi/ep/ring.c                                            |    8 
 drivers/char/virtio_console.c                                        |   18 
 drivers/clk/bcm/clk-bcm53573-ilp.c                                   |    2 
 drivers/clk/imx/clk-imx7d.c                                          |    4 
 drivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c            |    5 
 drivers/dax/device.c                                                 |    2 
 drivers/gpio/gpio-aspeed.c                                           |    4 
 drivers/gpu/drm/amd/display/dc/core/dc.c                             |    2 
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c           |   27 
 drivers/gpu/drm/drm_crtc.c                                           |    1 
 drivers/gpu/drm/i915/display/intel_hdcp.c                            |   10 
 drivers/gpu/drm/nouveau/dispnv04/crtc.c                              |    2 
 drivers/gpu/drm/nouveau/nouveau_abi16.c                              |    2 
 drivers/gpu/drm/nouveau/nouveau_bo.c                                 |    2 
 drivers/gpu/drm/nouveau/nouveau_chan.c                               |   21 
 drivers/gpu/drm/nouveau/nouveau_chan.h                               |    3 
 drivers/gpu/drm/nouveau/nouveau_dmem.c                               |    2 
 drivers/gpu/drm/nouveau/nouveau_drm.c                                |    4 
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c                       |    8 
 drivers/gpu/drm/v3d/v3d_perfmon.c                                    |    9 
 drivers/gpu/drm/vc4/vc4_perfmon.c                                    |    7 
 drivers/hid/Kconfig                                                  |    9 
 drivers/hid/Makefile                                                 |    1 
 drivers/hid/amd-sfh-hid/amd_sfh_client.c                             |   14 
 drivers/hid/hid-asus.c                                               |   14 
 drivers/hid/hid-ids.h                                                |   10 
 drivers/hid/hid-mcp2200.c                                            |  392 
 drivers/hid/hid-multitouch.c                                         |    8 
 drivers/hid/hid-plantronics.c                                        |   23 
 drivers/hid/i2c-hid/i2c-hid-core.c                                   |   22 
 drivers/hid/intel-ish-hid/ishtp-fw-loader.c                          |    2 
 drivers/hwmon/Kconfig                                                |    4 
 drivers/hwmon/intel-m10-bmc-hwmon.c                                  |    2 
 drivers/hwmon/k10temp.c                                              |    1 
 drivers/i2c/busses/i2c-i801.c                                        |    9 
 drivers/i3c/master/i3c-master-cdns.c                                 |    1 
 drivers/infiniband/core/mad.c                                        |   14 
 drivers/infiniband/hw/mlx5/odp.c                                     |   25 
 drivers/infiniband/ulp/rtrs/rtrs-srv.c                               |   13 
 drivers/input/rmi4/rmi_driver.c                                      |    6 
 drivers/media/common/videobuf2/videobuf2-core.c                      |    8 
 drivers/mfd/intel_soc_pmic_chtwc.c                                   |    1 
 drivers/net/dsa/b53/b53_common.c                                     |   17 
 drivers/net/dsa/lan9303-core.c                                       |   29 
 drivers/net/ethernet/adi/adin1110.c                                  |    4 
 drivers/net/ethernet/amd/pds_core/main.c                             |    6 
 drivers/net/ethernet/cortina/gemini.c                                |   32 
 drivers/net/ethernet/freescale/fec_main.c                            |    6 
 drivers/net/ethernet/ibm/emac/mal.c                                  |    2 
 drivers/net/ethernet/intel/e1000e/hw.h                               |    4 
 drivers/net/ethernet/intel/e1000e/ich8lan.c                          |   55 
 drivers/net/ethernet/intel/e1000e/netdev.c                           |   22 
 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h                    |    1 
 drivers/net/ethernet/intel/i40e/i40e_diag.h                          |    1 
 drivers/net/ethernet/intel/i40e/i40e_main.c                          |    1 
 drivers/net/ethernet/intel/i40e/i40e_register.h                      |    2 
 drivers/net/ethernet/intel/i40e/i40e_type.h                          |    4 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c                   |    2 
 drivers/net/ethernet/intel/ice/ice.h                                 |    6 
 drivers/net/ethernet/intel/ice/ice_eswitch.c                         |   63 
 drivers/net/ethernet/intel/ice/ice_eswitch_br.c                      |   17 
 drivers/net/ethernet/intel/ice/ice_eswitch_br.h                      |    1 
 drivers/net/ethernet/intel/ice/ice_main.c                            |   27 
 drivers/net/ethernet/intel/ice/ice_switch.c                          |    2 
 drivers/net/ethernet/intel/ice/ice_tc_lib.c                          |   15 
 drivers/net/ethernet/intel/igb/igb_main.c                            |    4 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                    |    2 
 drivers/net/phy/bcm84881.c                                           |    4 
 drivers/net/phy/dp83869.c                                            |    1 
 drivers/net/phy/phy_device.c                                         |    5 
 drivers/net/ppp/ppp_async.c                                          |    2 
 drivers/net/slip/slhc.c                                              |   57 
 drivers/net/vxlan/vxlan_core.c                                       |    6 
 drivers/net/vxlan/vxlan_private.h                                    |    2 
 drivers/net/vxlan/vxlan_vnifilter.c                                  |   19 
 drivers/ntb/hw/mscc/ntb_hw_switchtec.c                               |    1 
 drivers/nvdimm/nd_virtio.c                                           |    9 
 drivers/pci/endpoint/functions/pci-epf-mhi.c                         |    8 
 drivers/pci/quirks.c                                                 |    8 
 drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c                       |  151 
 drivers/powercap/intel_rapl_tpmi.c                                   |   19 
 drivers/remoteproc/imx_rproc.c                                       |   13 
 drivers/scsi/lpfc/lpfc_ct.c                                          |   12 
 drivers/scsi/lpfc/lpfc_disc.h                                        |    7 
 drivers/scsi/lpfc/lpfc_els.c                                         |    7 
 drivers/scsi/lpfc/lpfc_vport.c                                       |   43 
 drivers/scsi/sd.c                                                    |    9 
 drivers/scsi/wd33c93.c                                               |    2 
 drivers/soundwire/cadence_master.c                                   |   39 
 drivers/soundwire/cadence_master.h                                   |    5 
 drivers/soundwire/intel.h                                            |    2 
 drivers/soundwire/intel_auxdevice.c                                  |    1 
 drivers/soundwire/intel_bus_common.c                                 |   27 
 drivers/spi/spi-fsl-lpspi.c                                          |   14 
 drivers/staging/vme_user/vme_fake.c                                  |    6 
 drivers/staging/vme_user/vme_tsi148.c                                |    6 
 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c |   23 
 drivers/tty/serial/serial_core.c                                     |   16 
 drivers/ufs/core/ufshcd.c                                            |    5 
 drivers/usb/chipidea/udc.c                                           |    8 
 drivers/usb/dwc2/platform.c                                          |   26 
 drivers/usb/dwc3/core.c                                              |   22 
 drivers/usb/dwc3/core.h                                              |    4 
 drivers/usb/dwc3/gadget.c                                            |   11 
 drivers/usb/gadget/udc/core.c                                        |    1 
 drivers/usb/host/xhci-pci.c                                          |    5 
 drivers/usb/misc/yurex.c                                             |   19 
 drivers/usb/storage/unusual_devs.h                                   |   11 
 drivers/usb/typec/tipd/core.c                                        |    2 
 drivers/video/fbdev/core/fbcon.c                                     |    2 
 drivers/video/fbdev/sis/sis_main.c                                   |    2 
 fs/btrfs/extent-tree.c                                               |   19 
 fs/btrfs/volumes.h                                                   |    6 
 fs/btrfs/zoned.c                                                     |    2 
 fs/ext4/super.c                                                      |    9 
 fs/ext4/xattr.c                                                      |    4 
 fs/gfs2/quota.c                                                      |   59 
 fs/nfs/callback_xdr.c                                                |    2 
 fs/nfs/client.c                                                      |    1 
 fs/nfs/nfs42proc.c                                                   |    2 
 fs/nfs/nfs4state.c                                                   |    2 
 fs/nfsd/filecache.c                                                  |    4 
 fs/ntfs3/file.c                                                      |    4 
 fs/ntfs3/frecord.c                                                   |   21 
 fs/ntfs3/fslog.c                                                     |   19 
 fs/ntfs3/namei.c                                                     |    4 
 fs/proc/kcore.c                                                      |   36 
 fs/smb/client/smb2ops.c                                              |   47 
 fs/smb/client/smb2pdu.c                                              |    6 
 fs/unicode/mkutf8data.c                                              |   70 
 fs/unicode/utf8data.c_shipped                                        | 6703 ++++------
 include/linux/bpf.h                                                  |    1 
 include/linux/intel_tpmi.h                                           |    6 
 include/linux/jbd2.h                                                 |    2 
 include/linux/mhi_ep.h                                               |   21 
 include/linux/netlink.h                                              |    2 
 include/linux/nfs_fs_sb.h                                            |    1 
 include/linux/pci.h                                                  |   34 
 include/linux/pci_ids.h                                              |    4 
 include/linux/tcp.h                                                  |    8 
 include/net/mctp.h                                                   |    2 
 include/net/rtnetlink.h                                              |   18 
 include/net/sch_generic.h                                            |    1 
 include/net/sock.h                                                   |    2 
 include/scsi/scsi_device.h                                           |    1 
 include/sound/cs35l56.h                                              |    1 
 include/sound/tas2781-tlv.h                                          |    2 
 include/uapi/linux/tcp.h                                             |   12 
 io_uring/io_uring.c                                                  |   15 
 kernel/bpf/arraymap.c                                                |    3 
 kernel/bpf/core.c                                                    |   21 
 kernel/bpf/hashtab.c                                                 |    3 
 kernel/kthread.c                                                     |    2 
 kernel/rcu/tree.c                                                    |    9 
 kernel/rcu/tree_nocb.h                                               |   28 
 kernel/trace/trace.c                                                 |   18 
 kernel/trace/trace_output.c                                          |    6 
 lib/bootconfig.c                                                     |    3 
 lib/build_OID_registry                                               |    4 
 mm/secretmem.c                                                       |    4 
 net/bluetooth/hci_conn.c                                             |    3 
 net/bluetooth/hci_core.c                                             |   27 
 net/bluetooth/rfcomm/sock.c                                          |    2 
 net/bridge/br_netfilter_hooks.c                                      |    5 
 net/bridge/br_netlink.c                                              |    6 
 net/bridge/br_private.h                                              |    5 
 net/bridge/br_vlan.c                                                 |   19 
 net/ceph/messenger_v2.c                                              |    3 
 net/core/dst.c                                                       |   17 
 net/core/rtnetlink.c                                                 |   31 
 net/ipv4/netfilter/nf_reject_ipv4.c                                  |   10 
 net/ipv4/netfilter/nft_fib_ipv4.c                                    |    4 
 net/ipv4/tcp.c                                                       |    9 
 net/ipv4/tcp_input.c                                                 |   57 
 net/ipv4/tcp_minisocks.c                                             |    4 
 net/ipv4/tcp_timer.c                                                 |   17 
 net/ipv6/netfilter/nf_reject_ipv6.c                                  |    5 
 net/ipv6/netfilter/nft_fib_ipv6.c                                    |    5 
 net/mac80211/scan.c                                                  |   17 
 net/mctp/af_mctp.c                                                   |    6 
 net/mctp/device.c                                                    |   30 
 net/mctp/neigh.c                                                     |   31 
 net/mctp/route.c                                                     |   33 
 net/mpls/af_mpls.c                                                   |   87 
 net/mptcp/mib.c                                                      |    2 
 net/mptcp/mib.h                                                      |    2 
 net/mptcp/pm_netlink.c                                               |    3 
 net/mptcp/protocol.c                                                 |   24 
 net/mptcp/subflow.c                                                  |    6 
 net/netfilter/nf_nat_core.c                                          |  120 
 net/netfilter/xt_CHECKSUM.c                                          |   33 
 net/netfilter/xt_CLASSIFY.c                                          |   16 
 net/netfilter/xt_CONNSECMARK.c                                       |   36 
 net/netfilter/xt_CT.c                                                |  106 
 net/netfilter/xt_IDLETIMER.c                                         |   59 
 net/netfilter/xt_LED.c                                               |   39 
 net/netfilter/xt_NFLOG.c                                             |   36 
 net/netfilter/xt_RATEEST.c                                           |   39 
 net/netfilter/xt_SECMARK.c                                           |   27 
 net/netfilter/xt_TRACE.c                                             |   35 
 net/netfilter/xt_addrtype.c                                          |   15 
 net/netfilter/xt_cluster.c                                           |   33 
 net/netfilter/xt_connbytes.c                                         |    4 
 net/netfilter/xt_connlimit.c                                         |   39 
 net/netfilter/xt_connmark.c                                          |   28 
 net/netfilter/xt_mark.c                                              |   42 
 net/netlink/af_netlink.c                                             |   38 
 net/netlink/af_netlink.h                                             |    5 
 net/phonet/pn_netlink.c                                              |   43 
 net/rxrpc/sendmsg.c                                                  |   10 
 net/sched/sch_api.c                                                  |    7 
 net/sctp/socket.c                                                    |   18 
 net/socket.c                                                         |    7 
 sound/pci/hda/hda_intel.c                                            |    2 
 sound/pci/hda/patch_realtek.c                                        |    7 
 sound/soc/codecs/cs35l56-shared.c                                    |   36 
 sound/soc/codecs/cs35l56.c                                           |   32 
 sound/soc/codecs/cs35l56.h                                           |    1 
 tools/iio/iio_generic_buffer.c                                       |    4 
 tools/lib/subcmd/parse-options.c                                     |    8 
 tools/perf/builtin-kmem.c                                            |    2 
 tools/perf/builtin-kvm.c                                             |    3 
 tools/perf/builtin-kwork.c                                           |    3 
 tools/perf/builtin-lock.c                                            |    3 
 tools/perf/builtin-mem.c                                             |    3 
 tools/perf/builtin-sched.c                                           |  164 
 tools/testing/ktest/ktest.pl                                         |    2 
 tools/testing/selftests/Makefile                                     |    7 
 tools/testing/selftests/bpf/progs/verifier_int_ptr.c                 |    5 
 tools/testing/selftests/lib.mk                                       |   19 
 tools/testing/selftests/mm/hmm-tests.c                               |    2 
 tools/testing/selftests/net/forwarding/no_forwarding.sh              |    2 
 tools/testing/selftests/rseq/rseq.c                                  |  110 
 tools/testing/selftests/rseq/rseq.h                                  |   10 
 257 files changed, 6538 insertions(+), 4677 deletions(-)

Aananth V (1):
tcp: new TCP_INFO stats for RTO events

Abel Vesa (1):
phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop

Aditya Gupta (1):
libsubcmd: Don't free the usage string

Aleksandr Loktionov (1):
i40e: Fix macvlan leak by synchronizing access to mac_filter_hash

Alex Hung (2):
drm/amd/display: Revert "Check HDCP returned status" drm/amd/display: Check null pointer before dereferencing se

Alex Williamson (1):
PCI: Mark Creative Labs EMU20k2 INTx masking as broken

Alexander Gordeev (1):
fs/proc/kcore.c: allow translation of physical memory addresses

Anastasia Kovaleva (1):
net: Fix an unsafe loop on the list

Anatolij Gustschin (1):
net: dsa: lan9303: ensure chip reset and wait for READY status

Andreas Gruenbacher (3):
gfs2: Revert "introduce qd_bh_get_or_undo"
gfs2: qd_check_sync cleanups
gfs2: Revert "ignore negated quota changes"

Andrey Shumilin (1):
fbdev: sisfb: Fix strbuf array overflow

Andrey Skvortsov (1):
zram: don't free statically defined names

Andy Roulin (1):
netfilter: br_netfilter: fix panic with metadata_dst skb

Avri Altman (1):
scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()

Basavaraj Natikar (1):
HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()

Ben Skeggs (1):
drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device

Benjamin Poirier (2):
selftests: net: Remove executable bits from library scripts
selftests: Introduce Makefile variable to list shared bash scripts

Billy Tsai (2):
gpio: aspeed: Add the flush write to ensure the write complete.
gpio: aspeed: Use devm_clk api to manage clock source

Bjorn Helgaas (1):
Revert "PCI/MSI: Provide stubs for IMS functions"

Carlos Song (1):
spi: spi-fsl-lpspi: remove redundant spi_controller_put call

Charlie Jenkins (1):
riscv: cpufeature: Fix thead vector hwcap removal

Christian Marangi (1):
net: phy: Remove LED entry from LEDs list on unregister

Christophe JAILLET (2):
net: phy: bcm84881: Fix some error handling paths
net: ethernet: adi: adin1110: Fix some error handling path in adin1110_read_fifo()

Chuck Lever (1):
NFSD: Mark filecache "down" if init fails

Cong Yang (1):
drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)

Damien Le Moal (3):
ata: ahci: Add mask_port_map module parameter
scsi: Remove scsi device no_start_on_resume flag
scsi: sd: Do not repeat the starting disk message

Dan Carpenter (1):
SUNRPC: Fix integer overflow in decode_rc_list()

Daniel Borkmann (1):
selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized test

Daniel Jordan (1):
ktest.pl: Avoid false positives with grub2 skip regex

Daniel Palmer (1):
scsi: wd33c93: Don't use stale scsi_pointer value

Dave Ertman (1):
ice: fix VLAN replay after reset

David Howells (1):
rxrpc: Fix uninitialised variable in rxrpc_send_data()

Diogo Jahchan Koike (1):
ntfs3: Change to non-blocking allocation in ntfs_d_hash

Donet Tom (1):

      selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test

Enzo Matsumiya (1):
smb: client: fix UAF in async decryption

Eric Dumazet (8):
net/sched: accept TCA_STAB only for root qdisc
net: do not delay dst_entries_add() in dst_release()
rtnetlink: change nlk->cb_mutex role
rtnetlink: add RTNL_FLAG_DUMP_UNLOCKED flag
mpls: no longer hold RTNL in mpls_netconf_dump_devconf()
phonet: no longer hold RTNL in route_dumpit()
ppp: fix ppp_async_encode() illegal access
slip: make slhc_remember() more robust against malicious packets

Filipe Manana (1):
btrfs: zoned: fix missing RCU locking in error message when loading zone info

Florian Westphal (3):
netfilter: nf_nat: don't try nat source port reallocation for reverse dir clash
netfilter: xtables: avoid NFPROTO_UNSPEC where needed
netfilter: fib: check correct rtable in vrf setups

Frederic Weisbecker (3):
rcu/nocb: Make IRQs disablement symmetric rcu/nocb: Fix rcuog wake-up from offline softirq
kthread: unpark only parked kthread

Gabriel Krisman Bertazi (1):
unicode: Don't special case ignorable code points

Geoff Levand (1):
Revert "powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2"

Gerald Schaefer (1):
s390/mm: Add cond_resched() to cmm_alloc/free_pages()

Gergo Koteles (1):
ASoC: tas2781: mark dvc_tlv with __maybe_unused

Greg Kroah-Hartman (1):

      Linux 6.6.57

Guenter Roeck (1):
hwmon: (tmp513) Add missing dependency on REGMAP_I2C

Hans de Goede (4):
i2c: i801: Use a different adapter-name for IDF adapters
mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strict
HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines

He Lugang (1):
HID: multitouch: Add support for lenovo Y9000P Touchpad

Heiko Carstens (1):
s390/facility: Disable compile time optimization for decompressor code

Hui Wang (1):
e1000e: move force SMBUS near the end of enable_ulp function

Icenowy Zheng (1):
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip

Ignat Korchagin (1):

      net: explicitly clear the sk pointer, when pf->create fails

Ingo van Lil (1):
net: phy: dp83869: fix memory corruption when enabling fiber

Ivan Vecera (1):
i40e: Fix ST code value for Clause 45

Jakub Kicinski (1):
Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled"

Jan Kara (1):
ext4: don't set SB_RDONLY after filesystem errors

Jani Nikula (1):
drm/i915/hdcp: fix connector refcounting

Javier Carrasco (3):
hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
hwmon: (adm9240) Add missing dependency on REGMAP_I2C
hwmon: (adt7470) Add missing dependency on REGMAP_I2C

Jean-Loïc Charroud (2):
ALSA: hda/realtek: cs35l41: Fix order and duplicates in quirks table
ALSA: hda/realtek: cs35l41: Fix device ID / model name

Jens Axboe (1):
io_uring: check if we need to reschedule during overflow flush

Jiri Slaby (SUSE) (1):
serial: protect uart_port_dtr_rts() in uart_shutdown() too

Jisheng Zhang (1):
riscv: avoid Imbalance in RAS

Johan Hovold (1):
scsi: Revert "scsi: sd: Do not repeat the starting disk message"

Johannes Roith (1):
HID: mcp2200: added driver for GPIOs of MCP2200

John Keeping (1):
usb: gadget: core: force synchronous registration

Jonas Gorski (5):
net: dsa: b53: fix jumbo frame mtu check
net: dsa: b53: fix max MTU for 1g switches
net: dsa: b53: fix max MTU for BCM5325/BCM5365
net: dsa: b53: allow lower MTUs on BCM5325/5365
net: dsa: b53: fix jumbo frames on 10/100 ports

Jose Alberto Reguero (1):
usb: xhci: Fix problem with xhci resume from suspend

Justin Tee (2):
scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_flush_cmd()
scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance

Kacper Ludwinski (1):
selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pvids() test

Kai-Heng Feng (1):
HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend

Kaixin Wang (2):
i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition
ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition

Kenton Groombridge (1):
wifi: mac80211: Avoid address calculations via out of bounds array indexing

Konrad Dybcio (1):
phy: qualcomm: phy-qcom-eusb2-repeater: Add tuning overrides

Konstantin Komarov (3):
fs/ntfs3: Do not call file_modified if collapse range failed fs/ntfs3: Fix sparse warning in ni_fiemap fs/ntfs3: Refactor enum_rstbl to suppress static checker

Krzysztof Kozlowski (1):
clk: bcm: bcm53573: fix OF node leak in init

Kun(llfl) (1):
device-dax: correct pgoff align in dax_set_mapping()

Kuniyuki Iwashima (6):
rtnetlink: Add bulk registration helpers for rtnetlink message handlers.
vxlan: Handle error of rtnl_register_module().
bridge: Handle error of rtnl_register_module().
mctp: Handle error of rtnl_register_module().
mpls: Handle error of rtnl_register_module().
phonet: Handle error of rtnl_register_module().

Linus Walleij (2):
net: ethernet: cortina: Drop TSO support
net: ethernet: cortina: Restore TSO support

Luca Stefani (1):
btrfs: split remaining space to discard in chunks

Luiz Augusto von Dentz (3):
Bluetooth: Fix usage of __hci_cmd_sync_status
Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
Bluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync

Luke D. Jones (3):
HID: asus: add ROG Ally N-Key ID and keycodes
HID: asus: add ROG Z13 lightbar
hid-asus: add ROG Ally X prod ID to quirk list

Manivannan Sadhasivam (5):
bus: mhi: ep: Rename read_from_host() and write_to_host() APIs
bus: mhi: ep: Introduce async read/write callbacks
bus: mhi: ep: Add support for async DMA write operation
bus: mhi: ep: Add support for async DMA read operation
bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone

Marcin Szycik (1):
ice: Fix netif_is_ice() in Safe Mode

Masami Hiramatsu (Google) (1):
bootconfig: Fix the kerneldoc of _xbc_exit()

Mathias Krause (1):
Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal

Mathieu Desnoyers (1):
selftests/rseq: Fix mm_cid test failure

Matthieu Baerts (NGI0) (2):
mptcp: fallback when MPTCP opts are dropped after 1st data
mptcp: pm: do not remove closing subflows

Maíra Canal (2):
drm/v3d: Stop the active perfmon before being destroyed drm/vc4: Stop the active perfmon before being destroyed

Md Haris Iqbal (1):
RDMA/rtrs-srv: Avoid null pointer deref during path establishment

Michael Guralnik (1):
RDMA/mlx5: Enforce umem boundaries for explicit ODP page faults

Michael S. Tsirkin (1):
virtio_console: fix misc probe bugs

Michal Swiatkowski (2):
ice: set correct dst VSI in only LAN filters
ice: rename switchdev to eswitch

Mohamed Khalfella (1):
igb: Do not bring the device up after non-fatal error

Neal Cardwell (3):
tcp: fix to allow timestamp undo if no retransmits were sent
tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits out

Niklas Cassel (1):
ata: libata: avoid superfluous disk spin down + spin up during hibernation

Oliver Neukum (1):
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"

Palmer Dabbelt (1):
RISC-V: Don't have MAX_PHYSMEM_BITS exceed phys_addr_t

Paolo Abeni (1):
mptcp: handle consistently DSS corruption

Patrick Roy (1):
secretmem: disable memfd_secret() if arch cannot set direct map

Paul Menzel (1):
lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat

Peng Fan (2):
remoteproc: imx_rproc: Use imx specific hook for find_loaded_rsc_table
clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D

Peter Colberg (1):
hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature

Philip Chen (1):
virtio_pmem: Check device status before requesting flush

Pierre-Louis Bossart (2):
soundwire: intel_bus_common: enable interrupts before exiting reset
soundwire: cadence: re-check Peripheral status with delayed_work

Qianqiang Liu (1):
fbcon: Fix a NULL pointer dereference issue in fbcon_putcs

Randy Dunlap (1):
jbd2: fix kernel-doc for j_transaction_overhead_buffers

Richard Fitzgerald (1):
ASoC: cs35l56: Load tunings for the correct speaker models

Riyan Dhiman (1):
staging: vme_user: added bound check to geoid

Rob Clark (1):
drm/crtc: fix uninitialized variable use even harder

Rosen Penev (1):
net: ibm: emac: mal: fix wrong goto

Ruffalo Lavoisier (1):
comedi: ni_routing: tools: Check when the file could not be opened

Saravanan Vajravel (1):
RDMA/mad: Improve handling of timed out WRs of mad agent

Selvarasu Ganesan (1):
usb: dwc3: core: Stop processing of pending events if controller is halted

Sergey Senozhatsky (1):
zram: free secondary algorithms names

Shannon Nelson (1):
pds_core: no health-thread in VF path

Shawn Shao (1):
usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario

Shyam Sundar S K (2):
x86/amd_nb: Add new PCI IDs for AMD family 0x1a x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h

Simon Horman (1):
netfilter: nf_reject: Fix build warning when CONFIG_BRIDGE_NETFILTER=n

Song Shuai (1):
riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro

Srinivas Pandruvada (2):
thermal: int340x: processor_thermal: Set feature mask before proc_thermal_add platform/x86/intel/tpmi: Add defines to get version information

Steven Rostedt (Google) (2):
tracing: Remove precision vsnprintf() check from print event
tracing: Have saved_cmdlines arrays all in one allocation

Subramanian Ananthanarayanan (1):
PCI: Add ACS quirk for Qualcomm SA8775P

SurajSonawane2415 (1):
hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma

Tao Chen (1):
bpf: Check percpu map value size first

Thomas Richter (1):
s390/cpum_sf: Remove WARN_ON_ONCE statements

Tony Nguyen (1):
i40e: Include types.h to some headers

Vitaly Lifshits (2):
e1000e: change I219 (19) devices to ADP
e1000e: fix force smbus during suspend flow

Wade Wang (1):
HID: plantronics: Workaround for an unexcepted opposite volume key

Wadim Egorov (1):
usb: typec: tipd: Free IRQ only if it was requested before

WangYuli (1):
PCI: Add function 0 DMA alias quirk for Glenfly Arise chip

Wei Fang (1):
net: fec: don't save PTP state if PTP is unsupported

Wenjing Liu (1):
drm/amd/display: Remove a redundant check in authenticated_dp

Wentao Guan (1):
LoongArch: Fix memleak in pci_acpi_scan_root()

Wojciech Drewek (1):
ice: Flush FDB entries before reset

Wojciech Gładysz (1):
ext4: nested locking for xattr inode

Xin Long (1):
sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_listen_start

Xiubo Li (1):
libceph: init the cursor when preparing sparse read in msgr2

Xu Kuohai (1):
bpf: Prevent tail call between progs attached to different hooks

Xu Yang (1):
usb: chipidea: udc: enable suspend interrupt after usb reset

Yang Jihong (4):
perf sched: Move start_work_mutex and work_done_wait_mutex initialization to perf_sched__replay() perf sched: Fix memory leak in perf_sched__map()
perf sched: Move curr_thread initialization to perf_sched__map()
perf sched: Move curr_pid and cpu_last_switched initialization to perf_sched__{lat|map|replay}()

Yanjun Zhang (1):
NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()

Ying Sun (1):
riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and R_RISCV_SUB16 unknown

Yonatan Maman (2):
nouveau/dmem: Fix privileged error in copy engine channel nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

Yonghong Song (1):
bpf, x64: Fix a jit convergence issue

Yunke Cao (1):
media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()

Zhang Rui (3):
thermal: intel: int340x: processor: Fix warning during module unload
powercap: intel_rapl_tpmi: Ignore minor version change
powercap: intel_rapl_tpmi: Fix bogus register reading

Zhu Jun (1):
tools/iio: Add memory allocation failure check for trigger_name

Zijun Hu (2):
driver core: bus: Fix double free in driver API bus_register() driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute