Linux 6.9.7
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/dma/fsl,edma.yaml +2 -2
@@ -48,8 +48,8 @@ properties: - 3 dma-channels: - minItems: 1 - maxItems: 64 + minimum: 1 + maximum: 64 clocks: minItems: 1
Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +1 -1
@@ -77,7 +77,7 @@ required: - clocks allOf: - - $ref: i2c-controller.yaml + - $ref: /schemas/i2c/i2c-controller.yaml# - if: properties: compatible:
Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml +1 -1
@@ -21,7 +21,7 @@ description: | google,cros-ec-spi or google,cros-ec-i2c. allOf: - - $ref: i2c-controller.yaml# + - $ref: /schemas/i2c/i2c-controller.yaml# properties: compatible:
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 9 -SUBLEVEL = 6 +SUBLEVEL = 7 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
arch/arm/boot/dts/nxp/imx/imx53-qsb-common.dtsi +1 -1
@@ -85,7 +85,7 @@ led-user { }; }; - panel { + panel_dpi: panel { compatible = "sii,43wvf1g"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_display_power>;
arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso +4 -2
@@ -10,8 +10,6 @@ /plugin/; &{/} { - /delete-node/ panel; - hdmi: connector-hdmi { compatible = "hdmi-connector"; label = "hdmi";
@@ -82,6 +80,10 @@ sii9022_out: endpoint { }; }; +&panel_dpi { + status = "disabled"; +}; + &tve { status = "disabled"; };
arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +2 -1
@@ -6,6 +6,7 @@ #include <dt-bindings/phy/phy-imx8-pcie.h> #include <dt-bindings/pwm/pwm.h> #include "imx8mm.dtsi" +#include "imx8mm-overdrive.dtsi" / { chosen {
@@ -929,7 +930,7 @@ pinctrl_gpio8: gpio8grp { /* Verdin GPIO_9_DSI (pulled-up as active-low) */ pinctrl_gpio_9_dsi: gpio9dsigrp { fsl,pins = - <MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15 0x146>; /* SODIMM 17 */ + <MX8MM_IOMUXC_NAND_RE_B_GPIO3_IO15 0x1c6>; /* SODIMM 17 */ }; /* Verdin GPIO_10_DSI (pulled-up as active-low) */
arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi +1 -1
@@ -254,7 +254,7 @@ tc_bridge: bridge@f { <&clk IMX8MP_CLK_CLKOUT2>, <&clk IMX8MP_AUDIO_PLL2_OUT>; assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>; - assigned-clock-rates = <13000000>, <13000000>, <156000000>; + assigned-clock-rates = <13000000>, <13000000>, <208000000>; reset-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>; status = "disabled";
arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi +1 -1
@@ -183,7 +183,7 @@ &uart3 { bluetooth { compatible = "brcm,bcm4330-bt"; - shutdown-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; }; };
arch/arm64/boot/dts/freescale/imx8qm-mek.dts +1 -1
@@ -36,7 +36,7 @@ reg_usdhc2_vmmc: usdhc2-vmmc { regulator-name = "SD1_SPWR"; regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; - gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>; + gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>; enable-active-high; }; };
arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +0 -1
@@ -175,7 +175,6 @@ &usdhc2 { vmmc-supply = <®_usdhc2_vmmc>; bus-width = <4>; status = "okay"; - no-sdio; no-mmc; };
arch/arm64/configs/defconfig +1 -0
@@ -1585,6 +1585,7 @@ CONFIG_INTERCONNECT_QCOM_SC8180X=y CONFIG_INTERCONNECT_QCOM_SC8280XP=y CONFIG_INTERCONNECT_QCOM_SDM845=y CONFIG_INTERCONNECT_QCOM_SDX75=y +CONFIG_INTERCONNECT_QCOM_SM6115=y CONFIG_INTERCONNECT_QCOM_SM8150=m CONFIG_INTERCONNECT_QCOM_SM8250=y CONFIG_INTERCONNECT_QCOM_SM8350=m
arch/arm64/include/asm/sysreg.h +12 -12
@@ -1036,18 +1036,18 @@* Permission Indirection Extension (PIE) permission encodings. * Encodings with the _O suffix, have overlays applied (Permission Overlay Extension). */ -#define PIE_NONE_O 0x0 -#define PIE_R_O 0x1 -#define PIE_X_O 0x2 -#define PIE_RX_O 0x3 -#define PIE_RW_O 0x5 -#define PIE_RWnX_O 0x6 -#define PIE_RWX_O 0x7 -#define PIE_R 0x8 -#define PIE_GCS 0x9 -#define PIE_RX 0xa -#define PIE_RW 0xc -#define PIE_RWX 0xe +#define PIE_NONE_O UL(0x0) +#define PIE_R_O UL(0x1) +#define PIE_X_O UL(0x2) +#define PIE_RX_O UL(0x3) +#define PIE_RW_O UL(0x5) +#define PIE_RWnX_O UL(0x6) +#define PIE_RWX_O UL(0x7) +#define PIE_R UL(0x8) +#define PIE_GCS UL(0x9) +#define PIE_RX UL(0xa) +#define PIE_RW UL(0xc) +#define PIE_RWX UL(0xe)#define PIRx_ELx_PERM (idx, perm) ((perm) << ((idx) * 4))
arch/arm64/kvm/vgic/vgic-init.c +1 -1
@@ -355,7 +355,7 @@ static void kvm_vgic_dist_destroy(struct kvm *kvm)if (dist->vgic_model ==KVM_DEV_TYPE_ARM_VGIC_V3 ) {list_for_each_entry_safe (rdreg, next, &dist->rd_regions, list) -vgic_v3_free_redist_region (rdreg); +vgic_v3_free_redist_region (kvm, rdreg);INIT_LIST_HEAD (&dist->rd_regions); }else { dist->vgic_cpu_base =VGIC_ADDR_UNDEF ;
arch/arm64/kvm/vgic/vgic-mmio-v3.c +13 -2
@@ -919,8 +919,19 @@ static int vgic_v3_alloc_redist_region(struct kvm *kvm, uint32_t index,return ret; } -void vgic_v3_free_redist_region (struct vgic_redist_region *rdreg) +void vgic_v3_free_redist_region (struct kvm *kvm,struct vgic_redist_region *rdreg) { +struct kvm_vcpu *vcpu; +unsigned long c; + +lockdep_assert_held (&kvm->arch.config_lock); + +/* Garbage collect the region */ +kvm_for_each_vcpu (c, vcpu, kvm) { +if (vcpu->arch.vgic_cpu.rdreg == rdreg) + vcpu->arch.vgic_cpu.rdreg =NULL ; + } +list_del (&rdreg->list);kfree (rdreg); }
@@ -945,7 +956,7 @@ int vgic_v3_set_redist_base(struct kvm *kvm, u32 index, u64 addr, u32 count)mutex_lock (&kvm->arch.config_lock); rdreg =vgic_v3_rdist_region_from_index (kvm, index); -vgic_v3_free_redist_region (rdreg); +vgic_v3_free_redist_region (kvm, rdreg);mutex_unlock (&kvm->arch.config_lock);return ret; }
arch/arm64/kvm/vgic/vgic.h +1 -1
@@ -317,7 +317,7 @@ vgic_v3_rd_region_size(struct kvm *kvm, struct vgic_redist_region *rdreg)struct vgic_redist_region *vgic_v3_rdist_region_from_index (struct kvm *kvm,u32 index); -void vgic_v3_free_redist_region (struct vgic_redist_region *rdreg); +void vgic_v3_free_redist_region (struct kvm *kvm,struct vgic_redist_region *rdreg);bool vgic_v3_rdist_overlap (struct kvm *kvm,gpa_t base,size_t size);
arch/csky/kernel/probes/ftrace.c +3 -0
@@ -12,6 +12,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe_ctlblk *kcb;struct pt_regs *regs; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/loongarch/Kconfig +4 -1
@@ -138,7 +138,7 @@ config LOONGARCH select HAVE_LIVEPATCH select HAVE_MOD_ARCH_SPECIFIC select HAVE_NMI - select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS + select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB && !CC_IS_CLANG select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_PERF_REGS
@@ -257,6 +257,9 @@ config AS_HAS_EXPLICIT_RELOCS config AS_HAS_FCSR_CLASS def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0) +config AS_HAS_THIN_ADD_SUB + def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) + config AS_HAS_LSX_EXTENSION def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
arch/loongarch/Kconfig.debug +1 -0
@@ -28,6 +28,7 @@ config UNWINDER_PROLOGUE config UNWINDER_ORC bool "ORC unwinder" + depends on HAVE_OBJTOOL select OBJTOOL help This option enables the ORC (Oops Rewind Capability) unwinder for
arch/loongarch/include/asm/hw_breakpoint.h +3 -1
@@ -75,6 +75,8 @@ do { \#define CSR_MWPC_NUM 0x3f#define CTRL_PLV_ENABLE 0x1e +#define CTRL_PLV0_ENABLE 0x02 +#define CTRL_PLV3_ENABLE 0x10#define MWPnCFG3_LoadEn 8#define MWPnCFG3_StoreEn 9
@@ -101,7 +103,7 @@ struct perf_event;struct perf_event_attr ;extern int arch_bp_generic_fields (struct arch_hw_breakpoint_ctrl ctrl, -int *gen_len,int *gen_type,int *offset); +int *gen_len,int *gen_type);extern int arch_check_bp_in_kernelspace (struct arch_hw_breakpoint *hw); extern int hw_breakpoint_arch_parse(struct perf_event *bp, const struct perf_event_attr *attr,
arch/loongarch/kernel/ftrace_dyn.c +3 -0
@@ -287,6 +287,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe *p;struct kprobe_ctlblk *kcb; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/loongarch/kernel/hw_breakpoint.c +55 -41
160 lines not on this page · raw message
arch/loongarch/kernel/ptrace.c +27 -20
71 lines not on this page · raw message
arch/mips/bmips/setup.c +2 -1
@@ -110,7 +110,8 @@ static void bcm6358_quirks(void)* RAC flush causes kernel panics on BCM6358 when booting from TP1 * because the bootloader is not initializing it properly. */ - bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local () & (1 <<31 )); + bmips_rac_flush_disable = !!(read_c0_brcm_cmt_local () & (1 <<31 )) || + !!BMIPS_GET_CBR (); }static void bcm6368_quirks (void )
arch/mips/include/asm/mipsmtregs.h +1 -1
@@ -322,7 +322,7 @@ static inline void ehb(void)" .set push \n" \" .set " MIPS_ISA_LEVEL " \n" \ _ASM_SET_MFTC0 \ - " mftc0 $1, " #rt ", " #sel " \n" \ + " mftc0 %0, " #rt ", " #sel " \n" \ _ASM_UNSET_MFTC0 \ " .set pop \n" \ : "=r" (__res)); \
arch/mips/pci/ops-rc32434.c +2 -2
@@ -112,8 +112,8 @@ static int read_config_dword(struct pci_bus *bus, unsigned int devfn,* gives them time to settle */ if (where ==PCI_VENDOR_ID ) { -if (ret ==0xffffffff || ret ==0x00000000 || - ret ==0x0000ffff || ret ==0xffff0000 ) { +if (*val ==0xffffffff || *val ==0x00000000 || + *val ==0x0000ffff || *val ==0xffff0000 ) {if (delay >4 )return 0 ; delay *=2 ;
arch/mips/pci/pcie-octeon.c +6 -0
@@ -230,12 +230,18 @@ static inline uint64_t __cvmx_pcie_build_config_addr(int pcie_port, int bus, {union cvmx_pcie_address pcie_addr;union cvmx_pciercx_cfg006 pciercx_cfg006; +union cvmx_pciercx_cfg032 pciercx_cfg032; pciercx_cfg006.u32 =cvmx_pcie_cfgx_read (pcie_port,CVMX_PCIERCX_CFG006 (pcie_port));if ((bus <= pciercx_cfg006.s.pbnum) && (dev !=0 ))return 0 ; + pciercx_cfg032.u32 = +cvmx_pcie_cfgx_read (pcie_port,CVMX_PCIERCX_CFG032 (pcie_port)); +if ((pciercx_cfg032.s.dlla ==0 ) || (pciercx_cfg032.s.lt ==1 )) +return 0 ; + pcie_addr.u64 =0 ; pcie_addr.config.upper =2 ; pcie_addr.config.io =1 ;
arch/parisc/kernel/ftrace.c +3 -0
@@ -206,6 +206,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe *p;int bit; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/powerpc/crypto/.gitignore +2 -0
@@ -1,3 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only aesp10-ppc.S +aesp8-ppc.S ghashp10-ppc.S +ghashp8-ppc.S
arch/powerpc/include/asm/hvcall.h +4 -4
@@ -524,7 +524,7 @@ long plpar_hcall_norets_notrace(unsigned long opcode, ...);* Used for all but the craziest of phyp interfaces (see plpar_hcall9) */ #define PLPAR_HCALL_BUFSIZE 4 -long plpar_hcall (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL_BUFSIZE ], ...);/** * plpar_hcall_raw: - Make a hypervisor call without calculating hcall stats
@@ -538,7 +538,7 @@ long plpar_hcall(unsigned long opcode, unsigned long *retbuf, ...);* plpar_hcall, but plpar_hcall_raw works in real mode and does not * calculate hypervisor call statistics. */ -long plpar_hcall_raw (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall_raw (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL_BUFSIZE ], ...);/** * plpar_hcall9: - Make a pseries hypervisor call with up to 9 return arguments
@@ -549,8 +549,8 @@ long plpar_hcall_raw(unsigned long opcode, unsigned long *retbuf, ...);* PLPAR_HCALL9_BUFSIZE to size the return argument buffer. */ #define PLPAR_HCALL9_BUFSIZE 9 -long plpar_hcall9 (unsigned long opcode,unsigned long *retbuf, ...); -long plpar_hcall9_raw (unsigned long opcode,unsigned long *retbuf, ...); +long plpar_hcall9 (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE ], ...); +long plpar_hcall9_raw (unsigned long opcode,unsigned long retbuf[static PLPAR_HCALL9_BUFSIZE ], ...);/* pseries hcall tracing */ extern struct static_key hcall_tracepoint_key;
arch/powerpc/include/asm/io.h +12 -12
@@ -585,12 +585,12 @@ __do_out_asm(_rec_outl, "stwbrx")#define __do_inw (port) _rec_inw(port)#define __do_inl (port) _rec_inl(port)#else /* CONFIG_PPC32 */ -#define __do_outb (val, port) writeb(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_outw (val, port) writew(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_outl (val, port) writel(val,(PCI_IO_ADDR)_IO_BASE+port); -#define __do_inb (port) readb((PCI_IO_ADDR)_IO_BASE + port); -#define __do_inw (port) readw((PCI_IO_ADDR)_IO_BASE + port); -#define __do_inl (port) readl((PCI_IO_ADDR)_IO_BASE + port); +#define __do_outb (val, port) writeb(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_outw (val, port) writew(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_outl (val, port) writel(val,(PCI_IO_ADDR)(_IO_BASE+port)); +#define __do_inb (port) readb((PCI_IO_ADDR)(_IO_BASE + port)); +#define __do_inw (port) readw((PCI_IO_ADDR)(_IO_BASE + port)); +#define __do_inl (port) readl((PCI_IO_ADDR)(_IO_BASE + port));#endif /* !CONFIG_PPC32 */ #ifdef CONFIG_EEH
@@ -606,12 +606,12 @@ __do_out_asm(_rec_outl, "stwbrx")#define __do_writesw (a, b, n) _outsw(PCI_FIX_ADDR(a),(b),(n))#define __do_writesl (a, b, n) _outsl(PCI_FIX_ADDR(a),(b),(n)) -#define __do_insb (p, b, n) readsb((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_insw (p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_insl (p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n)) -#define __do_outsb (p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) -#define __do_outsw (p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) -#define __do_outsl (p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n)) +#define __do_insb (p, b, n) readsb((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_insw (p, b, n) readsw((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_insl (p, b, n) readsl((PCI_IO_ADDR)(_IO_BASE+(p)), (b), (n)) +#define __do_outsb (p, b, n) writesb((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n)) +#define __do_outsw (p, b, n) writesw((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n)) +#define __do_outsl (p, b, n) writesl((PCI_IO_ADDR)(_IO_BASE+(p)),(b),(n))#define __do_memset_io (addr, c, n) \ _memset_io(PCI_FIX_ADDR(addr), c, n)
arch/powerpc/kernel/kprobes-ftrace.c +3 -0
@@ -21,6 +21,9 @@ void kprobe_ftrace_handler(unsigned long nip, unsigned long parent_nip,struct pt_regs *regs;int bit; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (nip, parent_nip);if (bit <0 )return ;
arch/riscv/kernel/probes/ftrace.c +3 -0
@@ -11,6 +11,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe_ctlblk *kcb;int bit; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/s390/kernel/ftrace.c +3 -0
@@ -296,6 +296,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe *p;int bit; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/x86/include/asm/cpu_device_id.h +98 -0
122 lines not on this page · raw message
arch/x86/include/asm/efi.h +0 -1
@@ -401,7 +401,6 @@ extern int __init efi_memmap_alloc(unsigned int num_entries, struct efi_memory_map_data *data);extern void __efi_memmap_free (u64 phys,unsigned long size,unsigned long flags); -#define __efi_memmap_free __efi_memmap_freeextern int __init efi_memmap_install (struct efi_memory_map_data *data); extern int __init efi_memmap_split_count(efi_memory_desc_t *md,
arch/x86/kernel/cpu/match.c +1 -3
@@ -39,9 +39,7 @@ const struct x86_cpu_id *x86_match_cpu(const struct x86_cpu_id *match)const struct x86_cpu_id *m;struct cpuinfo_x86 *c = &boot_cpu_data; -for (m = match; - m->vendor | m->family | m->model | m->steppings | m->feature; - m++) { +for (m = match; m->flags &X86_CPU_ID_FLAG_ENTRY_VALID ; m++) {if (m->vendor !=X86_VENDOR_ANY && c->x86_vendor != m->vendor)continue ;if (m->family !=X86_FAMILY_ANY && c->x86 != m->family)
arch/x86/kernel/cpu/resctrl/monitor.c +2 -1
@@ -508,7 +508,8 @@ void free_rmid(u32 closid, u32 rmid)* allows architectures that ignore the closid parameter to avoid an * unnecessary check. */ -if (idx ==resctrl_arch_rmid_idx_encode (RESCTRL_RESERVED_CLOSID , +if (!resctrl_arch_mon_capable () || + idx ==resctrl_arch_rmid_idx_encode (RESCTRL_RESERVED_CLOSID ,RESCTRL_RESERVED_RMID ))return ;
arch/x86/kernel/kprobes/ftrace.c +3 -0
@@ -21,6 +21,9 @@ void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,struct kprobe_ctlblk *kcb;int bit; +if (unlikely (kprobe_ftrace_disabled)) +return ; + bit =ftrace_test_recursion_trylock (ip, parent_ip);if (bit <0 )return ;
arch/x86/kvm/x86.c +4 -5
@@ -10677,13 +10677,12 @@ static void vcpu_scan_ioapic(struct kvm_vcpu *vcpu)bitmap_zero (vcpu->arch.ioapic_handled_vectors,256 ); +static_call_cond (kvm_x86_sync_pir_to_irr)(vcpu); +if (irqchip_split (vcpu->kvm))kvm_scan_ioapic_routes (vcpu, vcpu->arch.ioapic_handled_vectors); -else { -static_call_cond (kvm_x86_sync_pir_to_irr)(vcpu); -if (ioapic_in_kernel (vcpu->kvm)) -kvm_ioapic_scan_entry (vcpu, vcpu->arch.ioapic_handled_vectors); - } +else if (ioapic_in_kernel (vcpu->kvm)) +kvm_ioapic_scan_entry (vcpu, vcpu->arch.ioapic_handled_vectors);if (is_guest_mode (vcpu)) vcpu->arch.load_eoi_exitmap_pending = true;
arch/x86/platform/efi/memmap.c +11 -1
@@ -92,12 +92,22 @@ int __init efi_memmap_alloc(unsigned int num_entries,*/ int __init efi_memmap_install (struct efi_memory_map_data *data) { +unsigned long size = efi.memmap.desc_size * efi.memmap.nr_map; +unsigned long flags = efi.memmap.flags; +u64 phys = efi.memmap.phys_map; +int ret; +efi_memmap_unmap ();if (efi_enabled (EFI_PARAVIRT ))return 0 ; -return __efi_memmap_init (data); + ret =__efi_memmap_init (data); +if (ret) +return ret; + +__efi_memmap_free (phys, size, flags); +return 0 ; }/**
block/ioctl.c +1 -1
@@ -33,7 +33,7 @@ static int blkpg_do_ioctl(struct block_device *bdev,if (op ==BLKPG_DEL_PARTITION )return bdev_del_partition (disk, p.pno); -if (p.start <0 || p.length <=0 || p.start + p.length <0 ) +if (p.start <0 || p.length <=0 ||LLONG_MAX - p.length < p.start)return -EINVAL ;/* Check that the partition is aligned to the block size */ if (!IS_ALIGNED (p.start | p.length,bdev_logical_block_size (bdev)))
drivers/acpi/acpica/acevents.h +4 -0
@@ -191,6 +191,10 @@ void acpi_ev_execute_reg_methods(struct acpi_namespace_node *node, acpi_adr_space_type space_id, u32 function); +void +acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *node, +acpi_adr_space_type space_id); +acpi_status acpi_ev_execute_reg_method (union acpi_operand_object *region_obj,u32 function);
drivers/acpi/acpica/evregion.c +1 -5
@@ -20,10 +20,6 @@ extern u8 acpi_gbl_default_address_spaces[];/* Local prototypes */ -static void -acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *device_node, -acpi_adr_space_type space_id); -static acpi_status acpi_ev_reg_run (acpi_handle obj_handle,u32 level,void *context,void **return_value);
@@ -818,7 +814,7 @@ acpi_ev_reg_run(acpi_handle obj_handle,* ******************************************************************************/ -static void +void acpi_ev_execute_orphan_reg_method (struct acpi_namespace_node *device_node,acpi_adr_space_type space_id) {
drivers/acpi/acpica/evxfregn.c +54 -0
57 lines not on this page · raw message
drivers/acpi/acpica/exregion.c +2 -21
@@ -44,7 +44,6 @@ acpi_ex_system_memory_space_handler(u32 function,struct acpi_mem_mapping *mm = mem_info->cur_mm;u32 length;acpi_size map_length; -acpi_size page_boundary_map_length;#ifdef ACPI_MISALIGNMENT_NOT_SUPPORTED u32 remainder;#endif
@@ -138,26 +137,8 @@ acpi_ex_system_memory_space_handler(u32 function, map_length = (acpi_size) ((mem_info->address + mem_info->length) - address); -/* -* If mapping the entire remaining portion of the region will cross -* a page boundary, just map up to the page boundary, do not cross. -* On some systems, crossing a page boundary while mapping regions -* can cause warnings if the pages have different attributes -* due to resource management. -* -* This has the added benefit of constraining a single mapping to -* one page, which is similar to the original code that used a 4k -* maximum window. -*/ - page_boundary_map_length = (acpi_size) - (ACPI_ROUND_UP (address,ACPI_DEFAULT_PAGE_SIZE ) - address); -if (page_boundary_map_length ==0 ) { - page_boundary_map_length =ACPI_DEFAULT_PAGE_SIZE ; - } - -if (map_length > page_boundary_map_length) { - map_length = page_boundary_map_length; - } +if (map_length >ACPI_DEFAULT_PAGE_SIZE ) + map_length =ACPI_DEFAULT_PAGE_SIZE ;/* Create a new mapping starting at the address given */
drivers/acpi/ec.c +19 -9
@@ -1482,13 +1482,14 @@ static bool install_gpio_irq_event_handler(struct acpi_ec *ec)static int ec_install_handlers (struct acpi_ec *ec,struct acpi_device *device,bool call_reg) { +acpi_handle scope_handle = ec == first_ec ?ACPI_ROOT_OBJECT : ec->handle;acpi_status status;acpi_ec_start (ec, false);if (!test_bit (EC_FLAGS_EC_HANDLER_INSTALLED , &ec->flags)) {acpi_ec_enter_noirq (ec); - status =acpi_install_address_space_handler_no_reg (ec->handle, + status =acpi_install_address_space_handler_no_reg (scope_handle,ACPI_ADR_SPACE_EC , &acpi_ec_space_handler,NULL , ec);
@@ -1497,11 +1498,13 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device,return -ENODEV ; }set_bit (EC_FLAGS_EC_HANDLER_INSTALLED , &ec->flags); - ec->address_space_handler_holder = ec->handle; }if (call_reg && !test_bit (EC_FLAGS_EC_REG_CALLED , &ec->flags)) { -acpi_execute_reg_methods (ec->handle,ACPI_ADR_SPACE_EC ); +acpi_execute_reg_methods (scope_handle,ACPI_ADR_SPACE_EC ); +if (scope_handle != ec->handle) +acpi_execute_orphan_reg_method (ec->handle,ACPI_ADR_SPACE_EC ); +set_bit (EC_FLAGS_EC_REG_CALLED , &ec->flags); }
@@ -1553,10 +1556,13 @@ static int ec_install_handlers(struct acpi_ec *ec, struct acpi_device *device,static void ec_remove_handlers (struct acpi_ec *ec) { +acpi_handle scope_handle = ec == first_ec ?ACPI_ROOT_OBJECT : ec->handle; +if (test_bit (EC_FLAGS_EC_HANDLER_INSTALLED , &ec->flags)) {if (ACPI_FAILURE (acpi_remove_address_space_handler ( - ec->address_space_handler_holder, -ACPI_ADR_SPACE_EC , &acpi_ec_space_handler))) + scope_handle, +ACPI_ADR_SPACE_EC , + &acpi_ec_space_handler)))pr_err ("failed to remove space handler\n" );clear_bit (EC_FLAGS_EC_HANDLER_INSTALLED , &ec->flags); }
@@ -1595,14 +1601,18 @@ static int acpi_ec_setup(struct acpi_ec *ec, struct acpi_device *device, bool ca {int ret; - ret =ec_install_handlers (ec, device, call_reg); -if (ret) -return ret; -/* First EC capable of handling transactions */ if (!first_ec) first_ec = ec; + ret =ec_install_handlers (ec, device, call_reg); +if (ret) { +if (ec == first_ec) + first_ec =NULL ; + +return ret; + } +pr_info ("EC_CMD/EC_SC=0x%lx, EC_DATA=0x%lx\n" , ec->command_addr, ec->data_addr);
drivers/acpi/internal.h +4 -1
@@ -185,7 +185,6 @@ enum acpi_ec_event_state {struct acpi_ec {acpi_handle handle; -acpi_handle address_space_handler_holder;int gpe;int irq;unsigned long command_addr;
@@ -302,6 +301,10 @@ void acpi_mipi_check_crs_csi2(acpi_handle handle);void acpi_mipi_scan_crs_csi2 (void );void acpi_mipi_init_crs_csi2_swnodes (void );void acpi_mipi_crs_csi2_cleanup (void ); +#ifdef CONFIG_X86 bool acpi_graph_ignore_port (acpi_handle handle); +#else +static inline bool acpi_graph_ignore_port (acpi_handle handle) {return false; } +#endif #endif /* _ACPI_INTERNAL_H_ */
drivers/acpi/mipi-disco-img.c +19 -9
@@ -725,14 +725,20 @@ void acpi_mipi_crs_csi2_cleanup(void)acpi_mipi_del_crs_csi2 (csi2); } -static const struct dmi_system_id dmi_ignore_port_nodes[] = { - { - .matches = { -DMI_EXACT_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), -DMI_EXACT_MATCH (DMI_PRODUCT_NAME ,"XPS 9315" ), - }, - }, - { } +#ifdef CONFIG_X86 +#include <asm/cpu_device_id.h> +#include <asm/intel-family.h> + +/* CPU matches for Dell generations with broken ACPI MIPI DISCO info */ +static const struct x86_cpu_id dell_broken_mipi_disco_cpu_gens[] = { +X86_MATCH_INTEL_FAM6_MODEL (TIGERLAKE ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (TIGERLAKE_L ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (ALDERLAKE ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (ALDERLAKE_L ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_P ,NULL ), +X86_MATCH_INTEL_FAM6_MODEL (RAPTORLAKE_S ,NULL ), + {} };static const char *strnext (const char *s1,const char *s2)
@@ -761,7 +767,10 @@ bool acpi_graph_ignore_port(acpi_handle handle)static bool dmi_tested, ignore_port;if (!dmi_tested) { - ignore_port =dmi_first_match (dmi_ignore_port_nodes); +if (dmi_name_in_vendors ("Dell Inc." ) && +x86_match_cpu (dell_broken_mipi_disco_cpu_gens)) + ignore_port = true; + dmi_tested = true; }
@@ -794,3 +803,4 @@ bool acpi_graph_ignore_port(acpi_handle handle)kfree (orig_path); return false; } +#endif
drivers/acpi/resource.c +13 -0
@@ -517,6 +517,13 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = { DMI_MATCH(DMI_BOARD_NAME, "E1504GAB"), }, }, + { +/* Asus Vivobook Pro N6506MV */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"ASUSTeK COMPUTER INC." ), + DMI_MATCH(DMI_BOARD_NAME, "N6506MV"), + }, + }, {/* LG Electronics 17U70P */ .matches = {
@@ -533,6 +540,12 @@ static const struct dmi_system_id irq1_level_low_skip_override[] = {* to have a working keyboard. */ static const struct dmi_system_id irq1_edge_low_force_override[] = { + { +/* XMG APEX 17 (M23) */ + .matches = { +DMI_MATCH (DMI_BOARD_NAME ,"GMxBGxx" ), + }, + }, {/* TongFang GMxRGxx/XMG CORE 15 (M22)/TUXEDO Stellaris 15 Gen4 AMD */ .matches = {
drivers/acpi/video_detect.c +8 -0
@@ -497,6 +497,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "82BK"), }, }, + { + .callback = video_detect_force_native, +/* Lenovo Slim 7 16ARH7 */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_NAME, "82UX"), + }, + }, { .callback = video_detect_force_native,/* Lenovo ThinkPad X131e (3371 AMD version) */
drivers/acpi/x86/utils.c +13 -7
@@ -256,9 +256,10 @@ bool force_storage_d3(void)#define ACPI_QUIRK_SKIP_I2C_CLIENTS BIT(0)#define ACPI_QUIRK_UART1_SKIP BIT(1)#define ACPI_QUIRK_UART1_TTY_UART2_SKIP BIT(2) -#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY BIT(3) -#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY BIT(4) -#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS BIT(5) +#define ACPI_QUIRK_PNP_UART1_SKIP BIT(3) +#define ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY BIT(4) +#define ACPI_QUIRK_USE_ACPI_AC_AND_BATTERY BIT(5) +#define ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS BIT(6)static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = {/*
@@ -338,6 +339,7 @@ static const struct dmi_system_id acpi_quirk_skip_dmi_ids[] = { DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"), }, .driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS | +ACPI_QUIRK_PNP_UART1_SKIP | ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY), }, {
@@ -436,14 +438,18 @@ static int acpi_dmi_skip_serdev_enumeration(struct device *controller_parent, boif (ret)return 0 ; -/* to not match on PNP enumerated debug UARTs */ -if (!dev_is_platform (controller_parent)) -return 0 ; - dmi_id =dmi_first_match (acpi_quirk_skip_dmi_ids);if (dmi_id) quirks = (unsigned long )dmi_id->driver_data; +if (!dev_is_platform (controller_parent)) { +/* PNP enumerated UARTs */ +if ((quirks &ACPI_QUIRK_PNP_UART1_SKIP ) && uid ==1 ) + *skip = true; + +return 0 ; + } +if ((quirks &ACPI_QUIRK_UART1_SKIP ) && uid ==1 ) *skip = true;
drivers/ata/ahci.c +8 -0
@@ -1735,6 +1735,14 @@ static void ahci_update_initial_lpm_policy(struct ata_port *ap)if (ap->pflags &ATA_PFLAG_EXTERNAL )return ; +/* If no LPM states are supported by the HBA, do not bother with LPM */ +if ((ap->host->flags &ATA_HOST_NO_PART ) && + (ap->host->flags &ATA_HOST_NO_SSC ) && + (ap->host->flags &ATA_HOST_NO_DEVSLP )) { +ata_port_dbg (ap,"no LPM states supported, not enabling LPM\n" ); +return ; + } +/* user modified policy via module param */ if (mobile_lpm_policy !=-1 ) { policy = mobile_lpm_policy;
drivers/block/nbd.c +19 -15
@@ -588,7 +588,10 @@ static inline int was_interrupted(int result)return result == -ERESTARTSYS || result == -EINTR ; } -/* always call with the tx_lock held */ +/* +* Returns BLK_STS_RESOURCE if the caller should retry after a delay. Returns +* -EAGAIN if the caller should requeue @cmd. Returns -EIO if sending failed. +*/ static int nbd_send_cmd (struct nbd_device *nbd,struct nbd_cmd *cmd,int index) {struct request *req =blk_mq_rq_from_pdu (cmd);
@@ -605,6 +608,9 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)u32 nbd_cmd_flags =0 ;int sent = nsock->sent, skip =0 ; +lockdep_assert_held (&cmd->lock); +lockdep_assert_held (&nsock->tx_lock); +iov_iter_kvec (&from,ITER_SOURCE , &iov,1 ,sizeof (request)); type =req_to_nbd_cmd_type (req);
@@ -669,7 +675,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index) nsock->sent = sent; }set_bit (NBD_CMD_REQUEUED , &cmd->flags); -return BLK_STS_RESOURCE ; +return (__force int )BLK_STS_RESOURCE ; }dev_err_ratelimited (disk_to_dev (nbd->disk),"Send control failed (result %d)\n" , result);
@@ -710,7 +716,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index) nsock->pending = req; nsock->sent = sent;set_bit (NBD_CMD_REQUEUED , &cmd->flags); -return BLK_STS_RESOURCE ; +return (__force int )BLK_STS_RESOURCE ; } dev_err(disk_to_dev(nbd->disk), "Send data failed (result %d)\n",
@@ -1007,7 +1013,7 @@ static int wait_for_reconnect(struct nbd_device *nbd)return !test_bit (NBD_RT_DISCONNECTED , &config->runtime_flags); } -static int nbd_handle_cmd (struct nbd_cmd *cmd,int index) +static blk_status_t nbd_handle_cmd (struct nbd_cmd *cmd,int index) {struct request *req =blk_mq_rq_from_pdu (cmd);struct nbd_device *nbd = cmd->nbd;
@@ -1015,18 +1021,20 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)struct nbd_sock *nsock;int ret; +lockdep_assert_held (&cmd->lock); + config =nbd_get_config_unlocked (nbd);if (!config) {dev_err_ratelimited (disk_to_dev (nbd->disk),"Socks array is empty\n" ); -return -EINVAL ; +return BLK_STS_IOERR ; }if (index >= config->num_connections) {dev_err_ratelimited (disk_to_dev (nbd->disk),"Attempted send on invalid socket\n" );nbd_config_put (nbd); -return -EINVAL ; +return BLK_STS_IOERR ; } cmd->status =BLK_STS_OK ; again:
@@ -1049,7 +1057,7 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)*/ sock_shutdown (nbd);nbd_config_put (nbd); -return -EIO ; +return BLK_STS_IOERR ; } goto again; }
@@ -1062,7 +1070,7 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index)blk_mq_start_request (req);if (unlikely (nsock->pending && nsock->pending != req)) {nbd_requeue_cmd (cmd); - ret =0 ; + ret =BLK_STS_OK ; goto out; }/*
@@ -1081,19 +1089,19 @@ static int nbd_handle_cmd(struct nbd_cmd *cmd, int index) "Request send failed, requeueing\n");nbd_mark_nsock_dead (nbd, nsock,1 );nbd_requeue_cmd (cmd); - ret =0 ; + ret =BLK_STS_OK ; } out:mutex_unlock (&nsock->tx_lock);nbd_config_put (nbd); -return ret; +return ret <0 ?BLK_STS_IOERR : (__force blk_status_t )ret; }static blk_status_t nbd_queue_rq (struct blk_mq_hw_ctx *hctx,const struct blk_mq_queue_data *bd) {struct nbd_cmd *cmd =blk_mq_rq_to_pdu (bd->rq); -int ret; +blk_status_t ret;/* * Since we look at the bio's to send the request over the network we
@@ -1113,10 +1121,6 @@ static blk_status_t nbd_queue_rq(struct blk_mq_hw_ctx *hctx,* appropriate. */ ret =nbd_handle_cmd (cmd, hctx->queue_num); -if (ret <0 ) - ret =BLK_STS_IOERR ; -else if (!ret) - ret =BLK_STS_OK ;mutex_unlock (&cmd->lock);return ret;
drivers/bluetooth/ath3k.c +11 -14
@@ -3,7 +3,6 @@* Copyright (c) 2008-2009 Atheros Communications Inc. */ -#include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h>
@@ -128,7 +127,6 @@ MODULE_DEVICE_TABLE(usb, ath3k_table);* for AR3012 */ static const struct usb_device_id ath3k_blist_tbl[] = { -/* Atheros AR3012 with sflash firmware*/ {USB_DEVICE (0x0489 ,0xe04e ), .driver_info =BTUSB_ATH3012 }, {USB_DEVICE (0x0489 ,0xe04d ), .driver_info =BTUSB_ATH3012 },
@@ -202,7 +200,7 @@ static inline void ath3k_log_failed_loading(int err, int len, int size,#define TIMEGAP_USEC_MAX 100static int ath3k_load_firmware (struct usb_device *udev, -const struct firmware *firmware) +const struct firmware *firmware) {u8 *send_buf;int len =0 ;
@@ -237,9 +235,9 @@ static int ath3k_load_firmware(struct usb_device *udev,memcpy (send_buf, firmware->data + sent, size); err =usb_bulk_msg (udev, pipe, send_buf, size, - &len,3000 ); + &len,3000 ); -if (err || (len != size)) { +if (err || len != size) {ath3k_log_failed_loading (err, len, size, count); goto error; }
@@ -262,7 +260,7 @@ static int ath3k_get_state(struct usb_device *udev, unsigned char *state) }static int ath3k_get_version (struct usb_device *udev, -struct ath3k_version *version) +struct ath3k_version *version) { return usb_control_msg_recv(udev, 0, ATH3K_GETVERSION, USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
@@ -271,7 +269,7 @@ static int ath3k_get_version(struct usb_device *udev, }static int ath3k_load_fwfile (struct usb_device *udev, -const struct firmware *firmware) +const struct firmware *firmware) {u8 *send_buf;int len =0 ;
@@ -310,8 +308,8 @@ static int ath3k_load_fwfile(struct usb_device *udev,memcpy (send_buf, firmware->data + sent, size); err =usb_bulk_msg (udev, pipe, send_buf, size, - &len,3000 ); -if (err || (len != size)) { + &len,3000 ); +if (err || len != size) {ath3k_log_failed_loading (err, len, size, count);kfree (send_buf);return err;
@@ -425,7 +423,6 @@ static int ath3k_load_syscfg(struct usb_device *udev) }switch (fw_version.ref_clock) { -case ATH3K_XTAL_FREQ_26M : clk_value =26 ;break ;
@@ -441,7 +438,7 @@ static int ath3k_load_syscfg(struct usb_device *udev) }snprintf (filename,ATH3K_NAME_LEN ,"ar3k/ramps_0x%08x_%d%s" , -le32_to_cpu (fw_version.rom_version), clk_value,".dfu" ); +le32_to_cpu (fw_version.rom_version), clk_value,".dfu" ); ret =request_firmware (&firmware, filename, &udev->dev);if (ret <0 ) {
@@ -456,7 +453,7 @@ static int ath3k_load_syscfg(struct usb_device *udev) }static int ath3k_probe (struct usb_interface *intf, -const struct usb_device_id *id) +const struct usb_device_id *id) {const struct firmware *firmware;struct usb_device *udev =interface_to_usbdev (intf);
@@ -505,10 +502,10 @@ static int ath3k_probe(struct usb_interface *intf,if (ret <0 ) {if (ret == -ENOENT )BT_ERR ("Firmware file \"%s\" not found" , -ATH3K_FIRMWARE ); +ATH3K_FIRMWARE );else BT_ERR ("Firmware file \"%s\" request failed (err=%d)" , -ATH3K_FIRMWARE , ret); +ATH3K_FIRMWARE , ret);return ret; }
drivers/cpufreq/amd-pstate.c +7 -0
@@ -1462,6 +1462,13 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)static int amd_pstate_epp_cpu_exit (struct cpufreq_policy *policy) { +struct amd_cpudata *cpudata = policy->driver_data; + +if (cpudata) { +kfree (cpudata); + policy->driver_data =NULL ; + } +pr_debug ("CPU %d exiting\n" , policy->cpu);return 0 ; }
drivers/crypto/hisilicon/qm.c +1 -4
@@ -2893,12 +2893,9 @@ void hisi_qm_uninit(struct hisi_qm *qm)hisi_qm_set_state (qm,QM_NOT_READY );up_write (&qm->qps_lock); +qm_remove_uacce (qm);qm_irqs_unregister (qm);hisi_qm_pci_uninit (qm); -if (qm->use_sva) { -uacce_remove (qm->uacce); - qm->uacce =NULL ; - } }EXPORT_SYMBOL_GPL (hisi_qm_uninit);
drivers/crypto/hisilicon/sec2/sec_crypto.c +3 -1
@@ -481,8 +481,10 @@ static void sec_alg_resource_free(struct sec_ctx *ctx,if (ctx->pbuf_supported)sec_free_pbuf_resource (dev, qp_ctx->res); -if (ctx->alg_type ==SEC_AEAD ) +if (ctx->alg_type ==SEC_AEAD ) {sec_free_mac_resource (dev, qp_ctx->res); +sec_free_aiv_resource (dev, qp_ctx->res); + } }static int sec_alloc_qp_ctx_resource (struct sec_ctx *ctx,struct sec_qp_ctx *qp_ctx)
drivers/cxl/core/pci.c +29 -0
@@ -1045,3 +1045,32 @@ long cxl_pci_get_latency(struct pci_dev *pdev)return cxl_flit_size (pdev) *MEGA / bw; } + +static int __cxl_endpoint_decoder_reset_detected (struct device *dev,void *data) +{ +struct cxl_port *port = data; +struct cxl_decoder *cxld; +struct cxl_hdm *cxlhdm; +void __iomem *hdm; +u32 ctrl; + +if (!is_endpoint_decoder (dev)) +return 0 ; + + cxld =to_cxl_decoder (dev); +if ((cxld->flags &CXL_DECODER_F_ENABLE ) ==0 ) +return 0 ; + + cxlhdm =dev_get_drvdata (&port->dev); + hdm = cxlhdm->regs.hdm_decoder; + ctrl =readl (hdm +CXL_HDM_DECODER0_CTRL_OFFSET (cxld->id)); + +return !FIELD_GET (CXL_HDM_DECODER0_CTRL_COMMITTED , ctrl); +} + +bool cxl_endpoint_decoder_reset_detected (struct cxl_port *port) +{ +return device_for_each_child (&port->dev, port, + __cxl_endpoint_decoder_reset_detected); +} +EXPORT_SYMBOL_NS_GPL (cxl_endpoint_decoder_reset_detected,CXL );
drivers/cxl/cxl.h +2 -0
@@ -891,6 +891,8 @@ void cxl_coordinates_combine(struct access_coordinate *out,struct access_coordinate *c1, struct access_coordinate *c2); +bool cxl_endpoint_decoder_reset_detected (struct cxl_port *port); +/* * Unit test builds overrides this to __weak, find the 'strong' version * of these symbols in tools/testing/cxl/.
drivers/cxl/pci.c +22 -0
@@ -957,11 +957,33 @@ static void cxl_error_resume(struct pci_dev *pdev) dev->driver ? "successful" : "failed"); } +static void cxl_reset_done (struct pci_dev *pdev) +{ +struct cxl_dev_state *cxlds =pci_get_drvdata (pdev); +struct cxl_memdev *cxlmd = cxlds->cxlmd; +struct device *dev = &pdev->dev; + +/* +* FLR does not expect to touch the HDM decoders and related +* registers. SBR, however, will wipe all device configurations. +* Issue a warning if there was an active decoder before the reset +* that no longer exists. +*/ +guard (device)(&cxlmd->dev); +if (cxlmd->endpoint && +cxl_endpoint_decoder_reset_detected (cxlmd->endpoint)) { +dev_crit (dev,"SBR happened without memory regions removal.\n" ); +dev_crit (dev,"System may be unstable if regions hosted system memory.\n" ); +add_taint (TAINT_USER ,LOCKDEP_STILL_OK ); + } +} +static const struct pci_error_handlers cxl_error_handlers = { .error_detected = cxl_error_detected, .slot_reset = cxl_slot_reset, .resume = cxl_error_resume, .cor_error_detected = cxl_cor_error_detected, + .reset_done = cxl_reset_done, };static struct pci_driver cxl_pci_driver = {
drivers/dma/Kconfig +1 -1
@@ -394,7 +394,7 @@ config LS2X_APB_DMA config MCF_EDMA tristate "Freescale eDMA engine support, ColdFire mcf5441x SoCs" - depends on M5441x || COMPILE_TEST + depends on M5441x || (COMPILE_TEST && FSL_EDMA=n) select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c +2 -4
@@ -302,6 +302,7 @@ static struct axi_dma_desc *axi_desc_alloc(u32 num)kfree (desc);return NULL ; } + desc->nr_hw_descs = num;return desc; }
@@ -328,7 +329,7 @@ static struct axi_dma_lli *axi_desc_get(struct axi_dma_chan *chan,static void axi_desc_put (struct axi_dma_desc *desc) {struct axi_dma_chan *chan = desc->chan; -int count =atomic_read (&chan->descs_allocated); +int count = desc->nr_hw_descs;struct axi_dma_hw_desc *hw_desc;int descs_put;
@@ -1139,9 +1140,6 @@ static void axi_chan_block_xfer_complete(struct axi_dma_chan *chan)/* Remove the completed descriptor from issued list before completing */ list_del (&vd->node);vchan_cookie_complete (vd); - -/* Submit queued descriptors after processing the completed ones */ -axi_chan_start_first_queued (chan); } out:
drivers/dma/dw-axi-dmac/dw-axi-dmac.h +1 -0
@@ -104,6 +104,7 @@ struct axi_dma_desc {u32 completed_blocks;u32 length;u32 period_len; +u32 nr_hw_descs; };struct axi_dma_chan_config {
drivers/dma/idxd/irq.c +3 -1
@@ -611,11 +611,13 @@ static void irq_process_work_list(struct idxd_irq_entry *irq_entry)spin_unlock (&irq_entry->list_lock); -list_for_each_entry (desc, &flist, list) { +list_for_each_entry_safe (desc, n, &flist, list) {/* * Check against the original status as ABORT is software defined * and 0xff, which DSA_COMP_STATUS_MASK can mask out. */ +list_del (&desc->list); +if (unlikely (desc->completion->status ==IDXD_COMP_DESC_ABORT )) {idxd_desc_complete (desc,IDXD_COMPLETE_ABORT , true);continue ;
drivers/dma/ioat/init.c +30 -25
112 lines not on this page · raw message
drivers/dma/ti/k3-udma-glue.c +1 -4
@@ -200,12 +200,9 @@ of_k3_udma_glue_parse_chn_by_id(struct device_node *udmax_np, struct k3_udma_glu ret =of_k3_udma_glue_parse (udmax_np, common);if (ret) - goto out_put_spec; +return ret; ret =of_k3_udma_glue_parse_chn_common (common, thread_id, tx_chn); - -out_put_spec: -of_node_put (udmax_np);return ret; }
drivers/dma/xilinx/xdma.c +2 -2
@@ -885,11 +885,11 @@ static irqreturn_t xdma_channel_isr(int irq, void *dev_id)u32 st;bool repeat_tx; +spin_lock (&xchan->vchan.lock); +if (xchan->stop_requested)complete (&xchan->last_interrupt); -spin_lock (&xchan->vchan.lock); -/* get submitted request */ vd =vchan_next_desc (&xchan->vchan);if (!vd)
drivers/firmware/efi/memmap.c +0 -9
@@ -15,10 +15,6 @@#include <asm/early_ioremap.h> #include <asm/efi.h> -#ifndef __efi_memmap_free -#define __efi_memmap_free (phys, size, flags) do { } while (0) -#endif -/** * __efi_memmap_init - Common code for mapping the EFI memory map * @data: EFI memory map data
@@ -51,11 +47,6 @@ int __init __efi_memmap_init(struct efi_memory_map_data *data)return -ENOMEM ; } -if (efi.memmap.flags & (EFI_MEMMAP_MEMBLOCK |EFI_MEMMAP_SLAB )) -__efi_memmap_free (efi.memmap.phys_map, - efi.memmap.desc_size * efi.memmap.nr_map, - efi.memmap.flags); - map.phys_map = data->phys_map; map.nr_map = data->size / data->desc_size; map.map_end = map.map + data->size;
drivers/firmware/psci/psci.c +3 -1
@@ -497,10 +497,12 @@ int psci_cpu_suspend_enter(u32 state)static int psci_system_suspend (unsigned long unused) { +int err;phys_addr_t pa_cpu_resume =__pa_symbol (cpu_resume); - return invoke_psci_fn(PSCI_FN_NATIVE(1_0, SYSTEM_SUSPEND), + err = invoke_psci_fn(PSCI_FN_NATIVE(1_0, SYSTEM_SUSPEND), pa_cpu_resume,0 ,0 ); +return psci_to_linux_errno (err); }static int psci_system_suspend_enter (suspend_state_t state)
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c +34 -32
89 lines not on this page · raw message
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -3
@@ -9149,9 +9149,6 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)trace_amdgpu_dm_atomic_commit_tail_begin (state); -if (dm->dc->caps.ips_support && dm->dc->idle_optimizations_allowed) -dc_allow_idle_optimizations (dm->dc, false); -drm_atomic_helper_update_legacy_modeset_state (dev, state);drm_dp_mst_atomic_wait_for_dependencies (state);
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c +17 -6
@@ -1340,16 +1340,27 @@ void dc_dmub_srv_apply_idle_power_optimizations(const struct dc *dc, bool allow_* Powering up the hardware requires notifying PMFW and DMCUB. * Clearing the driver idle allow requires a DMCUB command. * DMCUB commands requires the DMCUB to be powered up and restored. -* -* Exit out early to prevent an infinite loop of DMCUB commands -* triggering exit low power - use software state to track this. */ - dc_dmub_srv->idle_allowed = allow_idle; -if (!allow_idle) +if (!allow_idle) {dc_dmub_srv_exit_low_power_state (dc); -else +/* +* Idle is considered fully exited only after the sequence above +* fully completes. If we have a race of two threads exiting +* at the same time then it's safe to perform the sequence +* twice as long as we're not re-entering. +* +* Infinite command submission is avoided by using the +* dm_execute_dmub_cmd submission instead of the "wake" helpers. +*/ + dc_dmub_srv->idle_allowed = false; + }else { +/* Consider idle as notified prior to the actual submission to +* prevent multiple entries. */ + dc_dmub_srv->idle_allowed = true; +dc_dmub_srv_notify_idle (dc, allow_idle); + } } bool dc_wake_and_execute_dmub_cmd(const struct dc_context *ctx, union dmub_rb_cmd *cmd,
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c +72 -0
75 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.h +2 -0
@@ -93,4 +93,6 @@ void dcn35_set_drr(struct pipe_ctx **pipe_ctx,void dcn35_set_static_screen_control (struct pipe_ctx **pipe_ctx,int num_pipes,const struct dc_static_screen_params *params); +bool dcn35_is_dp_dig_pixel_rate_div_policy (struct pipe_ctx *pipe_ctx); +#endif /* __DC_HWSS_DCN35_H__ */
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c +1 -1
@@ -158,7 +158,7 @@ static const struct hwseq_private_funcs dcn35_private_funcs = { .setup_hpo_hw_control = dcn35_setup_hpo_hw_control, .calculate_dccg_k1_k2_values = dcn32_calculate_dccg_k1_k2_values, .set_pixels_per_cycle = dcn32_set_pixels_per_cycle, - .is_dp_dig_pixel_rate_div_policy = dcn32_is_dp_dig_pixel_rate_div_policy, + .is_dp_dig_pixel_rate_div_policy = dcn35_is_dp_dig_pixel_rate_div_policy, .dsc_pg_control = dcn35_dsc_pg_control, .dsc_pg_status = dcn32_dsc_pg_status, .enable_plane = dcn35_enable_plane,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c +2 -0
@@ -164,6 +164,8 @@ static void sumo_construct_vid_mapping_table(struct amdgpu_device *adev,for (i =0 ; i <SUMO_MAX_HARDWARE_POWERLEVELS ; i++) {if (table[i].ulSupportedSCLK !=0 ) { +if (table[i].usVoltageIndex >=SUMO_MAX_NUMBER_VOLTAGES ) +continue ; vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = table[i].usVoltageID; vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/gpu/drm/i915/display/intel_dp.c +4 -0
@@ -431,6 +431,10 @@ bool intel_dp_can_bigjoiner(struct intel_dp *intel_dp)struct intel_encoder *encoder = &intel_dig_port->base;struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev); +/* eDP MSO is not compatible with joiner */ +if (intel_dp->mso_link_count) +return false; +return DISPLAY_VER (dev_priv) >=12 || (DISPLAY_VER (dev_priv) ==11 && encoder->port !=PORT_A );
drivers/gpu/drm/lima/lima_bcast.c +12 -0
@@ -43,6 +43,18 @@ void lima_bcast_suspend(struct lima_ip *ip) } +int lima_bcast_mask_irq (struct lima_ip *ip) +{ +bcast_write (LIMA_BCAST_BROADCAST_MASK ,0 ); +bcast_write (LIMA_BCAST_INTERRUPT_MASK ,0 ); +return 0 ; +} + +int lima_bcast_reset (struct lima_ip *ip) +{ +return lima_bcast_hw_init (ip); +} +int lima_bcast_init (struct lima_ip *ip) {int i;
drivers/gpu/drm/lima/lima_bcast.h +3 -0
@@ -13,4 +13,7 @@ void lima_bcast_fini(struct lima_ip *ip);void lima_bcast_enable (struct lima_device *dev,int num_pp); +int lima_bcast_mask_irq (struct lima_ip *ip); +int lima_bcast_reset (struct lima_ip *ip); +#endif
drivers/gpu/drm/lima/lima_gp.c +8 -0
@@ -233,6 +233,13 @@ static void lima_gp_task_mmu_error(struct lima_sched_pipe *pipe)lima_sched_pipe_task_done (pipe); } +static void lima_gp_task_mask_irq (struct lima_sched_pipe *pipe) +{ +struct lima_ip *ip = pipe->processor[0 ]; + +gp_write (LIMA_GP_INT_MASK ,0 ); +} +static int lima_gp_task_recover (struct lima_sched_pipe *pipe) {struct lima_ip *ip = pipe->processor[0 ];
@@ -365,6 +372,7 @@ int lima_gp_pipe_init(struct lima_device *dev) pipe->task_error = lima_gp_task_error; pipe->task_mmu_error = lima_gp_task_mmu_error; pipe->task_recover = lima_gp_task_recover; + pipe->task_mask_irq = lima_gp_task_mask_irq;return 0 ; }
drivers/gpu/drm/lima/lima_pp.c +18 -0
@@ -429,6 +429,9 @@ static void lima_pp_task_error(struct lima_sched_pipe *pipe)lima_pp_hard_reset (ip); } + +if (pipe->bcast_processor) +lima_bcast_reset (pipe->bcast_processor); }static void lima_pp_task_mmu_error (struct lima_sched_pipe *pipe)
@@ -437,6 +440,20 @@ static void lima_pp_task_mmu_error(struct lima_sched_pipe *pipe)lima_sched_pipe_task_done (pipe); } +static void lima_pp_task_mask_irq (struct lima_sched_pipe *pipe) +{ +int i; + +for (i =0 ; i < pipe->num_processor; i++) { +struct lima_ip *ip = pipe->processor[i]; + +pp_write (LIMA_PP_INT_MASK ,0 ); + } + +if (pipe->bcast_processor) +lima_bcast_mask_irq (pipe->bcast_processor); +} +static struct kmem_cache *lima_pp_task_slab;static int lima_pp_task_slab_refcnt;
@@ -468,6 +485,7 @@ int lima_pp_pipe_init(struct lima_device *dev) pipe->task_fini = lima_pp_task_fini; pipe->task_error = lima_pp_task_error; pipe->task_mmu_error = lima_pp_task_mmu_error; + pipe->task_mask_irq = lima_pp_task_mask_irq;return 0 ; }
drivers/gpu/drm/lima/lima_sched.c +9 -0
@@ -422,12 +422,21 @@ static enum drm_gpu_sched_stat lima_sched_timedout_job(struct drm_sched_job *job*/ for (i =0 ; i < pipe->num_processor; i++)synchronize_irq (pipe->processor[i]->irq); +if (pipe->bcast_processor) +synchronize_irq (pipe->bcast_processor->irq);if (dma_fence_is_signaled (task->fence)) {DRM_WARN ("%s unexpectedly high interrupt latency\n" ,lima_ip_name (ip));return DRM_GPU_SCHED_STAT_NOMINAL ; } +/* +* The task might still finish while this timeout handler runs. +* To prevent a race condition on its completion, mask all irqs +* on the running core until the next hard reset completes. +*/ + pipe->task_mask_irq (pipe); +if (!pipe->error)DRM_ERROR ("%s job timeout\n" ,lima_ip_name (ip));
drivers/gpu/drm/lima/lima_sched.h +1 -0
@@ -80,6 +80,7 @@ struct lima_sched_pipe {void (*task_error)(struct lima_sched_pipe *pipe);void (*task_mmu_error)(struct lima_sched_pipe *pipe);int (*task_recover)(struct lima_sched_pipe *pipe); +void (*task_mask_irq)(struct lima_sched_pipe *pipe);struct work_struct recover_work; };
drivers/gpu/drm/radeon/sumo_dpm.c +2 -0
@@ -1619,6 +1619,8 @@ void sumo_construct_vid_mapping_table(struct radeon_device *rdev,for (i =0 ; i <SUMO_MAX_HARDWARE_POWERLEVELS ; i++) {if (table[i].ulSupportedSCLK !=0 ) { +if (table[i].usVoltageIndex >=SUMO_MAX_NUMBER_VOLTAGES ) +continue ; vid_mapping_table->entries[table[i].usVoltageIndex].vid_7bit = table[i].usVoltageID; vid_mapping_table->entries[table[i].usVoltageIndex].vid_2bit =
drivers/gpu/drm/xe/xe_guc.c +2 -2
@@ -643,8 +643,6 @@ int xe_guc_enable_communication(struct xe_guc *guc)struct xe_device *xe =guc_to_xe (guc);int err; -guc_enable_irq (guc); -if (IS_SRIOV_VF (xe) &&xe_device_has_memirq (xe)) {struct xe_gt *gt =guc_to_gt (guc);struct xe_tile *tile =gt_to_tile (gt);
@@ -652,6 +650,8 @@ int xe_guc_enable_communication(struct xe_guc *guc) err =xe_memirq_init_guc (&tile->sriov.vf.memirq, guc);if (err)return err; + }else { +guc_enable_irq (guc); } xe_mmio_rmw32(guc_to_gt(guc), PMINTRMSK,
drivers/hid/hid-asus.c +24 -27
71 lines not on this page · raw message
drivers/hid/hid-ids.h +1 -0
@@ -823,6 +823,7 @@#define USB_DEVICE_ID_LOGITECH_AUDIOHUB 0x0a0e#define USB_DEVICE_ID_LOGITECH_T651 0xb00c#define USB_DEVICE_ID_LOGITECH_DINOVO_EDGE_KBD 0xb309 +#define USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD 0xbb00#define USB_DEVICE_ID_LOGITECH_C007 0xc007#define USB_DEVICE_ID_LOGITECH_C077 0xc077#define USB_DEVICE_ID_LOGITECH_RECEIVER 0xc101
drivers/hid/hid-multitouch.c +6 -0
@@ -2081,6 +2081,12 @@ static const struct hid_device_id mt_devices[] = { USB_VENDOR_ID_LENOVO, USB_DEVICE_ID_LENOVO_X12_TAB) }, +/* Logitech devices */ + { .driver_data = MT_CLS_NSMU, +HID_DEVICE (BUS_BLUETOOTH ,HID_GROUP_MULTITOUCH_WIN_8 , +USB_VENDOR_ID_LOGITECH , + USB_DEVICE_ID_LOGITECH_CASA_TOUCHPAD) }, + /* MosArt panels */ { .driver_data = MT_CLS_CONFIDENCE_MINUS_ONE, MT_USB_DEVICE(USB_VENDOR_ID_ASUS,
drivers/i2c/busses/i2c-imx-lpi2c.c +16 -3
@@ -99,6 +99,7 @@ struct lpi2c_imx_struct {__u8 *rx_buf;__u8 *tx_buf;struct completion complete; +unsigned long rate_per;unsigned int msglen;unsigned int delivered;unsigned int block_data;
@@ -212,9 +213,7 @@ static int lpi2c_imx_config(struct lpi2c_imx_struct *lpi2c_imx)lpi2c_imx_set_mode (lpi2c_imx); - clk_rate =clk_get_rate (lpi2c_imx->clks[0 ].clk); -if (!clk_rate) -return -EINVAL ; + clk_rate = lpi2c_imx->rate_per;if (lpi2c_imx->mode ==HS || lpi2c_imx->mode ==ULTRA_FAST ) filt =0 ;
@@ -611,6 +610,20 @@ static int lpi2c_imx_probe(struct platform_device *pdev)if (ret)return ret; +/* +* Lock the parent clock rate to avoid getting parent clock upon +* each transfer +*/ + ret =devm_clk_rate_exclusive_get (&pdev->dev, lpi2c_imx->clks[0 ].clk); +if (ret) +return dev_err_probe (&pdev->dev, ret, +"can't lock I2C peripheral clock rate\n" ); + + lpi2c_imx->rate_per =clk_get_rate (lpi2c_imx->clks[0 ].clk); +if (!lpi2c_imx->rate_per) +return dev_err_probe (&pdev->dev, -EINVAL , +"can't get I2C peripheral clock rate\n" ); +pm_runtime_set_autosuspend_delay (&pdev->dev,I2C_PM_TIMEOUT );pm_runtime_use_autosuspend (&pdev->dev);pm_runtime_get_noresume (&pdev->dev);
drivers/i2c/busses/i2c-ocores.c +1 -1
@@ -442,8 +442,8 @@ static int ocores_init(struct device *dev, struct ocores_i2c *i2c)oc_setreg (i2c,OCI2C_PREHIGH , prescale >>8 );/* Init the device */ -oc_setreg (i2c,OCI2C_CMD ,OCI2C_CMD_IACK );oc_setreg (i2c,OCI2C_CONTROL , ctrl |OCI2C_CTRL_EN ); +oc_setreg (i2c,OCI2C_CMD ,OCI2C_CMD_IACK );return 0 ; }
drivers/infiniband/hw/bnxt_re/bnxt_re.h +1 -3
@@ -107,8 +107,6 @@ struct bnxt_re_gsi_context {struct bnxt_re_sqp_entries *sqp_tbl; }; -#define BNXT_RE_MIN_MSIX 2 -#define BNXT_RE_MAX_MSIX 9#define BNXT_RE_AEQ_IDX 0#define BNXT_RE_NQ_IDX 1#define BNXT_RE_GEN_P5_MAX_VF 64
@@ -168,7 +166,7 @@ struct bnxt_re_dev {struct bnxt_qplib_rcfw rcfw;/* NQ */ -struct bnxt_qplib_nq nq[BNXT_RE_MAX_MSIX ]; +struct bnxt_qplib_nq nq[BNXT_MAX_ROCE_MSIX ];/* Device Resources */ struct bnxt_qplib_dev_attr dev_attr;
drivers/infiniband/hw/mana/mr.c +1 -0
@@ -112,6 +112,7 @@ struct ib_mr *mana_ib_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 length,"start 0x%llx, iova 0x%llx length 0x%llx access_flags 0x%x" , start, iova, length, access_flags); + access_flags &= ~IB_ACCESS_OPTIONAL ;if (access_flags & ~VALID_MR_FLAGS )return ERR_PTR (-EINVAL );
drivers/infiniband/hw/mlx5/main.c +2 -2
@@ -3760,10 +3760,10 @@ static int mlx5_ib_stage_init_init(struct mlx5_ib_dev *dev)spin_lock_init (&dev->dm.lock); dev->dm.dev = mdev;return 0 ; -err: -mlx5r_macsec_dealloc_gids (dev); err_mp:mlx5_ib_cleanup_multiport_master (dev); +err: +mlx5r_macsec_dealloc_gids (dev);return err; }
drivers/infiniband/hw/mlx5/mr.c +4 -4
@@ -246,6 +246,7 @@ static void set_cache_mkc(struct mlx5_cache_ent *ent, void *mkc)MLX5_SET (mkc, mkc, access_mode_1_0, ent->rb_key.access_mode &0x3 );MLX5_SET (mkc, mkc, access_mode_4_2, (ent->rb_key.access_mode >>2 ) &0x7 ); +MLX5_SET (mkc, mkc, ma_translation_mode, !!ent->rb_key.ats); MLX5_SET(mkc, mkc, translations_octword_size, get_mkc_octo_size(ent->rb_key.access_mode,
@@ -641,10 +642,8 @@ static int mlx5_cache_ent_insert(struct mlx5_mkey_cache *cache, new = &((*new)->rb_left);if (cmp <0 ) new = &((*new)->rb_right); -if (cmp ==0 ) { -mutex_unlock (&cache->rb_lock); +if (cmp ==0 )return -EEXIST ; - } }/* Add new node and rebalance tree. */
@@ -719,6 +718,8 @@ static struct mlx5_ib_mr *_mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, } mr->mmkey.cache_ent = ent; mr->mmkey.type =MLX5_MKEY_MR ; + mr->mmkey.rb_key = ent->rb_key; + mr->mmkey.cacheable = true;init_waitqueue_head (&mr->mmkey.wait);return mr; }
@@ -1169,7 +1170,6 @@ static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, mr->ibmr.pd = pd; mr->umem = umem; mr->page_shift =order_base_2 (page_size); - mr->mmkey.cacheable = true;set_mr_fields (dev, mr, umem->length, access_flags, iova);return mr;
drivers/infiniband/hw/mlx5/srq.c +8 -5
@@ -199,17 +199,20 @@ int mlx5_ib_create_srq(struct ib_srq *ib_srq,int err;struct mlx5_srq_attr in = {};__u32 max_srq_wqes =1 <<MLX5_CAP_GEN (dev->mdev, log_max_srq_sz); +__u32 max_sge_sz =MLX5_CAP_GEN (dev->mdev, max_wqe_sz_rq) / +sizeof (struct mlx5_wqe_data_seg );if (init_attr->srq_type !=IB_SRQT_BASIC && init_attr->srq_type !=IB_SRQT_XRC && init_attr->srq_type !=IB_SRQT_TM )return -EOPNOTSUPP ; -/* Sanity check SRQ size before proceeding */ -if (init_attr->attr.max_wr >= max_srq_wqes) { -mlx5_ib_dbg (dev,"max_wr %d, cap %d\n" , - init_attr->attr.max_wr, - max_srq_wqes); +/* Sanity check SRQ and sge size before proceeding */ +if (init_attr->attr.max_wr >= max_srq_wqes || + init_attr->attr.max_sge > max_sge_sz) { +mlx5_ib_dbg (dev,"max_wr %d,wr_cap %d,max_sge %d, sge_cap:%d\n" , + init_attr->attr.max_wr, max_srq_wqes, + init_attr->attr.max_sge, max_sge_sz);return -EINVAL ; }
drivers/infiniband/sw/rxe/rxe_resp.c +13 -0
@@ -354,6 +354,19 @@ static enum resp_states rxe_resp_check_length(struct rxe_qp *qp,* receive buffer later. For rmda operations additional * length checks are performed in check_rkey. */ +if ((qp_type (qp) ==IB_QPT_GSI ) || (qp_type (qp) ==IB_QPT_UD )) { +unsigned int payload =payload_size (pkt); +unsigned int recv_buffer_len =0 ; +int i; + +for (i =0 ; i < qp->resp.wqe->dma.num_sge; i++) + recv_buffer_len += qp->resp.wqe->dma.sge[i].length; +if (payload +40 > recv_buffer_len) { +rxe_dbg_qp (qp,"The receive buffer is too small for this UD packet.\n" ); +return RESPST_ERR_LENGTH ; + } + } +if (pkt->mask &RXE_PAYLOAD_MASK && ((qp_type (qp) ==IB_QPT_RC ) || (qp_type (qp) ==IB_QPT_UC ))) {unsigned int mtu = qp->mtu;
drivers/infiniband/sw/rxe/rxe_verbs.c +1 -1
@@ -812,7 +812,7 @@ static void copy_inline_data_to_wqe(struct rxe_send_wqe *wqe,int i;for (i =0 ; i < ibwr->num_sge; i++, sge++) { -memcpy (p,ib_virt_dma_to_page (sge->addr), sge->length); +memcpy (p,ib_virt_dma_to_ptr (sge->addr), sge->length); p += sge->length; } }
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +1 -1
@@ -3402,7 +3402,7 @@ static void arm_smmu_setup_msis(struct arm_smmu_device *smmu) smmu->priq.q.irq =msi_get_virq (dev,PRIQ_MSI_INDEX );/* Add callback to free MSIs on teardown */ -devm_add_action (dev, arm_smmu_free_msis, dev); +devm_add_action_or_reset (dev, arm_smmu_free_msis, dev); }static void arm_smmu_setup_unique_irqs (struct arm_smmu_device *smmu)
drivers/media/pci/intel/ipu-bridge.c +47 -19
184 lines not on this page · raw message
drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c +2 -0
@@ -79,6 +79,8 @@ struct mtk_vcodec_fw *mtk_vcodec_fw_scp_init(void *priv, enum mtk_vcodec_fw_use } fw =devm_kzalloc (&plat_dev->dev,sizeof (*fw),GFP_KERNEL ); +if (!fw) +return ERR_PTR (-ENOMEM ); fw->type =SCP ; fw->ops = &mtk_vcodec_rproc_msg; fw->scp = scp;
drivers/net/dsa/realtek/rtl8366rb.c +20 -67
128 lines not on this page · raw message
drivers/net/dsa/realtek/rtl83xx.c +2 -5
@@ -290,16 +290,13 @@ EXPORT_SYMBOL_NS_GPL(rtl83xx_shutdown, REALTEK_DSA);* rtl83xx_remove() - Cleanup a realtek switch driver * @priv: realtek_priv pointer * -* If a method is provided, this function asserts the hard reset of the switch -* in order to avoid leaking traffic when the driver is gone. +* Placehold for common cleanup procedures. * -* Context: Might sleep if priv->gdev->chip->can_sleep. +* Context: Any * Return: nothing */ void rtl83xx_remove (struct realtek_priv *priv) { -/* leave the device reset asserted */ -rtl83xx_reset_assert (priv); }EXPORT_SYMBOL_NS_GPL (rtl83xx_remove,REALTEK_DSA );
drivers/net/ethernet/amazon/ena/ena_eth_com.c +27 -10
@@ -229,30 +229,43 @@ static struct ena_eth_io_rx_cdesc_base * idx * io_cq->cdesc_entry_size_in_bytes); } -static u16 ena_com_cdesc_rx_pkt_get (struct ena_com_io_cq *io_cq, -u16 *first_cdesc_idx) +static int ena_com_cdesc_rx_pkt_get (struct ena_com_io_cq *io_cq, +u16 *first_cdesc_idx, +u16 *num_descs) { +u16 count = io_cq->cur_rx_pkt_cdesc_count, head_masked;struct ena_eth_io_rx_cdesc_base *cdesc; -u16 count =0 , head_masked;u32 last =0 ;do { +u32 status; + cdesc =ena_com_get_next_rx_cdesc (io_cq);if (!cdesc)break ; + status =READ_ONCE (cdesc->status);ena_com_cq_inc_head (io_cq); +if (unlikely ((status &ENA_ETH_IO_RX_CDESC_BASE_FIRST_MASK ) >> +ENA_ETH_IO_RX_CDESC_BASE_FIRST_SHIFT && count !=0 )) { +struct ena_com_dev *dev =ena_com_io_cq_to_ena_dev (io_cq); + +netdev_err (dev->net_device, +"First bit is on in descriptor #%d on q_id: %d, req_id: %u\n" , + count, io_cq->qid, cdesc->req_id); +return -EFAULT ; + } count++; - last = (READ_ONCE (cdesc->status) &ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK ) >> -ENA_ETH_IO_RX_CDESC_BASE_LAST_SHIFT ; + last = (status &ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK ) >> +ENA_ETH_IO_RX_CDESC_BASE_LAST_SHIFT ; }while (!last);if (last) { *first_cdesc_idx = io_cq->cur_rx_pkt_cdesc_start_idx; - count += io_cq->cur_rx_pkt_cdesc_count; head_masked = io_cq->head & (io_cq->q_depth -1 ); + *num_descs = count; io_cq->cur_rx_pkt_cdesc_count =0 ; io_cq->cur_rx_pkt_cdesc_start_idx = head_masked;
@@ -260,11 +273,11 @@ static u16 ena_com_cdesc_rx_pkt_get(struct ena_com_io_cq *io_cq,"ENA q_id: %d packets were completed. first desc idx %u descs# %d\n" , io_cq->qid, *first_cdesc_idx, count); }else { - io_cq->cur_rx_pkt_cdesc_count += count; - count =0 ; + io_cq->cur_rx_pkt_cdesc_count = count; + *num_descs =0 ; } -return count; +return 0 ; } static int ena_com_create_meta(struct ena_com_io_sq *io_sq,
@@ -539,10 +552,14 @@ int ena_com_rx_pkt(struct ena_com_io_cq *io_cq,u16 cdesc_idx =0 ;u16 nb_hw_desc;u16 i =0 ; +int rc;WARN (io_cq->direction !=ENA_COM_IO_QUEUE_DIRECTION_RX ,"wrong Q type" ); - nb_hw_desc =ena_com_cdesc_rx_pkt_get (io_cq, &cdesc_idx); + rc =ena_com_cdesc_rx_pkt_get (io_cq, &cdesc_idx, &nb_hw_desc); +if (unlikely (rc !=0 )) +return -EFAULT ; +if (nb_hw_desc ==0 ) { ena_rx_ctx->descs = nb_hw_desc;return 0 ;
drivers/net/ethernet/amazon/ena/ena_netdev.c +2 -0
@@ -1347,6 +1347,8 @@ static int ena_clean_rx_irq(struct ena_ring *rx_ring, struct napi_struct *napi,if (rc == -ENOSPC ) {ena_increase_stat (&rx_ring->rx_stats.bad_desc_num,1 , &rx_ring->syncp);ena_reset_device (adapter,ENA_REGS_RESET_TOO_MANY_RX_DESCS ); + }else if (rc == -EFAULT ) { +ena_reset_device (adapter,ENA_REGS_RESET_RX_DESCRIPTOR_MALFORMED ); }else {ena_increase_stat (&rx_ring->rx_stats.bad_req_id,1 , &rx_ring->syncp);
drivers/net/ethernet/amazon/ena/ena_regs_defs.h +1 -0
@@ -22,6 +22,7 @@ enum ena_regs_reset_reason_types {ENA_REGS_RESET_GENERIC =13 ,ENA_REGS_RESET_MISS_INTERRUPT =14 ,ENA_REGS_RESET_SUSPECTED_POLL_STARVATION =15 , + ENA_REGS_RESET_RX_DESCRIPTOR_MALFORMED = 16, };/* ena_registers offsets */
drivers/net/ethernet/broadcom/bnxt/bnxt.c +2 -3
@@ -730,9 +730,6 @@ static netdev_tx_t bnxt_start_xmit(struct sk_buff *skb, struct net_device *dev)return NETDEV_TX_OK ; tx_dma_error: -if (BNXT_TX_PTP_IS_SET (lflags)) -atomic_inc (&bp->ptp_cfg->tx_avail); - last_frag = i;/* start back at beginning and unmap skb */
@@ -754,6 +751,8 @@ static netdev_tx_t bnxt_start_xmit(struct sk_buff *skb, struct net_device *dev) tx_free:dev_kfree_skb_any (skb); tx_kick_pending: +if (BNXT_TX_PTP_IS_SET (lflags)) +atomic_inc (&bp->ptp_cfg->tx_avail);if (txr->kick_pending)bnxt_txr_db_kick (bp, txr, txr->tx_prod); txr->tx_buf_ring[txr->tx_prod].skb =NULL ;
drivers/net/ethernet/intel/ice/ice_ddp.c +21 -2
@@ -1329,6 +1329,7 @@ ice_dwnld_cfg_bufs_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 start,for (i =0 ; i < count; i++) {bool last = false; +int try_cnt =0 ;int status; bh = (struct ice_buf_hdr *)(bufs + start + i);
@@ -1336,8 +1337,26 @@ ice_dwnld_cfg_bufs_no_lock(struct ice_hw *hw, struct ice_buf *bufs, u32 start,if (indicate_last) last =ice_is_last_download_buffer (bh, i, count); - status =ice_aq_download_pkg (hw, bh,ICE_PKG_BUF_SIZE , last, - &offset, &info,NULL ); +while (1 ) { + status =ice_aq_download_pkg (hw, bh,ICE_PKG_BUF_SIZE , + last, &offset, &info, +NULL ); +if (hw->adminq.sq_last_status !=ICE_AQ_RC_ENOSEC && + hw->adminq.sq_last_status !=ICE_AQ_RC_EBADSIG ) +break ; + + try_cnt++; + +if (try_cnt ==5 ) +break ; + +msleep (20 ); + } + +if (try_cnt) +dev_dbg (ice_hw_to_dev (hw), +"ice_aq_download_pkg number of retries: %d\n" , + try_cnt);/* Save AQ status from download package */ if (status) {
drivers/net/ethernet/intel/ice/ice_main.c +9 -1
@@ -803,6 +803,9 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup) }switch (vsi->port_info->phy.link_info.link_speed) { +case ICE_AQ_LINK_SPEED_200GB : + speed ="200 G" ; +break ;case ICE_AQ_LINK_SPEED_100GB : speed ="100 G" ;break ;
@@ -5451,7 +5454,7 @@ static int __maybe_unused ice_suspend(struct device *dev)*/ disabled =ice_service_task_stop (pf); -ice_unplug_aux_dev (pf); +ice_deinit_rdma (pf);/* Already suspended?, then there is nothing to do */ if (test_and_set_bit (ICE_SUSPENDED , pf->state)) {
@@ -5531,6 +5534,11 @@ static int __maybe_unused ice_resume(struct device *dev)if (ret)dev_err (dev,"Cannot restore interrupt scheme: %d\n" , ret); + ret =ice_init_rdma (pf); +if (ret) +dev_err (dev,"Reinitialize RDMA during resume failed: %d\n" , + ret); +clear_bit (ICE_DOWN , pf->state);/* Now perform PF reset and rebuild */ reset_type =ICE_RESET_PFR ;
drivers/net/ethernet/intel/ice/ice_switch.c +4 -2
@@ -1825,7 +1825,8 @@ ice_aq_alloc_free_vsi_list(struct ice_hw *hw, u16 *vsi_list_id, lkup_type ==ICE_SW_LKUP_ETHERTYPE_MAC || lkup_type ==ICE_SW_LKUP_PROMISC || lkup_type ==ICE_SW_LKUP_PROMISC_VLAN || - lkup_type == ICE_SW_LKUP_DFLT) { + lkup_type ==ICE_SW_LKUP_DFLT || + lkup_type == ICE_SW_LKUP_LAST) { sw_buf->res_type = cpu_to_le16(ICE_AQC_RES_TYPE_VSI_LIST_REP); } else if (lkup_type == ICE_SW_LKUP_VLAN) {if (opc == ice_aqc_opc_alloc_res)
@@ -2759,7 +2760,8 @@ ice_update_vsi_list_rule(struct ice_hw *hw, u16 *vsi_handle_arr, u16 num_vsi, lkup_type ==ICE_SW_LKUP_ETHERTYPE_MAC || lkup_type ==ICE_SW_LKUP_PROMISC || lkup_type ==ICE_SW_LKUP_PROMISC_VLAN || - lkup_type == ICE_SW_LKUP_DFLT) + lkup_type ==ICE_SW_LKUP_DFLT || + lkup_type == ICE_SW_LKUP_LAST) rule_type = remove ? ICE_AQC_SW_RULES_T_VSI_LIST_CLEAR :ICE_AQC_SW_RULES_T_VSI_LIST_SET ; else if (lkup_type == ICE_SW_LKUP_VLAN)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +4 -1
@@ -4013,7 +4013,10 @@ static int mvpp2_rx(struct mvpp2_port *port, struct napi_struct *napi, } } - skb =build_skb (data, frag_size); +if (frag_size) + skb =build_skb (data, frag_size); +else + skb =slab_build_skb (data);if (!skb) {netdev_warn (port->dev,"skb build failed\n" ); goto err_drop_frame;
drivers/net/ethernet/marvell/octeontx2/nic/Makefile +1 -2
@@ -9,10 +9,9 @@ obj-$(CONFIG_OCTEONTX2_VF) += rvu_nicvf.o otx2_ptp.o rvu_nicpf-y := otx2_pf.o otx2_common.o otx2_txrx.o otx2_ethtool.o \ otx2_flows.o otx2_tc.o cn10k.o otx2_dmac_flt.o \ otx2_devlink.o qos_sq.o qos.o -rvu_nicvf-y := otx2_vf.o otx2_devlink.o +rvu_nicvf-y := otx2_vf.o rvu_nicpf-$(CONFIG_DCB) += otx2_dcbnl.o -rvu_nicvf-$(CONFIG_DCB) += otx2_dcbnl.o rvu_nicpf-$(CONFIG_MACSEC) += cn10k_macsec.o ccflags-y += -I$(srctree)/drivers/net/ethernet/marvell/octeontx2/af
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c +7 -0
@@ -54,6 +54,7 @@ int otx2_pfc_txschq_config(struct otx2_nic *pfvf)return 0 ; } +EXPORT_SYMBOL (otx2_pfc_txschq_config);static int otx2_pfc_txschq_alloc_one (struct otx2_nic *pfvf,u8 prio) {
@@ -122,6 +123,7 @@ int otx2_pfc_txschq_alloc(struct otx2_nic *pfvf)return 0 ; } +EXPORT_SYMBOL (otx2_pfc_txschq_alloc);static int otx2_pfc_txschq_stop_one (struct otx2_nic *pfvf,u8 prio) {
@@ -260,6 +262,7 @@ int otx2_pfc_txschq_update(struct otx2_nic *pfvf)return 0 ; } +EXPORT_SYMBOL (otx2_pfc_txschq_update);int otx2_pfc_txschq_stop (struct otx2_nic *pfvf) {
@@ -282,6 +285,7 @@ int otx2_pfc_txschq_stop(struct otx2_nic *pfvf)return 0 ; } +EXPORT_SYMBOL (otx2_pfc_txschq_stop);int otx2_config_priority_flow_ctrl (struct otx2_nic *pfvf) {
@@ -321,6 +325,7 @@ int otx2_config_priority_flow_ctrl(struct otx2_nic *pfvf)mutex_unlock (&pfvf->mbox.lock);return err; } +EXPORT_SYMBOL (otx2_config_priority_flow_ctrl);void otx2_update_bpid_in_rqctx (struct otx2_nic *pfvf,int vlan_prio,int qidx,bool pfc_enable)
@@ -385,6 +390,7 @@ void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx,"Updating BPIDs in CQ and Aura contexts of RQ%d failed with err %d\n" , qidx, err); } +EXPORT_SYMBOL (otx2_update_bpid_in_rqctx);static int otx2_dcbnl_ieee_getpfc (struct net_device *dev,struct ieee_pfc *pfc) {
@@ -472,3 +478,4 @@ int otx2_dcbnl_set_ops(struct net_device *dev)return 0 ; } +EXPORT_SYMBOL (otx2_dcbnl_set_ops);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c +2 -0
@@ -112,6 +112,7 @@ int otx2_register_dl(struct otx2_nic *pfvf)devlink_free (dl);return err; } +EXPORT_SYMBOL (otx2_register_dl);void otx2_unregister_dl (struct otx2_nic *pfvf) {
@@ -123,3 +124,4 @@ void otx2_unregister_dl(struct otx2_nic *pfvf) ARRAY_SIZE(otx2_dl_params));devlink_free (dl); } +EXPORT_SYMBOL (otx2_unregister_dl);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c +4 -1
@@ -1171,8 +1171,11 @@ bool otx2_sq_append_skb(struct net_device *netdev, struct otx2_snd_queue *sq,if (skb_shinfo (skb)->gso_size && !is_hw_tso_supported (pfvf, skb)) {/* Insert vlan tag before giving pkt to tso */ -if (skb_vlan_tag_present (skb)) +if (skb_vlan_tag_present (skb)) { skb =__vlan_hwaccel_push_inside (skb); +if (!skb) +return true; + }otx2_sq_append_tso (pfvf, sq, skb, qidx);return true; }
drivers/net/ethernet/microchip/lan743x_ethtool.c +40 -4
31 lines not on this page · raw message
drivers/net/ethernet/microchip/lan743x_main.c +40 -8
48 lines not on this page · raw message
drivers/net/ethernet/microchip/lan743x_main.h +28 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_debug.c +2 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_spi.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/qualcomm/qca_spi.h +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +22 -18
Lines of this file are not shown. View the raw message.
drivers/net/phy/mxl-gpy.c +38 -20
58 lines not on this page · raw message
drivers/net/wireless/ath/ath12k/qmi.c +43 -18
61 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/mac.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/sdio.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/core.c +18 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/core.h +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/pci.c +19 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/pci.h +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/rtw8851be.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/rtw8852ae.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/rtw8852be.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/rtw8852ce.c +23 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/rtw8922ae.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +160 -29
189 lines not on this page · raw message
drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6-n4.h new file +32 -0
Lines of this file are not shown. View the raw message.
drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_n4.h +13 -0
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_usbpd_logger.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_usbpd_notify.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/x86-android-tablets/core.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/x86-android-tablets/dmi.c +18 -0
Lines of this file are not shown. View the raw message.
drivers/platform/x86/x86-android-tablets/lenovo.c +216 -0
216 lines not on this page · raw message
drivers/platform/x86/x86-android-tablets/x86-android-tablets.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/power/supply/cros_usbpd-charger.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/thermal/mediatek/lvts_thermal.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/tty/serial/8250/8250_exar.c +42 -0
42 lines not on this page · raw message
drivers/usb/gadget/function/f_printer.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/function/uvc_configfs.c +13 -1
Lines of this file are not shown. View the raw message.
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c +8 -2
Lines of this file are not shown. View the raw message.
drivers/vfio/pci/vfio_pci_core.c +49 -29
78 lines not on this page · raw message
fs/ext4/xattr.c +53 -60
113 lines not on this page · raw message
fs/ocfs2/journal.c +107 -85
192 lines not on this page · raw message
kernel/cgroup/cpuset.c +56 -85
141 lines not on this page · raw message
kernel/cpu.c +0 -48
48 lines not on this page · raw message
kernel/time/clocksource.c +20 -22
42 lines not on this page · raw message
lib/ubsan.h +27 -14
41 lines not on this page · raw message
net/netfilter/nf_conntrack_standalone.c +0 -15
Lines of this file are not shown. View the raw message.
net/netfilter/nf_hooks_lwtunnel.c +67 -0
67 lines not on this page · raw message
tools/arch/arm64/include/asm/sysreg.h +12 -12
Lines of this file are not shown. View the raw message.
tools/testing/selftests/arm64/tags/tags_test.c +4 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c +1 -25
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/verifier_global_subprogs.c +7 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_tc_tunnel.sh +12 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/cmsg_sender.c +15 -5
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/userspace_pm.sh +28 -18
46 lines not on this page · raw message
tools/testing/selftests/net/openvswitch/openvswitch.sh +1 -1
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
maintainerI'm announcing the release of the 6.9.7 kernel.
All users of the 6.9 kernel series must upgrade.
The updated 6.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.9.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/devicetree/bindings/dma/fsl,edma.yaml | 4 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 2 Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 Makefile | 2 arch/arm/boot/dts/nxp/imx/imx53-qsb-common.dtsi | 2 arch/arm/boot/dts/nxp/imx/imx53-qsb-hdmi.dtso | 6 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 3 arch/arm64/boot/dts/freescale/imx8mp-dhcom-som.dtsi | 2 arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi | 2 arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 2 arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 1 arch/arm64/configs/defconfig | 1 arch/arm64/include/asm/sysreg.h | 24 - arch/arm64/kvm/vgic/vgic-init.c | 2 arch/arm64/kvm/vgic/vgic-mmio-v3.c | 15 arch/arm64/kvm/vgic/vgic.h | 2 arch/csky/kernel/probes/ftrace.c | 3 arch/loongarch/Kconfig | 5 arch/loongarch/Kconfig.debug | 1 arch/loongarch/include/asm/hw_breakpoint.h | 4 arch/loongarch/kernel/ftrace_dyn.c | 3 arch/loongarch/kernel/hw_breakpoint.c | 96 ++-- arch/loongarch/kernel/ptrace.c | 47 +- arch/mips/bmips/setup.c | 3 arch/mips/include/asm/mipsmtregs.h | 2 arch/mips/pci/ops-rc32434.c | 4 arch/mips/pci/pcie-octeon.c | 6 arch/parisc/kernel/ftrace.c | 3 arch/powerpc/crypto/.gitignore | 2 arch/powerpc/include/asm/hvcall.h | 8 arch/powerpc/include/asm/io.h | 24 - arch/powerpc/kernel/kprobes-ftrace.c | 3 arch/riscv/kernel/probes/ftrace.c | 3 arch/s390/kernel/ftrace.c | 3 arch/x86/include/asm/cpu_device_id.h | 98 ++++ arch/x86/include/asm/efi.h | 1 arch/x86/kernel/cpu/match.c | 4 arch/x86/kernel/cpu/resctrl/monitor.c | 3 arch/x86/kernel/kprobes/ftrace.c | 3 arch/x86/kvm/x86.c | 9 arch/x86/platform/efi/memmap.c | 12 block/ioctl.c | 2 drivers/acpi/acpica/acevents.h | 4 drivers/acpi/acpica/evregion.c | 6 drivers/acpi/acpica/evxfregn.c | 54 ++ drivers/acpi/acpica/exregion.c | 23 - drivers/acpi/ec.c | 28 - drivers/acpi/internal.h | 5 drivers/acpi/mipi-disco-img.c | 28 - drivers/acpi/resource.c | 13 drivers/acpi/video_detect.c | 8 drivers/acpi/x86/utils.c | 20 drivers/ata/ahci.c | 8 drivers/block/nbd.c | 34 - drivers/bluetooth/ath3k.c | 25 - drivers/cpufreq/amd-pstate.c | 7 drivers/crypto/hisilicon/qm.c | 5 drivers/crypto/hisilicon/sec2/sec_crypto.c | 4 drivers/cxl/core/pci.c | 29 + drivers/cxl/cxl.h | 2 drivers/cxl/pci.c | 22 + drivers/dma/Kconfig | 2 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 6 drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 1 drivers/dma/idxd/irq.c | 4 drivers/dma/ioat/init.c | 55 +- drivers/dma/ti/k3-udma-glue.c | 5 drivers/dma/xilinx/xdma.c | 4 drivers/firmware/efi/memmap.c | 9 drivers/firmware/psci/psci.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 66 +-- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 23 - drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 72 +++ drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.h | 2 drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c | 2 drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 2 drivers/gpu/drm/i915/display/intel_dp.c | 4 drivers/gpu/drm/lima/lima_bcast.c | 12 drivers/gpu/drm/lima/lima_bcast.h | 3 drivers/gpu/drm/lima/lima_gp.c | 8 drivers/gpu/drm/lima/lima_pp.c | 18 drivers/gpu/drm/lima/lima_sched.c | 9 drivers/gpu/drm/lima/lima_sched.h | 1 drivers/gpu/drm/radeon/sumo_dpm.c | 2 drivers/gpu/drm/xe/xe_guc.c | 4 drivers/hid/hid-asus.c | 51 +- drivers/hid/hid-ids.h | 1 drivers/hid/hid-multitouch.c | 6 drivers/i2c/busses/i2c-imx-lpi2c.c | 19 drivers/i2c/busses/i2c-ocores.c | 2 drivers/infiniband/hw/bnxt_re/bnxt_re.h | 4 drivers/infiniband/hw/mana/mr.c | 1 drivers/infiniband/hw/mlx5/main.c | 4 drivers/infiniband/hw/mlx5/mr.c | 8 drivers/infiniband/hw/mlx5/srq.c | 13 drivers/infiniband/sw/rxe/rxe_resp.c | 13 drivers/infiniband/sw/rxe/rxe_verbs.c | 2 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 drivers/media/pci/intel/ipu-bridge.c | 66 ++- drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_scp.c | 2 drivers/net/dsa/realtek/rtl8366rb.c | 87 ---- drivers/net/dsa/realtek/rtl83xx.c | 7 drivers/net/ethernet/amazon/ena/ena_eth_com.c | 37 + drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 drivers/net/ethernet/amazon/ena/ena_regs_defs.h | 1 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 5 drivers/net/ethernet/intel/ice/ice_ddp.c | 23 - drivers/net/ethernet/intel/ice/ice_main.c | 10 drivers/net/ethernet/intel/ice/ice_switch.c | 6 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 5 drivers/net/ethernet/marvell/octeontx2/nic/Makefile | 3 drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c | 7 drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c | 2 drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c | 5 drivers/net/ethernet/microchip/lan743x_ethtool.c | 44 +- drivers/net/ethernet/microchip/lan743x_main.c | 48 +- drivers/net/ethernet/microchip/lan743x_main.h | 28 + drivers/net/ethernet/qualcomm/qca_debug.c | 6 drivers/net/ethernet/qualcomm/qca_spi.c | 16 drivers/net/ethernet/qualcomm/qca_spi.h | 3 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 6 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c | 40 + drivers/net/phy/dp83tg720.c | 38 + drivers/net/phy/mxl-gpy.c | 58 +- drivers/net/phy/sfp.c | 21 drivers/net/usb/ax88179_178a.c | 18 drivers/net/usb/rtl8150.c | 3 drivers/net/virtio_net.c | 32 + drivers/net/wireless/ath/ath.h | 6 drivers/net/wireless/ath/ath12k/core.c | 1 drivers/net/wireless/ath/ath12k/mac.c | 16 drivers/net/wireless/ath/ath12k/qmi.c | 61 +- drivers/net/wireless/ath/ath12k/qmi.h | 2 drivers/net/wireless/ath/ath9k/main.c | 3 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 2 drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 drivers/net/wireless/mediatek/mt76/mt7921/pci_mac.c | 2 drivers/net/wireless/mediatek/mt76/mt7921/sdio_mac.c | 2 drivers/net/wireless/mediatek/mt76/sdio.c | 3 drivers/net/wireless/realtek/rtw89/core.c | 18 drivers/net/wireless/realtek/rtw89/core.h | 10 drivers/net/wireless/realtek/rtw89/pci.c | 19 drivers/net/wireless/realtek/rtw89/pci.h | 5 drivers/net/wireless/realtek/rtw89/rtw8851be.c | 1 drivers/net/wireless/realtek/rtw89/rtw8852ae.c | 1 drivers/net/wireless/realtek/rtw89/rtw8852be.c | 1 drivers/net/wireless/realtek/rtw89/rtw8852ce.c | 23 + drivers/net/wireless/realtek/rtw89/rtw8922ae.c | 1 drivers/opp/core.c | 31 + drivers/pci/pci.c | 17 drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 189 +++++++- drivers/phy/qualcomm/phy-qcom-qmp-pcs-v6-n4.h | 32 + drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v6_n4.h | 13 drivers/phy/qualcomm/phy-qcom-qmp.h | 2 drivers/platform/chrome/cros_usbpd_logger.c | 9 drivers/platform/chrome/cros_usbpd_notify.c | 9 drivers/platform/x86/p2sb.c | 29 - drivers/platform/x86/toshiba_acpi.c | 36 + drivers/platform/x86/x86-android-tablets/core.c | 8 drivers/platform/x86/x86-android-tablets/dmi.c | 18 drivers/platform/x86/x86-android-tablets/lenovo.c | 216 ++++++++++ drivers/platform/x86/x86-android-tablets/x86-android-tablets.h | 1 drivers/pmdomain/core.c | 10 drivers/power/supply/cros_usbpd-charger.c | 11 drivers/ptp/ptp_sysfs.c | 3 drivers/regulator/bd71815-regulator.c | 2 drivers/regulator/core.c | 1 drivers/scsi/qedi/qedi_debugfs.c | 12 drivers/scsi/sd.c | 4 drivers/spi/spi-cs42l43.c | 2 drivers/spi/spi-imx.c | 14 drivers/spi/spi-stm32-qspi.c | 12 drivers/spi/spi.c | 10 drivers/ssb/main.c | 4 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c | 3 drivers/thermal/mediatek/lvts_thermal.c | 6 drivers/thermal/thermal_core.c | 6 drivers/tty/serial/8250/8250_dw.c | 27 + drivers/tty/serial/8250/8250_dwlib.h | 32 - drivers/tty/serial/8250/8250_exar.c | 42 + drivers/tty/serial/imx.c | 7 drivers/tty/tty_ldisc.c | 6 drivers/tty/vt/vt.c | 10 drivers/ufs/core/ufshcd.c | 1 drivers/usb/dwc3/dwc3-pci.c | 8 drivers/usb/gadget/function/f_hid.c | 6 drivers/usb/gadget/function/f_printer.c | 6 drivers/usb/gadget/function/rndis.c | 4 drivers/usb/gadget/function/uvc_configfs.c | 14 drivers/usb/host/xhci-pci.c | 15 drivers/usb/host/xhci-rcar.c | 6 drivers/usb/host/xhci-ring.c | 15 drivers/usb/host/xhci.h | 4 drivers/usb/misc/uss720.c | 20 drivers/usb/storage/scsiglue.c | 6 drivers/usb/storage/uas.c | 7 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 10 drivers/usb/typec/ucsi/ucsi_glink.c | 22 - drivers/vfio/pci/vfio_pci_core.c | 78 ++- fs/btrfs/bio.c | 4 fs/btrfs/block-group.c | 11 fs/ext4/mballoc.c | 4 fs/ext4/super.c | 22 - fs/ext4/sysfs.c | 24 - fs/ext4/xattr.c | 113 ++--- fs/f2fs/node.c | 12 fs/f2fs/super.c | 12 fs/fs-writeback.c | 7 fs/ocfs2/journal.c | 192 ++++---- fs/ocfs2/ocfs2.h | 27 + fs/ocfs2/super.c | 4 fs/overlayfs/export.c | 6 fs/smb/client/cifsfs.c | 2 fs/udf/udftime.c | 11 include/acpi/acpixf.h | 4 include/linux/bpf_verifier.h | 2 include/linux/cpuset.h | 3 include/linux/kcov.h | 2 include/linux/kprobes.h | 7 include/linux/lsm_hook_defs.h | 2 include/linux/mod_devicetable.h | 2 include/linux/pagemap.h | 4 include/linux/pci.h | 7 include/linux/pm_domain.h | 6 include/linux/security.h | 5 include/linux/tty_driver.h | 8 include/net/netns/netfilter.h | 3 include/net/sch_generic.h | 1 include/scsi/scsi_devinfo.h | 4 io_uring/rsrc.c | 1 io_uring/sqpoll.c | 8 kernel/auditfilter.c | 5 kernel/bpf/lpm_trie.c | 13 kernel/bpf/verifier.c | 14 kernel/cgroup/cpuset.c | 141 ++---- kernel/cpu.c | 48 -- kernel/gcov/gcc_4_7.c | 4 kernel/kcov.c | 1 kernel/kprobes.c | 6 kernel/padata.c | 8 kernel/power/process.c | 2 kernel/rcu/rcutorture.c | 16 kernel/time/clocksource.c | 42 - kernel/trace/Kconfig | 4 kernel/trace/ftrace.c | 1 kernel/trace/preemptirq_delay_test.c | 1 lib/ubsan.h | 41 + mm/huge_memory.c | 28 - mm/memcontrol.c | 3 mm/page_table_check.c | 11 mm/shmem.c | 2 net/batman-adv/originator.c | 2 net/core/drop_monitor.c | 20 net/core/filter.c | 5 net/core/net_namespace.c | 9 net/core/netdev-genl.c | 16 net/core/netpoll.c | 2 net/core/sock.c | 3 net/devlink/core.c | 6 net/ipv4/cipso_ipv4.c | 12 net/ipv4/tcp_ao.c | 6 net/ipv4/tcp_input.c | 1 net/ipv6/route.c | 4 net/ipv6/seg6_local.c | 8 net/ipv6/xfrm6_policy.c | 8 net/mac80211/driver-ops.c | 17 net/mac80211/iface.c | 22 - net/mac80211/util.c | 2 net/netfilter/core.c | 13 net/netfilter/ipset/ip_set_core.c | 11 net/netfilter/nf_conntrack_standalone.c | 15 net/netfilter/nf_hooks_lwtunnel.c | 67 +++ net/netfilter/nf_internals.h | 6 net/netrom/nr_timer.c | 3 net/packet/af_packet.c | 26 - net/sched/act_api.c | 3 net/sched/act_ct.c | 16 net/sched/sch_api.c | 1 net/sched/sch_generic.c | 4 net/sched/sch_htb.c | 22 - net/tipc/node.c | 1 security/apparmor/audit.c | 6 security/apparmor/include/audit.h | 2 security/integrity/ima/ima.h | 2 security/integrity/ima/ima_policy.c | 15 security/security.c | 6 security/selinux/include/audit.h | 4 security/selinux/ss/services.c | 5 security/smack/smack_lsm.c | 4 sound/core/seq/seq_ump_convert.c | 2 sound/hda/intel-dsp-config.c | 2 sound/pci/hda/cs35l41_hda.c | 6 sound/pci/hda/cs35l56_hda.c | 4 sound/pci/hda/patch_realtek.c | 15 sound/pci/hda/tas2781_hda_i2c.c | 4 sound/soc/intel/boards/sof_sdw.c | 18 tools/arch/arm64/include/asm/sysreg.h | 24 - tools/testing/selftests/arm64/tags/tags_test.c | 4 tools/testing/selftests/bpf/prog_tests/btf_map_in_map.c | 26 - tools/testing/selftests/bpf/progs/verifier_global_subprogs.c | 7 tools/testing/selftests/bpf/test_tc_tunnel.sh | 13 tools/testing/selftests/net/cmsg_sender.c | 20 tools/testing/selftests/net/mptcp/userspace_pm.sh | 46 +- tools/testing/selftests/net/openvswitch/openvswitch.sh | 2 virt/kvm/guest_memfd.c | 5 virt/kvm/kvm_main.c | 5 307 files changed, 3153 insertions(+), 1396 deletions(-)
Abel Vesa (3):
phy: qcom-qmp: qserdes-txrx: Add missing registers offsets
phy: qcom-qmp: pcs: Add missing v6 N4 register offsets
phy: qcom: qmp-combo: Switch from V6 to V6 N4 register offsets
Adrian Hunter (1):
clocksource: Make watchdog and suspend-timing multiplication overflow safe
Ajrat Makhmutov (1):
ALSA: hda/realtek: Enable headset mic on IdeaPad 330-17IKB 81DM
Aleksandr Aprelkov (1):
iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
Aleksandr Nogikh (1):
kcov: don't lose track of remote references during softirqs
Alessandro Carminati (Red Hat) (1):
selftests/bpf: Prevent client connect before server bind in test_tc_tunnel.sh
Alex Deucher (2):
drm/radeon: fix UBSAN warning in kv_dpm.c
drm/amdgpu: fix UBSAN warning in kv_dpm.c
Alex Henrie (1):
usb: misc: uss720: check for incompatible versions of the Belkin F5U002
Alex Williamson (1):
vfio/pci: Collect hot-reset devices to local buffer
Alexander Stein (1):
i2c: lpi2c: Avoid calling clk_get_rate during transfer
Alexei Starovoitov (1):
bpf: Avoid kfree_rcu() under lock in bpf_lpm_trie.
Amit Kumar Mahapatra (1):
spi: Fix SPI slave probe failure
Andrew Ballance (1):
hid: asus: asus_report_fixup: fix potential read out of bounds
Andy Chi (1):
ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 445/465 G11.
Andy Shevchenko (1):
serial: 8250_dw: Revert "Move definitions to the shared header"
Ard Biesheuvel (1):
efi/x86: Free EFI memory map only when installing a new one.
Arnd Bergmann (2):
wifi: ath9k: work around memset overflow warning
dmaengine: fsl-edma: avoid linking both modules
Arvid Norlander (1):
platform/x86: toshiba_acpi: Add quirk for buttons on Z830
Aryan Srivastava (1):
net: mvpp2: use slab_build_skb for oversized frames
Baochen Qiang (2):
wifi: ath12k: fix kernel crash during resume
wifi: ath12k: check M3 buffer size as well whey trying to reuse it
Baokun Li (3):
ext4: fix uninitialized ratelimit_state->lock access in __ext4_fill_super()
ext4: avoid overflow when setting values via sysfs
ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists()
Baolin Wang (1):
mm: shmem: fix getting incorrect lruvec when replacing a shmem folio
Bart Van Assche (4):
scsi: core: Introduce the BLIST_SKIP_IO_HINTS flag
scsi: usb: uas: Do not query the IO Advice Hints Grouping mode page for USB/UAS devices
nbd: Improve the documentation of the locking assumptions
nbd: Fix signal handling
Ben Fradella (1):
platform/x86: p2sb: Don't init until unassigned resources have been assigned
Biju Das (1):
regulator: core: Fix modpost error "regulator_get_regmap" undefined
Boris Burkov (1):
btrfs: retry block group reclaim without infinite loop
Breno Leitao (2):
netpoll: Fix race condition in netpoll_owner_active
KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()
Chao Yu (1):
f2fs: fix to detect inconsistent nat entry during truncation
Charles Keepax (1):
spi: cs42l43: Correct SPI root clock speed
Chenghai Huang (2):
crypto: hisilicon/sec - Fix memory leak for sec resource release
crypto: hisilicon/qm - Add the err memory release process to qm uninit
Chenliang Li (1):
io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed
Christian Marangi (1):
mips: bmips: BCM6358: make sure CBR is correctly set
Christophe JAILLET (1):
usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API
Dan Carpenter (1):
ptp: fix integer overflow in max_vclocks_store
Daniel Borkmann (1):
bpf: Fix reg_set_min_max corruption of fake_reg
Daniel Golle (1):
net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module
Dave Jiang (1):
cxl: Add post-reset warning if reset results in loss of previously committed HDM decoders
Dave Martin (1):
x86/resctrl: Don't try to free nonexistent RMIDs
David Arinzon (1):
net: ena: Add validation for completion descriptors consistency
David Ruth (1):
net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
Davide Caratti (2):
net/sched: fix false lockdep warning on qdisc root lock net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path
Dmitry Baryshkov (4):
arm64: defconfig: select INTERCONNECT_QCOM_SM6115 as built-in
usb: typec: ucsi_glink: rework quirks implementation
usb: typec: ucsi_glink: drop special handling for CCI_BUSY
usb: typec: qcom-pmic-typec: split HPD bridge alloc and registration
Dmitry Safonov (1):
net/tcp_ao: Don't leak ao_info on error-path
Dustin L. Howett (1):
ALSA: hda/realtek: Remove Framework Laptop 16 from quirks
Edson Juliano Drosdeck (1):
ALSA: hda/realtek: Limit mic boost on N14AP7
En-Wei Wu (1):
ice: avoid IRQ collision to fix init failure on ACPI S3 resume
Eric Dumazet (6):
batman-adv: bypass empty buckets in batadv_purge_orig_ref()
af_packet: avoid a false positive warning in packet_setsockopt()
ipv6: prevent possible NULL deref in fib6_nh_init()
ipv6: prevent possible NULL dereference in rt6_probe()
xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
tcp: clear tp->retrans_stamp in tcp_rcv_fastopen_synack()
Erico Nunes (3):
drm/lima: add mask irq callback to gp and pp drm/lima: include pp bcast irq in timeout handler check drm/lima: mask irqs in timeout path before hard reset
Esben Haabendal (1):
serial: imx: Introduce timeout when waiting on transmitter empty
Fabio Estevam (1):
arm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property
Florian Westphal (1):
bpf: Avoid splat in pskb_pull_reason
Frank Li (1):
arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc
Fullway Wang (1):
media: mtk-vcodec: potential null pointer deference in SCP
GUO Zihua (1):
ima: Avoid blocking in RCU read-side critical section
Gavrilov Ilia (1):
netrom: Fix a memory leak in nr_heartbeat_expiry()
Geetha sowjanya (1):
octeontx2-pf: Fix linking objects into multiple modules
Greg Kroah-Hartman (1):
Linux 6.9.7
Grygorii Tertychnyi (1):
i2c: ocores: set IACK bit after core is enabled
Guenter Schafranek (1):
ACPI: resource: Do IRQ override on GMxBGxx (XMG APEX 17 M23)
Hans de Goede (5):
ACPI: x86: Add PNP_UART1_SKIP quirk for Lenovo Blade2 tablets platform/x86: x86-android-tablets: Unregister devices in reverse order platform/x86: x86-android-tablets: Add Lenovo Yoga Tablet 2 Pro 1380F/L data
usb: dwc3: pci: Don't set "linux,phy_charger_detect" property on Lenovo Yoga Tab2 1380
ACPI: scan: Ignore camera graph port nodes on all Dell Tiger, Alder and Raptor Lake models
Heng Qi (2):
virtio_net: checksum offloading handling fix
virtio_net: fixing XDP for fully checksummed packets handling
Herbert Xu (1):
padata: Disable BH when taking works lock on MT path
Honggang LI (2):
RDMA/rxe: Fix responder length checking for UD request packets RDMA/rxe: Fix data copy for IB_SEND_INLINE
Hui Li (3):
LoongArch: Fix watchpoint setting error
LoongArch: Trigger user-space watchpoints correctly
LoongArch: Fix multiple hardware watchpoint issues
Ignat Korchagin (1):
net: do not leave a dangling sk pointer, when socket creation fails
Ilpo Järvinen (2):
PCI: Do not wait for disconnected devices when resuming
MIPS: Routerboard 532: Fix vendor retry check code
Jaegeuk Kim (1):
f2fs: don't set RO when shutting down f2fs
Jakub Kicinski (2):
selftests: net: fix timestamp not arriving in cmsg_time.sh
netdev-genl: fix error codes when outputting XDP features
Jan Kara (1):
ext4: do not create EA inode under buffer lock
Jani Nikula (1):
drm/i915/mso: using joiner is not possible with eDP MSO
Jason Gunthorpe (3):
RDMA/mlx5: Remove extra unlock on error path RDMA/mlx5: Follow rb_key.ats when creating new mkeys RDMA/mlx5: Ensure created mkeys always have a populated rb_key
Jeff Johnson (1):
tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test
Jens Axboe (1):
io_uring/sqpoll: work around a potential audit memory leak
Jian Wen (1):
devlink: use kvzalloc() to allocate devlink instance resources
Jianguo Wu (2):
seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors
netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core
Jiaxun Yang (1):
MIPS: mipsmtregs: Fix target register for MFTC0
Joao Paulo Goncalves (1):
arm64: dts: freescale: imx8mm-verdin: Fix GPU speed
Joao Pinto (1):
Avoid hw_desc array overrun in dw-axi-dmac
Joel Slebodnick (1):
scsi: ufs: core: Free memory allocated for model before reinit
Johannes Berg (1):
wifi: mac80211: fix monitor channel with chanctx emulation
Johannes Thumshirn (1):
btrfs: zoned: allocate dummy checksums for zoned NODATASUM writes
Jose E. Marchesi (1):
bpf: avoid uninitialized warnings in verifier_global_subprogs.c
Jose Ignacio Tornos Martinez (1):
net: usb: ax88179_178a: improve reset check
Joseph Qi (2):
ocfs2: fix NULL pointer dereference in ocfs2_journal_dirty()
ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger()
Jozsef Kadlecsik (1):
netfilter: ipset: Fix suspicious rcu_dereference_protected()
Julien Panis (1):
thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data
Justin Stitt (1):
block/ioctl: prefer different overflow check
Kalle Niemi (1):
regulator: bd71815: fix ramp values
Kees Cook (1):
ubsan: Avoid i386 UBSAN handler crashes with Clang
Kemeng Shi (1):
fs/writeback: bail out if there is no more inodes for IO and queued once
Konstantin Taranov (1):
RDMA/mana_ib: Ignore optional access flags for MRs
Krzysztof Kozlowski (3):
dt-bindings: dma: fsl-edma: fix dma-channels constraints
dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
Kunwu Chan (1):
kselftest: arm64: Add a null pointer check
Leon Yen (1):
wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
Li RongQing (1):
dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list
Lingbo Kong (1):
wifi: ath12k: fix the problem that down grade phy mode operation
Linus Torvalds (3):
tty: add the option to have a tty reject a new ldisc
kprobe/ftrace: fix build error due to bad function definition
Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default"
Liu Ying (1):
arm: dts: imx53-qsb-hdmi: Disable panel instead of deleting node
Louis Chauvet (1):
dmaengine: xilinx: xdma: Fix data synchronisation in xdma_channel_isr()
Luiz Angelo Daros de Luca (2):
net: dsa: realtek: keep default LED state in rtl8366rb
net: dsa: realtek: do not assert reset on remove
Luke D. Jones (1):
HID: asus: fix more n-key report descriptors if n-key quirked
Manish Rangankar (1):
scsi: qedi: Fix crash while reading debugfs attribute
Marc Kleine-Budde (1):
spi: spi-imx: imx51: revert burst length calculation back to bits_per_word
Marc Zyngier (1):
KVM: arm64: Disassociate vcpus from redistributor region on teardown
Marcin Szycik (1):
ice: Fix VSI list rule with ICE_SW_LKUP_LAST type
Marek Behún (1):
net: sfp: enhance quirk for Fibrestore 2.5G copper SFP module
Marek Vasut (1):
arm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM
Mario Limonciello (1):
PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports
Martin Leung (1):
drm/amd/display: revert Exit idle optimizations before HDCP execution
Masami Hiramatsu (Google) (1):
tracing: Build event generation tests only as modules
Mathias Nyman (1):
xhci: remove XHCI_TRUST_TX_LENGTH quirk
Matthieu Baerts (NGI0) (1):
selftests: mptcp: userspace_pm: fixed subtest names
Max Krummenacher (1):
arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin
Michael Ellerman (1):
powerpc/io: Avoid clang null pointer arithmetic warnings
Michael Grzeschik (1):
usb: gadget: uvc: configfs: ensure guid to be valid before set
Michael Strauss (1):
drm/amd/display: Attempt to avoid empty TUs when endpoint is DPIA
Michal Wajdeczko (1):
drm/xe/vf: Don't touch GuC irq registers if using memory irqs
Miklos Szeredi (1):
ovl: fix encoding fid for lower only root
Nathan Lynch (2):
powerpc/pseries: Enforce hcall result buffer validity and size powerpc/crypto: Add generated P8 asm to .gitignore
Nicholas Kazlauskas (2):
drm/amd/display: Exit idle optimizations before HDCP execution drm/amd/display: Workaround register access in idle race with cursor
Nikita Shubin (4):
dmaengine: ioatdma: Fix leaking on version mismatch
dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
dmaengine: ioatdma: Fix missing kmem_cache_destroy()
Niklas Cassel (1):
ata: ahci: Do not enable LPM if no LPM states are supported by the HBA
Oleksij Rempel (3):
net: phy: dp83tg720: wake up PHYs in managed mode
net: stmmac: Assign configured channel value to EXTTS event
net: phy: dp83tg720: get master/slave configuration in link down state
Oliver Neukum (1):
net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings
Ondrej Mosnacek (1):
cipso: fix total option length computation
Pablo Caño (1):
ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14AHP9
Paolo Bonzini (1):
virt: guest_memfd: fix reference leak on hwpoisoned page
Parker Newman (1):
serial: exar: adding missing CTI and Exar PCI ids
Patrice Chotard (2):
spi: stm32: qspi: Fix dual flash mode sanity test in stm32_qspi_setup()
spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4
Patrisious Haddad (1):
RDMA/mlx5: Add check for srq max_sge attribute
Paul E. McKenney (1):
rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment
Paul Greenwalt (1):
ice: fix 200G link speed message log
Pavan Chebbi (1):
bnxt_en: Restore PTP tx_avail count in case of skb_pad() error
Peng Ma (1):
cpufreq: amd-pstate: fix memory leak on CPU EPP exit
Peter Oberparleiter (1):
gcov: add support for GCC 14
Peter Ujfalusi (1):
ALSA/hda: intel-dsp-config: Document AVS as dsp_driver option
Peter Xu (1):
mm/page_table_check: fix crash on ZONE_DEVICE
Pierre-Louis Bossart (3):
ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14
ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F
ASoC: Intel: sof-sdw: really remove FOUR_SPEAKER quirk
Ping-Ke Shih (1):
wifi: rtw89: 8852c: add quirk to set PCI BER for certain platforms
Rafael Aquini (1):
mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default
Rafael J. Wysocki (3):
ACPI: EC: Install address space handler at the namespace root
ACPI: EC: Evaluate orphan _REG under EC device
thermal: core: Change PM notifier priority to the minimum
Raju Lakkaraju (3):
net: lan743x: disable WOL upon resume to restore full data path operation
net: lan743x: Support WOL at both the PHY and MAC appropriately
net: phy: mxl-gpy: Remove interrupt mask clearing from config_init
Raju Rangoju (1):
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
Ran Xiaokai (1):
mm: huge_memory: fix misused mapping_large_folio_support() for anon folios
Rand Deeb (1):
ssb: Fix potential NULL pointer dereference in ssb_device_uevent()
Remi Pommarel (1):
wifi: mac80211: Recalc offload when monitor stop
Ricardo Ribalda (1):
media: intel/ipu6: Fix build with !ACPI
Roman Li (1):
drm/amd/display: Remove redundant idle optimization check
Roman Smirnov (1):
udf: udftime: prevent overflow in udf_disk_stamp_to_time()
Sean Christopherson (1):
KVM: x86: Always sync PIR to IRR prior to scanning I/O APIC routes
Sean O'Brien (1):
HID: Add quirk for Logitech Casa touchpad
Selvin Xavier (1):
RDMA/bnxt_re: Fix the max msix vectors macro
Shaul Triebitz (1):
wifi: iwlwifi: mvm: fix ROC version check
Shiqi Liu (1):
arm64/sysreg: Update PIE permission encodings
Siddharth Vadapalli (1):
dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id()
Simon Horman (2):
selftests: openvswitch: Use bash as interpreter
octeontx2-pf: Add error handling to VLAN unoffload handling
Simon Trimmer (4):
ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
ALSA: hda: cs35l56: Component should be unbound before deconstruction
ALSA: hda: cs35l41: Component should be unbound before deconstruction
ALSA: hda: tas2781: Component should be unbound before deconstruction
Songyang Li (1):
MIPS: Octeon: Add PCIe link status check
Srinivas Pandruvada (1):
thermal: int340x: processor_thermal: Support shared interrupts
Stefan Binding (2):
ALSA: hda/realtek: Add quirks for HP Omen models using CS35L41
ALSA: hda/realtek: Add quirks for Lenovo 13X
Stefan Wahren (1):
qca_spi: Make interrupt remembering atomic
Stephen Brennan (1):
kprobe/ftrace: bail out if ftrace was killed
Steve French (1):
cifs: fix typo in module parameter enable_gcm_256
Sudeep Holla (1):
firmware: psci: Fix return value from psci_system_suspend()
Takashi Iwai (2):
ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
ALSA: seq: ump: Fix missing System Reset message handling
Tamim Khan (1):
ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MV
Tim Harvey (1):
arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO
Tony Luck (2):
x86/cpu/vfm: Add new macros to work with (vendor/family/model) values x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL
Tzung-Bi Shih (3):
platform/chrome: cros_usbpd_logger: provide ID table for avoiding fallback match platform/chrome: cros_usbpd_notify: provide ID table for avoiding fallback match
power: supply: cros_usbpd: provide ID table for avoiding fallback match
Uri Arev (1):
Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
Viresh Kumar (1):
OPP: Fix required_opp_tables for multiple genpds using same table
Waiman Long (1):
cgroup/cpuset: Make cpuset hotplug processing synchronous
Wander Lairson Costa (1):
drop_monitor: replace spin_lock by raw_spin_lock
Wojciech Drewek (1):
ice: implement AQ download pkg retry
Xi Ruoyao (1):
LoongArch: Only allow OBJTOOL & ORC unwinder if toolchain supports -mthin-add-sub
Xiaolei Wang (1):
net: stmmac: No need to calculate speed divider when offload is disabled
Xin Long (2):
tipc: force a dst refcount before doing decryption
sched: act_ct: add netns into the key of tcf_ct_flow_table
Yishai Hadas (1):
RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init
Yonghong Song (1):
selftests/bpf: Fix flaky test btf_map_in_map/lookup_update
Yue Haibing (1):
netns: Make get_net_ns() handle zero refcount net
Yunlei He (1):
f2fs: remove clear SB_INLINECRYPT flag in default_options
Yunxiang Li (1):
drm/amdgpu: fix locking scope when flushing tlb
Zqiang (2):
rcutorture: Make stall-tasks directly exit when rcutorture tests end
rcutorture: Fix invalid context warning when enable srcu barrier testing