Linux 6.17.6
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/serial/renesas,scif.yaml +1 -0
@@ -197,6 +197,7 @@ allOf: - renesas,rcar-gen2-scif - renesas,rcar-gen3-scif - renesas,rcar-gen4-scif + - renesas,rcar-gen5-scif then: properties: interrupts:
Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml +9 -1
@@ -89,13 +89,21 @@ required: - reg - "#address-cells" - "#size-cells" - - dma-ranges - ranges - clocks - clock-names - interrupts - power-domains +allOf: + - if: + properties: + compatible: + const: fsl,imx8mp-dwc3 + then: + required: + - dma-ranges + additionalProperties: false examples:
Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml +3 -0
@@ -68,6 +68,7 @@ properties: - qcom,sm8550-dwc3 - qcom,sm8650-dwc3 - qcom,x1e80100-dwc3 + - qcom,x1e80100-dwc3-mp - const: qcom,snps-dwc3 reg:
@@ -460,8 +461,10 @@ allOf: then: properties: interrupts: + minItems: 4 maxItems: 5 interrupt-names: + minItems: 4 items: - const: dwc_usb3 - const: pwr_event
Makefile +3 -3
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 17 -SUBLEVEL = 5 +SUBLEVEL = 6 EXTRAVERSION = NAME = Baby Opossum Posse
@@ -1444,11 +1444,11 @@ endif tools/: FORCE $(Q)mkdir -p $(objtree)/tools - $(Q)$(MAKE) LDFLAGS= O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ + $(Q)$(MAKE) O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ tools/%: FORCE $(Q)mkdir -p $(objtree)/tools - $(Q)$(MAKE) LDFLAGS= O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ $* + $(Q)$(MAKE) O=$(abspath $(objtree)) subdir=tools -C $(srctree)/tools/ $* # --------------------------------------------------------------------------- # Kernel selftest
arch/arm64/boot/dts/broadcom/bcm2712.dtsi +3 -0
@@ -270,6 +270,9 @@ gicv2: interrupt-controller@7fff9000 { <0x7fffc000 0x2000>, <0x7fffe000 0x2000>; interrupt-controller; + #address-cells = <0>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | + IRQ_TYPE_LEVEL_HIGH)>; #interrupt-cells = <3>; };
arch/arm64/include/asm/pgtable.h +2 -1
@@ -293,7 +293,8 @@ static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)static inline pte_t pte_mkwrite_novma (pte_t pte) { pte =set_pte_bit (pte,__pgprot (PTE_WRITE )); - pte =clear_pte_bit (pte,__pgprot (PTE_RDONLY )); +if (pte_sw_dirty (pte)) + pte =clear_pte_bit (pte,__pgprot (PTE_RDONLY ));return pte; }
arch/arm64/mm/copypage.c +8 -3
@@ -35,7 +35,7 @@ void copy_highpage(struct page *to, struct page *from) from != folio_page(src, 0))return ; -WARN_ON_ONCE (!folio_try_hugetlb_mte_tagging (dst)); +folio_try_hugetlb_mte_tagging (dst);/* * Populate tags for all subpages.
@@ -51,8 +51,13 @@ void copy_highpage(struct page *to, struct page *from) }folio_set_hugetlb_mte_tagged (dst); }else if (page_mte_tagged (from)) { -/* It's a new page, shouldn't have been tagged yet */ -WARN_ON_ONCE (!try_page_mte_tagging (to)); +/* +* Most of the time it's a new page that shouldn't have been +* tagged yet. However, folio migration can end up reusing the +* same page without untagging it. Ignore the warning if the +* page is already tagged. +*/ +try_page_mte_tagging (to);mte_copy_page_tags (kto, kfrom);set_page_mte_tagged (to);
arch/arm64/tools/sysreg +2 -2
@@ -1693,7 +1693,7 @@ UnsignedEnum 43:40 TraceFilt 0b0000 NI 0b0001 IMP EndEnum -UnsignedEnum 39:36 DoubleLock +SignedEnum 39:36 DoubleLock 0b0000 IMP 0b1111 NI EndEnum
@@ -2409,7 +2409,7 @@ UnsignedEnum 11:8 ASID2 0b0000 NI 0b0001 IMP EndEnum -SignedEnum 7:4 EIESB +UnsignedEnum 7:4 EIESB 0b0000 NI 0b0001 ToEL3 0b0010 ToELx
arch/m68k/include/asm/bitops.h +14 -11
@@ -350,12 +350,12 @@ static inline bool xor_unlock_is_negative_byte(unsigned long mask,#include <asm-generic/bitops/ffz.h> #else -static inline int find_first_zero_bit (const unsigned long *vaddr, -unsigned size) +static inline unsigned long find_first_zero_bit (const unsigned long *vaddr, +unsigned long size) {const unsigned long *p = vaddr; -int res =32 ; -unsigned int words; +unsigned long res =32 ; +unsigned long words;unsigned long num;if (!size)
@@ -376,8 +376,9 @@ static inline int find_first_zero_bit(const unsigned long *vaddr, }#define find_first_zero_bit find_first_zero_bit -static inline int find_next_zero_bit (const unsigned long *vaddr,int size, -int offset) +static inline unsigned long find_next_zero_bit (const unsigned long *vaddr, +unsigned long size, +unsigned long offset) {const unsigned long *p = vaddr + (offset >>5 );int bit = offset &31UL , res;
@@ -406,11 +407,12 @@ static inline int find_next_zero_bit(const unsigned long *vaddr, int size, }#define find_next_zero_bit find_next_zero_bit -static inline int find_first_bit (const unsigned long *vaddr,unsigned size) +static inline unsigned long find_first_bit (const unsigned long *vaddr, +unsigned long size) {const unsigned long *p = vaddr; -int res =32 ; -unsigned int words; +unsigned long res =32 ; +unsigned long words;unsigned long num;if (!size)
@@ -431,8 +433,9 @@ static inline int find_first_bit(const unsigned long *vaddr, unsigned size) }#define find_first_bit find_first_bit -static inline int find_next_bit (const unsigned long *vaddr,int size, -int offset) +static inline unsigned long find_next_bit (const unsigned long *vaddr, +unsigned long size, +unsigned long offset) {const unsigned long *p = vaddr + (offset >>5 );int bit = offset &31UL , res;
arch/mips/mti-malta/malta-setup.c +1 -1
@@ -47,7 +47,7 @@ static struct resource standard_io_resources[] = { .name = "keyboard", .start = 0x60, .end = 0x6f, - .flags =IORESOURCE_IO |IORESOURCE_BUSY + .flags =IORESOURCE_IO }, { .name = "dma page reg",
arch/nios2/kernel/setup.c +15 -0
@@ -142,6 +142,20 @@ static void __init find_limits(unsigned long *min, unsigned long *max_low, *max_high =PFN_DOWN (memblock_end_of_DRAM ()); } +static void __init adjust_lowmem_bounds (void ) +{ +phys_addr_t block_start, block_end; +u64 i; +phys_addr_t memblock_limit =0 ; + +for_each_mem_range (i, &block_start, &block_end) { +if (block_end > memblock_limit) + memblock_limit = block_end; + } + +memblock_set_current_limit (memblock_limit); +} +void __init setup_arch (char **cmdline_p) {console_verbose ();
@@ -157,6 +171,7 @@ void __init setup_arch(char **cmdline_p)/* Keep a copy of command line */ *cmdline_p = boot_command_line; +adjust_lowmem_bounds ();find_limits (&min_low_pfn, &max_low_pfn, &max_pfn);memblock_reserve (__pa_symbol (_stext), _end - _stext);
arch/powerpc/include/asm/pgtable.h +0 -12
@@ -20,18 +20,6 @@ struct mm_struct;#include <asm/nohash/pgtable.h> #endif /* !CONFIG_PPC_BOOK3S */ -/* -* Protection used for kernel text. We want the debuggers to be able to -* set breakpoints anywhere, so don't write protect the kernel text -* on platforms where such control is possible. -*/ -#if defined(CONFIG_KGDB ) || defined(CONFIG_XMON ) || defined(CONFIG_BDI_SWITCH ) || \ - defined(CONFIG_KPROBES ) || defined(CONFIG_DYNAMIC_FTRACE ) -#define PAGE_KERNEL_TEXT PAGE_KERNEL_X -#else -#define PAGE_KERNEL_TEXT PAGE_KERNEL_ROX -#endif -/* Make modules code happy. We don't set RO yet */ #define PAGE_KERNEL_EXEC PAGE_KERNEL_X
arch/powerpc/mm/book3s32/mmu.c +2 -2
@@ -204,7 +204,7 @@ int mmu_mark_initmem_nx(void)for (i =0 ; i < nb -1 && base < top;) { size =bat_block_size (base, top); -setibat (i++,PAGE_OFFSET + base, base, size,PAGE_KERNEL_TEXT ); +setibat (i++,PAGE_OFFSET + base, base, size,PAGE_KERNEL_X ); base += size; }if (base < top) {
@@ -215,7 +215,7 @@ int mmu_mark_initmem_nx(void)pr_warn ("Some RW data is getting mapped X. " "Adjust CONFIG_DATA_SHIFT to avoid that.\n" ); } -setibat (i++,PAGE_OFFSET + base, base, size,PAGE_KERNEL_TEXT ); +setibat (i++,PAGE_OFFSET + base, base, size,PAGE_KERNEL_X ); base += size; }for (; i < nb; i++)
arch/powerpc/mm/pgtable_32.c +1 -1
@@ -104,7 +104,7 @@ static void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) p = memstart_addr + s;for (; s < top; s +=PAGE_SIZE ) { ktext =core_kernel_text (v); -map_kernel_page (v, p, ktext ?PAGE_KERNEL_TEXT :PAGE_KERNEL ); +map_kernel_page (v, p, ktext ?PAGE_KERNEL_X :PAGE_KERNEL ); v +=PAGE_SIZE ; p +=PAGE_SIZE ; }
arch/powerpc/platforms/pseries/cmm.c +1 -1
@@ -545,7 +545,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,/* balloon page list reference */ put_page (page); -return MIGRATEPAGE_SUCCESS ; +return 0 ; }static void cmm_balloon_compaction_init (void )
arch/riscv/include/asm/hwprobe.h +7 -0
@@ -41,4 +41,11 @@ static inline bool riscv_hwprobe_pair_cmp(struct riscv_hwprobe *pair, return pair->value == other_pair->value; } +#ifdef CONFIG_MMU +void riscv_hwprobe_register_async_probe (void ); +void riscv_hwprobe_complete_async_probe (void ); +#else +static inline void riscv_hwprobe_register_async_probe (void ) {} +static inline void riscv_hwprobe_complete_async_probe (void ) {} +#endif #endif
arch/riscv/include/asm/pgtable.h +2 -0
@@ -653,6 +653,8 @@ static inline pgprot_t pgprot_writecombine(pgprot_t _prot)return __pgprot (prot); } +#define pgprot_dmacoherent pgprot_writecombine +/* * Both Svade and Svadu control the hardware behavior when the PTE A/D bits need to be set. By * default the M-mode firmware enables the hardware updating scheme when only Svadu is present in
arch/riscv/include/asm/vdso/arch_data.h +6 -0
@@ -12,6 +12,12 @@ struct vdso_arch_data {/* Boolean indicating all CPUs have the same static hwprobe values. */ __u8 homogeneous_cpus; + +/* +* A gate to check and see if the hwprobe data is actually ready, as +* probing is deferred to avoid boot slowdowns. +*/ + __u8 ready; };#endif /* __RISCV_ASM_VDSO_ARCH_DATA_H */
arch/riscv/kernel/cpu.c +1 -3
@@ -62,10 +62,8 @@ int __init riscv_early_of_processor_hartid(struct device_node *node, unsigned loreturn -ENODEV ; } -if (!of_device_is_available (node)) { -pr_info ("CPU with hartid=%lu is not available\n" , *hart); +if (!of_device_is_available (node))return -ENODEV ; - }if (of_property_read_string (node,"riscv,isa-base" , &isa)) goto old_interface;
arch/riscv/kernel/cpufeature.c +5 -5
@@ -474,10 +474,10 @@ const struct riscv_isa_ext_data riscv_isa_ext[] = {__RISCV_ISA_EXT_DATA (zacas,RISCV_ISA_EXT_ZACAS ),__RISCV_ISA_EXT_DATA (zalrsc,RISCV_ISA_EXT_ZALRSC ),__RISCV_ISA_EXT_DATA (zawrs,RISCV_ISA_EXT_ZAWRS ), -__RISCV_ISA_EXT_DATA (zfa,RISCV_ISA_EXT_ZFA ), +__RISCV_ISA_EXT_DATA_VALIDATE (zfa,RISCV_ISA_EXT_ZFA , riscv_ext_f_depends),__RISCV_ISA_EXT_DATA_VALIDATE (zfbfmin,RISCV_ISA_EXT_ZFBFMIN , riscv_ext_f_depends), -__RISCV_ISA_EXT_DATA (zfh,RISCV_ISA_EXT_ZFH ), -__RISCV_ISA_EXT_DATA (zfhmin,RISCV_ISA_EXT_ZFHMIN ), +__RISCV_ISA_EXT_DATA_VALIDATE (zfh,RISCV_ISA_EXT_ZFH , riscv_ext_f_depends), +__RISCV_ISA_EXT_DATA_VALIDATE (zfhmin,RISCV_ISA_EXT_ZFHMIN , riscv_ext_f_depends),__RISCV_ISA_EXT_DATA (zca,RISCV_ISA_EXT_ZCA ),__RISCV_ISA_EXT_DATA_VALIDATE (zcb,RISCV_ISA_EXT_ZCB , riscv_ext_zca_depends), __RISCV_ISA_EXT_DATA_VALIDATE(zcd, RISCV_ISA_EXT_ZCD, riscv_ext_zcd_validate),
@@ -932,9 +932,9 @@ static int has_thead_homogeneous_vlenb(void) {int cpu;u32 prev_vlenb =0 ; -u32 vlenb; +u32 vlenb =0 ; -/* Ignore thead,vlenb property if xtheavector is not enabled in the kernel */ +/* Ignore thead,vlenb property if xtheadvector is not enabled in the kernel */ if (!IS_ENABLED (CONFIG_RISCV_ISA_XTHEADVECTOR ))return 0 ;
arch/riscv/kernel/pi/cmdline_early.c +2 -2
@@ -41,9 +41,9 @@ static char *get_early_cmdline(uintptr_t dtb_pa)static u64 match_noXlvl (char *cmdline) {if (strstr (cmdline,"no4lvl" )) -return SATP_MODE_48 ; +return SATP_MODE_39 ;else if (strstr (cmdline,"no5lvl" )) -return SATP_MODE_57 ; +return SATP_MODE_48 ;return 0 ; }
arch/riscv/kernel/pi/fdt_early.c +40 -0
@@ -3,6 +3,7 @@#include <linux/init.h> #include <linux/libfdt.h> #include <linux/ctype.h> +#include <asm/csr.h> #include "pi.h"
@@ -183,3 +184,42 @@ bool fdt_early_match_extension_isa(const void *fdt, const char *ext_name)return ret; } + +/** +* set_satp_mode_from_fdt - determine SATP mode based on the MMU type in fdt +* +* @dtb_pa: physical address of the device tree blob +* +* Returns the SATP mode corresponding to the MMU type of the first enabled CPU, +* 0 otherwise +*/ +u64 set_satp_mode_from_fdt (uintptr_t dtb_pa) +{ +const void *fdt = (const void *)dtb_pa; +const char *mmu_type; +int node, parent; + + parent =fdt_path_offset (fdt,"/cpus" ); +if (parent <0 ) +return 0 ; + +fdt_for_each_subnode (node, fdt, parent) { +if (!fdt_node_name_eq (fdt, node,"cpu" )) +continue ; + +if (!fdt_device_is_available (fdt, node)) +continue ; + + mmu_type =fdt_getprop (fdt, node,"mmu-type" ,NULL ); +if (!mmu_type) +break ; + +if (!strcmp (mmu_type,"riscv,sv39" )) +return SATP_MODE_39 ; +else if (!strcmp (mmu_type,"riscv,sv48" )) +return SATP_MODE_48 ; +break ; + } + +return 0 ; +}
arch/riscv/kernel/pi/pi.h +1 -0
@@ -14,6 +14,7 @@ u64 get_kaslr_seed(uintptr_t dtb_pa);u64 get_kaslr_seed_zkr (const uintptr_t dtb_pa);bool set_nokaslr_from_cmdline (uintptr_t dtb_pa);u64 set_satp_mode_from_cmdline (uintptr_t dtb_pa); +u64 set_satp_mode_from_fdt (uintptr_t dtb_pa);bool fdt_early_match_extension_isa (const void *fdt,const char *ext_name);
arch/riscv/kernel/sys_hwprobe.c +70 -20
143 lines not on this page · raw message
arch/riscv/kernel/unaligned_access_speed.c +7 -2
@@ -379,6 +379,7 @@ static void check_vector_unaligned_access(struct work_struct *work __always_unusstatic int __init vec_check_unaligned_access_speed_all_cpus (void *unused__always_unused ) {schedule_on_each_cpu (check_vector_unaligned_access); +riscv_hwprobe_complete_async_probe ();return 0 ; }
@@ -473,8 +474,12 @@ static int __init check_unaligned_access_all_cpus(void)per_cpu (vector_misaligned_access, cpu) = unaligned_vector_speed_param; }else if (!check_vector_unaligned_access_emulated_all_cpus () &&IS_ENABLED (CONFIG_RISCV_PROBE_VECTOR_UNALIGNED_ACCESS )) { -kthread_run (vec_check_unaligned_access_speed_all_cpus, -NULL ,"vec_check_unaligned_access_speed_all_cpus" ); +riscv_hwprobe_register_async_probe (); +if (IS_ERR (kthread_run (vec_check_unaligned_access_speed_all_cpus, +NULL ,"vec_check_unaligned_access_speed_all_cpus" ))) { +pr_warn ("Failed to create vec_unalign_check kthread\n" ); +riscv_hwprobe_complete_async_probe (); + } }/*
arch/riscv/kernel/vdso/hwprobe.c +1 -1
@@ -27,7 +27,7 @@ static int riscv_vdso_get_values(struct riscv_hwprobe *pairs, size_t pair_count,* homogeneous, then this function can handle requests for arbitrary * masks. */ -if ((flags !=0 ) || (!all_cpus && !avd->homogeneous_cpus)) +if (flags !=0 || (!all_cpus && !avd->homogeneous_cpus) ||unlikely (!avd->ready))return riscv_hwprobe (pairs, pair_count, cpusetsize, cpus, flags);/* This is something we can handle, fill out the pairs. */
arch/riscv/mm/init.c +8 -3
@@ -816,6 +816,7 @@ static __meminit pgprot_t pgprot_from_va(uintptr_t va)#if defined(CONFIG_64BIT ) && !defined(CONFIG_XIP_KERNEL )u64 __pi_set_satp_mode_from_cmdline (uintptr_t dtb_pa); +u64 __pi_set_satp_mode_from_fdt (uintptr_t dtb_pa);static void __init disable_pgtable_l5 (void ) {
@@ -855,18 +856,22 @@ static void __init set_mmap_rnd_bits_max(void)* underlying hardware: establish 1:1 mapping in 4-level page table mode * then read SATP to see if the configuration was taken into account * meaning sv48 is supported. +* The maximum SATP mode is limited by both the command line and the "mmu-type" +* property in the device tree, since some platforms may hang if an unsupported +* SATP mode is attempted. */ static __init void set_satp_mode (uintptr_t dtb_pa) {u64 identity_satp, hw_satp;uintptr_t set_satp_mode_pmd = ((unsigned long )set_satp_mode) &PMD_MASK ; -u64 satp_mode_cmdline =__pi_set_satp_mode_from_cmdline (dtb_pa); +u64 satp_mode_limit =min_not_zero (__pi_set_satp_mode_from_cmdline (dtb_pa), +__pi_set_satp_mode_from_fdt (dtb_pa)); kernel_map.page_offset =PAGE_OFFSET_L5 ; -if (satp_mode_cmdline ==SATP_MODE_57 ) { +if (satp_mode_limit ==SATP_MODE_48 ) {disable_pgtable_l5 (); - }else if (satp_mode_cmdline ==SATP_MODE_48 ) { + }else if (satp_mode_limit ==SATP_MODE_39 ) {disable_pgtable_l5 ();disable_pgtable_l4 ();return ;
arch/s390/mm/pgalloc.c +10 -3
@@ -16,9 +16,13 @@unsigned long *crst_table_alloc (struct mm_struct *mm) { -struct ptdesc *ptdesc =pagetable_alloc (GFP_KERNEL ,CRST_ALLOC_ORDER ); +gfp_t gfp =GFP_KERNEL_ACCOUNT ; +struct ptdesc *ptdesc;unsigned long *table; +if (mm == &init_mm) + gfp &= ~__GFP_ACCOUNT; + ptdesc =pagetable_alloc (gfp,CRST_ALLOC_ORDER );if (!ptdesc)return NULL ; table =ptdesc_to_virt (ptdesc);
@@ -117,7 +121,7 @@ struct ptdesc *page_table_alloc_pgste(struct mm_struct *mm)struct ptdesc *ptdesc;u64 *table; - ptdesc =pagetable_alloc (GFP_KERNEL ,0 ); + ptdesc =pagetable_alloc (GFP_KERNEL_ACCOUNT ,0 );if (ptdesc) { table = (u64 *)ptdesc_to_virt (ptdesc);__arch_set_page_dat (table,1 );
@@ -136,10 +140,13 @@ void page_table_free_pgste(struct ptdesc *ptdesc)unsigned long *page_table_alloc (struct mm_struct *mm) { +gfp_t gfp =GFP_KERNEL_ACCOUNT ;struct ptdesc *ptdesc;unsigned long *table; - ptdesc =pagetable_alloc (GFP_KERNEL ,0 ); +if (mm == &init_mm) + gfp &= ~__GFP_ACCOUNT; + ptdesc =pagetable_alloc (gfp,0 );if (!ptdesc)return NULL ;if (!pagetable_pte_ctor (mm, ptdesc)) {
arch/x86/kernel/cpu/microcode/amd.c +1 -1
@@ -194,7 +194,7 @@ static bool need_sha_check(u32 cur_rev) }switch (cur_rev >>8 ) { -case 0x80012 :return cur_rev <=0x800126f ;break ; +case 0x80012 :return cur_rev <=0x8001277 ;break ;case 0x80082 :return cur_rev <=0x800820f ;break ;case 0x83010 :return cur_rev <=0x830107c ;break ;case 0x86001 :return cur_rev <=0x860010e ;break ;
block/blk-settings.c +10 -0
@@ -184,6 +184,16 @@ static int blk_validate_integrity_limits(struct queue_limits *lim)if (!bi->interval_exp) bi->interval_exp =ilog2 (lim->logical_block_size); +/* +* The PI generation / validation helpers do not expect intervals to +* straddle multiple bio_vecs. Enforce alignment so that those are +* never generated, and that each buffer is aligned as expected. +*/ +if (bi->csum_type) { + lim->dma_alignment =max (lim->dma_alignment, + (1U << bi->interval_exp) -1 ); + } +return 0 ; }
drivers/acpi/acpica/tbprint.c +6 -0
@@ -95,6 +95,11 @@ acpi_tb_print_table_header(acpi_physical_address address, {struct acpi_table_header local_header; +#pragma GCC diagnostic push +#if defined(__GNUC__) && __GNUC__ >=11 +#pragma GCC diagnostic ignored "-Wstringop-overread" +#endif +if (ACPI_COMPARE_NAMESEG (header->signature,ACPI_SIG_FACS )) {/* FACS only has signature and length fields */
@@ -135,4 +140,5 @@ acpi_tb_print_table_header(acpi_physical_address address, local_header.asl_compiler_id, local_header.asl_compiler_revision)); } +#pragma GCC diagnostic pop }
drivers/android/binder.c +1 -10
@@ -850,17 +850,8 @@ static int binder_inc_node_nilocked(struct binder_node *node, int strong, }else {if (!internal) node->local_weak_refs++; -if (!node->has_weak_ref &&list_empty (&node->work.entry)) { -if (target_list ==NULL ) { -pr_err ("invalid inc weak node for %d\n" , - node->debug_id); -return -EINVAL ; - } -/* -* See comment above -*/ +if (!node->has_weak_ref && target_list &&list_empty (&node->work.entry))binder_enqueue_work_ilocked (&node->work, target_list); - } }return 0 ; }
drivers/base/arch_topology.c +1 -1
@@ -292,7 +292,7 @@ bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu)* frequency (by keeping the initial capacity_freq_ref value). */ cpu_clk =of_clk_get (cpu_node,0 ); -if (!PTR_ERR_OR_ZERO (cpu_clk)) { +if (!IS_ERR_OR_NULL (cpu_clk)) {per_cpu (capacity_freq_ref, cpu) =clk_get_rate (cpu_clk) /HZ_PER_KHZ ;clk_put (cpu_clk);
drivers/base/devcoredump.c +83 -53
210 lines not on this page · raw message
drivers/block/nbd.c +15 -0
@@ -52,6 +52,7 @@static DEFINE_IDR (nbd_index_idr);static DEFINE_MUTEX (nbd_index_mutex);static struct workqueue_struct *nbd_del_wq; +static struct cred *nbd_cred;static int nbd_total_devices =0 ;struct nbd_sock {
@@ -554,6 +555,7 @@ static int __sock_xmit(struct nbd_device *nbd, struct socket *sock, int send,int result;struct msghdr msg = {} ;unsigned int noreclaim_flag; +const struct cred *old_cred;if (unlikely (!sock)) { dev_err_ratelimited(disk_to_dev(nbd->disk),
@@ -562,6 +564,8 @@ static int __sock_xmit(struct nbd_device *nbd, struct socket *sock, int send,return -EINVAL ; } + old_cred =override_creds (nbd_cred); + msg.msg_iter = *iter; noreclaim_flag =memalloc_noreclaim_save ();
@@ -586,6 +590,8 @@ static int __sock_xmit(struct nbd_device *nbd, struct socket *sock, int send,memalloc_noreclaim_restore (noreclaim_flag); +revert_creds (old_cred); +return result; }
@@ -2677,7 +2683,15 @@ static int __init nbd_init(void)return -ENOMEM ; } + nbd_cred =prepare_kernel_cred (&init_task); +if (!nbd_cred) { +destroy_workqueue (nbd_del_wq); +unregister_blkdev (NBD_MAJOR ,"nbd" ); +return -ENOMEM ; + } +if (genl_register_family (&nbd_genl_family)) { +put_cred (nbd_cred);destroy_workqueue (nbd_del_wq);unregister_blkdev (NBD_MAJOR ,"nbd" );return -EINVAL ;
@@ -2732,6 +2746,7 @@ static void __exit nbd_cleanup(void)/* Also wait for nbd_dev_remove_work() completes */ destroy_workqueue (nbd_del_wq); +put_cred (nbd_cred);idr_destroy (&nbd_index_idr);unregister_blkdev (NBD_MAJOR ,"nbd" ); }
drivers/comedi/comedi_buf.c +1 -1
@@ -317,7 +317,7 @@ static unsigned int comedi_buf_munge(struct comedi_subdevice *s,unsigned int count =0 ;const unsigned int num_sample_bytes =comedi_bytes_per_sample (s); -if (!s->munge || (async->cmd.flags &CMDF_RAWDATA )) { +if (!s->munge || (async->cmd.flags &CMDF_RAWDATA ) || async->cmd.chanlist_len ==0 ) { async->munge_count += num_bytes;return num_bytes; }
drivers/cpufreq/amd-pstate.c +5 -1
@@ -1614,7 +1614,11 @@ static int amd_pstate_cpu_offline(struct cpufreq_policy *policy)* min_perf value across kexec reboots. If this CPU is just onlined normally after this, the * limits, epp and desired perf will get reset to the cached values in cpudata struct */ -return amd_pstate_update_perf (policy, perf.bios_min_perf,0U ,0U ,0U , false); +return amd_pstate_update_perf (policy, perf.bios_min_perf, +FIELD_GET (AMD_CPPC_DES_PERF_MASK , cpudata->cppc_req_cached), +FIELD_GET (AMD_CPPC_MAX_PERF_MASK , cpudata->cppc_req_cached), +FIELD_GET (AMD_CPPC_EPP_PERF_MASK , cpudata->cppc_req_cached), + false); }static int amd_pstate_suspend (struct cpufreq_policy *policy)
drivers/cpuidle/governors/menu.c +9 -12
@@ -188,20 +188,17 @@ static unsigned int get_typical_interval(struct menu_device *data)* * This can deal with workloads that have long pauses interspersed * with sporadic activity with a bunch of short pauses. +* +* However, if the number of remaining samples is too small to exclude +* any more outliers, allow the deepest available idle state to be +* selected because there are systems where the time spent by CPUs in +* deep idle states is correlated to the maximum frequency the CPUs +* can get to. On those systems, shallow idle states should be avoided +* unless there is a clear indication that the given CPU is most likley +* going to be woken up shortly. */ -if (divisor *4 <=INTERVALS *3 ) { -/* -* If there are sufficiently many data points still under -* consideration after the outliers have been eliminated, -* returning without a prediction would be a mistake because it -* is likely that the next interval will not exceed the current -* maximum, so return the latter in that case. -*/ -if (divisor >=INTERVALS /2 ) -return max; - +if (divisor *4 <=INTERVALS *3 )return UINT_MAX ; - }/* Update the thresholds for the next round. */ if (avg - min > max - avg)
drivers/firmware/arm_ffa/driver.c +27 -10
@@ -649,6 +649,26 @@ static u16 ffa_memory_attributes_get(u32 func_id)return FFA_MEM_NORMAL |FFA_MEM_WRITE_BACK |FFA_MEM_INNER_SHAREABLE ; } +static void ffa_emad_impdef_value_init (u32 version,void *dst,void *src) +{ +struct ffa_mem_region_attributes *ep_mem_access; + +if (FFA_EMAD_HAS_IMPDEF_FIELD (version)) +memcpy (dst, src,sizeof (ep_mem_access->impdef_val)); +} + +static void +ffa_mem_region_additional_setup (u32 version,struct ffa_mem_region *mem_region) +{ +if (!FFA_MEM_REGION_HAS_EP_MEM_OFFSET (version)) { + mem_region->ep_mem_size =0 ; + }else { + mem_region->ep_mem_size =ffa_emad_size_get (version); + mem_region->ep_mem_offset =sizeof (*mem_region); +memset (mem_region->reserved,0 ,12 ); + } +} +static int ffa_setup_and_transmit (u32 func_id,void *buffer,u32 max_fragsize,struct ffa_mem_ops_args *args)
@@ -667,27 +687,24 @@ ffa_setup_and_transmit(u32 func_id, void *buffer, u32 max_fragsize, mem_region->flags = args->flags; mem_region->sender_id = drv_info->vm_id; mem_region->attributes =ffa_memory_attributes_get (func_id); - ep_mem_access = buffer + -ffa_mem_desc_offset (buffer,0 , drv_info->version); composite_offset =ffa_mem_desc_offset (buffer, args->nattrs, drv_info->version); -for (idx =0 ; idx < args->nattrs; idx++, ep_mem_access++) { +for (idx =0 ; idx < args->nattrs; idx++) { + ep_mem_access = buffer + +ffa_mem_desc_offset (buffer, idx, drv_info->version); ep_mem_access->receiver = args->attrs[idx].receiver; ep_mem_access->attrs = args->attrs[idx].attrs; ep_mem_access->composite_off = composite_offset; ep_mem_access->flag =0 ; ep_mem_access->reserved =0 ; +ffa_emad_impdef_value_init (drv_info->version, + ep_mem_access->impdef_val, + args->attrs[idx].impdef_val); } mem_region->handle =0 ; mem_region->ep_count = args->nattrs; -if (drv_info->version <=FFA_VERSION_1_0 ) { - mem_region->ep_mem_size =0 ; - }else { - mem_region->ep_mem_size =sizeof (*ep_mem_access); - mem_region->ep_mem_offset =sizeof (*mem_region); -memset (mem_region->reserved,0 ,12 ); - } +ffa_mem_region_additional_setup (drv_info->version, mem_region); composite = buffer + composite_offset; composite->total_pg_cnt =ffa_get_num_pages_sg (args->sg);
drivers/firmware/arm_scmi/common.h +26 -6
@@ -309,16 +309,36 @@ enum debug_counters {SCMI_DEBUG_COUNTERS_LAST }; -static inline void scmi_inc_count (atomic_t *arr,int stat) +/** +* struct scmi_debug_info - Debug common info +* @top_dentry: A reference to the top debugfs dentry +* @name: Name of this SCMI instance +* @type: Type of this SCMI instance +* @is_atomic: Flag to state if the transport of this instance is atomic +* @counters: An array of atomic_c's used for tracking statistics (if enabled) +*/ +struct scmi_debug_info { +struct dentry *top_dentry; +const char *name; +const char *type; +bool is_atomic; +atomic_t counters[SCMI_DEBUG_COUNTERS_LAST ]; +}; + +static inline void scmi_inc_count (struct scmi_debug_info *dbg,int stat) { -if (IS_ENABLED (CONFIG_ARM_SCMI_DEBUG_COUNTERS )) -atomic_inc (&arr[stat]); +if (IS_ENABLED (CONFIG_ARM_SCMI_DEBUG_COUNTERS )) { +if (dbg) +atomic_inc (&dbg->counters[stat]); + } } -static inline void scmi_dec_count (atomic_t *arr,int stat) +static inline void scmi_dec_count (struct scmi_debug_info *dbg,int stat) { -if (IS_ENABLED (CONFIG_ARM_SCMI_DEBUG_COUNTERS )) -atomic_dec (&arr[stat]); +if (IS_ENABLED (CONFIG_ARM_SCMI_DEBUG_COUNTERS )) { +if (dbg) +atomic_dec (&dbg->counters[stat]); + } }enum scmi_bad_msg {
drivers/firmware/arm_scmi/driver.c +20 -34
162 lines not on this page · raw message
drivers/gpio/gpio-104-idio-16.c +1 -0
@@ -59,6 +59,7 @@ static const struct regmap_config idio_16_regmap_config = { .reg_stride = 1, .val_bits = 8, .io_port = true, + .max_register = 0x5, .wr_table = &idio_16_wr_table, .rd_table = &idio_16_rd_table, .volatile_table = &idio_16_rd_table,
drivers/gpio/gpio-idio-16.c +5 -0
@@ -6,6 +6,7 @@#define DEFAULT_SYMBOL_NAMESPACE "GPIO_IDIO_16" +#include <linux/bitmap.h> #include <linux/bits.h> #include <linux/device.h> #include <linux/err.h>
@@ -107,6 +108,7 @@ int devm_idio_16_regmap_register(struct device *const dev,struct idio_16_data *data;struct regmap_irq_chip *chip;struct regmap_irq_chip_data *chip_data; +DECLARE_BITMAP (fixed_direction_output,IDIO_16_NGPIO );if (!config->parent)return -EINVAL ;
@@ -164,6 +166,9 @@ int devm_idio_16_regmap_register(struct device *const dev, gpio_config.irq_domain =regmap_irq_get_domain (chip_data); gpio_config.reg_mask_xlate = idio_16_reg_mask_xlate; +bitmap_from_u64 (fixed_direction_output,GENMASK_U64 (15 ,0 )); + gpio_config.fixed_direction_output = fixed_direction_output; +return PTR_ERR_OR_ZERO (devm_gpio_regmap_register (dev, &gpio_config)); }EXPORT_SYMBOL_GPL (devm_idio_16_regmap_register);
drivers/gpio/gpio-ljca.c +3 -11
@@ -286,22 +286,14 @@ static void ljca_gpio_event_cb(void *context, u8 cmd, const void *evt_data, {const struct ljca_gpio_packet *packet = evt_data;struct ljca_gpio_dev *ljca_gpio = context; -int i, irq; +int i;if (cmd !=LJCA_GPIO_INT_EVENT )return ;for (i =0 ; i < packet->num; i++) { - irq =irq_find_mapping (ljca_gpio->gc.irq.domain, - packet->item[i].index); -if (!irq) { -dev_err (ljca_gpio->gc.parent, -"gpio_id %u does not mapped to IRQ yet\n" , - packet->item[i].index); -return ; - } - -generic_handle_domain_irq (ljca_gpio->gc.irq.domain, irq); +generic_handle_domain_irq (ljca_gpio->gc.irq.domain, + packet->item[i].index);set_bit (packet->item[i].index, ljca_gpio->reenable_irqs); }
drivers/gpio/gpio-pci-idio-16.c +1 -0
@@ -41,6 +41,7 @@ static const struct regmap_config idio_16_regmap_config = { .reg_stride = 1, .val_bits = 8, .io_port = true, + .max_register = 0x7, .wr_table = &idio_16_wr_table, .rd_table = &idio_16_rd_table, .volatile_table = &idio_16_rd_table,
drivers/gpio/gpio-regmap.c +50 -3
97 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c +3 -0
@@ -200,6 +200,9 @@ void dcn401_init_hw(struct dc *dc)*/ struct dc_link *link = dc->links[i]; +if (link->ep_type !=DISPLAY_ENDPOINT_PHY ) +continue ; + link->link_enc->funcs->hw_init (link->link_enc);/* Check for enabled DIG to identify enabled display */
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h +7 -1
@@ -44,7 +44,13 @@*/ #define MAX_PIPES 6#define MAX_PHANTOM_PIPES (MAX_PIPES / 2) -#define MAX_LINKS (MAX_PIPES * 2 +2) + +#define MAX_DPIA 6 +#define MAX_CONNECTOR 6 +#define MAX_VIRTUAL_LINKS 4 + +#define MAX_LINKS (MAX_DPIA + MAX_CONNECTOR + MAX_VIRTUAL_LINKS) +#define MAX_DIG_LINK_ENCODERS 7#define MAX_DWB_PIPES 1#define MAX_HPO_DP2_ENCODERS 4
drivers/gpu/drm/drm_panic.c +51 -3
84 lines not on this page · raw message
drivers/gpu/drm/panthor/panthor_mmu.c +7 -3
@@ -1147,10 +1147,14 @@ panthor_vm_op_ctx_prealloc_vmas(struct panthor_vm_op_ctx *op_ctx)break ;case DRM_PANTHOR_VM_BIND_OP_TYPE_UNMAP : -/* Partial unmaps might trigger a remap with either a prev or a next VA, -* but not both. +/* Two VMAs can be needed for an unmap, as an unmap can happen +* in the middle of a drm_gpuva, requiring a remap with both +* prev & next VA. Or an unmap can span more than one drm_gpuva +* where the first and last ones are covered partially, requring +* a remap for the first with a prev VA and remap for the last +* with a next VA. */ - vma_count =1 ; + vma_count =2 ;break ;default :
drivers/gpu/drm/xe/xe_ggtt.c +3 -0
@@ -291,6 +291,9 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt) ggtt->pt_ops = &xelp_pt_ops; ggtt->wq =alloc_workqueue ("xe-ggtt-wq" ,0 ,WQ_MEM_RECLAIM ); +if (!ggtt->wq) +return -ENOMEM ; +__xe_ggtt_init_early (ggtt,xe_wopcm_size (xe)); err =drmm_add_action_or_reset (&xe->drm, ggtt_fini_early, ggtt);
drivers/hwmon/cgbc-hwmon.c +3 -0
@@ -107,6 +107,9 @@ static int cgbc_hwmon_probe_sensors(struct device *dev, struct cgbc_hwmon_data * nb_sensors = data[0 ]; hwmon->sensors =devm_kzalloc (dev,sizeof (*hwmon->sensors) * nb_sensors,GFP_KERNEL ); +if (!hwmon->sensors) +return -ENOMEM ; + sensor = hwmon->sensors;for (i =0 ; i < nb_sensors; i++) {
drivers/hwmon/pmbus/isl68137.c +1 -2
@@ -334,10 +334,9 @@ static int isl68137_probe_from_dt(struct device *dev, struct isl68137_data *data) {const struct device_node *np = dev->of_node; -struct device_node *child;int err; -for_each_child_of_node (np, child) { +for_each_child_of_node_scoped (np, child) {if (strcmp (child->name,"channel" ))continue ;
drivers/hwmon/pmbus/max34440.c +6 -6
@@ -336,18 +336,18 @@ static struct pmbus_driver_info max34440_info[] = { .format[PSC_CURRENT_IN] = direct, .format[PSC_CURRENT_OUT] = direct, .format[PSC_TEMPERATURE] = direct, - .m[PSC_VOLTAGE_IN] = 1, + .m[PSC_VOLTAGE_IN] = 125, .b[PSC_VOLTAGE_IN] = 0, .R[PSC_VOLTAGE_IN] = 0, - .m[PSC_VOLTAGE_OUT] = 1, + .m[PSC_VOLTAGE_OUT] = 125, .b[PSC_VOLTAGE_OUT] = 0, .R[PSC_VOLTAGE_OUT] = 0, - .m[PSC_CURRENT_IN] = 1, + .m[PSC_CURRENT_IN] = 250, .b[PSC_CURRENT_IN] = 0, - .R[PSC_CURRENT_IN] = 2, - .m[PSC_CURRENT_OUT] = 1, + .R[PSC_CURRENT_IN] = -1, + .m[PSC_CURRENT_OUT] = 250, .b[PSC_CURRENT_OUT] = 0, - .R[PSC_CURRENT_OUT] = 2, + .R[PSC_CURRENT_OUT] = -1, .m[PSC_TEMPERATURE] = 1, .b[PSC_TEMPERATURE] = 0, .R[PSC_TEMPERATURE] = 2,
drivers/hwmon/sht3x.c +17 -10
@@ -291,24 +291,26 @@ static struct sht3x_data *sht3x_update_client(struct device *dev)return data; } -static int temp1_input_read (struct device *dev) +static int temp1_input_read (struct device *dev,long *temp) {struct sht3x_data *data =sht3x_update_client (dev);if (IS_ERR (data))return PTR_ERR (data); -return data->temperature; + *temp = data->temperature; +return 0 ; } -static int humidity1_input_read (struct device *dev) +static int humidity1_input_read (struct device *dev,long *humidity) {struct sht3x_data *data =sht3x_update_client (dev);if (IS_ERR (data))return PTR_ERR (data); -return data->humidity; + *humidity = data->humidity; +return 0 ; }/*
@@ -706,6 +708,7 @@ static int sht3x_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *val) { enum sht3x_limits index; +int ret;switch (type) {case hwmon_chip:
@@ -720,10 +723,12 @@ static int sht3x_read(struct device *dev, enum hwmon_sensor_types type,case hwmon_temp:switch (attr) {case hwmon_temp_input: - *val =temp1_input_read (dev); -break ; +return temp1_input_read (dev, val);case hwmon_temp_alarm: - *val =temp1_alarm_read (dev); + ret =temp1_alarm_read (dev); +if (ret <0 ) +return ret; + *val = ret;break ;case hwmon_temp_max: index = limit_max;
@@ -748,10 +753,12 @@ static int sht3x_read(struct device *dev, enum hwmon_sensor_types type,case hwmon_humidity:switch (attr) {case hwmon_humidity_input: - *val =humidity1_input_read (dev); -break ; +return humidity1_input_read (dev, val);case hwmon_humidity_alarm: - *val =humidity1_alarm_read (dev); + ret =humidity1_alarm_read (dev); +if (ret <0 ) +return ret; + *val = ret;break ;case hwmon_humidity_max: index = limit_max;
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c +1 -1
@@ -30,7 +30,7 @@ static u32 fsl_mc_msi_domain_get_msi_id(struct irq_domain *domain,u32 out_id; of_node =irq_domain_get_of_node (domain); - out_id = of_node ?of_msi_map_id (&mc_dev->dev, of_node, mc_dev->icid) : + out_id = of_node ?of_msi_xlate (&mc_dev->dev, &of_node, mc_dev->icid) :iort_msi_map_id (&mc_dev->dev, mc_dev->icid);return out_id;
drivers/misc/fastrpc.c +2 -0
@@ -384,6 +384,8 @@ static int fastrpc_map_lookup(struct fastrpc_user *fl, int fd, }spin_unlock (&fl->lock); +dma_buf_put (buf); +return ret; }
drivers/misc/lkdtm/fortify.c +6 -0
@@ -44,6 +44,9 @@ static void lkdtm_FORTIFY_STR_MEMBER(void)char *src; src =kmalloc (size,GFP_KERNEL ); +if (!src) +return ; +strscpy (src,"over ten bytes" , size); size =strlen (src) +1 ;
@@ -109,6 +112,9 @@ static void lkdtm_FORTIFY_MEM_MEMBER(void)char *src; src =kmalloc (size,GFP_KERNEL ); +if (!src) +return ; +strscpy (src,"over ten bytes" , size); size =strlen (src) +1 ;
drivers/misc/mei/hw-me-regs.h +2 -0
@@ -120,6 +120,8 @@#define MEI_DEV_ID_PTL_H 0xE370/* Panther Lake H */ #define MEI_DEV_ID_PTL_P 0xE470/* Panther Lake P */ +#define MEI_DEV_ID_WCL_P 0x4D70/* Wildcat Lake P */ +/* * MEI HW Section */
drivers/misc/mei/pci-me.c +2 -0
@@ -127,6 +127,8 @@ static const struct pci_device_id mei_me_pci_tbl[] = { {MEI_PCI_DEVICE(MEI_DEV_ID_PTL_H, MEI_ME_PCH15_CFG)}, {MEI_PCI_DEVICE(MEI_DEV_ID_PTL_P, MEI_ME_PCH15_CFG)}, + {MEI_PCI_DEVICE(MEI_DEV_ID_WCL_P, MEI_ME_PCH15_CFG)}, +/* required last entry */ {0, } };
drivers/misc/vmw_balloon.c +3 -5
@@ -1737,7 +1737,7 @@ static int vmballoon_migratepage(struct balloon_dev_info *b_dev_info, {unsigned long status, flags;struct vmballoon *b; -int ret; +int ret =0 ; b = container_of(b_dev_info, struct vmballoon, b_dev_info);
@@ -1796,17 +1796,15 @@ static int vmballoon_migratepage(struct balloon_dev_info *b_dev_info,* A failure happened. While we can deflate the page we just * inflated, this deflation can also encounter an error. Instead * we will decrease the size of the balloon to reflect the -* change and report failure. +* change. */ atomic64_dec (&b->size); - ret = -EBUSY ; }else {/* * Success. Take a reference for the page, and we will add it to * the list after acquiring the lock. */ get_page (newpage); - ret =MIGRATEPAGE_SUCCESS ; }/* Update the balloon list under the @pages_lock */
@@ -1817,7 +1815,7 @@ static int vmballoon_migratepage(struct balloon_dev_info *b_dev_info,* If we succeed just insert it to the list and update the statistics * under the lock. */ -if (ret ==MIGRATEPAGE_SUCCESS ) { +if (status ==VMW_BALLOON_SUCCESS ) {balloon_page_insert (&b->b_dev_info, newpage);__count_vm_event (BALLOON_MIGRATE ); }
drivers/most/most_usb.c +5 -8
@@ -929,6 +929,10 @@ static void release_mdev(struct device *dev) {struct most_dev *mdev =to_mdev_from_dev (dev); +kfree (mdev->busy_urbs); +kfree (mdev->cap); +kfree (mdev->conf); +kfree (mdev->ep_address);kfree (mdev); }/**
@@ -1093,7 +1097,7 @@ hdm_probe(struct usb_interface *interface, const struct usb_device_id *id) err_free_conf:kfree (mdev->conf); err_free_mdev: -put_device (&mdev->dev); +kfree (mdev);return ret; }
@@ -1121,13 +1125,6 @@ static void hdm_disconnect(struct usb_interface *interface)if (mdev->dci)device_unregister (&mdev->dci->dev);most_deregister_interface (&mdev->iface); - -kfree (mdev->busy_urbs); -kfree (mdev->cap); -kfree (mdev->conf); -kfree (mdev->ep_address); -put_device (&mdev->dci->dev); -put_device (&mdev->dev); }static int hdm_suspend (struct usb_interface *interface,pm_message_t message)
drivers/net/bonding/bond_main.c +23 -24
87 lines not on this page · raw message
drivers/net/can/bxcan.c +1 -1
@@ -842,7 +842,7 @@ static netdev_tx_t bxcan_start_xmit(struct sk_buff *skb,u32 id;int i, j; -if (can_dropped_invalid_skb (ndev, skb)) +if (can_dev_dropped_skb (ndev, skb))return NETDEV_TX_OK ;if (bxcan_tx_busy (priv))
drivers/net/can/dev/netlink.c +4 -2
@@ -285,7 +285,9 @@ static int can_changelink(struct net_device *dev, struct nlattr *tb[], }if (data[IFLA_CAN_RESTART_MS ]) { -if (!priv->do_set_mode) { +unsigned int restart_ms =nla_get_u32 (data[IFLA_CAN_RESTART_MS ]); + +if (restart_ms !=0 && !priv->do_set_mode) {NL_SET_ERR_MSG (extack,"Device doesn't support restart from Bus Off" );return -EOPNOTSUPP ;
@@ -294,7 +296,7 @@ static int can_changelink(struct net_device *dev, struct nlattr *tb[],/* Do not allow changing restart delay while running */ if (dev->flags &IFF_UP )return -EBUSY ; - priv->restart_ms =nla_get_u32 (data[IFLA_CAN_RESTART_MS ]); + priv->restart_ms = restart_ms; }if (data[IFLA_CAN_RESTART ]) {
drivers/net/can/esd/esdacc.c +1 -1
@@ -254,7 +254,7 @@ netdev_tx_t acc_start_xmit(struct sk_buff *skb, struct net_device *netdev)u32 acc_id;u32 acc_dlc; -if (can_dropped_invalid_skb (netdev, skb)) +if (can_dev_dropped_skb (netdev, skb))return NETDEV_TX_OK ;/* Access core->tx_fifo_tail only once because it may be changed
drivers/net/can/rockchip/rockchip_canfd-tx.c +1 -1
@@ -72,7 +72,7 @@ netdev_tx_t rkcanfd_start_xmit(struct sk_buff *skb, struct net_device *ndev)int err;u8 i; -if (can_dropped_invalid_skb (ndev, skb)) +if (can_dev_dropped_skb (ndev, skb))return NETDEV_TX_OK ; if (!netif_subqueue_maybe_stop(priv->ndev, 0,
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c +1 -2
@@ -1077,8 +1077,7 @@ static int dpaa2_eth_build_single_fd(struct dpaa2_eth_priv *priv,dma_addr_t addr; buffer_start = skb->data -dpaa2_eth_needed_headroom (skb); - aligned_start =PTR_ALIGN (buffer_start -DPAA2_ETH_TX_BUF_ALIGN , -DPAA2_ETH_TX_BUF_ALIGN ); + aligned_start =PTR_ALIGN (buffer_start,DPAA2_ETH_TX_BUF_ALIGN );if (aligned_start >= skb->head) buffer_start = aligned_start;else
drivers/net/ethernet/freescale/enetc/enetc.c +21 -4
@@ -1558,6 +1558,8 @@ static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring,/* next descriptor to process */ i = rx_ring->next_to_clean; +enetc_lock_mdio (); +while (likely (rx_frm_cnt < work_limit)) {union enetc_rx_bd *rxbd;struct sk_buff *skb;
@@ -1593,7 +1595,9 @@ static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring, rx_byte_cnt += skb->len +ETH_HLEN ; rx_frm_cnt++; +enetc_unlock_mdio ();napi_gro_receive (napi, skb); +enetc_lock_mdio (); } rx_ring->next_to_clean = i;
@@ -1601,6 +1605,8 @@ static int enetc_clean_rx_ring(struct enetc_bdr *rx_ring, rx_ring->stats.packets += rx_frm_cnt; rx_ring->stats.bytes += rx_byte_cnt; +enetc_unlock_mdio (); +return rx_frm_cnt; }
@@ -1910,6 +1916,8 @@ static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring,/* next descriptor to process */ i = rx_ring->next_to_clean; +enetc_lock_mdio (); +while (likely (rx_frm_cnt < work_limit)) {union enetc_rx_bd *rxbd, *orig_rxbd;struct xdp_buff xdp_buff;
@@ -1973,7 +1981,9 @@ static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring,*/ enetc_bulk_flip_buff (rx_ring, orig_i, i); +enetc_unlock_mdio ();napi_gro_receive (napi, skb); +enetc_lock_mdio ();break ;case XDP_TX : tx_ring = priv->xdp_tx_ring[rx_ring->index];
@@ -2008,7 +2018,9 @@ static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring, }break ;case XDP_REDIRECT : +enetc_unlock_mdio (); err =xdp_do_redirect (rx_ring->ndev, &xdp_buff, prog); +enetc_lock_mdio ();if (unlikely (err)) {enetc_xdp_drop (rx_ring, orig_i, i); rx_ring->stats.xdp_redirect_failures++;
@@ -2028,8 +2040,11 @@ static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring, rx_ring->stats.packets += rx_frm_cnt; rx_ring->stats.bytes += rx_byte_cnt; -if (xdp_redirect_frm_cnt) +if (xdp_redirect_frm_cnt) { +enetc_unlock_mdio ();xdp_do_flush (); +enetc_lock_mdio (); + }if (xdp_tx_frm_cnt)enetc_update_tx_ring_tail (tx_ring);
@@ -2038,6 +2053,8 @@ static int enetc_clean_rx_ring_xdp(struct enetc_bdr *rx_ring,enetc_refill_rx_ring (rx_ring,enetc_bd_unused (rx_ring) - rx_ring->xdp.xdp_tx_in_flight); +enetc_unlock_mdio (); +return rx_frm_cnt; }
@@ -2056,6 +2073,7 @@ static int enetc_poll(struct napi_struct *napi, int budget)for (i =0 ; i < v->count_tx_rings; i++)if (!enetc_clean_tx_ring (&v->tx_ring[i], budget)) complete = false; +enetc_unlock_mdio (); prog = rx_ring->xdp.prog;if (prog)
@@ -2067,10 +2085,8 @@ static int enetc_poll(struct napi_struct *napi, int budget)if (work_done) v->rx_napi_work = true; -if (!complete) { -enetc_unlock_mdio (); +if (!complete)return budget; - }napi_complete_done (napi, work_done);
@@ -2079,6 +2095,7 @@ static int enetc_poll(struct napi_struct *napi, int budget) v->rx_napi_work = false; +enetc_lock_mdio ();/* enable interrupts */ enetc_wr_reg_hot (v->rbier,ENETC_RBIER_RXTIE );
drivers/net/ethernet/freescale/enetc/enetc.h +1 -1
@@ -67,7 +67,7 @@ struct enetc_lso_t {#define ENETC_LSO_MAX_DATA_LEN SZ_256K#define ENETC_RX_MAXFRM_SIZE ENETC_MAC_MAXFRM_SIZE -#define ENETC_RXB_TRUESIZE 2048/* PAGE_SIZE >> 1 */ +#define ENETC_RXB_TRUESIZE (PAGE_SIZE >> 1)#define ENETC_RXB_PAD NET_SKB_PAD/* add extra space if needed */ #define ENETC_RXB_DMA_SIZE \ (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
drivers/net/ethernet/hisilicon/Kconfig +1 -0
@@ -148,6 +148,7 @@ config HIBMCGE tristate "Hisilicon BMC Gigabit Ethernet Device Support" depends on PCI && PCI_MSI select PHYLIB + select FIXED_PHY select MOTORCOMM_PHY select REALTEK_PHY help
drivers/net/ethernet/mellanox/mlx5/core/en/params.c +1 -1
@@ -99,7 +99,7 @@ u8 mlx5e_mpwrq_umr_entry_size(enum mlx5e_mpwrq_umr_mode mode)return sizeof (struct mlx5_ksm ) *4 ; }WARN_ONCE (1 ,"MPWRQ UMR mode %d is not known\n" , mode); -return 0 ; +return 1 ; } u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift,
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h +5 -0
@@ -342,6 +342,7 @@ void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry,void mlx5e_ipsec_handle_mpv_event (int event,struct mlx5e_priv *slave_priv,struct mlx5e_priv *master_priv);void mlx5e_ipsec_send_event (struct mlx5e_priv *priv,int event); +void mlx5e_ipsec_disable_events (struct mlx5e_priv *priv);static inline struct mlx5_core_dev *mlx5e_ipsec_sa2dev (struct mlx5e_ipsec_sa_entry *sa_entry)
@@ -387,6 +388,10 @@ static inline void mlx5e_ipsec_handle_mpv_event(int event, struct mlx5e_priv *slstatic inline void mlx5e_ipsec_send_event (struct mlx5e_priv *priv,int event) { } + +static inline void mlx5e_ipsec_disable_events (struct mlx5e_priv *priv) +{ +}#endif #endif /* __MLX5E_IPSEC_H__ */
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c +23 -2
@@ -2869,9 +2869,30 @@ void mlx5e_ipsec_handle_mpv_event(int event, struct mlx5e_priv *slave_priv,void mlx5e_ipsec_send_event (struct mlx5e_priv *priv,int event) { -if (!priv->ipsec) -return ;/* IPsec not supported */ +if (!priv->ipsec ||mlx5_devcom_comp_get_size (priv->devcom) <2 ) +return ;/* IPsec not supported or no peers */ mlx5_devcom_send_event (priv->devcom, event, event, priv);wait_for_completion (&priv->ipsec->comp); } + +void mlx5e_ipsec_disable_events (struct mlx5e_priv *priv) +{ +struct mlx5_devcom_comp_dev *tmp =NULL ; +struct mlx5e_priv *peer_priv; + +if (!priv->devcom) +return ; + +if (!mlx5_devcom_for_each_peer_begin (priv->devcom)) + goto out; + + peer_priv =mlx5_devcom_get_next_peer_data (priv->devcom, &tmp); +if (peer_priv) +complete_all (&peer_priv->ipsec->comp); + +mlx5_devcom_for_each_peer_end (priv->devcom); +out: +mlx5_devcom_unregister_component (priv->devcom); + priv->devcom =NULL ; +}
drivers/net/ethernet/mellanox/mlx5/core/en_main.c +2 -0
@@ -261,6 +261,7 @@ static void mlx5e_devcom_cleanup_mpv(struct mlx5e_priv *priv) }mlx5_devcom_unregister_component (priv->devcom); + priv->devcom =NULL ; }static int blocking_event (struct notifier_block *nb,unsigned long event,void *data)
@@ -6068,6 +6069,7 @@ static void mlx5e_nic_disable(struct mlx5e_priv *priv)if (mlx5e_monitor_counter_supported (priv))mlx5e_monitor_counter_cleanup (priv); +mlx5e_ipsec_disable_events (priv);mlx5e_disable_blocking_events (priv);mlx5e_disable_async_events (priv);mlx5_lag_remove_netdev (mdev, priv->netdev);
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +42 -9
96 lines not on this page · raw message
drivers/net/ethernet/renesas/ravb_main.c +22 -2
@@ -2210,15 +2210,35 @@ static netdev_tx_t ravb_start_xmit(struct sk_buff *skb, struct net_device *ndev)skb_tx_timestamp (skb); } -/* Descriptor type must be set after all the above writes */ -dma_wmb (); +if (num_tx_desc >1 ) { desc->die_dt =DT_FEND ; desc--; +/* When using multi-descriptors, DT_FEND needs to get written +* before DT_FSTART, but the compiler may reorder the memory +* writes in an attempt to optimize the code. +* Use a dma_wmb() barrier to make sure DT_FEND and DT_FSTART +* are written exactly in the order shown in the code. +* This is particularly important for cases where the DMA engine +* is already running when we are running this code. If the DMA +* sees DT_FSTART without the corresponding DT_FEND it will enter +* an error condition. +*/ +dma_wmb (); desc->die_dt =DT_FSTART ; }else { +/* Descriptor type must be set after all the above writes */ +dma_wmb (); desc->die_dt =DT_FSINGLE ; } + +/* Before ringing the doorbell we need to make sure that the latest +* writes have been committed to memory, otherwise it could delay +* things until the doorbell is rang again. +* This is in replacement of the read operation mentioned in the HW +* manuals. +*/ +dma_wmb ();ravb_modify (ndev,TCCR ,TCCR_TSRQ0 << q,TCCR_TSRQ0 << q); priv->cur_tx[q] += num_tx_desc;
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +5 -4
@@ -1448,14 +1448,15 @@ static int gmac_clk_enable(struct rk_priv_data *bsp_priv, bool enable) } }else {if (bsp_priv->clk_enabled) { +if (bsp_priv->ops && bsp_priv->ops->set_clock_selection) { + bsp_priv->ops->set_clock_selection (bsp_priv, + bsp_priv->clock_input, false); + } +clk_bulk_disable_unprepare (bsp_priv->num_clks, bsp_priv->clks);clk_disable_unprepare (bsp_priv->clk_phy); -if (bsp_priv->ops && bsp_priv->ops->set_clock_selection) - bsp_priv->ops->set_clock_selection (bsp_priv, - bsp_priv->clock_input, false); - bsp_priv->clk_enabled = false; } }
drivers/net/ethernet/ti/am65-cpts.c +43 -20
136 lines not on this page · raw message
drivers/net/ovpn/tcp.c +22 -4
@@ -560,16 +560,34 @@ static void ovpn_tcp_close(struct sock *sk, long timeout)static __poll_t ovpn_tcp_poll (struct file *file,struct socket *sock,poll_table *wait) { -__poll_t mask =datagram_poll (file, sock, wait); +struct sk_buff_head *queue = &sock->sk->sk_receive_queue;struct ovpn_socket *ovpn_sock; +struct ovpn_peer *peer =NULL ; +__poll_t mask;rcu_read_lock (); ovpn_sock =rcu_dereference_sk_user_data (sock->sk); -if (ovpn_sock && ovpn_sock->peer && - !skb_queue_empty (&ovpn_sock->peer->tcp.user_queue)) - mask |=EPOLLIN |EPOLLRDNORM ; +/* if we landed in this callback, we expect to have a +* meaningful state. The ovpn_socket lifecycle would +* prevent it otherwise. +*/ +if (WARN (!ovpn_sock || !ovpn_sock->peer, +"ovpn: null state in ovpn_tcp_poll!" )) { +rcu_read_unlock (); +return 0 ; + } + +if (ovpn_peer_hold (ovpn_sock->peer)) { + peer = ovpn_sock->peer; + queue = &peer->tcp.user_queue; + }rcu_read_unlock (); + mask =datagram_poll_queue (file, sock, wait, queue); + +if (peer) +ovpn_peer_put (peer); +return mask; }
drivers/net/phy/micrel.c +2 -2
@@ -4109,6 +4109,8 @@ static int lan8814_ptp_probe_once(struct phy_device *phydev) {struct lan8814_shared_priv *shared =phy_package_get_priv (phydev); + shared->phydev = phydev; +/* Initialise shared lock for clock*/ mutex_init (&shared->shared_lock);
@@ -4164,8 +4166,6 @@ static int lan8814_ptp_probe_once(struct phy_device *phydev)phydev_dbg (phydev,"successfully registered ptp clock\n" ); - shared->phydev = phydev; -/* The EP.4 is shared between all the PHYs in the package and also it * can be accessed by any of the PHYs */
drivers/net/phy/realtek/realtek_main.c +8 -8
@@ -156,7 +156,7 @@#define RTL_8211FVD_PHYID 0x001cc878#define RTL_8221B 0x001cc840#define RTL_8221B_VB_CG 0x001cc849 -#define RTL_8221B_VN_CG 0x001cc84a +#define RTL_8221B_VM_CG 0x001cc84a#define RTL_8251B 0x001cc862#define RTL_8261C 0x001cc890
@@ -1362,16 +1362,16 @@ static int rtl8221b_vb_cg_c45_match_phy_device(struct phy_device *phydev,return rtlgen_is_c45_match (phydev,RTL_8221B_VB_CG , true); } -static int rtl8221b_vn_cg_c22_match_phy_device (struct phy_device *phydev, +static int rtl8221b_vm_cg_c22_match_phy_device (struct phy_device *phydev,const struct phy_driver *phydrv) { -return rtlgen_is_c45_match (phydev,RTL_8221B_VN_CG , false); +return rtlgen_is_c45_match (phydev,RTL_8221B_VM_CG , false); } -static int rtl8221b_vn_cg_c45_match_phy_device (struct phy_device *phydev, +static int rtl8221b_vm_cg_c45_match_phy_device (struct phy_device *phydev,const struct phy_driver *phydrv) { -return rtlgen_is_c45_match (phydev,RTL_8221B_VN_CG , true); +return rtlgen_is_c45_match (phydev,RTL_8221B_VM_CG , true); } static int rtl_internal_nbaset_match_phy_device(struct phy_device *phydev,
@@ -1718,7 +1718,7 @@ static struct phy_driver realtek_drvs[] = { .suspend = genphy_c45_pma_suspend, .resume = rtlgen_c45_resume, }, { - .match_phy_device = rtl8221b_vn_cg_c22_match_phy_device, + .match_phy_device = rtl8221b_vm_cg_c22_match_phy_device, .name = "RTL8221B-VM-CG 2.5Gbps PHY (C22)", .probe = rtl822x_probe, .get_features = rtl822x_get_features,
@@ -1731,8 +1731,8 @@ static struct phy_driver realtek_drvs[] = { .read_page = rtl821x_read_page, .write_page = rtl821x_write_page, }, { - .match_phy_device = rtl8221b_vn_cg_c45_match_phy_device, - .name = "RTL8221B-VN-CG 2.5Gbps PHY (C45)", + .match_phy_device = rtl8221b_vm_cg_c45_match_phy_device, + .name = "RTL8221B-VM-CG 2.5Gbps PHY (C45)", .probe = rtl822x_probe, .config_init = rtl822xb_config_init, .get_rate_matching = rtl822xb_get_rate_matching,
drivers/net/usb/rtl8150.c +9 -2
@@ -685,9 +685,16 @@ static netdev_tx_t rtl8150_start_xmit(struct sk_buff *skb,rtl8150_t *dev =netdev_priv (netdev);int count, res; +/* pad the frame and ensure terminating USB packet, datasheet 9.2.3 */ + count =max (skb->len,ETH_ZLEN ); +if (count %64 ==0 ) + count++; +if (skb_padto (skb, count)) { + netdev->stats.tx_dropped++; +return NETDEV_TX_OK ; + } +netif_stop_queue (netdev); - count = (skb->len <60 ) ?60 : skb->len; - count = (count &0x3f ) ? count : count +1 ; dev->tx_skb = skb;usb_fill_bulk_urb (dev->tx_urb, dev->udev,usb_sndbulkpipe (dev->udev,2 ), skb->data, count, write_bulk_callback, dev);
drivers/nvmem/rcar-efuse.c +1 -0
@@ -127,6 +127,7 @@ static const struct of_device_id rcar_fuse_match[] = { { .compatible = "renesas,r8a779h0-otp", .data = &rcar_fuse_v4m }, {/* sentinel */ } }; +MODULE_DEVICE_TABLE (of, rcar_fuse_match);static struct platform_driver rcar_fuse_driver = { .probe = rcar_fuse_probe,
drivers/of/irq.c +40 -22
87 lines not on this page · raw message
drivers/pci/msi/irqdomain.c +1 -1
@@ -479,7 +479,7 @@ u32 pci_msi_domain_get_msi_rid(struct irq_domain *domain, struct pci_dev *pdev)pci_for_each_dma_alias (pdev, get_msi_id_cb, &rid); of_node =irq_domain_get_of_node (domain); - rid = of_node ?of_msi_map_id (&pdev->dev, of_node, rid) : + rid = of_node ?of_msi_xlate (&pdev->dev, &of_node, rid) :iort_msi_map_id (&pdev->dev, rid);return rid;
drivers/pci/pci.c +5 -1
@@ -5932,6 +5932,7 @@ int pcie_set_readrq(struct pci_dev *dev, int rq) {u16 v;int ret; +unsigned int firstbit;struct pci_host_bridge *bridge =pci_find_host_bridge (dev->bus);if (rq <128 || rq >4096 || !is_power_of_2 (rq))
@@ -5949,7 +5950,10 @@ int pcie_set_readrq(struct pci_dev *dev, int rq) rq = mps; } - v =FIELD_PREP (PCI_EXP_DEVCTL_READRQ ,ffs (rq) -8 ); + firstbit =ffs (rq); +if (firstbit <8 ) +return -EINVAL ; + v =FIELD_PREP (PCI_EXP_DEVCTL_READRQ , firstbit -8 );if (bridge->no_inc_mrrs) {int max_mrrs =pcie_get_readrq (dev);
drivers/perf/hisilicon/hisi_uncore_pmu.c +1 -1
@@ -234,7 +234,7 @@ int hisi_uncore_pmu_event_init(struct perf_event *event)return -EINVAL ; hisi_pmu =to_hisi_pmu (event->pmu); -if (event->attr.config > hisi_pmu->check_event) +if ((event->attr.config &HISI_EVENTID_MASK ) > hisi_pmu->check_event)return -EINVAL ;if (hisi_pmu->on_cpu ==-1 )
drivers/perf/hisilicon/hisi_uncore_pmu.h +2 -1
@@ -43,7 +43,8 @@return FIELD_GET (GENMASK_ULL (hi, lo), event->attr.config); \ } -#define HISI_GET_EVENTID (ev) (ev->hw.config_base & 0xff) +#define HISI_EVENTID_MASK GENMASK(7, 0) +#define HISI_GET_EVENTID (ev) ((ev)->hw.config_base & HISI_EVENTID_MASK)#define HISI_PMU_EVTYPE_BITS 8#define HISI_PMU_EVTYPE_SHIFT (idx) ((idx) % 4 * HISI_PMU_EVTYPE_BITS)
drivers/platform/mellanox/mlxbf-pmc.c +1 -0
@@ -2015,6 +2015,7 @@ static int mlxbf_pmc_init_perftype_counter(struct device *dev, unsigned int blk_if (pmc->block[blk_num].type ==MLXBF_PMC_TYPE_CRSPACE ) {/* Program crspace counters to count clock cycles using "count_clock" sysfs */ attr = &pmc->block[blk_num].attr_count_clock; +sysfs_attr_init (&attr->dev_attr.attr); attr->dev_attr.attr.mode =0644 ; attr->dev_attr.show = mlxbf_pmc_count_clock_show; attr->dev_attr.store = mlxbf_pmc_count_clock_store;
drivers/platform/x86/dell/alienware-wmi-wmax.c +10 -2
@@ -209,6 +209,14 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = { }, .driver_data = &g_series_quirks, }, + { + .ident = "Dell Inc. G15 5530", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), + DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5530"), + }, + .driver_data = &g_series_quirks, + }, { .ident ="Dell Inc. G16 7630" , .matches = {
@@ -1639,7 +1647,7 @@ static int wmax_wmi_probe(struct wmi_device *wdev, const void *context)static int wmax_wmi_suspend (struct device *dev) { -if (awcc->hwmon) +if (awcc && awcc->hwmon)awcc_hwmon_suspend (dev);return 0 ;
@@ -1647,7 +1655,7 @@ static int wmax_wmi_suspend(struct device *dev)static int wmax_wmi_resume (struct device *dev) { -if (awcc->hwmon) +if (awcc && awcc->hwmon)awcc_hwmon_resume (dev);return 0 ;
drivers/ptp/ptp_ocp.c +1 -1
@@ -2550,7 +2550,7 @@ ptp_ocp_sma_fb_init(struct ptp_ocp *bp)for (i =0 ; i <OCP_SMA_NUM ; i++) { bp->sma[i].fixed_fcn = true; bp->sma[i].fixed_dir = true; - bp->sma[1 ].dpll_prop.capabilities &= + bp->sma[i].dpll_prop.capabilities &= ~DPLL_PIN_CAPABILITIES_DIRECTION_CAN_CHANGE ; }return ;
drivers/s390/crypto/zcrypt_ep11misc.c +3 -1
@@ -1405,7 +1405,9 @@ int ep11_clr2keyblob(u16 card, u16 domain, u32 keybitsize, u32 keygenflags,/* Step 3: import the encrypted key value as a new key */ rc =ep11_unwrapkey (card, domain, kek, keklen, encbuf, encbuflen,0 , def_iv, - keybitsize,0 , keybuf, keybufsize, keytype, xflags); + keybitsize, keygenflags, + keybuf, keybufsize, + keytype, xflags);if (rc) {ZCRYPT_DBF_ERR ("%s importing key value as new key failed, rc=%d\n" , __func__, rc);
drivers/spi/spi-airoha-snfi.c +97 -31
227 lines not on this page · raw message
drivers/spi/spi-cadence-quadspi.c +3 -2
@@ -1995,7 +1995,7 @@ static int cqspi_probe(struct platform_device *pdev)if (cqspi->use_direct_mode) { ret =cqspi_request_mmap_dma (cqspi);if (ret == -EPROBE_DEFER ) - goto probe_setup_failed; + goto probe_dma_failed; }if (!(ddata && (ddata->quirks &CQSPI_DISABLE_RUNTIME_PM ))) {
@@ -2019,9 +2019,10 @@ static int cqspi_probe(struct platform_device *pdev)return 0 ; probe_setup_failed: -cqspi_controller_enable (cqspi,0 );if (!(ddata && (ddata->quirks &CQSPI_DISABLE_RUNTIME_PM )))pm_runtime_disable (dev); +probe_dma_failed: +cqspi_controller_enable (cqspi,0 ); probe_reset_failed:if (cqspi->is_jh7110)cqspi_jh7110_disable_clk (pdev, cqspi);
drivers/spi/spi-nxp-fspi.c +76 -4
42 lines not on this page · raw message
drivers/staging/gpib/agilent_82350b/agilent_82350b.c +7 -5
Lines of this file are not shown. View the raw message.
drivers/staging/gpib/fmh_gpib/fmh_gpib.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/staging/gpib/ni_usb/ni_usb_gpib.c +10 -3
Lines of this file are not shown. View the raw message.
fs/btrfs/send.c +48 -8
56 lines not on this page · raw message
fs/hfsplus/bnode.c +0 -41
41 lines not on this page · raw message
fs/hfsplus/hfsplus_fs.h +42 -0
42 lines not on this page · raw message
io_uring/sqpoll.c +45 -20
65 lines not on this page · raw message
kernel/trace/rv/monitors/pagefault/Kconfig +1 -0
Lines of this file are not shown. View the raw message.
mm/migrate.c +43 -45
88 lines not on this page · raw message
net/core/datagram.c +34 -10
44 lines not on this page · raw message
tools/testing/selftests/net/mptcp/mptcp_join.sh +4 -4
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/sctp_hello.c +2 -15
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/sctp_vrf.sh +45 -28
73 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.17.6 kernel.
All users of the 6.17 kernel series must upgrade.
The updated 6.17.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.17.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/serial/renesas,scif.yaml | 1 Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 10 Documentation/devicetree/bindings/usb/qcom,snps-dwc3.yaml | 3 Makefile | 6 arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 3 arch/arm64/include/asm/pgtable.h | 3 arch/arm64/mm/copypage.c | 11 arch/arm64/tools/sysreg | 4 arch/m68k/include/asm/bitops.h | 25 +- arch/mips/mti-malta/malta-setup.c | 2 arch/nios2/kernel/setup.c | 15 + arch/powerpc/include/asm/pgtable.h | 12 - arch/powerpc/mm/book3s32/mmu.c | 4 arch/powerpc/mm/pgtable_32.c | 2 arch/powerpc/platforms/pseries/cmm.c | 2 arch/riscv/include/asm/hwprobe.h | 7 arch/riscv/include/asm/pgtable.h | 2 arch/riscv/include/asm/vdso/arch_data.h | 6 arch/riscv/kernel/cpu.c | 4 arch/riscv/kernel/cpufeature.c | 10 arch/riscv/kernel/pi/cmdline_early.c | 4 arch/riscv/kernel/pi/fdt_early.c | 40 +++ arch/riscv/kernel/pi/pi.h | 1 arch/riscv/kernel/sys_hwprobe.c | 90 ++++++- arch/riscv/kernel/unaligned_access_speed.c | 9 arch/riscv/kernel/vdso/hwprobe.c | 2 arch/riscv/mm/init.c | 11 arch/s390/mm/pgalloc.c | 13 - arch/x86/kernel/cpu/microcode/amd.c | 2 block/blk-settings.c | 10 drivers/acpi/acpica/tbprint.c | 6 drivers/android/binder.c | 11 drivers/base/arch_topology.c | 2 drivers/base/devcoredump.c | 136 +++++++----- drivers/block/nbd.c | 15 + drivers/comedi/comedi_buf.c | 2 drivers/cpufreq/amd-pstate.c | 6 drivers/cpuidle/governors/menu.c | 21 - drivers/firmware/arm_ffa/driver.c | 37 ++- drivers/firmware/arm_scmi/common.h | 32 ++ drivers/firmware/arm_scmi/driver.c | 54 +--- drivers/gpio/gpio-104-idio-16.c | 1 drivers/gpio/gpio-idio-16.c | 5 drivers/gpio/gpio-ljca.c | 14 - drivers/gpio/gpio-pci-idio-16.c | 1 drivers/gpio/gpio-regmap.c | 53 ++++ drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 3 drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 8 drivers/gpu/drm/drm_panic.c | 54 ++++ drivers/gpu/drm/panthor/panthor_mmu.c | 10 drivers/gpu/drm/xe/xe_ggtt.c | 3 drivers/hwmon/cgbc-hwmon.c | 3 drivers/hwmon/pmbus/isl68137.c | 3 drivers/hwmon/pmbus/max34440.c | 12 - drivers/hwmon/sht3x.c | 27 +- drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 2 drivers/misc/fastrpc.c | 2 drivers/misc/lkdtm/fortify.c | 6 drivers/misc/mei/hw-me-regs.h | 2 drivers/misc/mei/pci-me.c | 2 drivers/misc/vmw_balloon.c | 8 drivers/most/most_usb.c | 13 - drivers/net/bonding/bond_main.c | 47 ++-- drivers/net/can/bxcan.c | 2 drivers/net/can/dev/netlink.c | 6 drivers/net/can/esd/esdacc.c | 2 drivers/net/can/rockchip/rockchip_canfd-tx.c | 2 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 3 drivers/net/ethernet/freescale/enetc/enetc.c | 25 +- drivers/net/ethernet/freescale/enetc/enetc.h | 2 drivers/net/ethernet/hisilicon/Kconfig | 1 drivers/net/ethernet/mellanox/mlx5/core/en/params.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h | 5 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c | 25 ++ drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 51 +++- drivers/net/ethernet/renesas/ravb_main.c | 24 +- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 9 drivers/net/ethernet/ti/am65-cpts.c | 63 +++-- drivers/net/ovpn/tcp.c | 26 +- drivers/net/phy/micrel.c | 4 drivers/net/phy/realtek/realtek_main.c | 16 - drivers/net/usb/rtl8150.c | 11 drivers/nvmem/rcar-efuse.c | 1 drivers/of/irq.c | 62 +++-- drivers/pci/msi/irqdomain.c | 2 drivers/pci/pci.c | 6 drivers/perf/hisilicon/hisi_uncore_pmu.c | 2 drivers/perf/hisilicon/hisi_uncore_pmu.h | 3 drivers/platform/mellanox/mlxbf-pmc.c | 1 drivers/platform/x86/dell/alienware-wmi-wmax.c | 12 - drivers/ptp/ptp_ocp.c | 2 drivers/s390/crypto/zcrypt_ep11misc.c | 4 drivers/spi/spi-airoha-snfi.c | 128 ++++++++--- drivers/spi/spi-cadence-quadspi.c | 5 drivers/spi/spi-nxp-fspi.c | 80 ++++++- drivers/spi/spi-rockchip-sfc.c | 12 - drivers/staging/gpib/agilent_82350b/agilent_82350b.c | 12 - drivers/staging/gpib/fmh_gpib/fmh_gpib.c | 5 drivers/staging/gpib/ni_usb/ni_usb_gpib.c | 13 - drivers/tty/serial/8250/8250_dw.c | 4 drivers/tty/serial/8250/8250_exar.c | 11 drivers/tty/serial/8250/8250_mtk.c | 6 drivers/tty/serial/sc16is7xx.c | 7 drivers/tty/serial/sh-sci.c | 14 - drivers/usb/core/quirks.c | 2 drivers/usb/gadget/legacy/raw_gadget.c | 2 drivers/usb/host/xhci-dbgcap.c | 15 + drivers/usb/serial/option.c | 10 drivers/usb/typec/tcpm/tcpm.c | 4 drivers/vfio/cdx/Makefile | 6 drivers/vfio/cdx/private.h | 14 + drivers/virtio/virtio_balloon.c | 2 fs/aio.c | 2 fs/btrfs/inode.c | 4 fs/btrfs/ref-verify.c | 2 fs/btrfs/send.c | 56 ++++ fs/btrfs/super.c | 8 fs/dlm/lock.c | 2 fs/dlm/lockspace.c | 2 fs/dlm/recover.c | 2 fs/erofs/zmap.c | 39 ++- fs/exec.c | 2 fs/gfs2/lock_dlm.c | 11 fs/hfs/bfind.c | 8 fs/hfs/brec.c | 27 ++ fs/hfs/mdb.c | 2 fs/hfsplus/bfind.c | 8 fs/hfsplus/bnode.c | 41 --- fs/hfsplus/btree.c | 6 fs/hfsplus/hfsplus_fs.h | 42 +++ fs/hfsplus/super.c | 25 +- fs/hugetlbfs/inode.c | 4 fs/jfs/jfs_metapage.c | 8 fs/notify/fdinfo.c | 6 fs/ocfs2/move_extents.c | 5 fs/smb/client/cifsglob.h | 2 fs/smb/client/inode.c | 5 fs/smb/client/smbdirect.c | 30 +- fs/smb/client/smbdirect.h | 2 fs/smb/server/transport_ipc.c | 8 fs/smb/server/transport_rdma.c | 11 fs/sysfs/group.c | 26 +- fs/xfs/scrub/nlinks.c | 34 ++- fs/xfs/xfs_super.c | 33 +- include/linux/arm_ffa.h | 21 + include/linux/exportfs.h | 7 include/linux/gpio/regmap.h | 16 + include/linux/hung_task.h | 8 include/linux/migrate.h | 11 include/linux/misc_cgroup.h | 2 include/linux/of_irq.h | 6 include/linux/skbuff.h | 3 include/linux/virtio_net.h | 4 io_uring/fdinfo.c | 8 io_uring/filetable.c | 2 io_uring/sqpoll.c | 65 +++-- io_uring/sqpoll.h | 1 io_uring/waitid.c | 2 kernel/dma/debug.c | 5 kernel/sched/fair.c | 9 kernel/sched/sched.h | 2 kernel/trace/rv/monitors/pagefault/Kconfig | 1 kernel/trace/rv/rv.c | 12 - mm/damon/core.c | 7 mm/damon/sysfs.c | 7 mm/huge_memory.c | 3 mm/migrate.c | 88 +++---- mm/migrate_device.c | 2 mm/mremap.c | 15 - mm/page_owner.c | 3 mm/slub.c | 23 +- mm/zsmalloc.c | 4 net/core/datagram.c | 44 +++ net/core/rtnetlink.c | 3 net/hsr/hsr_netlink.c | 8 net/mptcp/pm_kernel.c | 6 net/sctp/inqueue.c | 13 - net/smc/smc_inet.c | 13 - net/vmw_vsock/af_vsock.c | 38 +-- net/xfrm/espintcp.c | 6 rust/kernel/auxiliary.rs | 8 rust/kernel/device.rs | 4 tools/objtool/check.c | 1 tools/testing/selftests/net/mptcp/mptcp_join.sh | 8 tools/testing/selftests/net/sctp_hello.c | 17 - tools/testing/selftests/net/sctp_vrf.sh | 73 +++--- 187 files changed, 1853 insertions(+), 832 deletions(-)
Akash Goel (1):
drm/panthor: Fix kernel panic on partial unmap of a GPU VA region
Aksh Garg (1):
net: ethernet: ti: am65-cpts: fix timestamp loss due to race conditions
Aleksander Jan Bajkowski (1):
net: phy: realtek: fix rtl8221b-vm-cg name
Alexander Aring (2):
dlm: move to rinfo for all middle conversion cases
dlm: check for defined force value in dlm_lockspace_release
Alexander Usyskin (1):
mei: me: add wildcat lake P DID
Alexei Starovoitov (1):
mm: don't spin in add_stack_record when gfp flags don't allow
Alexey Simakov (1):
sctp: avoid NULL dereference when chunk data buffer is missing
Alexis Czezar Torreno (1):
hwmon: (pmbus/max34440) Update adpm12160 coeff due to latest FW
Alice Ryhl (1):
binder: remove "invalid inc weak" check
Alok Tiwari (2):
io_uring: fix incorrect unlikely() usage in io_waitid_prep()
io_uring: correct __must_hold annotation in io_install_fixed_file
Amery Hung (2):
net/mlx5e: RX, Fix generating skb from non-linear xdp_buff for legacy RQ net/mlx5e: RX, Fix generating skb from non-linear xdp_buff for striding RQ
Amit Dhingra (1):
btrfs: ref-verify: fix IS_ERR() vs NULL check in btrfs_build_ref_tree()
Andreas Gruenbacher (1):
gfs2: Fix unlikely race in gdlm_put_lock
Andrew Cooper (1):
x86/microcode: Fix Entrysign revision check for Zen1/Naples
Andrey Konovalov (1):
usb: raw-gadget: do not limit transfer length
Andy Shevchenko (1):
sched: Remove never used code in mm_cid_get()
Anup Patel (2):
RISC-V: Define pgprot_dmacoherent() for non-coherent devices
RISC-V: Don't print details of CPUs disabled in DT
Artem Shimko (2):
firmware: arm_scmi: Fix premature SCMI_XFER_FLAG_IS_RAW clearing in raw mode
serial: 8250_dw: handle reset control deassert error
Catalin Marinas (1):
arm64: mte: Do not warn if the page is already tagged in copy_highpage()
Charlene Liu (1):
drm/amd/display: increase max link count and fix link->enc NULL pointer access
Christoph Hellwig (1):
block: require LBA dma_alignment when using PI
Christophe Leroy (1):
powerpc/32: Remove PAGE_KERNEL_TEXT to fix startup failure
Clément Léger (1):
riscv: cpufeature: add validation for zfa, zfh and zfhmin
Cosmin Tanislav (2):
nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
tty: serial: sh-sci: fix RSCI FIFO overrun handling
Cristian Marussi (2):
firmware: arm_scmi: Account for failed debug initialization
include: trace: Fix inflight count helper on failed initialization
Daniel Golle (1):
serial: 8250_mtk: Enable baud clock and manage in runtime PM
Danilo Krummrich (1):
rust: device: fix device context of Device::parent()
Darrick J. Wong (2):
xfs: fix locking in xchk_nlinks_collect_dir
xfs: always warn about deprecated mount options
Dave Penkler (3):
staging: gpib: Fix no EOI on 1 and 2 byte writes
staging: gpib: Return -EINTR on device clear
staging: gpib: Fix sending clear and trigger events
David Hildenbrand (3):
mm/migrate: remove MIGRATEPAGE_UNMAP
treewide: remove MIGRATEPAGE_SUCCESS
vmw_balloon: indicate success when effectively deflating during migration
David Howells (1):
cifs: Fix TCP_Server_Info::credits to be signed
David Thompson (1):
platform/mellanox: mlxbf-pmc: add sysfs_attr_init() to count_clock init
Deepanshu Kartikey (2):
ocfs2: clear extent cache after moving/defragmenting extents
comedi: fix divide-by-zero in comedi_buf_munge()
Dewei Meng (1):
btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()
Enze Li (1):
mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
Erick Karanja (1):
hwmon: (pmbus/isl68137) Fix child node reference leak on early return
Fernando Fernandez Mancera (2):
net: hsr: prevent creation of HSR device with slaves from another netns
sysfs: check visibility before changing group attribute ownership
Florian Eckert (1):
serial: 8250_exar: add support for Advantech 2 port card with Device ID 0x0018
Fuad Tabba (1):
arm64: sysreg: Correct sign definitions for EIESB and DoubleLock
Gao Xiang (2):
erofs: fix crafted invalid cases for encoded extents
erofs: avoid infinite loops due to corrupted subpage compact indexes
Geert Uytterhoeven (2):
m68k: bitops: Fix find_*_bit() signatures
dt-bindings: serial: sh-sci: Fix r8a78000 interrupts
Greg Kroah-Hartman (1):
Linux 6.17.6
Guenter Roeck (1):
hwmon: (sht3x) Fix error handling
Haibo Chen (3):
spi: spi-nxp-fspi: add the support for sample data from DQS pad
spi: spi-nxp-fspi: re-config the clock rate when operation require new clock rate
spi: spi-nxp-fspi: limit the clock rate for different sample clock source selection
Han Xu (1):
spi: spi-nxp-fspi: add extra delay after dll locked
Hao Ge (2):
slab: Avoid race on slab->obj_exts in alloc_slab_obj_exts
slab: Fix obj_ext mistakenly considered NULL due to race condition
Haotian Zhang (1):
gpio: ljca: Fix duplicated IRQ mapping
Harald Freudenberger (1):
s390/pkey: Forward keygenflags to ep11_unwrapkey
Heiko Carstens (1):
s390/mm: Use __GFP_ACCOUNT for user page table allocations
Heiner Kallweit (1):
net: hibmcge: select FIXED_PHY
Huang Ying (1):
arm64, mm: avoid always making PTE dirty in pte_mkwrite()
Hugo Villeneuve (1):
serial: sc16is7xx: remove useless enable of enhanced features
Ioana Ciornei (2):
dpaa2-eth: fix the pointer passed to PTR_ALIGN on Tx path
gpio: regmap: add the .fixed_direction_output configuration parameter
Jakub Acs (1):
fs/notify: call exportfs_encode_fid with s_umount
Jan Kara (1):
expfs: Fix exportfs_can_encode_fh() for EXPORT_FH_FID
Jason Wang (1):
virtio-net: zero unused hash fields
Jens Axboe (2):
io_uring/sqpoll: switch away from getrusage() for CPU accounting io_uring/sqpoll: be smarter on when to update the stime usage
Jianpeng Chang (1):
net: enetc: fix the deadlock of enetc_mdio_lock
Jiasheng Jiang (1):
ptp: ocp: Fix typo using index 1 instead of i in SMA initialization loop
Jingwei Wang (1):
riscv: hwprobe: Fix stale vDSO data for late-initialized keys at boot
Jocelyn Falempe (3):
drm/panic: Fix drawing the logo on a small narrow screen drm/panic: Fix qr_code, ensure vmargin is positive drm/panic: Fix 24bit pixel crossing page boundaries
Johannes Wiesböck (1):
rtnetlink: Allow deleting FDB entries in user namespace
Junhao Xie (1):
misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup
Junhui Liu (2):
riscv: mm: Return intended SATP mode for noXlvl options
riscv: mm: Use mmu-type from FDT to limit SATP mode
Junjie Cao (1):
lkdtm: fortify: Fix potential NULL dereference on kmalloc failure
K Prateek Nayak (1):
sched/fair: Block delayed tasks on throttled hierarchy during dequeue
Kaushlendra Kumar (1):
arch_topology: Fix incorrect error check in topology_parse_cpu_capacity()
Kees Cook (1):
PCI: Test for bit underflow in pcie_set_readrq()
Krishna Kurapati (1):
dt-bindings: usb: qcom,snps-dwc3: Fix bindings for X1E80100
Krzysztof Kozlowski (1):
arm64: dts: broadcom: bcm2712: Add default GIC address cells
Kurt Borja (1):
platform/x86: alienware-wmi-wmax: Fix NULL pointer dereference in sleep handlers
LI Qingwu (1):
USB: serial: option: add Telit FN920C04 ECM compositions
Lad Prabhakar (2):
net: ravb: Enforce descriptor type ordering
net: ravb: Ensure memory write completes before ringing TX doorbell
Lance Yang (1):
hung_task: fix warnings caused by unaligned lock pointers
Li Qiang (1):
hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc()
Linus Torvalds (1):
Unbreak 'make tools/*' for user-space targets
Lorenzo Pieralisi (2):
of/irq: Convert of_msi_map_id() callers to of_msi_xlate() of/irq: Add msi-parent check to of_msi_xlate()
Lorenzo Stoakes (1):
mm/mremap: correctly account old mapping after MREMAP_DONTUNMAP remap
Ma Ke (1):
staging: gpib: Fix device reference leak in fmh_gpib driver
Maarten Lankhorst (1):
devcoredump: Fix circular locking dependency with devcd->mutex.
Maciej W. Rozycki (1):
MIPS: Malta: Fix keyboard resource preventing i8042 driver from registering
Marc Kleine-Budde (4):
can: bxcan: bxcan_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
can: esd: acc_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
can: rockchip-canfd: rkcanfd_start_xmit(): use can_dev_dropped_skb() instead of can_dropped_invalid_skb()
can: netlink: can_changelink(): allow disabling of automatic restart
Marek Szyprowski (2):
dma-debug: don't report false positives with DMA_BOUNCE_UNALIGNED_KMALLOC
spi: rockchip-sfc: Fix DMA-API usage
Mario Limonciello (AMD) (1):
cpufreq/amd-pstate: Fix a regression leading to EPP 0 after hibernate
Mathias Nyman (2):
xhci: dbc: enable back DbC in resume if it was enabled before suspend
xhci: dbc: fix bogus 1024 byte prefix if ttyDBC read races with stall event
Mathieu Dubois-Briand (1):
gpio: regmap: Allow to allocate regmap-irq device
Matthew Brost (1):
drm/xe: Check return value of GGTT workqueue allocation
Matthieu Baerts (NGI0) (4):
mptcp: pm: in-kernel: C-flag: handle late ADD_ADDR
selftests: mptcp: join: mark 'flush re-add' as skipped if not supported
selftests: mptcp: join: mark implicit tests as skipped if not supported
selftests: mptcp: join: mark 'delete re-add signal' as skipped if not supported
Mattijs Korpershoek (1):
spi: cadence-quadspi: Fix pm_runtime unbalance on dma EPROBE_DEFER
Michael Grzeschik (1):
tcpm: switch check for role_sw device with fw_node
Michal Pecio (1):
net: usb: rtl8150: Fix frame padding
Miguel Ojeda (1):
objtool/rust: add one more noreturn Rust function
Mikhail Kshevetskiy (4):
spi: airoha: return an error for continuous mode dirmap creation cases
spi: airoha: add support of dual/quad wires spi modes to exec_op() handler
spi: airoha: switch back to non-dma mode in the case of error
spi: airoha: fix reading/writing of flashes with more than one plane per lun
Nam Cao (2):
rv: Fully convert enabled_monitors to use list_head as iterator
rv: Make rtapp/pagefault monitor depends on CONFIG_MMU
Nathan Chancellor (1):
net/mlx5e: Return 1 instead of 0 in invalid case in mlx5e_mpwrq_umr_entry_size()
Nipun Gupta (1):
vfio/cdx: update driver to build without CONFIG_GENERIC_MSI_IRQ
Ondrej Mosnacek (1):
nbd: override creds to kernel when calling sock_{send,recv}msg()
Patrisious Haddad (1):
net/mlx5: Fix IPsec cleanup over MPV device
Paul Walmsley (2):
riscv: cpufeature: avoid uninitialized variable in has_thead_homogeneous_vlenb()
riscv: hwprobe: avoid uninitialized variable use in hwprobe_arch_id()
Paulo Alcantara (1):
smb: client: get rid of d_drop() in cifs_do_rename()
Peter Robinson (1):
arm64: dts: broadcom: bcm2712: Define VGIC interrupt
Qianchang Zhao (1):
ksmbd: transport_ipc: validate payload size before reading handle
Qiuxu Zhuo (1):
mm: prevent poison consumption when splitting THP
Rafael J. Wysocki (1):
Revert "cpuidle: menu: Avoid discarding useful information"
Ralf Lici (3):
espintcp: use datagram_poll_queue for socket readiness
net: datagram: introduce datagram_poll_queue for custom receive queues
ovpn: use datagram_poll_queue for socket readiness in TCP
Randy Dunlap (1):
cgroup/misc: fix misc_res_type kernel-doc warning
Reinhard Speyerer (1):
USB: serial: option: add Quectel RG255C
Renjun Wang (1):
USB: serial: option: add UNISOC UIS7720
Robert Marko (1):
net: phy: micrel: always set shared->phydev for LAN8814
Sebastian Reichel (1):
net: stmmac: dwmac-rk: Fix disabling set_clock_selection
SeongJae Park (4):
mm/damon/core: use damos_commit_quota_goal() for new goal commit mm/damon/core: fix list_add_tail() call on damon_call() mm/damon/sysfs: catch commit test ctx alloc failure mm/damon/sysfs: dealloc commit test ctx always
Simon Schuster (1):
nios2: ensure that memblock.current_limit is set when setting pfn limits
Stefan Metzmacher (4):
smb: client: queue post_recv_credits_work also if the peer raises the credit target
smb: client: limit the range of info->receive_credit_target
smb: client: make use of ib_wc_status_msg() and skip IB_WC_WR_FLUSH_ERR logging
smb: server: let smb_direct_flush_send_list() invalidate a remote key first
Stefano Garzarella (1):
vsock: fix lock inversion in vsock_assign_transport()
Sudeep Holla (1):
firmware: arm_ffa: Add support for IMPDEF value in the memory access descriptor
Tim Guttzeit (1):
usb/core/quirks: Add Huawei ME906S to wakeup quirk
Ting-Chang Hou (1):
btrfs: send: fix duplicated rmdir operations when using extrefs
Tonghao Zhang (2):
net: bonding: fix possible peer notify event loss or dup issue
net: bonding: update the slave array for broadcast mode
Viacheslav Dubeyko (5):
hfs: clear offset and space out of valid records in b-tree node
hfs: make proper initalization of struct hfs_find_data
hfsplus: fix KMSAN uninit-value issue in __hfsplus_ext_cache_extent()
hfsplus: fix KMSAN uninit-value issue in hfsplus_delete_cat()
hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()
Victoria Votokina (2):
most: usb: Fix use-after-free in hdm_disconnect
most: usb: hdm_probe: Fix calling put_device() before device initialization
Wang Liang (1):
net/smc: fix general protection fault in __smc_diag_dump
Wei Fang (1):
net: enetc: correct the value of ENETC_RXB_TRUESIZE
William Breathitt Gray (3):
gpio: pci-idio-16: Define maximum valid register address offset
gpio: 104-idio-16: Define maximum valid register address offset
gpio: idio-16: Define fixed direction of the GPIO lines
Xi Ruoyao (1):
ACPICA: Work around bogus -Wstringop-overread warning since GCC 11
Xichao Zhao (1):
exec: Fix incorrect type for ret
Xin Long (1):
selftests: net: fix server bind failure in sctp_vrf.sh
Xu Yang (1):
dt-bindings: usb: dwc3-imx8mp: dma-range is required only for imx8mp
Yang Chenzhi (1):
hfs: validate record offset in hfsplus_bmap_alloc
Yangtao Li (1):
hfsplus: return EIO when type of hidden directory mismatch in hfsplus_fill_super()
Yicong Yang (1):
drivers/perf: hisi: Relax the event ID check in the framework
tr1x_em (1):
platform/x86: alienware-wmi-wmax: Add AWCC support to Dell G15 5530