Linux 7.2.10
Greg Kroah-Hartman
maintainerDocumentation/arch/arm64/silicon-errata.rst +2 -0
@@ -174,6 +174,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A725 | #3456106 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A725 | #3821522 | ARM64_ERRATUM_3821522 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X1 | #1502854 | N/A | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X1 | #3324344 | ARM64_ERRATUM_3194386 |
Documentation/filesystems/netfs_library.rst +26 -0
@@ -451,6 +451,32 @@ one. The inode should be marked ``NETFS_ICTX_SINGLE_NO_UPLOAD`` if this API is to be used. The writeback function requires the buffer to be of ITER_FOLIOQ type. +Clearing Stale Post-EOF Pagecache +--------------------------------- + +When a file is extended, data left in the pagecache past the old EOF by a write +through an mmap must not be exposed as file content. Netfslib clears this on +its own write paths, and exports a helper so a filesystem can do the same from +a resize path (truncate, setattr, fallocate and the like) that holds the +inode's ``i_rwsem`` exclusively across the whole resize:: + + void netfs_clear_stale_post_isize(struct inode *inode, uoff_t from, + uoff_t to); + +This zeroes any such data within the ``[from, to)`` hole to be made, where +@from is the old EOF and @to is the new one, and the caller must have already +updated ``i_size`` to @to before calling it. Only the folio straddling @from +can hold data written past the EOF through an mmap, as pages wholly beyond the +EOF can't be faulted in, so the zeroing is limited to that folio. The folio is +zeroed rather than dropped so that a concurrent extending write can't lose +data. + +This overlaps with ``pagecache_isize_extended()`` but can't reuse it: that +helper is keyed on a sub-page block size and is a no-op when the block size is +``>= PAGE_SIZE`` (as on network filesystems), and it doesn't wait for +writeback. As both address the same problem, a change to one should probably +be reflected in the other to keep them in sync. + High-Level VM API ==================
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 7 PATCHLEVEL = 2 -SUBLEVEL = 9 +SUBLEVEL = 10 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arc/include/asm/atomic64-arcv2.h +6 -0
@@ -156,6 +156,12 @@ static inline u64 __arch_cmpxchg64_relaxed(volatile void *ptr, u64 old, u64 new) }#define arch_cmpxchg64_relaxed __arch_cmpxchg64_relaxed +static inline s64 arch_atomic64_cmpxchg_relaxed (atomic64_t *v,s64 old,s64 new) +{ +return arch_cmpxchg64_relaxed (&v->counter, old, new); +} +#define arch_atomic64_cmpxchg_relaxed arch_atomic64_cmpxchg_relaxed +static inline s64 arch_atomic64_xchg (atomic64_t *ptr,s64 new) {s64 prev;
arch/arc/include/asm/cmpxchg.h +2 -2
@@ -46,7 +46,7 @@ __typeof__(*(ptr)) _n_ = (new); \ __typeof__(*(ptr)) _prev_; \ \ -switch (sizeof ((_p_))) { \ +switch (sizeof (*(_p_))) { \case 1 : \ _prev_ = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *__force)_p_, (uintptr_t)_o_, (uintptr_t)_n_); \break ; \
@@ -102,7 +102,7 @@__typeof__ (ptr) _p_ = (ptr); \ __typeof__(*(ptr)) _val_ = (val); \ \ -switch (sizeof (*(_p_))) { \ +switch (sizeof (*(_p_))) { \case 4 : \ _val_ =__arch_xchg (_p_, _val_); \break ; \
arch/arm64/Kconfig +30 -0
@@ -1017,9 +1017,17 @@ config ARM64_ERRATUM_1902691 If unsure, say Y. +config ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT + bool + # Targeting errata affecting AMEVCNTR01, the AMU constant counter. + # On affected CPUs the counter may not increment at the expected rate, + # making it unreliable. As a result, AMU users should treat it as + # unavailable rather than relying on misleading counter values. + config ARM64_ERRATUM_2457168 bool "Cortex-A510: 2457168: workaround for AMEVCNTR01 incrementing incorrectly" depends on ARM64_AMU_EXTN + select ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT default y help This option adds the workaround for ARM Cortex-A510 erratum 2457168.
@@ -1050,6 +1058,28 @@ config ARM64_ERRATUM_2645198 If unsure, say Y. +config ARM64_ERRATUM_3821522 + bool "Cortex-A725: 3821522: workaround for possible CNT_CYCLES increment error due to WFE/WFI" + depends on ARM64_AMU_EXTN + select ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT + default y + help + This option adds the workaround for ARM Cortex-A725 erratum 3821522. + + On affected A725 cores, the CNT_CYCLES event may incur a significant + increment error when entering and subsequently exiting WFx. + As a result, the CNT_CYCLES may diverge from the system counter + frequency at which it is expected to increment. + This renders the AMU counter AMEVCNTR01, that implements CNT_CYCLES, + being unreliable and unsuitable for use. + + Since there is no hardware workaround, reads of the affected CNT_CYCLES + counter return 0 in the relevant paths. This causes users of the counter + to treat it as unavailable and is functionally equivalent to firmware + disabling the affected counter. + + If unsure, say Y. + config ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD bool
arch/arm64/kernel/cpu_errata.c +18 -6
@@ -377,6 +377,20 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = { };#endif +#ifdef CONFIG_ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT +static const struct midr_range workaround_amu_constcnt_list[] = { +#ifdef CONFIG_ARM64_ERRATUM_2457168 +/* Cortex-A510 r0p0-r1p1 */ +MIDR_RANGE (MIDR_CORTEX_A510 ,0 ,0 ,1 ,1 ), +#endif +#ifdef CONFIG_ARM64_ERRATUM_3821522 +/* Cortex-A725 r0p0 - r0p2 */ +MIDR_RANGE (MIDR_CORTEX_A725 ,0 ,0 ,0 ,2 ), +#endif + {} +}; +#endif /* CONFIG_ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT */ +#ifdef CONFIG_CAVIUM_ERRATUM_23154 static const struct midr_range cavium_erratum_23154_cpus[] = { MIDR_ALL_VERSIONS(MIDR_THUNDERX),
@@ -904,14 +918,12 @@ const struct arm64_cpu_capabilities arm64_errata[] = { ERRATA_MIDR_REV_RANGE(MIDR_CORTEX_A510, 0, 0, 2) },#endif -#ifdef CONFIG_ARM64_ERRATUM_2457168 +#ifdef CONFIG_ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT { - .desc = "ARM erratum 2457168", - .capability = ARM64_WORKAROUND_2457168, + .desc = "Broken AMU AMEVCNTR01 (const counter)", + .capability = ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT, .type = ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE, - - /* Cortex-A510 r0p0-r1p1 */ - CAP_MIDR_RANGE(MIDR_CORTEX_A510, 0, 0, 1, 1) + CAP_MIDR_RANGE_LIST(workaround_amu_constcnt_list) }, #endif #ifdef CONFIG_ARM64_ERRATUM_2038923
arch/arm64/kernel/cpufeature.c +1 -1
@@ -2087,7 +2087,7 @@ static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap)cpumask_set_cpu (smp_processor_id (), &amu_cpus);/* 0 reference values signal broken/disabled counters */ -if (!this_cpu_has_cap (ARM64_WORKAROUND_2457168 )) +if (!this_cpu_has_cap (ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT ))update_freq_counters_refs (); } }
arch/arm64/kernel/signal.c +20 -14
@@ -433,6 +433,7 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)unsigned int vl, vq;struct user_fpsimd_state fpsimd;u16 user_vl, flags; +bool fpsimd_only;bool sm;if (user->sve_size <sizeof (*user->sve))
@@ -443,19 +444,33 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)if (err)return err; + fpsimd_only = (user->sve_size ==sizeof (*user->sve)); sm = flags &SVE_SIG_FLAG_SM ; +if (sm) {if (!system_supports_sme ())return -EINVAL ; +/* +* Streaming SVE state is always preserved with an SVE payload. +* Only accept streaming state which has an SVE payload. +*/ +if (fpsimd_only) +return -EINVAL ; + vl =task_get_sme_vl (current); }else {/* -* A SME only system use SVE for streaming mode so can -* have a SVE formatted context with a zero VL and no -* payload data. +* Non-streaming SVE state may be preserved without an SVE +* payload, in which case all state is saved in the FPSIMD +* context. +* +* On SME-only systems, non-streaming (FPSIMD-only) state is +* always preserved without an SVE payload, and with VL==0. On +* such systems, only accept non-streaming state without an SVE +* payload. */ -if (!system_supports_sve () && !system_supports_sme ()) +if (!system_supports_sve () && !fpsimd_only)return -EINVAL ; vl =task_get_sve_vl (current);
@@ -464,16 +479,7 @@ static int restore_sve_fpsimd_context(struct user_ctxs *user)if (user_vl != vl)return -EINVAL ; -/* -* Non-streaming SVE state may be preserved without an SVE payload, in -* which case the SVE context only has a header with VL==0, and all -* state can be restored from the FPSIMD context. -* -* Streaming SVE state is always preserved with an SVE payload. For -* consistency and robustness, reject restoring streaming SVE state -* without an SVE payload. -*/ -if (!sm && user->sve_size ==sizeof (*user->sve)) +if (fpsimd_only)return restore_fpsimd_context (user); vq =sve_vq_from_vl (vl);
arch/arm64/kernel/topology.c +8 -9
@@ -186,7 +186,6 @@ int arch_freq_get_on_cpu(int cpu)struct amu_cntr_sample *amu_sample;unsigned int start_cpu = cpu;unsigned long last_update; -unsigned int freq =0 ;u64 scale;if (!amu_fie_cpu_supported (cpu) || !arch_scale_freq_ref (cpu))
@@ -245,9 +244,8 @@ int arch_freq_get_on_cpu(int cpu)* (see amu_scale_freq_tick for details) */ scale =arch_scale_freq_capacity (cpu); - freq = scale *arch_scale_freq_ref (cpu); - freq >>=SCHED_CAPACITY_SHIFT ; -return freq; + +return (scale *arch_scale_freq_ref (cpu)) >>SCHED_CAPACITY_SHIFT ; }static void amu_fie_setup (const struct cpumask *cpus)
@@ -387,12 +385,13 @@ static void cpu_read_corecnt(void *val)static void cpu_read_constcnt (void *val) {/* -* Return 0 if the current CPU is affected by erratum 2457168. A value -* of 0 is also returned if the current CPU does not support AMUs or if -* the counter is disabled. A return value of 0 at counter read is -* properly handled as an error case by the users of the counter. +* Return 0 if the current CPU is affected by a HW erratum. +* A value of 0 is also returned if the current CPU does not +* support AMUs or if the counter is disabled. A return +* value of 0 at counter read is properly handled as an error +* case by the users of the counter. */ - *(u64 *)val =this_cpu_has_cap (ARM64_WORKAROUND_2457168 ) ? + *(u64 *)val =this_cpu_has_cap (ARM64_WORKAROUND_BROKEN_AMU_CONSTCNT ) ?0UL :read_constcnt (); }
arch/arm64/kernel/vdso/Makefile +1 -1
@@ -41,7 +41,7 @@ CC_FLAGS_REMOVE_VDSO := $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS) \ $(CC_FLAGS_LTO) $(CC_FLAGS_CFI) \ -Wmissing-prototypes -Wmissing-declarations -CC_FLAGS_ADD_VDSO := -O2 -mcmodel=tiny -fasynchronous-unwind-tables +CC_FLAGS_ADD_VDSO := -O2 -mcmodel=tiny -fasynchronous-unwind-tables $(CONFIG_CC_OPT_INLINE_MEMSET) CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_REMOVE_VDSO) CFLAGS_REMOVE_vgetrandom.o = $(CC_FLAGS_REMOVE_VDSO)
arch/arm64/kvm/emulate-nested.c +0 -3
@@ -2378,9 +2378,6 @@ int __init populate_nv_trap_config(void)print_nv_trap_error (fgt,"FGT bit is reserved" , ret); } -if (!cpus_have_final_cap (ARM64_HAS_FGT )) -continue ; - prev =xa_store (&sr_forward_xa, enc,xa_mk_value (tc.val),GFP_KERNEL );
arch/arm64/kvm/hyp/nvhe/pkvm.c +9 -0
@@ -54,6 +54,15 @@ static void pkvm_vcpu_reset_hcr(struct kvm_vcpu *vcpu)else vcpu->arch.hcr_el2 |=HCR_TID2 ; +/* +* Without AArch32 EL1, leave RW set and let the entry fail with an +* illegal exception return: the *32_EL2 registers EL2 would otherwise +* switch are UNDEFINED there. +*/ +if (vcpu_has_feature (vcpu,KVM_ARM_VCPU_EL1_32BIT ) && +cpus_have_final_cap (ARM64_HAS_32BIT_EL1 )) + vcpu->arch.hcr_el2 &= ~HCR_EL2_RW ; +if (vcpu_has_ptrauth (vcpu)) vcpu->arch.hcr_el2 |= (HCR_API |HCR_APK );
arch/arm64/kvm/mmu.c +6 -41
81 lines not on this page · raw message
arch/arm64/kvm/vgic/vgic-its.c +8 -4
@@ -319,12 +319,16 @@ static int update_lpi_config(struct kvm *kvm, struct vgic_irq *irq,return ret; } -static int update_affinity (struct vgic_irq *irq,struct kvm_vcpu *vcpu) +static int update_affinity (struct vgic_irq *irq, +struct kvm_vcpu *from_vcpu,struct kvm_vcpu *vcpu) {struct its_vlpi_map map;int ret;guard (raw_spinlock_irqsave)(&irq->irq_lock); +if (from_vcpu && irq->target_vcpu != from_vcpu) +return 0 ; + irq->target_vcpu = vcpu;if (!irq->hw)
@@ -362,7 +366,7 @@ static void update_affinity_ite(struct kvm *kvm, struct its_ite *ite)return ; vcpu =collection_to_vcpu (kvm, ite->collection); -update_affinity (ite->irq, vcpu); +update_affinity (ite->irq,NULL , vcpu); }/*
@@ -856,7 +860,7 @@ static int vgic_its_cmd_handle_movi(struct kvm *kvm, struct vgic_its *its,vgic_its_invalidate_cache (its); -return update_affinity (ite->irq, vcpu); +return update_affinity (ite->irq,NULL , vcpu); }static bool __is_visible_gfn_locked (struct vgic_its *its,gpa_t gpa)
@@ -1383,7 +1387,7 @@ static int vgic_its_cmd_handle_movall(struct kvm *kvm, struct vgic_its *its,if (!irq)continue ; -update_affinity (irq, vcpu2); +update_affinity (irq, vcpu1, vcpu2);vgic_put_irq (kvm, irq); }
arch/arm64/kvm/vgic/vgic-v2.c +4 -2
@@ -122,6 +122,10 @@ void vgic_v2_fold_lr_state(struct kvm_vcpu *vcpu)for (int lr =0 ; lr < vgic_cpu->vgic_v2.used_lrs; lr++)vgic_v2_fold_lr (vcpu, cpuif->vgic_lr[lr]); + cpuif->used_lrs =0 ; +if (!irq) +return ; +/* See the GICv3 equivalent for the EOIcount handling rationale */ list_for_each_entry_continue (irq, &vgic_cpu->ap_list_head, ap_list) {u32 lr;
@@ -144,8 +148,6 @@ void vgic_v2_fold_lr_state(struct kvm_vcpu *vcpu)vgic_v2_fold_lr (vcpu, lr); eoicount--; } - - cpuif->used_lrs =0 ; }void vgic_v2_deactivate (struct kvm_vcpu *vcpu,u32 val)
arch/arm64/kvm/vgic/vgic-v3.c +4 -2
@@ -155,6 +155,10 @@ void vgic_v3_fold_lr_state(struct kvm_vcpu *vcpu)for (int lr =0 ; lr < cpuif->used_lrs; lr++)vgic_v3_fold_lr (vcpu, cpuif->vgic_lr[lr]); + cpuif->used_lrs =0 ; +if (!irq) +return ; +/* * EOIMode=0: use EOIcount to emulate deactivation. We are * guaranteed to deactivate in reverse order of the activation, so
@@ -188,8 +192,6 @@ void vgic_v3_fold_lr_state(struct kvm_vcpu *vcpu)vgic_v3_fold_lr (vcpu, lr); eoicount--; } - - cpuif->used_lrs =0 ; }void vgic_v3_deactivate (struct kvm_vcpu *vcpu,u64 val)
arch/arm64/kvm/vgic/vgic.c +16 -5
@@ -850,6 +850,17 @@ static void vgic_prune_ap_list(struct kvm_vcpu *vcpu) goto retry; } +/* +* Fix the last_lr_irq refcount which was obtained while +* populating the LRs. This can also result in the LPI being +* deleted. +*/ + irq = *host_data_ptr (last_lr_irq); +if (irq) { + deleted_lpis |=vgic_put_irq_norelease (vcpu->kvm, irq); + *host_data_ptr (last_lr_irq) =NULL ; + } +raw_spin_unlock (&vgic_cpu->ap_list_lock);if (unlikely (deleted_lpis))
@@ -863,9 +874,6 @@ static void vgic_fold_state(struct kvm_vcpu *vcpu)return ; } -if (!*host_data_ptr (last_lr_irq)) -return ; -if (kvm_vgic_global_state.type ==VGIC_V2 )vgic_v2_fold_lr_state (vcpu);else
@@ -1018,11 +1026,14 @@ static void vgic_flush_lr_state(struct kvm_vcpu *vcpu) scoped_guard(raw_spinlock, &irq->irq_lock) {if (likely (vgic_target_oracle (irq) == vcpu)) {vgic_populate_lr (vcpu, irq, count++); - *host_data_ptr (last_lr_irq) = irq; +if (count == kvm_vgic_global_state.nr_lr) { +vgic_get_irq_ref (irq); + *host_data_ptr (last_lr_irq) = irq; + } } } -if (count == kvm_vgic_global_state.nr_lr) +if (*host_data_ptr (last_lr_irq))break ; }
arch/arm64/mm/mmu.c +1 -1
@@ -2245,7 +2245,7 @@ pte_t modify_prot_start_ptes(struct vm_area_struct *vma, unsigned long addr,* in cases where cpu is affected with errata #2645198. */ if (pte_accessible (vma->vm_mm, pte) &&pte_user_exec (pte)) -__flush_tlb_range (vma, addr, nr *PAGE_SIZE , +__flush_tlb_range (vma, addr, addr + nr *PAGE_SIZE ,PAGE_SIZE ,3 ,TLBF_NOWALKCACHE ); }
arch/arm64/net/bpf_jit_comp.c +22 -15
@@ -2358,10 +2358,11 @@ bool bpf_jit_supports_subprog_tailcalls(void)return true; } -static void invoke_bpf_prog (struct jit_ctx *ctx,struct bpf_tramp_node *node, -int bargs_off,int retval_off,int run_ctx_off, -bool save_ret) +static void invoke_bpf_prog (struct jit_ctx *ctx,struct bpf_tramp_image *im, +struct bpf_tramp_node *node,int bargs_off, +int retval_off,int run_ctx_off,bool save_ret) { +void *skip;__le32 *branch;u64 enter_prog;u64 exit_prog;
@@ -2371,6 +2372,10 @@ static void invoke_bpf_prog(struct jit_ctx *ctx, struct bpf_tramp_node *node, enter_prog = (u64 )bpf_trampoline_enter (p); exit_prog = (u64 )bpf_trampoline_exit (p); +/* nop, patched to skip this prog when it is detached */ + skip = ctx->ro_image + ctx->idx; +emit (A64_NOP , ctx); +if (node->cookie ==0 ) {/* if cookie is zero, one instruction is enough to store it */ emit (A64_STR64I (A64_ZR ,A64_SP , run_ctx_off + cookie_off), ctx);
@@ -2423,11 +2428,13 @@ static void invoke_bpf_prog(struct jit_ctx *ctx, struct bpf_tramp_node *node,emit (A64_ADD_I (1 ,A64_R (2 ),A64_SP , run_ctx_off), ctx);emit_call (exit_prog, ctx); + +bpf_tramp_image_add_skip (im, p, skip, ctx->ro_image + ctx->idx); } -static void invoke_bpf_mod_ret (struct jit_ctx *ctx,struct bpf_tramp_nodes *tn, -int bargs_off,int retval_off,int run_ctx_off, -__le32 **branches) +static void invoke_bpf_mod_ret (struct jit_ctx *ctx,struct bpf_tramp_image *im, +struct bpf_tramp_nodes *tn,int bargs_off, +int retval_off,int run_ctx_off,__le32 **branches) {int i;
@@ -2436,7 +2443,7 @@ static void invoke_bpf_mod_ret(struct jit_ctx *ctx, struct bpf_tramp_nodes *tn,*/ emit (A64_STR64I (A64_ZR ,A64_SP , retval_off), ctx);for (i =0 ; i < tn->nr_nodes; i++) { -invoke_bpf_prog (ctx, tn->nodes[i], bargs_off, retval_off, +invoke_bpf_prog (ctx, im, tn->nodes[i], bargs_off, retval_off, run_ctx_off, true);/* if (*(u64 *)(sp + retval_off) != 0) * goto do_fexit;
@@ -2771,7 +2778,7 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,store_func_meta (ctx, meta, func_meta_off); cookie_bargs_off--; } -invoke_bpf_prog (ctx, fentry->nodes[i], bargs_off, +invoke_bpf_prog (ctx, im, fentry->nodes[i], bargs_off, retval_off, run_ctx_off, flags &BPF_TRAMP_F_RET_FENTRY_RET ); }
@@ -2782,7 +2789,7 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,if (!branches)return -ENOMEM ; -invoke_bpf_mod_ret (ctx, fmod_ret, bargs_off, retval_off, +invoke_bpf_mod_ret (ctx, im, fmod_ret, bargs_off, retval_off, run_ctx_off, branches); }
@@ -2795,9 +2802,6 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,emit (A64_RET (A64_R (10 )), ctx);/* store return value */ emit (A64_STR64I (A64_R (0 ),A64_SP , retval_off), ctx); -/* reserve a nop for bpf_tramp_image_put */ - im->ip_after_call = ctx->ro_image + ctx->idx; -emit (A64_NOP , ctx); }/* update the branches saved in invoke_bpf_mod_ret with cbnz */
@@ -2819,12 +2823,11 @@ static int prepare_trampoline(struct jit_ctx *ctx, struct bpf_tramp_image *im,store_func_meta (ctx, meta, func_meta_off); cookie_bargs_off--; } -invoke_bpf_prog (ctx, fexit->nodes[i], bargs_off, retval_off, +invoke_bpf_prog (ctx, im, fexit->nodes[i], bargs_off, retval_off, run_ctx_off, false); }if (flags &BPF_TRAMP_F_CALL_ORIG ) { - im->ip_epilogue = ctx->ro_image + ctx->idx;/* for the first pass, assume the worst case */ if (!ctx->image) ctx->idx +=4 ;
@@ -2883,7 +2886,7 @@ int arch_bpf_trampoline_size(const struct btf_func_model *m, u32 flags, .image = NULL, .idx = 0, }; -struct bpf_tramp_image im; +struct bpf_tramp_image im = {};struct arg_aux aaux;int ret;
@@ -3170,6 +3173,10 @@ int bpf_arch_text_poke(void *ip, enum bpf_text_poke_type old_t,* longer reachable, since bpf_tramp_image_put() function already * uses percpu_ref and task-based rcu to do the sync, no need to call * the sync version here, see bpf_tramp_image_put() for details. +* +* 3. when a detached prog is patched out of a trampoline, a CPU that +* still executes the old nop calls the prog before it went through +* a quiescent state, and the prog is freed after grace periods. */ ret =aarch64_insn_patch_text_nosync (ip, new_insn); out:
arch/arm64/tools/cpucaps +1 -1
@@ -103,7 +103,6 @@ WORKAROUND_1902691 WORKAROUND_2038923 WORKAROUND_2064142 WORKAROUND_2077057 -WORKAROUND_2457168 WORKAROUND_2645198 WORKAROUND_2658417 WORKAROUND_4193714
@@ -128,3 +127,4 @@ WORKAROUND_REPEAT_TLBI WORKAROUND_SPECULATIVE_AT WORKAROUND_SPECULATIVE_SSBS WORKAROUND_SPECULATIVE_UNPRIV_LOAD +WORKAROUND_BROKEN_AMU_CONSTCNT
arch/loongarch/net/bpf_jit.c +40 -20
128 lines not on this page · raw message
arch/loongarch/vdso/Makefile +1 -0
@@ -16,6 +16,7 @@ ccflags-vdso := \ $(filter -m64,$(KBUILD_CFLAGS)) \ $(filter -march=%,$(KBUILD_CFLAGS)) \ $(filter -m%-float,$(KBUILD_CFLAGS)) \ + $(CONFIG_CC_OPT_INLINE_MEMSET) \ $(CLANG_FLAGS) \ -D__VDSO__
arch/powerpc/kernel/vdso/Makefile +1 -0
@@ -43,6 +43,7 @@ ccflags-y := -fno-common -fno-builtin -DBUILD_VDSO ccflags-y += $(DISABLE_LATENT_ENTROPY_PLUGIN) ccflags-y += $(call cc-option, -fno-stack-protector) ccflags-y += -DDISABLE_BRANCH_PROFILING +ccflags-y += $(CONFIG_CC_OPT_INLINE_MEMSET) ccflags-y += -ffreestanding -fasynchronous-unwind-tables ccflags-remove-y := $(CC_FLAGS_FTRACE) ldflags-y := -Wl,--hash-style=both -nostdlib -shared -z noexecstack $(CLANG_FLAGS)
arch/powerpc/net/bpf_jit_comp.c +23 -22
114 lines not on this page · raw message
arch/powerpc/perf/imc-pmu.c +12 -11
@@ -1275,6 +1275,8 @@ static int trace_imc_prepare_sample(struct trace_imc_data *mem,struct perf_event_header *header, struct perf_event *event) { + u16 misc = 0; +/* Sanity checks for a valid record */ if (be64_to_cpu (READ_ONCE (mem->tb1)) > *prev_tb) *prev_tb =be64_to_cpu (READ_ONCE (mem->tb1));
@@ -1289,23 +1291,19 @@ static int trace_imc_prepare_sample(struct trace_imc_data *mem, data->ip =be64_to_cpu (READ_ONCE (mem->ip)); data->period = event->hw.last_period; - header->type =PERF_RECORD_SAMPLE ; - header->size =sizeof (*header) + event->header_size; - header->misc =0 ; -if (cpu_has_feature (CPU_FTR_ARCH_31 )) {switch (IMC_TRACE_RECORD_VAL_HVPR (be64_to_cpu (READ_ONCE (mem->val)))) {case 0 :/* when MSR HV and PR not set in the trace-record */ - header->misc |=PERF_RECORD_MISC_GUEST_KERNEL ; + misc |=PERF_RECORD_MISC_GUEST_KERNEL ;break ;case 1 :/* MSR HV is 0 and PR is 1 */ - header->misc |=PERF_RECORD_MISC_GUEST_USER ; + misc |=PERF_RECORD_MISC_GUEST_USER ;break ;case 2 :/* MSR HV is 1 and PR is 0 */ - header->misc |=PERF_RECORD_MISC_KERNEL ; + misc |=PERF_RECORD_MISC_KERNEL ;break ;case 3 :/* MSR HV is 1 and PR is 1 */ - header->misc |=PERF_RECORD_MISC_USER ; + misc |=PERF_RECORD_MISC_USER ;break ;default :pr_info ("IMC: Unable to set the flag based on MSR bits\n" );
@@ -1313,11 +1311,14 @@ static int trace_imc_prepare_sample(struct trace_imc_data *mem, } }else {if (is_kernel_addr (data->ip)) - header->misc |=PERF_RECORD_MISC_KERNEL ; + misc |=PERF_RECORD_MISC_KERNEL ;else - header->misc |=PERF_RECORD_MISC_USER ; + misc |=PERF_RECORD_MISC_USER ; } -perf_event_header__init_id (header, data, event); +perf_event_header__init (header, data, +PERF_RECORD_SAMPLE , misc, +sizeof (*header) + event->header_size, + event);return 0 ; }
arch/riscv/kernel/vdso/Makefile +1 -0
@@ -36,6 +36,7 @@ endif ccflags-y := -fno-stack-protector ccflags-y += -DDISABLE_BRANCH_PROFILING ccflags-y += -fno-builtin +ccflags-y += $(CONFIG_CC_OPT_INLINE_MEMSET) ccflags-y += $(KBUILD_BASE_ISA)$(CFI_MARCH) ccflags-y += $(CFI_FULL) asflags-y += $(KBUILD_BASE_ISA)$(CFI_MARCH)
arch/riscv/net/bpf_jit_comp64.c +39 -17
123 lines not on this page · raw message
arch/s390/kernel/vdso/Makefile +1 -0
@@ -29,6 +29,7 @@ KBUILD_CFLAGS_VDSO := $(filter-out -munaligned-symbols,$(KBUILD_CFLAGS_VDSO)) KBUILD_CFLAGS_VDSO := $(filter-out -fno-asynchronous-unwind-tables,$(KBUILD_CFLAGS_VDSO)) KBUILD_CFLAGS_VDSO += -fPIC -fno-common -fno-builtin -fasynchronous-unwind-tables KBUILD_CFLAGS_VDSO += -fno-stack-protector $(DISABLE_KSTACK_ERASE) +KBUILD_CFLAGS_VDSO += $(CONFIG_CC_OPT_INLINE_MEMSET) ldflags-y := -shared -soname=linux-vdso.so.1 \ --hash-style=both --build-id=sha1 \ $(call ld-option, --eh-frame-hdr) -T
arch/s390/net/bpf_jit_comp.c +30 -16
121 lines not on this page · raw message
arch/x86/crypto/aesni-intel_glue.c +1 -1
@@ -1293,6 +1293,7 @@ static void gcm_process_assoc(const struct aes_gcm_key *key, u8 ghash_acc[16],unsigned int len;const u8 *src = walk.addr; + assoclen -= orig_len_this_step;if (unlikely (pos)) { len =min (len_this_step,16 - pos);memcpy (&buf[pos], src, len);
@@ -1320,7 +1321,6 @@ static void gcm_process_assoc(const struct aes_gcm_key *key, u8 ghash_acc[16],kernel_fpu_end ();kernel_fpu_begin (); } - assoclen -= orig_len_this_step; }if (unlikely (pos))aes_gcm_aad_update (key, ghash_acc, buf, pos, flags);
arch/x86/entry/vdso/vdso64/Makefile +1 -1
@@ -14,7 +14,7 @@ vobjs-$(CONFIG_X86_SGX) += vsgx.o vobjs-$(CONFIG_FUTEX_ROBUST_UNLOCK) += vfutex.o # Compilation flags -flags-y := -DBUILD_VDSO64 -m64 -mcmodel=small +flags-y := -DBUILD_VDSO64 -m64 -mcmodel=small $(CONFIG_CC_OPT_INLINE_MEMSET) # The location of this include matters! include $(src)/../common/Makefile.include
arch/x86/kernel/sys_x86_64.c +11 -4
@@ -50,9 +50,16 @@ static unsigned long get_align_mask(struct file *filp)* value before calling vm_unmapped_area() or ORed directly to the * address. */ -static unsigned long get_align_bits (void ) +static unsigned long get_align_bits (struct file *filp) { -return va_align.bits &get_align_mask (NULL ); +/* +* va_align.bits is smaller than the huge page size and will +* lead to misaligned huge pages. Ignore it for huge mappings. +*/ +if (is_file_hugepages (filp)) +return 0 ; + +return va_align.bits &get_align_mask (filp); }static int __init control_va_addr_alignment (char *str)
@@ -157,7 +164,7 @@ arch_get_unmapped_area(struct file *filp, unsigned long addr, unsigned long len, }if (filp) { info.align_mask =get_align_mask (filp); - info.align_offset +=get_align_bits (); + info.align_offset +=get_align_bits (filp); }return vm_unmapped_area (&info);
@@ -222,7 +229,7 @@ arch_get_unmapped_area_topdown(struct file *filp, unsigned long addr0,if (filp) { info.align_mask =get_align_mask (filp); - info.align_offset +=get_align_bits (); + info.align_offset +=get_align_bits (filp); } addr =vm_unmapped_area (&info);if (!(addr & ~PAGE_MASK ))
arch/x86/kvm/mmu/mmu.c +6 -0
@@ -2506,6 +2506,12 @@ static void shadow_walk_init_using_root(struct kvm_shadow_walk_iterator *iterato { iterator->addr = addr; iterator->shadow_addr = root; + +if (WARN_ON_ONCE (!VALID_PAGE (root)) ||kvm_mmu_is_dummy_root (root)) { + iterator->level =0 ; +return ; + } + iterator->level = vcpu->arch.mmu->root_role.level; if (iterator->level >= PT64_ROOT_4LEVEL &&
arch/x86/kvm/svm/nested.c +1 -6
@@ -2131,13 +2131,8 @@ static bool svm_get_nested_state_pages(struct kvm_vcpu *vcpu)return false; } -if (!nested_svm_merge_msrpm (vcpu)) { - vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; - vcpu->run->internal.suberror = -KVM_INTERNAL_ERROR_EMULATION ; - vcpu->run->internal.ndata =0 ; +if (!nested_svm_merge_msrpm (vcpu))return false; - }if (kvm_hv_verify_vp_assist (vcpu))return false;
arch/x86/kvm/svm/sev.c +29 -17
97 lines not on this page · raw message
arch/x86/kvm/svm/svm.c +18 -20
@@ -673,16 +673,7 @@ static void clr_dr_intercepts(struct vcpu_svm *svm)static bool msr_write_intercepted (struct vcpu_svm *svm,u32 msr) { -/* -* For non-nested case: -* If the L01 MSR bitmap does not intercept the MSR, then we need to -* save it. -* -* For nested case: -* If the L02 MSR bitmap does not intercept the MSR, then we need to -* save it. -*/ -void *msrpm =is_guest_mode (&svm->vcpu) ? svm->nested.msrpm : svm->msrpm; +void *msrpm =__va (__sme_clr (svm->vmcb->control.msrpm_base_pa));return svm_test_msr_bitmap_write (msrpm, msr); }
@@ -1906,8 +1897,7 @@ static void new_asid(struct vcpu_svm *svm, struct svm_cpu_data *sd)if (sd->next_asid > sd->max_asid) { ++sd->asid_generation; sd->next_asid = sd->min_asid; - svm->vmcb->control.tlb_ctl =TLB_CONTROL_FLUSH_ALL_ASID ; -vmcb_mark_dirty (svm->vmcb,VMCB_ASID ); + sd->flush_all_asids = true; } svm->current_vmcb->asid_generation = sd->asid_generation;
@@ -4527,6 +4517,11 @@ static __no_kcsan fastpath_t svm_vcpu_run(struct kvm_vcpu *vcpu, u64 run_flags) svm->vmcb->control.asid = svm->asid;vmcb_mark_dirty (svm->vmcb,VMCB_ASID ); } +if (this_cpu_ptr (&svm_data)->flush_all_asids) { + svm->vmcb->control.tlb_ctl =TLB_CONTROL_FLUSH_ALL_ASID ; +vmcb_mark_dirty (svm->vmcb,VMCB_ASID ); + } + svm->vmcb->save.cr2 = vcpu->arch.cr2; if (guest_cpu_cap_has(vcpu, X86_FEATURE_ERAPS) &&
@@ -4617,16 +4612,19 @@ static __no_kcsan fastpath_t svm_vcpu_run(struct kvm_vcpu *vcpu, u64 run_flags) vcpu->arch.nested_run_pending =0 ; } - svm->vmcb->control.tlb_ctl =TLB_CONTROL_DO_NOTHING ; +if (!svm_is_vmrun_failure (svm->vmcb->control.exit_code)) { +this_cpu_ptr (&svm_data)->flush_all_asids = false; + svm->vmcb->control.tlb_ctl =TLB_CONTROL_DO_NOTHING ; -/* -* Unconditionally mask off the CLEAR_RAP bit, the AND is just as cheap -* as the TEST+Jcc to avoid it. -*/ -if (cpu_feature_enabled (X86_FEATURE_ERAPS )) - svm->vmcb->control.erap_ctl &= ~ERAP_CONTROL_CLEAR_RAP ; +/* +* Unconditionally mask off the CLEAR_RAP bit, the AND is just +* as cheap as the TEST+Jcc to avoid it. +*/ +if (cpu_feature_enabled (X86_FEATURE_ERAPS )) + svm->vmcb->control.erap_ctl &= ~ERAP_CONTROL_CLEAR_RAP ; -vmcb_mark_all_clean (svm->vmcb); +vmcb_mark_all_clean (svm->vmcb); + }/* if exit due to PF check for async PF */ if (svm->vmcb->control.exit_code ==SVM_EXIT_EXCP_BASE +PF_VECTOR )
arch/x86/kvm/svm/svm.h +1 -0
@@ -376,6 +376,7 @@ struct svm_cpu_data {u32 next_asid;u32 min_asid; +bool flush_all_asids;bool bp_spec_reduce_set;struct vmcb *save_area;
arch/x86/kvm/vmx/nested.c +11 -10
@@ -1758,6 +1758,9 @@ static void copy_vmcs12_to_shadow(struct vcpu_vmx *vmx)static void copy_enlightened_to_vmcs12 (struct vcpu_vmx *vmx,u32 hv_clean_fields) {#ifdef CONFIG_KVM_HYPERV +const u64 runtime_controls =HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP1 | +HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_GRP2 | +HV_VMX_ENLIGHTENED_CLEAN_FIELD_CONTROL_PROC ;struct vmcs12 *vmcs12 = vmx->nested.cached_vmcs12;struct hv_enlightened_vmcs *evmcs =nested_vmx_evmcs (vmx);struct kvm_vcpu_hv *hv_vcpu =to_hv_vcpu (&vmx->vcpu);
@@ -1766,6 +1769,9 @@ static void copy_enlightened_to_vmcs12(struct vcpu_vmx *vmx, u32 hv_clean_fields vmcs12->tpr_threshold = evmcs->tpr_threshold; vmcs12->guest_rip = evmcs->guest_rip; +if ((hv_clean_fields & runtime_controls) != runtime_controls) + vmx->nested.force_msr_bitmap_recalc = true; +if (unlikely (!(hv_clean_fields &HV_VMX_ENLIGHTENED_CLEAN_FIELD_ENLIGHTENMENTSCONTROL ))) { hv_vcpu->nested.pa_page_gpa = evmcs->partition_assist_page;
@@ -3469,10 +3475,6 @@ static bool nested_get_vmcs12_pages(struct kvm_vcpu *vcpu) }else {pr_debug_ratelimited ("%s: no backing for APIC-access address in vmcs12\n" , __func__); - vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; - vcpu->run->internal.suberror = -KVM_INTERNAL_ERROR_EMULATION ; - vcpu->run->internal.ndata =0 ;return false; } }
@@ -3543,11 +3545,6 @@ static bool vmx_get_nested_state_pages(struct kvm_vcpu *vcpu)if (!nested_get_evmcs_page (vcpu)) {pr_debug_ratelimited ("%s: enlightened vmptrld failed\n" , __func__); - vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; - vcpu->run->internal.suberror = -KVM_INTERNAL_ERROR_EMULATION ; - vcpu->run->internal.ndata =0 ; -return false; }#endif
@@ -3919,8 +3916,12 @@ static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch) vmentry_failed: vcpu->arch.nested_run_pending =0 ; -if (status ==NVMX_VMENTRY_KVM_INTERNAL_ERROR ) +if (status ==NVMX_VMENTRY_KVM_INTERNAL_ERROR ) { + vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; + vcpu->run->internal.suberror =KVM_INTERNAL_ERROR_EMULATION ; + vcpu->run->internal.ndata =0 ;return 0 ; + }if (status ==NVMX_VMENTRY_VMEXIT )return 1 ;WARN_ON_ONCE (status !=NVMX_VMENTRY_VMFAIL );
arch/x86/kvm/x86.c +4 -0
@@ -10694,6 +10694,10 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)if (kvm_check_request (KVM_REQ_GET_NESTED_STATE_PAGES , vcpu)) {if (unlikely (!kvm_nested_call (get_nested_state_pages)(vcpu))) { + vcpu->run->exit_reason =KVM_EXIT_INTERNAL_ERROR ; + vcpu->run->internal.suberror =KVM_INTERNAL_ERROR_EMULATION ; + vcpu->run->internal.ndata =0 ; +kvm_make_request (KVM_REQ_GET_NESTED_STATE_PAGES , vcpu); r =0 ; goto out; }
arch/x86/mm/pgtable.c +14 -24
@@ -705,47 +705,37 @@ int pmd_clear_huge(pmd_t *pmd) }#ifdef CONFIG_X86_64 -/** -* pud_free_pmd_page - Clear PUD entry and free PMD page -* @pud: Pointer to a PUD -* @addr: Virtual address associated with PUD -* -* Context: The PUD range has been unmapped and TLB purged. -* Return: 1 if clearing the entry succeeded. 0 otherwise. -* -* NOTE: Callers must allow a single page allocation. +/* +* Given a PUD poitner, detach and free the pointed-to +* PMD page and any PTE page children. The entire range +* under the PUD must not have any valid translations +* and the TLB must have already been flushed. */ int pud_free_pmd_page (pud_t *pud,unsigned long addr) { -pmd_t *pmd, *pmd_sv;struct ptdesc *pt; +pmd_t *pmd;int i; pmd =pud_pgtable (*pud); - pmd_sv = (pmd_t *)__get_free_page (GFP_KERNEL ); -if (!pmd_sv) -return 0 ; - -for (i =0 ; i <PTRS_PER_PMD ; i++) { - pmd_sv[i] = pmd[i]; -if (!pmd_none (pmd[i])) -pmd_clear (&pmd[i]); - } +/* Detach the PMD page: */ pud_clear (pud); -/* INVLPG to clear all paging-structure caches */ +/* +* PMD and all its descendents are unreachable +* via normal page walks. Make them unreachable +* in cached mid-level walks too: +*/ flush_tlb_kernel_range (addr, addr +PAGE_SIZE -1 );for (i =0 ; i <PTRS_PER_PMD ; i++) { -if (!pmd_none (pmd_sv[i])) { - pt =page_ptdesc (pmd_page (pmd_sv[i])); +if (!pmd_none (pmd[i])) { + pt =page_ptdesc (pmd_page (pmd[i]));pagetable_dtor_free (pt); } } -free_page ((unsigned long )pmd_sv); -pmd_free (&init_mm, pmd);return 1 ;
arch/x86/net/bpf_jit_comp.c +16 -10
@@ -3128,16 +3128,21 @@ static void restore_regs(const struct btf_func_model *m, u8 **prog, }static int invoke_bpf_prog (const struct btf_func_model *m,u8 **pprog, +struct bpf_tramp_image *im,struct bpf_tramp_node *node,int stack_size,int run_ctx_off,bool save_ret,void *image,void *rw_image) {u8 *prog = *pprog; -u8 *jmp_insn; +u8 *jmp_insn, *skip;int ctx_cookie_off = offsetof(struct bpf_tramp_run_ctx , bpf_cookie);struct bpf_prog *p = node->link->prog;u64 cookie = node->cookie; +/* nop, patched to skip this prog when it is detached */ + skip = image + (prog - (u8 *)rw_image); +emit_nops (&prog,X86_PATCH_SIZE ); +/* mov rdi, cookie */ emit_mov_imm64 (&prog,BPF_REG_1 , (long ) cookie >>32 , (u32 ) (long ) cookie);
@@ -3212,6 +3217,8 @@ static int invoke_bpf_prog(const struct btf_func_model *m, u8 **pprog,if (emit_rsb_call (&prog,bpf_trampoline_exit (p), image + (prog - (u8 *)rw_image)))return -EINVAL ; +bpf_tramp_image_add_skip (im, p, skip, image + (prog - (u8 *)rw_image)); + *pprog = prog;return 0 ; }
@@ -3243,6 +3250,7 @@ static int emit_cond_near_jump(u8 **pprog, void *func, void *ip, u8 jmp_cond) } static int invoke_bpf(const struct btf_func_model *m, u8 **pprog, + struct bpf_tramp_image *im, struct bpf_tramp_nodes *tl, int stack_size, int run_ctx_off, int func_meta_off, bool save_ret, void *image, void *rw_image, u64 func_meta,
@@ -3257,7 +3265,7 @@ static int invoke_bpf(const struct btf_func_model *m, u8 **pprog, func_meta | (cur_cookie << BPF_TRAMP_COOKIE_INDEX_SHIFT)); cur_cookie--; } -if (invoke_bpf_prog (m, &prog, tl->nodes[i], stack_size, +if (invoke_bpf_prog (m, &prog, im, tl->nodes[i], stack_size, run_ctx_off, save_ret, image, rw_image))return -EINVAL ; }
@@ -3266,6 +3274,7 @@ static int invoke_bpf(const struct btf_func_model *m, u8 **pprog, }static int invoke_bpf_mod_ret (const struct btf_func_model *m,u8 **pprog, +struct bpf_tramp_image *im,struct bpf_tramp_nodes *tl,int stack_size,int run_ctx_off,u8 **branches,void *image,void *rw_image)
@@ -3279,7 +3288,7 @@ static int invoke_bpf_mod_ret(const struct btf_func_model *m, u8 **pprog,emit_mov_imm32 (&prog, false,BPF_REG_0 ,0 );emit_stx (&prog,BPF_DW ,BPF_REG_FP ,BPF_REG_0 ,-8 );for (i =0 ; i < tl->nr_nodes; i++) { -if (invoke_bpf_prog (m, &prog, tl->nodes[i], stack_size, run_ctx_off, true, +if (invoke_bpf_prog (m, &prog, im, tl->nodes[i], stack_size, run_ctx_off, true, image, rw_image))return -EINVAL ;
@@ -3548,7 +3557,7 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_im }if (fentry->nr_nodes) { -if (invoke_bpf (m, &prog, fentry, regs_off, run_ctx_off, func_meta_off, +if (invoke_bpf (m, &prog, im, fentry, regs_off, run_ctx_off, func_meta_off, flags &BPF_TRAMP_F_RET_FENTRY_RET , image, rw_image, func_meta, cookie_off))return -EINVAL ;
@@ -3560,7 +3569,7 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_imif (!branches)return -ENOMEM ; -if (invoke_bpf_mod_ret (m, &prog, fmod_ret, regs_off, +if (invoke_bpf_mod_ret (m, &prog, im, fmod_ret, regs_off, run_ctx_off, branches, image, rw_image)) { ret = -EINVAL ; goto cleanup;
@@ -3590,8 +3599,6 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_im }/* remember return value in a stack for bpf prog to access */ emit_stx (&prog,BPF_DW ,BPF_REG_FP ,BPF_REG_0 ,-8 ); - im->ip_after_call = image + (prog - (u8 *)rw_image); -emit_nops (&prog,X86_PATCH_SIZE ); }if (fmod_ret->nr_nodes) {
@@ -3616,7 +3623,7 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_imemit_store_stack_imm64 (&prog,BPF_REG_0 , -func_meta_off, func_meta);if (fexit->nr_nodes) { -if (invoke_bpf (m, &prog, fexit, regs_off, run_ctx_off, func_meta_off, +if (invoke_bpf (m, &prog, im, fexit, regs_off, run_ctx_off, func_meta_off, false, image, rw_image, func_meta, cookie_off)) { ret = -EINVAL ; goto cleanup;
@@ -3631,7 +3638,6 @@ static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_im* restored to R0. */ if (flags &BPF_TRAMP_F_CALL_ORIG ) { - im->ip_epilogue = image + (prog - (u8 *)rw_image);/* arg1: mov rdi, im */ emit_mov_imm64 (&prog,BPF_REG_1 , (long ) im >>32 , (u32 ) (long ) im);if (emit_rsb_call (&prog, __bpf_tramp_exit, image + (prog - (u8 *)rw_image))) {
@@ -3719,7 +3725,7 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *image, void *iint arch_bpf_trampoline_size (const struct btf_func_model *m,u32 flags,struct bpf_tramp_nodes *tnodes,void *func_addr) { -struct bpf_tramp_image im; +struct bpf_tramp_image im = {};void *image;int ret;
block/blk-cgroup.c +3 -2
@@ -2078,6 +2078,7 @@ static inline struct blkcg_gq *blkg_tryget_closest(struct bio *bio,struct request_queue *q = bio->bi_bdev->bd_queue;struct blkcg *blkcg =css_to_blkcg (css);struct blkcg_gq *blkg; +unsigned long flags;rcu_read_lock (); blkg =blkg_lookup (blkcg, q);
@@ -2092,11 +2093,11 @@ static inline struct blkcg_gq *blkg_tryget_closest(struct bio *bio,* Fast path failed, we're probably issuing IO in this cgroup the first * time, hold lock to create new blkg. */ -spin_lock_irq (&q->queue_lock); +spin_lock_irqsave (&q->queue_lock, flags); blkg =blkg_lookup_create (blkcg, bio->bi_bdev->bd_disk);if (blkg) blkg =blkg_lookup_tryget (blkg); -spin_unlock_irq (&q->queue_lock); +spin_unlock_irqrestore (&q->queue_lock, flags);return blkg; }
block/blk-mq.c +37 -22
126 lines not on this page · raw message
block/fops.c +5 -0
@@ -404,6 +404,11 @@ static ssize_t blkdev_direct_IO(struct kiocb *iocb, struct iov_iter *iter)if (blkdev_dio_invalid (bdev, iocb, iter))return -EINVAL ; +/* HIPRI needs private as bio; HAS_METADATA keeps it as uio_meta */ +if ((iocb->ki_flags &IOCB_HIPRI ) && + (iocb->ki_flags &IOCB_HAS_METADATA )) +return -EOPNOTSUPP ; +if (iov_iter_rw (iter) ==WRITE ) {u16 max_write_streams =bdev_max_write_streams (bdev);
block/mq-deadline.c +1 -1
@@ -688,7 +688,7 @@ static void dd_insert_requests(struct blk_mq_hw_ctx *hctx,blk_mq_free_requests (&free); } -/* Callback from inside blk_mq_rq_ctx_init(). */ +/* Callback from inside blk_mq_rq_late_init(). */ static void dd_prepare_request (struct request *rq) { rq->elv.priv[0 ] =NULL ;
drivers/android/binder.c +2 -1
@@ -2930,8 +2930,9 @@ static int binder_proc_transaction(struct binder_transaction *t, t_outdated->buffer =NULL ; buffer->transaction =NULL ;trace_binder_transaction_update_buffer_release (buffer); -binder_release_entire_buffer (proc,NULL , buffer, false); +binder_release_entire_buffer (proc,NULL , buffer, true);binder_alloc_free_buf (&proc->alloc, buffer); +binder_free_txn_fixups (t_outdated);kfree (t_outdated);binder_stats_deleted (BINDER_STAT_TRANSACTION ); }
drivers/android/binder/thread.rs +7 -1
@@ -659,6 +659,12 @@ pub(crate) fn push_return_work(&self, reply: u32) { self.inner.lock ().push_return_work (reply); } +pub (crate )fn pop_work_even_if_deferred (&self) ->Option <DLArc <dyn DeliverToRead >> { +let mut thread_inner = self.inner.lock (); + thread_inner.process_work_list =true ; + thread_inner.pop_work () + } +fn translate_object ( &self, obj_index: usize,
@@ -1621,7 +1627,7 @@ pub(crate) fn release(self: &Arc<Self>) { self.unwind_transaction_stack ();// Cancel all pending work items. -while let Ok (Some (work)) = self.get_work_local (false ) { +while let Some (work) = self.pop_work_even_if_deferred () { work.into_arc ().cancel (); } }
drivers/android/binderfs.c +1 -2
@@ -189,12 +189,11 @@ static int binderfs_binder_device_create(struct inode *ref_inode, goto err; } inode->i_private = device; +binder_add_device (device);d_make_persistent (dentry, inode);fsnotify_create (root->d_inode, dentry);simple_done_creating (dentry); -binder_add_device (device); -return 0 ; err:
drivers/block/drbd/drbd_nl_gen.c +0 -4
@@ -638,10 +638,6 @@ const struct genl_split_ops drbd_nl_ops[32] = { }, }; -static const struct genl_multicast_group drbd_nl_mcgrps[] = { - [DRBD_NLGRP_EVENTS ] = {"events" , }, -}; -static int __drbd_cfg_context_from_attrs (struct drbd_cfg_context *s,struct nlattr ***ret_nested_attribute_table,struct genl_info *info)
drivers/block/virtio_blk.c +1 -0
@@ -743,6 +743,7 @@ static int virtblk_read_zoned_limits(struct virtio_blk *vblk,dev_warn (&vdev->dev,"zero write granularity reported\n" );return -ENODEV ; } + lim->zone_write_granularity = wg; lim->physical_block_size = wg; lim->io_min = wg;
drivers/bluetooth/btintel.c +12 -3
@@ -288,7 +288,8 @@ void btintel_hw_error(struct hci_dev *hdev, u8 code) goto unlock; } -bt_dev_err (hdev,"Exception info %s" , (char *)(skb->data +1 )); +bt_dev_err (hdev,"Exception info %.*s" , (int )(skb->len -1 ), + (char *)(skb->data +1 ));kfree_skb (skb);
@@ -407,8 +408,16 @@ int btintel_load_ddc_config(struct hci_dev *hdev, const char *ddc_name)/* DDC file contains one or more DDC structure which has * Length (1 byte), DDC ID (2 bytes), and DDC value (Length - 2). */ -while (fw->size > fw_ptr - fw->data) { -u8 cmd_plen = fw_ptr[0 ] +sizeof (u8); +while (fw->size > (size_t )(fw_ptr - fw->data)) { +size_t remaining = fw->size - (fw_ptr - fw->data); +unsigned int cmd_plen = fw_ptr[0 ] +1U ; + +if (cmd_plen <3 || cmd_plen >U8_MAX || cmd_plen > remaining) { +bt_dev_err (hdev,"Malformed DDC record (plen=%u, remaining=%zu)" , + cmd_plen, remaining); +release_firmware (fw); +return -EINVAL ; + } skb =__hci_cmd_sync (hdev,0xfc8b , cmd_plen, fw_ptr,HCI_INIT_TIMEOUT );
drivers/bluetooth/btintel_pcie.c +11 -1
@@ -1197,7 +1197,7 @@ static int btintel_pcie_recv_frame(struct btintel_pcie_data *data, {int ret;u8 pkt_type; -u16 plen; +u32 plen;u32 pcie_pkt_type;void *pdata;struct hci_dev *hdev = data->hdev;
@@ -2157,6 +2157,16 @@ static int btintel_pcie_send_frame(struct hci_dev *hdev,if (test_bit (BTINTEL_PCIE_RECOVERY_IN_PROGRESS , &data->flags))return -ENODEV ; +/* Account for the 4-byte PCIe type header prepended before the +* DMA copy. Written as a subtraction to avoid wrap-around on +* attacker-controlled skb->len. +*/ +if (skb->len >BTINTEL_PCIE_BUFFER_SIZE -BTINTEL_PCIE_HCI_TYPE_LEN ) { +bt_dev_err (hdev,"Packet too large: %u > %u" , skb->len, +BTINTEL_PCIE_BUFFER_SIZE -BTINTEL_PCIE_HCI_TYPE_LEN ); +return -EMSGSIZE ; + } +/* Due to the fw limitation, the type header of the packet should be * 4 bytes unlike 1 byte for UART. In UART, the firmware can read * the first byte to get the packet type and redirect the rest of data
drivers/bluetooth/btusb.c +2 -0
@@ -308,6 +308,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x13d3, 0x3501), .driver_info = BTUSB_QCA_ROME | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3503), .driver_info = BTUSB_QCA_ROME | + BTUSB_WIDEBAND_SPEECH }, /* QCA WCN6855 chipset */ { USB_DEVICE(0x0489, 0xe0c7), .driver_info = BTUSB_QCA_WCN6855 |
drivers/char/tpm/tpm2-cmd.c +1 -1
@@ -318,7 +318,7 @@ int tpm2_get_random(struct tpm_chip *chip, u8 *dest, size_t max) out = (struct tpm2_get_random_out *)&buf.data[offset]; recd =min_t (u32,be16_to_cpu (out->size), num_bytes);if (tpm_buf_length (&buf) < -TPM_HEADER_SIZE + + offset + offsetof(struct tpm2_get_random_out , buffer) + recd) { err = -EFAULT ;
drivers/char/tpm/tpm2-sessions.c +1 -0
@@ -985,6 +985,7 @@ static int tpm2_load_null(struct tpm_chip *chip, u32 *null_key)/* Deduce from the name change TPM interference: */ dev_err (&chip->dev,"null key integrity check failed\n" );tpm2_flush_context (chip, tmp_null_key); + rc = -ENODEV ; err:if (rc) {
drivers/clk/spacemit/ccu-k3.c +92 -0
112 lines not on this page · raw message
drivers/edac/altera_edac.c +35 -32
196 lines not on this page · raw message
drivers/edac/versalnet_edac.c +1 -0
@@ -953,6 +953,7 @@ static void mc_remove(struct platform_device *pdev)remove_versalnet (priv);rproc_shutdown (priv->mcdi->r5_rproc);cdx_mcdi_finish (priv->mcdi); +rproc_put (priv->mcdi->r5_rproc);kfree (priv->mcdi); }
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +9 -4
@@ -318,7 +318,7 @@ static int acp_hw_init(struct amdgpu_ip_block *ip_block) r =device_for_each_child (adev->acp.parent, &adev->acp.acp_genpd->gpd, acp_genpd_add_device);if (r) - goto failure; + goto failure_remove_mfd;break ; }default :
@@ -443,7 +443,7 @@ static int acp_hw_init(struct amdgpu_ip_block *ip_block) r =device_for_each_child (adev->acp.parent, &adev->acp.acp_genpd->gpd, acp_genpd_add_device);if (r) - goto failure; + goto failure_remove_mfd; }/* Assert Soft reset of ACP */
@@ -461,7 +461,7 @@ static int acp_hw_init(struct amdgpu_ip_block *ip_block)if (--count ==0 ) {dev_err (&adev->pdev->dev,"Failed to reset ACP\n" ); r = -ETIMEDOUT ; - goto failure; + goto failure_remove_mfd; }udelay (100 ); }
@@ -479,7 +479,7 @@ static int acp_hw_init(struct amdgpu_ip_block *ip_block)if (--count ==0 ) {dev_err (&adev->pdev->dev,"Failed to reset ACP\n" ); r = -ETIMEDOUT ; - goto failure; + goto failure_remove_mfd; }udelay (100 ); }
@@ -489,6 +489,11 @@ static int acp_hw_init(struct amdgpu_ip_block *ip_block)cgs_write_register (adev->acp.cgs_device, mmACP_SOFT_RESET, val);return 0 ; +failure_remove_mfd: +device_for_each_child (adev->acp.parent,NULL , + acp_genpd_remove_device); +mfd_remove_devices (adev->acp.parent); + failure:kfree (adev->acp.i2s_pdata);kfree (adev->acp.acp_res);
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +2 -0
@@ -1270,6 +1270,8 @@ static int amdgpu_discovery_sysfs_ips(struct amdgpu_device *adev, ip_hw_instance->kobj.kset = &ip_hw_id->hw_id_kset; res =kobject_add (&ip_hw_instance->kobj,NULL ,"%d" , ip_hw_instance->num_instance); +if (res) +kobject_put (&ip_hw_instance->kobj); next_ip:if (reg_base_64) ip_offset += struct_size(ip, base_address_64,
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +8 -0
@@ -2653,6 +2653,14 @@ static int amdgpu_pmops_suspend_noirq(struct device *dev)struct amdgpu_device *adev =drm_to_adev (drm_dev);int r; +/* +* A GPU parked by vga_switcheroo has no power and no PCIe link, so the +* ASIC reset below would fail and abort the whole noirq suspend phase. +* Bail out like amdgpu_device_prepare/suspend/resume() already do. +*/ +if (drm_dev->switch_power_state ==DRM_SWITCH_POWER_OFF ) +return 0 ; +if (amdgpu_acpi_should_gpu_reset (adev)) {amdgpu_device_lock_reset_domain (adev->reset_domain); r =amdgpu_asic_reset (adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +7 -1
@@ -2320,7 +2320,7 @@ void amdgpu_ttm_fini(struct amdgpu_device *adev)void amdgpu_ttm_enable_buffer_funcs (struct amdgpu_device *adev) {struct ttm_resource_manager *man =ttm_manager_type (&adev->mman.bdev,TTM_PL_VRAM ); -u32 num_clear_entities, num_move_entities; +u32 num_clear_entities, num_move_entities, sdma_ip_version;int r, i, j; if (!adev->mman.initialized || amdgpu_in_reset(adev) ||
@@ -2345,6 +2345,12 @@ void amdgpu_ttm_enable_buffer_funcs(struct amdgpu_device *adev) num_clear_entities =MIN (adev->mman.num_buffer_funcs_scheds,TTM_NUM_MOVE_FENCES ); num_move_entities =MIN (adev->mman.num_buffer_funcs_scheds,TTM_NUM_MOVE_FENCES ); +/* TODO: workaround for DCC corruption when moving BOs from multiple queues at +* the same time: use a single queue until the root cause is identified and fixed. +*/ + sdma_ip_version =amdgpu_ip_version (adev,SDMA0_HWIP ,0 ); +if (sdma_ip_version ==IP_VERSION (7 ,0 ,0 ) || sdma_ip_version ==IP_VERSION (7 ,0 ,1 )) + num_move_entities =1 ; adev->mman.clear_entities = kcalloc(num_clear_entities, sizeof(struct amdgpu_ttm_buffer_entity),
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +9 -0
@@ -322,6 +322,14 @@ static const u32 verde_rlc_save_restore_register_list[] = 0x00000000 }; +static void gfx_v6_0_free_microcode (struct amdgpu_device *adev) +{ +amdgpu_ucode_release (&adev->gfx.pfp_fw); +amdgpu_ucode_release (&adev->gfx.me_fw); +amdgpu_ucode_release (&adev->gfx.ce_fw); +amdgpu_ucode_release (&adev->gfx.rlc_fw); +} +static int gfx_v6_0_init_microcode (struct amdgpu_device *adev) {const char *chip_name;
@@ -3187,6 +3195,7 @@ static int gfx_v6_0_sw_fini(struct amdgpu_ip_block *ip_block)amdgpu_ring_fini (&adev->gfx.compute_ring[i]);amdgpu_gfx_rlc_fini (adev); +gfx_v6_0_free_microcode (adev);return 0 ; }
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +1 -1
@@ -327,7 +327,7 @@ static void gmc_v12_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid,return ; } -gmc_v12_0_flush_vm_hub (adev, vmid, vmhub,0 ); +gmc_v12_0_flush_vm_hub (adev, vmid, vmhub, flush_type);return ; }
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c +1 -1
@@ -389,7 +389,7 @@ static void gmc_v12_1_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid,return ; } -gmc_v12_1_flush_vm_hub (adev, vmid, vmhub,0 ); +gmc_v12_1_flush_vm_hub (adev, vmid, vmhub, flush_type);return ; }
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +0 -4
@@ -1356,10 +1356,6 @@ static int sdma_v7_1_sw_init(struct amdgpu_ip_block *ip_block)else DRM_ERROR ("Failed to allocated memory for SDMA IP Dump\n" ); -#ifdef CONFIG_DRM_AMDGPU_NAVI3X_USERQ - adev->userq_funcs[AMDGPU_HW_IP_DMA ] = &userq_mes_funcs; -#endif -return r; }
drivers/gpu/drm/amd/amdgpu/vi.c +21 -0
@@ -1407,10 +1407,31 @@ static uint64_t vi_get_pcie_replay_count(struct amdgpu_device *adev)return (nak_r + nak_g); } +struct vi_reset_quirk { +u16 device; +u16 subsystem_vendor; +u16 subsystem_device; +u8 revision; +}; + +static const struct vi_reset_quirk vi_reset_quirks[] = { + {0x67ef ,PCI_VENDOR_ID_APPLE ,0x0190 ,0xe3 },/* Radeon Pro 555X */ + {0x67ef ,PCI_VENDOR_ID_APPLE ,0x018f ,0xc2 },/* Radeon Pro 560X */ + {0x67ef ,PCI_VENDOR_ID_APPLE ,0x017a ,0xc7 },/* Radeon Pro 555 */ +}; +static bool vi_need_reset_on_init (struct amdgpu_device *adev) { +unsigned int i;u32 clock_cntl, pc; +for (i =0 ; i <ARRAY_SIZE (vi_reset_quirks); i++) +if (adev->pdev->device == vi_reset_quirks[i].device && + adev->pdev->subsystem_vendor == vi_reset_quirks[i].subsystem_vendor && + adev->pdev->subsystem_device == vi_reset_quirks[i].subsystem_device && + adev->pdev->revision == vi_reset_quirks[i].revision) +return true; +if (adev->flags &AMD_IS_APU )return false;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +87 -14
156 lines not on this page · raw message
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +5 -1
@@ -1181,7 +1181,8 @@ static bool get_conv_frl_bw(struct amdgpu_dm_connector *aconnector,unsigned int max_sink_bw_in_kbps =0 ;unsigned int dsc_max_sink_bw_in_kbps =0 ; -if (aconnector->dc_link->dc->caps.dp_hdmi21_pcon_support && +if (aconnector->dc_sink && + aconnector->dc_link->dc->caps.dp_hdmi21_pcon_support && aconnector->mst_downstream_port_caps.bytes.byte0.bits.DWN_STRM_PORTX_TYPE ==DOWN_STREAM_DETAILED_HDMI ) { max_conv_bw_in_kbps = dc_link_bw_kbps_from_raw_frl_link_rate_data( aconnector->dc_link->dc,
@@ -1946,6 +1947,9 @@ enum dc_status dm_dp_mst_is_port_support_mode(struct dc_dsc_config_options dsc_options = {0 };uint32_t stream_kbps; +if (!aconnector->dc_sink) +return DC_FAIL_BANDWIDTH_VALIDATE ; +/* DSC unnecessary case * Check if timing could be supported within end-to-end BW */
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
@@ -1763,6 +1763,7 @@ struct dc_scratch_space {struct ddc_service *ddc;enum dp_panel_mode panel_mode; +bool panel_mode_initialized;bool aux_mode;/* Private to DC core */
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c +3 -1
@@ -92,6 +92,7 @@ void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode) } link->panel_mode = panel_mode; + link->panel_mode_initialized = true; DC_LOG_DETECTION_DP_CAPS("%d eDP panel mode supported: %d, enabled: %d\n", link->link_index, link->dpcd_caps.panel_mode_edp,
@@ -1300,7 +1301,8 @@ void edp_set_panel_assr(struct dc_link *link, struct pipe_ctx *pipe_ctx, result = cp_psp->funcs.enable_assr (cp_psp->handle, link); -if (!result && link->panel_mode !=DP_PANEL_MODE_EDP ) +if (!result && link->panel_mode_initialized && + link->panel_mode !=DP_PANEL_MODE_EDP ) *panel_mode =DP_PANEL_MODE_DEFAULT ; } }
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c +12 -1
@@ -448,6 +448,12 @@ static const struct dce_abm_mask abm_mask = { ABM_MASK_SH_LIST_DCE110(_MASK) }; +static const struct dc_debug_options debug_defaults = {0 }; + +static const struct dc_check_config config_defaults = { + .enable_legacy_fast_update = true, +}; +#define CTX ctx#define REG (reg) mm ## reg
@@ -937,6 +943,8 @@ static bool dce60_construct( dc->caps.max_cursor_size =64 ; dc->caps.dual_link_dvi = true; dc->caps.extended_aux_timeout_support = false; + dc->debug = debug_defaults; + dc->check_config = config_defaults;/************************************************* * Create resources *
@@ -1134,6 +1142,8 @@ static bool dce61_construct( dc->caps.i2c_speed_in_khz =40 ; dc->caps.max_cursor_size =64 ; dc->caps.is_apu = true; + dc->debug = debug_defaults; + dc->check_config = config_defaults;/************************************************* * Create resources *
@@ -1331,7 +1341,8 @@ static bool dce64_construct( dc->caps.max_downscale_ratio =200 ; dc->caps.i2c_speed_in_khz =40 ; dc->caps.max_cursor_size =64 ; - dc->caps.is_apu = true; + dc->debug = debug_defaults; + dc->check_config = config_defaults;/************************************************* * Create resources *
drivers/gpu/drm/amd/display/dc/resource/dce80/dce80_resource.c +2 -0
@@ -1148,6 +1148,8 @@ static bool dce81_construct( dc->caps.max_cursor_size =128 ; dc->caps.min_horizontal_blanking_period =80 ; dc->caps.is_apu = true; + dc->debug = debug_defaults; + dc->check_config = config_defaults;/************************************************* * Create resources *
drivers/gpu/drm/amd/display/modules/power/power.c +2 -0
@@ -333,6 +333,7 @@ bool mod_power_add_stream(struct mod_power *mod_power, core_power->map[core_power->num_entities].psr_enabled =0 ; core_power->map[core_power->num_entities].psr_events = psr_event_vsync; core_power->map[core_power->num_entities].psr_power_opt =0 ; + core_power->map[core_power->num_entities].replay_events = replay_event_vsync; core_power->num_entities++;return true; }
@@ -392,6 +393,7 @@ bool mod_power_remove_stream(struct mod_power *mod_power, core_power->map[i].psr_enabled = core_power->map[i +1 ].psr_enabled; core_power->map[i].psr_events = core_power->map[i +1 ].psr_events; core_power->map[i].psr_power_opt = core_power->map[i +1 ].psr_power_opt; + core_power->map[i].replay_events = core_power->map[i +1 ].replay_events;memcpy (core_power->map[i].psr_context, core_power->map[i +1 ].psr_context,sizeof (struct mod_power_psr_context ));memset (core_power->map[i +1 ].psr_context,0 ,sizeof (struct mod_power_psr_context ));
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c +20 -19
@@ -5263,7 +5263,8 @@ static int si_init_smc_table(struct amdgpu_device *adev)break ; } -if (adev->pm.dpm.platform_caps &ATOM_PP_PLATFORM_CAP_HARDWAREDC ) +if ((adev->flags &AMD_IS_MOBILITY ) && + (adev->pm.dpm.platform_caps &ATOM_PP_PLATFORM_CAP_HARDWAREDC )) table->systemFlags |=PPSMC_SYSTEMFLAG_GPIO_DC ;if (adev->pm.dpm.platform_caps &ATOM_PP_PLATFORM_CAP_REGULATOR_HOT ) {
@@ -7237,6 +7238,19 @@ static void si_parse_pplib_non_clock_info(struct amdgpu_device *adev, adev->pm.dpm.uvd_ps = rps; } +static void si_update_limits (struct amdgpu_clock_and_voltage_limits *limits, +struct rv7xx_pl *pl) +{ +if (pl->sclk > limits->sclk) + limits->sclk = pl->sclk; +if (pl->mclk > limits->mclk) + limits->mclk = pl->mclk; +if (pl->vddc > limits->vddc) + limits->vddc = pl->vddc; +if (pl->vddci > limits->vddci) + limits->vddci = pl->vddci; +} +static void si_parse_pplib_clock_info (struct amdgpu_device *adev,struct amdgpu_ps *rps,int index,union pplib_clock_info *clock_info)
@@ -7245,7 +7259,6 @@ static void si_parse_pplib_clock_info(struct amdgpu_device *adev,struct evergreen_power_info *eg_pi =evergreen_get_pi (adev);struct si_power_info *si_pi =si_get_pi (adev);struct si_ps *ps =si_get_ps (rps); -struct amdgpu_clock_and_voltage_limits *limits;u16 leakage_voltage;struct rv7xx_pl *pl = &ps->performance_levels[index];int ret;
@@ -7310,26 +7323,14 @@ static void si_parse_pplib_clock_info(struct amdgpu_device *adev,* VBIOS can contain conflicting values between: * - the maximum allowed clocks and voltages on AC or DC * - the clocks and voltages in power states on AC or DC +* +* Assume that the AC limits are the maximum of all power states, +* and the DC limits are the maximum of battery power states. */ +si_update_limits (&adev->pm.dpm.dyn_state.max_clock_voltage_on_ac, pl);if ((rps->class &ATOM_PPLIB_CLASSIFICATION_UI_MASK ) == -ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE ) - limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; -else if ((rps->class &ATOM_PPLIB_CLASSIFICATION_UI_MASK ) ==ATOM_PPLIB_CLASSIFICATION_UI_BATTERY ) - limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; -else - limits =NULL ; - -if (limits) { -if (pl->sclk > limits->sclk) - limits->sclk = pl->sclk; -if (pl->mclk > limits->mclk) - limits->mclk = pl->mclk; -if (pl->vddc > limits->vddc) - limits->vddc = pl->vddc; -if (pl->vddci > limits->vddci) - limits->vddci = pl->vddci; - } +si_update_limits (&adev->pm.dpm.dyn_state.max_clock_voltage_on_dc, pl); }union pplib_power_state {
drivers/gpu/drm/i915/display/intel_display_params.c +4 -0
@@ -120,6 +120,10 @@ intel_display_param_named_unsafe(enable_psr, int, 0400,"(0=disabled, 1=enable up to PSR1, 2=enable up to PSR2) " "Default: -1 (use per-chip default)"); +intel_display_param_named_unsafe (enable_dc_balance, bool,0400 , +"Enable VRR DC balance (0=disabled, 1=enabled). " +"Default: 0 (disabled)" ); +intel_display_param_named_unsafe (enable_panel_replay, int,0400 ,"Enable Panel Replay (0=disabled, 1=enabled). Default: -1 (use per-chip default)" );
drivers/gpu/drm/i915/display/intel_display_params.h +1 -0
@@ -46,6 +46,7 @@ struct drm_printer; param(bool, enable_dp_mst, true, 0600) \ param(int, enable_fbc, -1, 0600) \ param(int, enable_psr, -1, 0600) \ + param(bool, enable_dc_balance, false, 0600) \ param(int, enable_panel_replay, -1, 0600) \ param(bool, psr_safest_params, false, 0400) \param (bool, enable_psr2_sel_fetch, true,0400 ) \
drivers/gpu/drm/i915/display/intel_vrr.c +3 -1
@@ -383,10 +383,12 @@ static bool intel_vrr_dc_balance_possible(const struct intel_crtc_state *crtc_ststatic void intel_vrr_dc_balance_compute_config (struct intel_crtc_state *crtc_state) { +struct intel_display *display =to_intel_display (crtc_state);int guardband_usec, adjustment_usec;struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; -if (!intel_vrr_dc_balance_possible (crtc_state) || !crtc_state->vrr.enable) +if (!intel_vrr_dc_balance_possible (crtc_state) || + !crtc_state->vrr.enable || !display->params.enable_dc_balance)return ; crtc_state->vrr.dc_balance.vmax = crtc_state->vrr.vmax;
drivers/gpu/drm/mediatek/mtk_drm_drv.c +15 -2
@@ -638,8 +638,10 @@ static int mtk_drm_bind(struct device *dev) private->mtk_drm_bound = true; private->dev = dev; -if (!mtk_drm_get_all_drm_priv (dev)) +if (!mtk_drm_get_all_drm_priv (dev)) { +put_device (private->mutex_dev);return 0 ; + } drm =drm_dev_alloc (&mtk_drm_driver, dev);if (IS_ERR (drm)) {
@@ -1060,7 +1062,7 @@ static int mtk_drm_probe(struct platform_device *pdev)struct mtk_mmsys_driver_data *mtk_drm_data;struct device_node *node;struct component_match *match =NULL ; -struct platform_device *ovl_adaptor; +struct platform_device *ovl_adaptor =NULL ;int ret;int i;
@@ -1112,6 +1114,9 @@ static int mtk_drm_probe(struct platform_device *pdev)PLATFORM_DEVID_AUTO , (void *)private->mmsys_dev, sizeof(*private->mmsys_dev)); +if (IS_ERR (ovl_adaptor)) +return PTR_ERR (ovl_adaptor); + private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR ].dev = &ovl_adaptor->dev;mtk_ddp_comp_init (dev,NULL , &private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR ],DDP_COMPONENT_DRM_OVL_ADAPTOR );
@@ -1205,6 +1210,8 @@ static int mtk_drm_probe(struct platform_device *pdev) err_pm:pm_runtime_disable (dev); err_node: +if (ovl_adaptor) +platform_device_unregister (ovl_adaptor);of_node_put (private->mutex_node);for (i =0 ; i <DDP_COMPONENT_DRM_ID_MAX ; i++)of_node_put (private->comp_node[i]);
@@ -1214,9 +1221,15 @@ static int mtk_drm_probe(struct platform_device *pdev)static void mtk_drm_remove (struct platform_device *pdev) {struct mtk_drm_private *private =platform_get_drvdata (pdev); +struct device *ovl_adaptor_dev;int i; + ovl_adaptor_dev = + private->ddp_comp[DDP_COMPONENT_DRM_OVL_ADAPTOR ].dev; +component_master_del (&pdev->dev, &mtk_drm_ops); +if (ovl_adaptor_dev) +platform_device_unregister (to_platform_device (ovl_adaptor_dev));pm_runtime_disable (&pdev->dev);of_node_put (private->mutex_node);for (i =0 ; i <DDP_COMPONENT_DRM_ID_MAX ; i++)
drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c +3 -1
@@ -376,8 +376,10 @@ static int mtk_hdmi_ddc_v2_probe(struct platform_device *pdev)pm_runtime_get_sync (dev); ret =devm_i2c_add_adapter (dev, &ddc->adap); -if (ret <0 ) +if (ret <0 ) { +pm_runtime_put_noidle (dev);return dev_err_probe (dev, ret,"Cannot add DDC I2C adapter\n" ); + }platform_set_drvdata (pdev, ddc);return 0 ;
drivers/gpu/drm/mediatek/mtk_hdmi_regs_v2.h +1 -1
@@ -173,7 +173,7 @@#define TPI_AUDIO_LOOKUP_EN BIT(2)/* Video downsampling configuration */ -#define VID_DOWNSAMPLE_CONFIG 0x8d0 +#define VID_DOWNSAMPLE_CONFIG 0x8f0#define C444_C422_CONFIG_ENABLE BIT(0)#define C422_C420_CONFIG_ENABLE BIT(4)#define C422_C420_CONFIG_BYPASS BIT(5)
drivers/gpu/drm/radeon/radeon_bios.c +5 -1
@@ -49,6 +49,7 @@static bool igp_read_bios_from_vram (struct radeon_device *rdev) {uint8_t __iomem *bios; +uint8_t val1, val2;resource_size_t vram_base;resource_size_t size =256 *1024 ;/* ??? */
@@ -63,7 +64,10 @@ static bool igp_read_bios_from_vram(struct radeon_device *rdev)return false; } -if (size ==0 || bios[0 ] !=0x55 || bios[1 ] !=0xaa ) { + val1 =readb (&bios[0 ]); + val2 =readb (&bios[1 ]); + +if (size ==0 || val1 !=0x55 || val2 !=0xaa ) {iounmap (bios);return false; }
drivers/gpu/drm/xe/xe_i2c.c +48 -1
71 lines not on this page · raw message
drivers/gpu/drm/xe/xe_i2c.h +1 -0
@@ -37,6 +37,7 @@ struct xe_i2c {struct platform_device *pdev;struct i2c_adapter *adapter;struct i2c_client *client[XE_I2C_MAX_CLIENTS ]; +unsigned int ic_enable;struct notifier_block bus_notifier;struct work_struct work;
drivers/gpu/drm/xe/xe_pci_sriov.c +23 -7
@@ -82,16 +82,33 @@ static void pf_engine_activity_stats(struct xe_device *xe, unsigned int num_vfs, } } -static int resize_vf_vram_bar (struct xe_device *xe,int num_vfs) +static int pf_resize_vf_vram_bar (struct xe_device *xe,int num_vfs) {struct pci_dev *pdev =to_pci_dev (xe->drm.dev); +char buf[10 ];u32 sizes; +int size; +int err; + +if (!IS_DGFX (xe)) +return 0 ; sizes =pci_iov_vf_bar_get_sizes (pdev,VF_LMEM_BAR , num_vfs);if (!sizes)return 0 ; -return pci_iov_vf_bar_set_size (pdev,VF_LMEM_BAR ,__fls (sizes)); + size =__fls (sizes); +string_get_size (pci_rebar_size_to_bytes (size),1 ,STRING_UNITS_2 , buf,sizeof (buf)); + + err =pci_iov_vf_bar_set_size (pdev,VF_LMEM_BAR , size); +if (err) { +xe_sriov_notice (xe,"Failed to resize VF BAR %u to %s (%pe)\n" , +VF_LMEM_BAR , buf,ERR_PTR (err)); +return err; + } + +xe_sriov_dbg (xe,"VF LMEM BAR resized to %s\n" , buf); +return 0 ; }static int pf_prepare_vfs_enabling (struct xe_device *xe)
@@ -142,11 +159,7 @@ static int pf_enable_vfs(struct xe_device *xe, int num_vfs)if (err <0 ) goto failed; -if (IS_DGFX (xe)) { - err =resize_vf_vram_bar (xe, num_vfs);
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-xiic.c +46 -15
61 lines not on this page · raw message
drivers/iio/adc/stm32-adc.c +26 -17
43 lines not on this page · raw message
drivers/iio/buffer/industrialio-buffer-dmaengine.c +11 -5
Lines of this file are not shown. View the raw message.
drivers/iio/light/rohm-bu27034.c +37 -25
62 lines not on this page · raw message
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/cadence-nand-controller.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/vf610_nfc.c +70 -15
85 lines not on this page · raw message
drivers/mtd/nand/spi/core.c +37 -16
53 lines not on this page · raw message
drivers/net/ethernet/broadcom/bcmsysport.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmgenet.c +25 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmgenet.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_tx_dqo.c +7 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/mcs.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c +1 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c +7 -11
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +9 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +26 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/sparx5/sparx5_main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/sparx5/sparx5_main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/sparx5/sparx5_ptp.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/vcap/vcap_api.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/r8169_main.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +49 -34
83 lines not on this page · raw message
drivers/net/phy/aquantia/aquantia_main.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/hif_usb.c +9 -10
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/htc_drv_init.c +3 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +2 -6
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlegacy/3945-mac.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/silabs/wfx/hif_tx.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/nvme/host/core.c +40 -34
74 lines not on this page · raw message
drivers/nvme/host/multipath.c +11 -32
43 lines not on this page · raw message
drivers/spi/spi-cs42l43.c +97 -0
97 lines not on this page · raw message
drivers/thunderbolt/ctl.c +31 -32
63 lines not on this page · raw message
drivers/thunderbolt/test.c +47 -11
58 lines not on this page · raw message
drivers/thunderbolt/tunnel.c +47 -26
73 lines not on this page · raw message
drivers/tty/n_gsm.c +14 -33
47 lines not on this page · raw message
drivers/tty/serial/sc16is7xx.c +42 -11
53 lines not on this page · raw message
drivers/tty/tty_io.c +37 -17
54 lines not on this page · raw message
drivers/tty/tty_port.c +61 -30
91 lines not on this page · raw message
drivers/usb/class/cdc-acm.c +23 -18
41 lines not on this page · raw message
drivers/usb/dwc3/gadget.c +106 -2
108 lines not on this page · raw message
drivers/usb/gadget/function/f_uac1_legacy.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/aspeed-vhub/core.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/aspeed-vhub/dev.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/aspeed-vhub/hub.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/usb/gadget/udc/aspeed-vhub/vhub.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/usb/serial/usb-serial.c +101 -26
127 lines not on this page · raw message
drivers/virt/nitro_enclaves/ne_misc_dev.c +1 -0
Lines of this file are not shown. View the raw message.
fs/netfs/misc.c +99 -0
99 lines not on this page · raw message
fs/smb/client/cifsfs.c +36 -5
41 lines not on this page · raw message
fs/smb/client/smb2ops.c +87 -27
114 lines not on this page · raw message
include/linux/bpf.h +41 -4
45 lines not on this page · raw message
kernel/bpf/memalloc.c +47 -10
57 lines not on this page · raw message
kernel/bpf/trampoline.c +68 -17
85 lines not on this page · raw message
kernel/events/core.c +136 -181
317 lines not on this page · raw message
kernel/sched/ext/cid.c +80 -52
132 lines not on this page · raw message
kernel/sched/ext/ext.c +49 -28
77 lines not on this page · raw message
kernel/sched/fair.c +296 -76
372 lines not on this page · raw message
net/bluetooth/hci_core.c +44 -10
54 lines not on this page · raw message
net/core/dev.c +56 -24
80 lines not on this page · raw message
net/ipv6/seg6_local.c +117 -23
140 lines not on this page · raw message
net/mac80211/chan.c +41 -9
50 lines not on this page · raw message
net/mac80211/rc80211_minstrel_ht.c +81 -8
89 lines not on this page · raw message
net/mac80211/status.c +70 -0
70 lines not on this page · raw message
net/mac80211/tx.c +31 -14
45 lines not on this page · raw message
net/netfilter/ipset/ip_set_bitmap_gen.h +1 -1
Lines of this file are not shown. View the raw message.
rust/kernel/irq/request.rs +54 -35
89 lines not on this page · raw message
tools/sched_ext/include/scx/common.bpf.h +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/cgroup/test_zswap.c +26 -2
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 7.2.10 kernel.
All users of the 7.2 kernel series must upgrade.
The updated 7.2.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-7.2.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/arch/arm64/silicon-errata.rst | 2 Documentation/filesystems/netfs_library.rst | 26 Makefile | 2 arch/arc/include/asm/atomic64-arcv2.h | 6 arch/arc/include/asm/cmpxchg.h | 4 arch/arm64/Kconfig | 30 arch/arm64/kernel/cpu_errata.c | 24 arch/arm64/kernel/cpufeature.c | 2 arch/arm64/kernel/signal.c | 34 arch/arm64/kernel/topology.c | 17 arch/arm64/kernel/vdso/Makefile | 2 arch/arm64/kvm/emulate-nested.c | 3 arch/arm64/kvm/hyp/nvhe/pkvm.c | 9 arch/arm64/kvm/mmu.c | 47 - arch/arm64/kvm/vgic/vgic-its.c | 12 arch/arm64/kvm/vgic/vgic-v2.c | 6 arch/arm64/kvm/vgic/vgic-v3.c | 6 arch/arm64/kvm/vgic/vgic.c | 21 arch/arm64/mm/mmu.c | 2 arch/arm64/net/bpf_jit_comp.c | 37 arch/arm64/tools/cpucaps | 2 arch/loongarch/net/bpf_jit.c | 60 + arch/loongarch/vdso/Makefile | 1 arch/powerpc/kernel/vdso/Makefile | 1 arch/powerpc/net/bpf_jit_comp.c | 45 - arch/powerpc/perf/imc-pmu.c | 23 arch/riscv/kernel/vdso/Makefile | 1 arch/riscv/net/bpf_jit_comp64.c | 56 + arch/s390/kernel/vdso/Makefile | 1 arch/s390/net/bpf_jit_comp.c | 46 - arch/x86/crypto/aesni-intel_glue.c | 2 arch/x86/entry/vdso/vdso64/Makefile | 2 arch/x86/kernel/sys_x86_64.c | 15 arch/x86/kvm/mmu/mmu.c | 6 arch/x86/kvm/svm/nested.c | 7 arch/x86/kvm/svm/sev.c | 46 - arch/x86/kvm/svm/svm.c | 38 - arch/x86/kvm/svm/svm.h | 1 arch/x86/kvm/vmx/nested.c | 21 arch/x86/kvm/x86.c | 4 arch/x86/mm/pgtable.c | 38 - arch/x86/net/bpf_jit_comp.c | 26 block/blk-cgroup.c | 5 block/blk-mq.c | 59 - block/fops.c | 5 block/mq-deadline.c | 2 drivers/android/binder.c | 3 drivers/android/binder/thread.rs | 8 drivers/android/binderfs.c | 3 drivers/block/drbd/drbd_nl_gen.c | 4 drivers/block/virtio_blk.c | 1 drivers/bluetooth/btintel.c | 15 drivers/bluetooth/btintel_pcie.c | 12 drivers/bluetooth/btusb.c | 2 drivers/char/tpm/tpm2-cmd.c | 2 drivers/char/tpm/tpm2-sessions.c | 1 drivers/clk/spacemit/ccu-k3.c | 92 ++ drivers/edac/altera_edac.c | 67 - drivers/edac/versalnet_edac.c | 1 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 13 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 9 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c | 2 drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 4 drivers/gpu/drm/amd/amdgpu/vi.c | 21 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 101 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 drivers/gpu/drm/amd/display/dc/dc.h | 1 drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c | 4 drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c | 13 drivers/gpu/drm/amd/display/dc/resource/dce80/dce80_resource.c | 2 drivers/gpu/drm/amd/display/modules/power/power.c | 2 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 39 - drivers/gpu/drm/i915/display/intel_display_params.c | 4 drivers/gpu/drm/i915/display/intel_display_params.h | 1 drivers/gpu/drm/i915/display/intel_vrr.c | 4 drivers/gpu/drm/mediatek/mtk_drm_drv.c | 17 drivers/gpu/drm/mediatek/mtk_hdmi_ddc_v2.c | 4 drivers/gpu/drm/mediatek/mtk_hdmi_regs_v2.h | 2 drivers/gpu/drm/radeon/radeon_bios.c | 6 drivers/gpu/drm/xe/xe_i2c.c | 49 + drivers/gpu/drm/xe/xe_i2c.h | 1 drivers/gpu/drm/xe/xe_pci_sriov.c | 30 drivers/hid/bpf/hid_bpf_dispatch.c | 2 drivers/hid/hid-multitouch.c | 2 drivers/i2c/busses/i2c-at91-master.c | 8 drivers/i2c/busses/i2c-xiic.c | 61 + drivers/iio/accel/kionix-kx022a.c | 30 drivers/iio/accel/kxcjk-1013.c | 2 drivers/iio/accel/sca3000.c | 2 drivers/iio/adc/ad4030.c | 11 drivers/iio/adc/ad7173.c | 4 drivers/iio/adc/ad_sigma_delta.c | 31 drivers/iio/adc/ade9000.c | 36 drivers/iio/adc/adi-axi-adc.c | 4 drivers/iio/adc/aspeed_adc.c | 4 drivers/iio/adc/axp288_adc.c | 8 drivers/iio/adc/max1363.c | 8 drivers/iio/adc/pac1934.c | 4 drivers/iio/adc/rohm-bd79124.c | 20 drivers/iio/adc/stm32-adc.c | 43 - drivers/iio/adc/sun4i-gpadc-iio.c | 10 drivers/iio/adc/xilinx-xadc-core.c | 9 drivers/iio/buffer/industrialio-buffer-dmaengine.c | 16 drivers/iio/cdc/ad7150.c | 8 drivers/iio/dac/rohm-bd79703.c | 3 drivers/iio/frequency/adf4377.c | 4 drivers/iio/frequency/admv1013.c | 9 drivers/iio/gyro/adis16136.c | 2 drivers/iio/health/max30102.c | 12 drivers/iio/imu/adis16400.c | 2 drivers/iio/imu/adis16480.c | 4 drivers/iio/industrialio-buffer.c | 7 drivers/iio/industrialio-trigger.c | 2 drivers/iio/light/gp2ap020a00f.c | 2 drivers/iio/light/rohm-bu27034.c | 62 - drivers/iio/pressure/bmp280-core.c | 2 drivers/iio/pressure/rohm-bm1390.c | 2 drivers/iio/proximity/aw96103.c | 30 drivers/iio/proximity/isl29501.c | 2 drivers/iio/proximity/pulsedlight-lidar-lite-v2.c | 4 drivers/iio/proximity/sx9324.c | 2 drivers/iio/proximity/vcnl3020.c | 24 drivers/iio/proximity/vl53l0x-i2c.c | 3 drivers/input/keyboard/atkbd.c | 8 drivers/input/mouse/synaptics.c | 7 drivers/input/serio/i8042-acpipnpio.h | 9 drivers/input/touchscreen/s6sy761.c | 14 drivers/md/dm-pcache/cache_gc.c | 5 drivers/md/dm-pcache/cache_key.c | 14 drivers/md/dm-pcache/cache_writeback.c | 5 drivers/mtd/devices/block2mtd.c | 2 drivers/mtd/devices/mtd_intel_dg.c | 3 drivers/mtd/mtdcore.c | 3 drivers/mtd/nand/ecc.c | 7 drivers/mtd/nand/raw/cadence-nand-controller.c | 6 drivers/mtd/nand/raw/vf610_nfc.c | 85 +- drivers/mtd/nand/spi/core.c | 53 - drivers/mtd/spi-nor/core.c | 2 drivers/net/ethernet/broadcom/bcmsysport.c | 8 drivers/net/ethernet/broadcom/genet/bcmgenet.c | 34 drivers/net/ethernet/broadcom/genet/bcmgenet.h | 2 drivers/net/ethernet/google/gve/gve_tx_dqo.c | 14 drivers/net/ethernet/marvell/mvneta.c | 2 drivers/net/ethernet/marvell/octeontx2/af/mcs.c | 4 drivers/net/ethernet/marvell/octeontx2/nic/cn20k.c | 11 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 18 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h | 9 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 38 - drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c | 3 drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c | 10 drivers/net/ethernet/microchip/sparx5/sparx5_main.c | 1 drivers/net/ethernet/microchip/sparx5/sparx5_main.h | 1 drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c | 1 drivers/net/ethernet/microchip/sparx5/sparx5_ptp.c | 3 drivers/net/ethernet/microchip/vcap/vcap_api.c | 2 drivers/net/ethernet/realtek/r8169_main.c | 6 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 83 +- drivers/net/pcs/pcs-rzn1-miic.c | 3 drivers/net/pfcp.c | 3 drivers/net/phy/aquantia/aquantia_main.c | 5 drivers/net/phy/qcom/at803x.c | 8 drivers/net/usb/qmi_wwan.c | 1 drivers/net/wireless/ath/ath11k/mac.c | 1 drivers/net/wireless/ath/ath9k/hif_usb.c | 19 drivers/net/wireless/ath/ath9k/htc.h | 1 drivers/net/wireless/ath/ath9k/htc_drv_init.c | 7 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 8 drivers/net/wireless/ath/ath9k/wmi.c | 28 drivers/net/wireless/ath/ath9k/wmi.h | 1 drivers/net/wireless/intel/iwlegacy/3945-mac.c | 1 drivers/net/wireless/silabs/wfx/hif_tx.c | 4 drivers/net/wireless/st/cw1200/bh.c | 8 drivers/net/wireless/st/cw1200/txrx.c | 14 drivers/net/wireless/ti/wlcore/main.c | 4 drivers/net/xen-netfront.c | 12 drivers/nvme/host/core.c | 74 + drivers/nvme/host/multipath.c | 43 - drivers/nvme/host/nvme.h | 10 drivers/nvme/host/pci.c | 2 drivers/nvme/target/configfs.c | 9 drivers/nvme/target/core.c | 5 drivers/nvme/target/fabrics-cmd-auth.c | 2 drivers/nvme/target/pci-epf.c | 3 drivers/of/base.c | 10 drivers/of/irq.c | 2 drivers/of/overlay.c | 17 drivers/pci/pci.c | 15 drivers/rtc/dev.c | 2 drivers/rtc/rtc-ac100.c | 39 - drivers/rtc/rtc-mpfs.c | 6 drivers/rtc/rtc-spear.c | 11 drivers/spi/spi-cs42l43.c | 97 ++ drivers/staging/greybus/uart.c | 3 drivers/thunderbolt/ctl.c | 63 - drivers/thunderbolt/quirks.c | 3 drivers/thunderbolt/switch.c | 9 drivers/thunderbolt/tb.c | 37 drivers/thunderbolt/test.c | 58 + drivers/thunderbolt/tunnel.c | 73 + drivers/thunderbolt/tunnel.h | 8 drivers/thunderbolt/xdomain.c | 4 drivers/tty/amiserial.c | 9 drivers/tty/n_gsm.c | 47 - drivers/tty/serial/8250/8250_bcm7271.c | 2 drivers/tty/serial/8250/8250_omap.c | 15 drivers/tty/serial/kgdboc.c | 9 drivers/tty/serial/ma35d1_serial.c | 6 drivers/tty/serial/max3100.c | 13 drivers/tty/serial/qcom_geni_serial.c | 5 drivers/tty/serial/sc16is7xx.c | 53 + drivers/tty/serial/serial-tegra.c | 18 drivers/tty/serial/serial_core.c | 32 drivers/tty/serial/vt8500_serial.c | 1 drivers/tty/tty_io.c | 54 - drivers/tty/tty_port.c | 91 +- drivers/tty/vcc.c | 5 drivers/tty/vt/selection.c | 4 drivers/tty/vt/vc_screen.c | 23 drivers/tty/vt/vt.c | 5 drivers/usb/cdns3/cdns3-gadget.c | 4 drivers/usb/cdns3/cdns3-pci-wrap.c | 5 drivers/usb/chipidea/ci_hdrc_tegra.c | 4 drivers/usb/class/cdc-acm.c | 41 - drivers/usb/class/cdc-acm.h | 1 drivers/usb/core/hub.c | 7 drivers/usb/core/message.c | 8 drivers/usb/dwc2/hcd.c | 3 drivers/usb/dwc3/core.h | 19 drivers/usb/dwc3/dwc3-am62.c | 1 drivers/usb/dwc3/ep0.c | 9 drivers/usb/dwc3/gadget.c | 108 ++ drivers/usb/gadget/function/f_fs.c | 15 drivers/usb/gadget/function/f_midi2.c | 4 drivers/usb/gadget/function/f_uac1_legacy.c | 6 drivers/usb/gadget/udc/aspeed-vhub/core.c | 4 drivers/usb/gadget/udc/aspeed-vhub/dev.c | 2 drivers/usb/gadget/udc/aspeed-vhub/hub.c | 5 drivers/usb/gadget/udc/aspeed-vhub/vhub.h | 1 drivers/usb/gadget/udc/dummy_hcd.c | 4 drivers/usb/host/octeon-hcd.c | 2 drivers/usb/host/ohci-da8xx.c | 2 drivers/usb/host/ohci-s3c2410.c | 1 drivers/usb/host/ohci-spear.c | 1 drivers/usb/host/ohci-st.c | 1 drivers/usb/serial/bus.c | 6 drivers/usb/serial/cp210x.c | 1 drivers/usb/serial/generic.c | 10 drivers/usb/serial/option.c | 14 drivers/usb/serial/quatech2.c | 19 drivers/usb/serial/ssu100.c | 18 drivers/usb/serial/usb-serial.c | 127 ++- drivers/usb/serial/xr_serial.c | 10 drivers/usb/storage/sierra_ms.c | 7 drivers/usb/typec/anx7411.c | 5 drivers/usb/typec/port-mapper.c | 21 drivers/usb/typec/tcpm/tcpm.c | 2 drivers/usb/typec/tipd/core.c | 11 drivers/usb/typec/ucsi/displayport.c | 9 drivers/usb/typec/ucsi/ucsi.c | 17 drivers/usb/typec/ucsi/ucsi_acpi.c | 34 drivers/usb/typec/ucsi/ucsi_glink.c | 15 drivers/virt/nitro_enclaves/ne_misc_dev.c | 1 drivers/virt/vmgenid.c | 9 fs/exec.c | 1 fs/ext4/inode.c | 3 fs/netfs/buffered_read.c | 7 fs/netfs/buffered_write.c | 9 fs/netfs/direct_write.c | 9 fs/netfs/internal.h | 2 fs/netfs/misc.c | 99 ++ fs/netfs/read_collect.c | 24 fs/smb/client/cifsfs.c | 41 - fs/smb/client/cifsglob.h | 10 fs/smb/client/inode.c | 2 fs/smb/client/smb2ops.c | 114 ++- fs/smb/client/smb2pdu.c | 10 include/linux/bpf.h | 45 + include/linux/hrtimer_rearm.h | 2 include/linux/mtd/nand.h | 2 include/linux/netfilter_netdev.h | 2 include/linux/netfs.h | 2 include/linux/perf_event.h | 7 include/linux/rtnetlink.h | 7 include/linux/sched.h | 14 include/linux/skbuff.h | 2 include/linux/soc/qcom/geni-se.h | 15 include/linux/tty.h | 1 include/linux/tty_driver.h | 6 include/linux/tty_port.h | 22 include/linux/usb/serial.h | 1 include/net/bluetooth/hci_core.h | 5 include/net/gso.h | 8 include/net/netfilter/nf_flow_table.h | 2 include/net/sch_generic.h | 9 include/net/xdp.h | 5 include/sound/core.h | 9 include/uapi/linux/random.h | 2 init/Kconfig | 5 io_uring/cmd_net.c | 19 io_uring/io_uring.c | 4 io_uring/tw.c | 3 io_uring/zcrx.c | 9 kernel/audit_tree.c | 24 kernel/bpf/core.c | 10 kernel/bpf/hashtab.c | 19 kernel/bpf/memalloc.c | 57 + kernel/bpf/syscall.c | 19 kernel/bpf/trampoline.c | 85 +- kernel/events/core.c | 317 +++----- kernel/events/ring_buffer.c | 7 kernel/exit.c | 33 kernel/fork.c | 2 kernel/futex/core.c | 10 kernel/kprobes.c | 8 kernel/module/main.c | 8 kernel/sched/ext/cid.c | 132 ++- kernel/sched/ext/cid.h | 2 kernel/sched/ext/ext.c | 77 +- kernel/sched/ext/types.h | 4 kernel/sched/fair.c | 372 +++++++--- kernel/sysctl.c | 2 kernel/time/jiffies.c | 2 kernel/trace/fprobe.c | 26 mm/damon/core.c | 2 mm/kasan/common.c | 13 mm/shmem.c | 7 mm/slab.h | 18 mm/slab_common.c | 2 mm/slub.c | 37 mm/vma.c | 4 net/bluetooth/hci_conn.c | 18 net/bluetooth/hci_core.c | 54 + net/bluetooth/hci_debugfs.c | 2 net/bluetooth/hci_sync.c | 19 net/bluetooth/rfcomm/tty.c | 7 net/bluetooth/smp.c | 2 net/core/dev.c | 80 +- net/core/dev_ioctl.c | 3 net/core/gso.c | 1 net/core/page_pool.c | 2 net/core/skbuff.c | 8 net/core/sock.c | 4 net/ethtool/tsconfig.c | 24 net/ipv4/af_inet.c | 5 net/ipv4/tcp_input.c | 6 net/ipv4/tcp_ipv4.c | 2 net/ipv6/addrconf.c | 2 net/ipv6/ip6_offload.c | 4 net/ipv6/seg6_iptunnel.c | 2 net/ipv6/seg6_local.c | 140 +++ net/mac80211/agg-rx.c | 2 net/mac80211/chan.c | 50 + net/mac80211/drop.h | 1 net/mac80211/fils_aead.c | 8 net/mac80211/ieee80211_i.h | 2 net/mac80211/iface.c | 4 net/mac80211/mesh_pathtbl.c | 30 net/mac80211/mlme.c | 4 net/mac80211/rc80211_minstrel_ht.c | 89 ++ net/mac80211/rx.c | 6 net/mac80211/spectmgmt.c | 4 net/mac80211/sta_info.c | 6 net/mac80211/status.c | 70 + net/mac80211/tx.c | 45 - net/mctp/device.c | 6 net/mptcp/protocol.c | 2 net/netfilter/ipset/ip_set_bitmap_gen.h | 2 net/netfilter/ipvs/ip_vs_conn.c | 3 net/netfilter/ipvs/ip_vs_lblc.c | 4 net/netfilter/ipvs/ip_vs_lblcr.c | 3 net/netfilter/ipvs/ip_vs_sync.c | 33 net/netfilter/nf_flow_table_core.c | 7 net/netfilter/nf_flow_table_offload.c | 14 net/netfilter/nf_nat_bpf.c | 3 net/netfilter/nf_nat_core.c | 5 net/netfilter/nft_flow_offload.c | 7 net/packet/af_packet.c | 3 net/sched/act_ct.c | 2 net/sched/act_skbedit.c | 5 net/sched/cls_api.c | 15 net/sched/sch_codel.c | 2 net/sched/sch_fq_codel.c | 4 net/sctp/socket.c | 2 net/tipc/crypto.c | 20 net/wireless/nl80211.c | 11 net/wireless/scan.c | 22 rust/kernel/irq/request.rs | 89 +- sound/core/seq/seq_compat.c | 4 sound/hda/codecs/realtek/alc269.c | 6 sound/hda/controllers/tegra.c | 3 sound/pci/ctxfi/cthw20k2.c | 2 sound/pci/ice1712/ice1712.c | 2 sound/soc/codecs/lpass-wsa-macro.c | 3 sound/soc/codecs/max98363.c | 2 sound/soc/codecs/rt1017-sdca-sdw.c | 27 sound/soc/codecs/rt274.c | 4 sound/soc/codecs/rt286.c | 2 sound/soc/codecs/wm8903.c | 2 sound/soc/qcom/lpass-cpu.c | 4 sound/soc/sdca/sdca_class_function.c | 19 sound/soc/sdw_utils/soc_sdw_utils.c | 20 sound/soc/tegra/tegra186_asrc.c | 2 sound/usb/caiaq/device.c | 3 sound/usb/line6/playback.c | 7 sound/usb/misc/ua101.c | 9 sound/usb/quirks.c | 29 tools/sched_ext/include/scx/common.bpf.h | 4 tools/testing/selftests/cgroup/test_zswap.c | 28 412 files changed, 5045 insertions(+), 2009 deletions(-)
Aamir Ahmed (3):
rtc: ac100: Assign .num before accessing .hws
wifi: wfx: validate MIB read length before copying to caller
rtc: ac100: Fix clock provider use-after-free on probe failure
Aaron Kling (1):
ALSA: hda/tegra: Re-enable SDO workaround for Tegra194
Abdurrahman Hussain (6):
of/overlay: put property on deadprops only after changeset add succeeds of/overlay: only treat a positive changeset id as registered of/overlay: don't leak fragment references when changeset init fails of/overlay: don't create "//" paths for fragments targeting the root
i2c: xiic: preserve PEC byte length in SMBus block read setup
i2c: xiic: don't clobber msg->len to signal block-read completion
Alan Stern (1):
USB: gadget: dummy-hcd: Fix wait for outstanding request completions
Alberto Garcia (1):
ext4: don't enable large folios on encrypted inodes
Aldo Ariel Panzardo (1):
HID: multitouch: stop the release timer from being rearmed on remove
Alex Deucher (3):
drm/amdgpu/gmc12.1: properly pass flush_type to gmc_v12_1_flush_vm_hub() drm/amdgpu/gmc12: properly pass flush_type to gmc_v12_0_flush_vm_hub() drm/amdgpu: drop userq callback assignment for sdma 7.1
Alexei Starovoitov (3):
bpf: Fix overflow of jump offset in constant blinding
bpf: Factor out __do_call_rcu_ttrace()
bpf: Fix objects stuck in free_by_rcu_ttrace
Alice Ryhl (2):
rust_binder: cancel deferred work items in thread exit
rust: irq: pass RegistrationInner as cookie to request_irq
Alireza Asgari (1):
net: fix checksum offsets in skb_splice_from_iter()
Amit Sunil Dhamne (1):
usb: typec: tcpm: recover after failure to start the frs ams
Andre Eikmeyer (1):
drm/amdgpu: reset VI ASIC on MacBookPro15,1
Andrea Mayer (1):
seg6: ensure packet data is writable before modifying SRH and IPv6 DA
Andrea Parri (1):
arm64: mm: Fix the break-before-make flush range for erratum 2645198
Andrey Ryabinin (1):
kasan: unpoison task stack below watermark only in generic mode
Anirudh Virdi (1):
net/mlx5: Fix slab-out-of-bounds when handling team device events
Antoniu Miclaus (3):
iio: adc: ade9000: fix overlapping scan_index for current and voltage channels
iio: adc: ade9000: handle Phase C dip events in IRQ1 handler
iio: adc: ade9000: request interrupts after powering the device
Aohan Mei (1):
netfilter: nft_flow_offload: drop flowtable reference on init error path
Arka Mondal (3):
iio: gyro: adis16136: fix unprotected debugfs reads
iio: imu: adis16400: fix unprotected debugfs reads
iio: imu: adis16480: fix unprotected debugfs reads
Arnd Bergmann (2):
drbd: remove unused drbd_nl_mcgrps[] array
nvme: work around -Wformat-security warning
Arthur Heymans (1):
drm/amd/display: Preserve eDP mode on initial ASSR failure
Baha Mesleh (1):
octeontx2-af: mcs: Fix SC resource cleanup loop
Baolin Wang (1):
mm: shmem: ignore sysfs configs for shmem forced collapse
Bartosz Golaszewski (1):
net: phy: aquantia: fix system interface type not updated in forced mode
Bean Huo (1):
nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for Micron 4100AT
Beata Michalska (2):
arm64: errata: Factor out broken AMU const counter cap
arm64: errata: Add Cortex-A725 erratum 3821522 workaround
Benjamin Tissoires (1):
HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
Binbin Deng (1):
net/mctp: publish the mctp_dev only after it is initialised
Bryam Vargas (2):
dm-pcache: reject a kset that overruns its segment
dm-pcache: bound the logical key offset from persistent memory
Carlo Szelinsky (1):
USB: serial: option: add Quectel EG060W
Cen Zhang (Microsoft) (1):
wifi: mac80211: fix slab-out-of-bounds read in ieee80211_monitor_select_queue()
Cezary Rojewski (2):
ASoC: codecs: rt286: Revert delay value for jack setup
ASoC: codecs: rt274: Fix format setting for 44100 rate
Chandrashekar Devegowda (3):
Bluetooth: btintel: fix buffer over-read in btintel_hw_error()
Bluetooth: btintel_pcie: fix plen overflow in btintel_pcie_recv_frame()
Bluetooth: btintel_pcie: reject oversized TX packets in send_frame()
Chen Yu (1):
sched/cache: Skip kernel threads for cache aware scheduling to rubustify the code
Chengfeng Ye (7):
Bluetooth: RFCOMM: Fix initial port reference race
Bluetooth: Serialize SMP remote OOB data access
Bluetooth: hci_sync: Fix inquiry cache use-after-free
Bluetooth: hci_conn: Lock parent access during enhanced SCO setup
Bluetooth: hci_core: Serialize ACL scheduling with channel deletion
Bluetooth: hci_core: Serialize SCO and ISO scheduling with teardown
Bluetooth: hci_core: Serialize fragmented ISO packet queueing
Chris Mason (1):
futex: Fix private hash use-after-free on resize
Cong Nguyen (2):
iio: adc: max1363: sign-extend bipolar differential channel reads
iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure
Daehyeon Ko (3):
nvme-multipath: fix underflow in ANA log bounds checks
nvmet: pci-epf: reject too-short SGL segments
thunderbolt: Reject oversized XDomain properties responses
Daniel Starke (1):
tty: n_gsm: fix missing modem controls after DLCI open in convergence layer type 2
Dapeng Mi (1):
perf/core: Check kernel access when kernel callchains are requested
David Heidelberg (1):
Input: s6sy761 - fix resume ordering and restore sensing
Dinh Nguyen (4):
EDAC/altera: Do not allow driver unbinding EDAC/altera: Drop __init from ECC setup paths for re-probe safety EDAC/altera: Fix memory leak on dci allocation failure EDAC/altera: Fix use-after-free in error paths
Donggeun Yoo (1):
iio: proximity: vl53l0x-i2c: claim direct mode for raw reads
Eric Dumazet (3):
net: restrict SO_RESERVE_MEM to TCP sockets and cap max value
ipv6: sr: use skb_get_hash_net() in seg6_make_flowlabel()
ipv4: free inet_opt and ireq_opt after an RCU grace period
Fabrice Gasnier (2):
iio: adc: stm32-adc: fix check on internal channel availability
iio: adc: stm32-adc: fix possible division by zero in processed channel
Fan Wu (9):
usb: gadget: aspeed-vhub: cancel wake work on device removal
usb: typec: ucsi: glink: fix use-after-free of ucsi on remove
usb: cdns3: fix use-after-free in cdns3_gadget_exit()
tty: serial: max3100: shut down timer before freeing port
serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()
iio: adc: ad_sigma_delta: fix use-after-free on unbind
iio: adc: xilinx-xadc: free IRQ before cancelling the unmask worker on unbind
iio: light: gp2ap020a00f: drain irq_work after free_irq
iio: trigger: cancel reenable_work before freeing trigger
Fedor Pchelkin (1):
thunderbolt: Fix NULL dereference in tb_remove_work()
Felix Fietkau (2):
wifi: mac80211: prevent AP VLAN tx from other interfaces
wifi: mac80211: set info->band for 802.3 encap offload frames
Felix Gu (2):
iio: adc: sun4i-gpadc-iio: clean up on thermal zone registration failure
iio: adc: sun4i-gpadc-iio: drop underflowing pm_runtime_put() calls
Fernando Fernandez Mancera (1):
netfilter: bpf: reject invalid NAT manipulation types
Florent Revest (Anthropic) (2):
bpf: Wait for an RCU tasks grace period before freeing trampoline progs
bpf: Skip detached progs in trampoline images that are still in use
Florian Fainelli (2):
net: systemport: Fix buffer overflow in bcm_sysport_get_stats()
net: systemport: Fix RUNT MIB counter register offset calculation
Florian Westphal (1):
netfilter: ipset: do not update comments from kernel-side adds
Francisco Beltrán Millalén (1):
drm/amdgpu: reset VI ASIC on MacBookPro14,3
Frank Sorenson (1):
smb: client: split cifsFileInfo bitfields to avoid shared-byte RMW races
Fuad Tabba (2):
KVM: arm64: Clear HCR_EL2.RW for 32-bit non-protected vCPUs
KVM: arm64: Apply the fine-grained UNDEFs without FEAT_FGT
Geert Uytterhoeven (1):
iio: frequency: adf4377: Fully initialize clk_init_data and clk_parent_data
Geetha sowjanya (1):
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled
Georgios Karantzas (1):
wifi: ath9k_htc: bound TX aggregation to MAX_TX_BUF_SIZE
Gilberto Conde (1):
net: usb: qmi_wwan: add Quectel EG120K-EA
Greg Kroah-Hartman (1):
Linux 7.2.10
Guangshuo Li (5):
drm/mediatek: Fix ovl adaptor platform device leak drm/amdgpu: fix IP instance memory leak on kobject add failure drm/amdgpu: fix ACP MFD device leak on init failure EDAC/versalnet: Drop remote processor handle refcount on driver removal
wifi: iwlegacy: 3945: free EEPROM data on remove
Guixin Liu (2):
nvme-multipath: set BLK_FEAT_ZONED only after the zone info is known
nvmet: copy the hostid into the ctrl before creating PR pc_refs
Han Xu (1):
mtd: spinand: Enable QE on all dies
Hannu Varjoranta (1):
gve: DQO: accept TSO packets with non-protocol gso_type bits
Hao Ge (1):
module: fix lost error code from codetag_load_module()
Hao Zhang (1):
blk-cgroup: save IRQ state in blkg_tryget_closest()
Haojie Li (1):
drm/mediatek: Add missing IS_ERR check for ovl_adaptor platform device
Hari Mishal (1):
drm/amd/display: guard dc_sink dereferences in MST mode validation
Harin Lee (1):
ALSA: ctxfi: Fix silent playback on Titanium HD (SB1270)
Harry Yoo (Meta) (1):
mm/slab: do not wake up kswapd in __kfree_rcu_sheaf()
Harry Yoo (Oracle) (1):
mm/slab: handle the !allow_spin case in kfree_rcu_sheaf()
Harshit Mogalapalli (1):
net: microchip: vcap: stop scanning after deleting key field
Heikki Krogerus (1):
drm/xe/i2c: Keep the i2c controller always enabled
Hongjian Dai (1):
i2c: at91: release DMA channels when probe defers
Hui Peng (2):
vt: selection: Fix unsigned underflow and slab-out-of-bounds read in paste_selection()
usb: core: clear both ep_in and ep_out for non-ep0 control endpoints
Hui Su (1):
iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup
HyeongJun An (1):
ASoC: wm8903: Move the DRC QR threshold to the register that holds it
Ian Lin (2):
USB: serial: option: add Compal EXM-G1x support
USB: serial: option: add Compal EXC-T1 support
Ian Rogers (1):
perf: Replace perf_event_header__init_id with full header init
Ilkka Lappeteläinen (1):
net/packet: prevent TX_RING byte count overflow
Imre Kaloz (1):
drm/radeon: Read the VRAM VBIOS signature with readb()
Jakub Gawlik (1):
ALSA: hda/realtek: Add micmute LED quirk for Acer Swift SFG16-72
Jamal Hadi Salim (4):
net/sched: cls_api: reclaim an empty proto on the error path net/sched: fq_codel: match the no-drop threshold to the packet size net/sched: sch_codel: match the no-drop threshold to the packet size
net: cap skb->queue_mapping when the tx queue is picked
Jameson Thies (1):
usb: typec: ucsi: displayport: Current CAM OOB index fixup
Janani Sunil (1):
iio: adc: adi-axi-adc: Initialize state mutex
Jari Seppälä (1):
octeontx2-pf: Fix RSS indirection table size
Jeff Jo (1):
tcp: refresh TS.Recent for accepted old ACKs
Jens Axboe (1):
io_uring: fix task_work add use-after-free with SQPOLL
Jiale Yao (1):
iio: accel: kxcjk-1013: reject duplicate event disable
Jiangshan Yi (4):
drm/amd/display: check dc_state_create_copy() for NULL in dm_suspend
ASoC: codecs: max98363: fix uninitialized stream_config->type
ASoC: codecs: rt1017-sdca-sdw: fix uninitialized stream_config->type
tpm: fix off-by-four bounds check in tpm2_get_random()
Jiazi Liu (1):
usb: dwc3: gadget: fix IRQ storm on invalid event buffer count
Jie Deng (1):
usb: cdns3: Fix NULL pointer dereference in cdns3_pci_probe
Jinseob Kim (1):
iio: buffer: serialize buffer teardown with mode claims
Johan Hovold (14):
USB: cdc-acm: fix racy TIOCMIWAIT implementation
USB: serial: fix port tear down use-after-free
tty: amiserial: fix broken TIOCMIWAIT
tty: tty_port: restore TTY_IO_ERROR on activation failure
tty: port: fix tty_port_tty_vhangup() race
tty: abort break signalling on hangup
tty: fix saved termios reset race
serial: revert guards in uart_wait_modem_status()
serial: fix TIOCMIWAIT race
USB: serial: quatech2: fix baud rate overflow
USB: serial: ssu100: fix baud rate overflow
USB: serial: fix dynamic id driver deregistration race
USB: serial: fix driver deregistration order
USB: serial: fix ioctl hangup race
John Garry (2):
nvme: add nvme_get_ns_head()
nvme: fix cdev lifetime
Jonathan Cameron (1):
iio: buffer: Ensure bounce buffer used for unaligned case is zeroed.
Josef Bacik (1):
xen/netfront: drop RX packets with a short Ethernet header
Joshua Hahn (1):
selftests/cgroup: account for zswap shrinker writeback
Joshua Rogers (2):
tty: vcc: zero-initialize control packet in vcc_send_ctl()
tty: vcc: hold port lock when clearing tty pointer in vcc_cleanup
Julian Anastasov (3):
ipvs: fix missing counter decrement in lblc
ipvs: do not create invisible templates
ipvs: filter some flags received in the backup server
Julian Sun (1):
nvmet: preserve device path on allocation failure
Julien Stephan (1):
drm/mediatek: mtk_hdmi_v2: fix VID_DOWNSAMPLE_CONFIG register offset
Jun Yang (1):
sctp: check RCV_SHUTDOWN after the sendmsg connect wait
Junyuan Feng (1):
io_uring/zcrx: requeue multishot receives stopped by a local resource
Jérémy Carrat (1):
USB: serial: cp210x: add Corsair AX1500i Power Supply
Jérémy Jean (2):
audit: fix exe mark UAF in kill_rules()
tipc: prevent GCM nonce reuse on peer key changes
Kailang Yang (1):
ALSA: hda/realtek - Add headset mode for Dell Pro QC1255
Karl Mehltretter (4):
mtd: core: avoid double-free of OTP NVMEM device
mtd: core: call _get_device() with the master MTD
random: fix vgetrandom_opaque_params kernel-doc
hrtimer: Use the mask to clear TIF_HRTIMER_REARM from the exit work
Keith Busch (1):
blk-mq: set RQF_USE_SCHED when the operation is known
Kendall Willis (1):
serial: 8250_omap: fix wake irq cleared during suspend
Kumar Kartikeya Dwivedi (1):
bpf: Hold map BTF for the memory allocator destructor record
Kurt Lieber (1):
thunderbolt: Disable CL states for the Anker Prime TB5 dock
Kyle Zeng (1):
ALSA: seq: Serialize compat port-info ioctls
Laurent Wandrebeck (1):
x86/mm: Don't apply va_align to hugetlb mappings on AMD F15h
Laxman Acharya Padhya (1):
iio: proximity: aw96103: validate firmware data length
Leon Hwang (1):
kprobes: Skip disarmed probes when checking optkprobe overlap
Linkai Gong (1):
usb: typec: anx7411 - stop the IRQ before destroying the workqueue
Linmao Li (2):
Bluetooth: hci_core: Fix inquiry cache timestamps on 64-bit systems
iio: adc: ade9000: fix NULL pointer dereference in clkout registration
Liu Chao (1):
usb: gadget: f_uac1_legacy: validate bRequest index in generic_{set,get}_cmd
Liu Dalin (1):
rtc: dev: zero-initialize struct rtc_wkalrm to prevent information leak
Liviu Nicoara (1):
ASoC: codecs: lpass-wsa-macro: rewrite the interpolator volume after enabling clocks
Lorenzo Bianconi (2):
net: stmmac: fix rx Scatter-Gather support
net: mvneta: clear XDP pfmemalloc flag between frames
Lorenzo Stoakes (ARM) (1):
mm/vma: predicate setting mmap_prepare VMA fields on new vma alloc
Lovekesh Solanki (3):
Input: i8042 - add nomux quirk for Fujitsu LIFEBOOK U7410
Input: synaptics - add LEN205b entry to smbus_pnp_ids for ThinkPad T490
usb: hub: use shorter 120ms post resume hold for SS root hubs
Lu Wang (1):
sched/cache: Honor migrate_llc_task semantics in active load balance, to fix LLC mis-scheduling bug
Luo Gengkun (1):
perf: Fix race between perf_event_exit_task() and perf_pending_task()
Maciej Strozek (2):
ASoC: SDCA: Set suspended flag after resuming within system suspend
ASoC: SDCA: Add better pm_runtime error handling in func probe
Manush Prajwal (1):
rtc: mpfs: fix unchecked devm_clk_get() error pointer in probe()
Marc Zyngier (3):
KVM: arm64: vgic: Allow last_lr_irq to be NULL when LRs are not overflowing
KVM: arm64: vgic: Take a refcount on IRQs referenced by last_lr_irq
KVM: arm64: vgic-its: Fix MOVALL handling of source redistributor
Marcelo Schmitt (1):
iio: adc: ad7173: Fix digital filter configuration
Marcin Bernatowicz (1):
drm/xe/pf: Keep VF LMEM BAR size low if no VFs enabled
Marco Chen (1):
iio: health: max30102: fix NULL dereference in interrupt handler
Marek Maslanka (1):
usb: typec: port-mapper: Only match USB4 port if host interface is available
Marian Rotariu (1):
usb: typec: tipd: don't send GAID when probe fails in APP mode
Mark Rutland (1):
arm64/fpsimd: signal: Forbid non-streaming SVE payload on SME-only systems
Martino Papero (1):
Input: atkbd - skip deactivate for Lenovo IdeaPad Slim 3 15IWC11
Masami Hiramatsu (Google) (1):
fprobe: Use guard(rcu_sched_notrace) and check rcu_is_watching()
Matthieu Baerts (NGI0) (1):
mptcp: fix msk->timer_ival reset
Matti Vaittinen (10):
iio: dac: rohm-bd79703: Do not allow writing SCALE
iio: light: rohm-bu27034: Fix error return
iio: accel: kionix-kx022a: Fix array boundary check
iio: accel: kionix-kx022a: Prevent memory leak and fix state
iio: adc: rohm-bd79124: Catch regmap errors at measurement start/stop
iio: adc: rohm-bd79124: Fix channel initialization
iio: adc: rohm-bd79124: Fix GPIO mask check
iio: adc: rohm-bd79124: Fix rising alarm
iio: light: rohm-bu27034: Fix infinite delay on error
iio: pressure: rohm-bm1390: Return error when read fails
Mehmet Fide (2):
mtd: rawnand: vf610_nfc: fix reads on chips with more than 64 bytes of OOB
mtd: rawnand: vf610_nfc: fix false bitflips on reads of erased pages
Menachem Adin (1):
mtd: mtd_intel_dg: reset poll counter for each erase
Michael Hennerich (1):
iio: buffer-dmaengine: fix sg entry iteration when building dma_vecs
Michal Wajdeczko (1):
drm/xe/pf: Refactor VF LMEM BAR resize helper function
Mika Westerberg (1):
thunderbolt: Fix KASAN reported use-after-free when request is canceled
Mikhail Gavrilov (1):
x86/mm: Drop unnecessary PMD page copy when freeing
Mina Almasry (1):
net: page_pool: fix use-after-free in page_pool_recycle_ring_bulk()
Mingyu Wang (1):
tty: vt: fix memory leak in vc_allocate()
Mitul Golani (1):
drm/i915/vrr: Disable DC balance by default
Mohamad Raizudeen (1):
crypto: x86/aes-gcm - fix always true check for last AAD segment
Mostafa Saleh (1):
KVM: arm64: Use stage-1 leaf size for VM_PFNMAP
Myeonghun Pak (5):
usb: ohci-da8xx: disable controller wakeup on cleanup
usb: ohci-s3c2410: disable controller wakeup on removal
usb: ohci-spear: disable controller wakeup on removal
usb: ohci-st: disable controller wakeup on removal
usb: chipidea: tegra: disable runtime PM on resume failure
Nathan Chancellor (1):
random: vDSO: avoid call to memset() when zeroing reserved parameter
Nguyen Ngoc Thang (2):
ALSA: caiaq: unregister the input device when probe fails
Bluetooth: hci_sync: don't drain cmd_sync backlog on unregister
Nicolai Buchwitz (3):
net: bcmgenet: allocate RX buffers as page fragments
net: ethtool: let tsconfig reach a PHY-only timestamp provider
net: bcmgenet: fix NULL dereference in set_coalesce before first open
Nicolas Escande (1):
wifi: ath11k: reset ar->num_stations on hardware start
Niklas Cassel (1):
virtio_blk: set the zone write granularity
Nikola Prica (1):
PCI: Accept AtomicOps already enabled by the hypervisor
Nuno Sá (2):
mtd: spinand: fix NULL pointer dereference with no ECC engine
mtd: spinand: fix zero oobavail when no ECC engine is used
Oleg Keri (1):
arm64: topology: fix arch_freq_get_on_cpu() overflow above 4.19 GHz
Oleksij Rempel (1):
r8169: disable EEE on RTL8168h/8111h
Orgad Shaneh (1):
usb: octeon-hcd: fix the FIFO-flush timeout computation
Pablo Neira Ayuso (1):
netfilter: flowtable: generalize pending status bit
Pannarat Wiriyaarritham (1):
usb: typec: ucsi: acpi: Assume UCSI 1.2 on Acer Nitro ANV15-41
Paul Mbewe (2):
serial: sc16is7xx: fix TX gap caused by kfifo circular buffer wrap-around
serial: sc16is7xx: refill TX FIFO below trigger using fresh TXLVL
Paulo Alcantara (13):
netfs: clear post-EOF pagecache when extending a file via write
netfs: zero gaps in read-gaps folio to avoid writing back stale data
netfs: zero the tail of a short DIO/unbuffered read
smb: client: discard post-EOF pagecache when extending a file via zero range
smb: client: discard post-EOF pagecache when extending a file via copy range
smb: client: discard post-EOF pagecache when extending a file via clone range
smb: client: flush and commit data before querying allocated ranges
smb: client: only require read lease for size-extending zero range
smb: client: flush dirty data before zeroing a range
smb: client: distinguish real EOF from a stale remote_i_size on read
smb: client: drain and invalidate before server-side copy/clone
smb: client: require stable pages for signed connections
smb: client: only require read lease for size-extending preallocate
Pei Xiao (1):
mtd: block2mtd: Fix divide error when erase_size is zero
Peiyang He (1):
binderfs: fix UAF write in binder_add_device
Pengpeng Hou (3):
wifi: ath9k: reject short WMI command responses
iio: adc: aspeed: propagate reset deassert errors
iio: cdc: ad7150: fix OF matching and publish module aliases
Pierre-Eric Pelloux-Prayer (1):
drm/amdgpu: implement workaround for sdma dcc corruption
Prashanth K (1):
usb: typec: ucsi: Get the connector fwnode based on reg value
Prathamesh Deshpande (1):
net/mlx5e: Fix AF_XDP TX timestamp teardown NULL dereference
Qishuai Liu (1):
ipv6: fix prefix route expiry in modify_prefix_route()
Quentin Freimanis (2):
net: sparx5: skip ptp deinit if init was skipped
net: sparx5: make ports inherit the switch base mac address type
Radhey Shyam Pandey (3):
usb: dwc3: am62: Fix runtime PM usage count leak on probe error path
usb: typec: tipd: fix uninitialized typec_partner_desc in tps6598x_connect()
usb: typec: tipd: fix uninitialized typec_partner_desc in cd321x_update_work()
Raphaël Larocque (1):
Input: synaptics - limit T440p InterTouch quirk to LEN0036
Ray Wu (1):
drm/amd/display: map PWM brightness through custom backlight curve
Richard Fitzgerald (2):
ASoC: sdw_utils: Set snd_soc_dai_link_ch_map.codec_ch_mask for capture
spi: cs42l43: Workaround for wrong speaker ID on Dell XPS 13 DX13260
Rounak Das (1):
EDAC/altera: Fix device node reference leaks in the SDMMC ECC setup
Ruide Cao (1):
wifi: mac80211: reject invalid 320 MHz CSA bandwidth
Runyu Xiao (5):
rtc: spear: initialize IRQ state before requesting alarm IRQ
USB: dwc2: shut down wakeup timer before freeing HCD state
mtd: rawnand: cadence: Initialize IRQ state before requesting IRQ
mtd: spi-nor: core: Fix mutex leak in spi_nor_rww_start_exclusive()
iio: admv1013: initialize callback mutex before registering notifier
Ruslan Valiyev (1):
serial: core: fix NULL pointer dereference in serial_core_unregister_port()
SJ Park (1):
mm/damon/core: don't skip damos_adjust_quota() while esz is not zero
Sagnik Sasmal (1):
mtd: spinand: Do not update the QE bit on devices without one
Sai Teja Aluvala (1):
Bluetooth: btintel: validate DDC record lengths
Salah Triki (5):
iio: accel: sca3000: fix frequency divider condition check
iio: adc: ad4030: fix invalid oversampling_ratio validation
iio: frequency: admv1013: fix wrong channel field used in admv1013_read_raw()
iio: proximity: isl29501: Fix return type of isl29501_register_write
iio: proximity: vcnl3020: fix ISR bitmask check in IRQ handler
Sandeep Haemoon (1):
net: ethernet: mtk_eth_soc: allocate dummy netdev sooner
Sang-Hoon Choi (1):
Bluetooth: hci_core: free the HCI ID if naming fails
Sean Christopherson (9):
KVM: x86: Re-pend GET_NESTED_STATE_PAGES if getting said pages fails
KVM: x86: Fill kvm_run exit fields in common get_nested_state_pages() error paths
KVM: nVMX: Force MSR bitmap refresh if runtime eVMCS controls are modified
KVM: SEV: Nullify "have run CPUs" mask pointer when freeing it
KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
KVM: x86/mmu: Bail from shadow walks if the root is invalid or a dummy
KVM: SVM: Use the active VMCB's MSR bitmap when checking if MSR is intercepted
KVM: SVM: Preserve TLB control (i.e. pending TLB flush) on failed VMRUN
KVM: SVM: Update control fields on #VMEXIT if and only if VMRUN succeeded
Sebastian Dalfuß (1):
ALSA: usb-audio: Add boot quirk for Behringer CM1A
Sebastian Sjoholm (1):
USB: serial: option: add Quectel RG660QB
Sheetal (1):
ASoC: tegra: Fix ASRC Stream6 input threshold control
Simon Gassner (1):
serial: tegra: don't clear the Tx FIFO on an Rx-only reset
Simon Polack (1):
drm/amd/display: Fix stale replay_events after mod_power stream removal
Slavin Liu (1):
iio: adc: pac1934: check ACPI label duplication
Stanislaw Gruszka (1):
wifi: cfg80211: fix RTS threshold setting for single-radio PHY
Surendran Kanagaraj (1):
tpm: Disable TPM on null key name mismatch
Sven Peter (6):
thunderbolt: Hold a router reference for each allocated HopID
thunderbolt: Make the DP tunnel activation callback mandatory
thunderbolt: Mark discovered tunnels as active
thunderbolt: Tear down inactive DP tunnels when the domain is stopped
thunderbolt: Fix domain reference leak when DPRX read is canceled
thunderbolt: Don't access a DP tunnel after its DPRX read was canceled
Syed Labeeq Sajid Bukhari (1):
usb: storage: sierra_ms: reject short SWoC info transfers
Takashi Iwai (5):
ALSA: usb-audio: Apply IGNORE_CTL_ERROR quirk to all Audient devices
ALSA: usb-audio: Apply boot quirk for Behringer models generically
ALSA: core: Define auto-cleanup for snd_card_free()
ALSA: ice1712: Fix the error handling via auto-cleanup at probe
usb: gadget: midi2: Fix the jack descriptor array sizes
Tejun Heo (3):
sched_ext: Build the cid tables privately and publish them with RCU
sched_ext: Add a size argument to scx_bpf_cid_topo() so struct scx_cid_topo can grow
sched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task
Theo Andersen Carton (1):
drm/amdgpu: skip the noirq suspend reset for a switcheroo-parked GPU
Tianchu Chen (1):
wifi: cw1200: fix TX padding OOB read leaking heap data to device
Tibor Harcsa (1):
Bluetooth: btusb: Add IMC Networks QCA9377 to quirks table
Tim Chen (3):
sched/fair: Avoid creating misfits during cache-aware balancing sched/cache: Keep nr_pref_llc_running in the runnable domain, to fix LLC mis-scheduling bug sched/cache: Introduce task_struct->sched_cache_grp to fix UAF
Timur Kristóf (5):
drm/amd/display: Fix fast updates on DCE 6.x drm/amd/display: Fix fast updates on DCE 8.1 drm/amd/display: Mark DCE 6.4 as not APU
drm/amd/pm/si: Check AMD_IS_MOBILITY flag for PPSMC_SYSTEMFLAG_GPIO_DC drm/amd/pm/si: Fix updating clock limits on AC/DC
Toke Høiland-Jørgensen (1):
wifi: ath9k: Clean up device initialisation guards
Tomer Pomeranc (2):
binder: fix is_failure flag for superseded transaction cleanup
binder: fix leaked fd fixups on TF_UPDATE_TXN supersede
Troy Mitchell (1):
clk: spacemit: k3: add CPU PLL rate tables
Viken Dadhaniya (2):
soc: qcom: geni-se: Correct QUP Core ICC vote constants
tty: serial: qcom_geni_serial: Keep console RX functional after deep idle
Vineet Gupta (1):
ARC: arch_cmpxchg_relaxed to use size of pointed type not pointer
Vitaly Kuznetsov (1):
virt: vmgenid: remap memory as decrypted
Vladyslav Ivashchenko (1):
iio: adc: axp288: Add TS bias override for Haier HV103H
Weiming Shi (1):
nvmet-auth: fix out-of-bounds write in nvmet_auth_challenge()
Wentao Liang (7):
of/irq: Fix remaining refcount leaks in of_irq_init()
wifi: wlcore: Fix runtime PM leak in wlcore_remove() drm/mediatek: Fix runtime PM leak in mtk_hdmi_ddc_v2_probe() drm/mediatek: Fix pdev reference leak in mtk_drm_bind()
kgdboc: Fix tty driver reference leak in configure_kgdboc()
serial: ma35d1: Fix clock reference leak in ma35d1serial_probe()
serial: vt8500: Fix clock reference leak in vt8500_serial_probe()
Willem de Bruijn (1):
net: extend IPv6 exthdr detection of tunneled packets
Willian Oliveira (1):
drm/amdgpu/gfx6: fix firmware leak on teardown
Xiang Mei (2):
ALSA: line6: reject oversized playback packets
ALSA: ua101: reject mismatched capture/playback packet sizes
Xuanqiang Luo (1):
pfcp: fix socket lifetime on netdevice registration failure
Yang Xiuwei (1):
block: reject polled dio with user integrity metadata
Yao Sang (1):
nvme: fix command effects log lifetime for multipath heads
Yi Yang (1):
vc_screen: reload vc pointer before if (ret) in vcs_write() to avoid UAF
Yongzhao Chen (1):
net: phy: qcom: at803x: Fix IPQ5018 short-cable DAC values
Yoshihisa Yamamoto (1):
net: pcs: rzn1-miic: Clear MIIC protection state before unprotect sequence
Yu-Hsiang Tseng (1):
ALSA: hda/realtek: Fix silent speaker on Higole F9B
Yuchao Zhang (3):
wifi: mac80211: drop oversized fragments to avoid extra_len overflow
USB: cdc-acm: skip URB restart in port_shutdown if disconnected
usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC
Yuho Choi (1):
of: Put coreboot node after compatibility check
Yuqi Xu (3):
wifi: mac80211: validate TX status rate metadata
wifi: mac80211: minstrel_ht: validate fixed rate index
wifi: mac80211: handle empty FILS association request payload
Yuxiao Wang (1):
nitro_enclaves: fix use-after-free on SLOT_ALLOC failure
Zhan Xusheng (2):
sysctl: Negate before converting in the int read path time/jiffies: Saturate in mult_hz() instead of wrapping
Zhang Heng (1):
ALSA: hda/realtek: Fix square wave output on ASUS Strix G615LR
Zhang Jie (1):
iio: proximity: sx9324: Correct proximity channel resolution
Zhao Dongdong (1):
USB: serial: option: add support for SIMCom SIM8260C
Zhao Li (6):
wifi: cfg80211: preserve hidden-group beacon IE ownership
wifi: mac80211: shut down RX BA session timer on teardown
wifi: mac80211: drain PS delivery work during station teardown
wifi: mac80211: account proxy paths against the mesh path limit
wifi: mac80211: keep fallback association elements alive
wifi: mac80211: release mesh path quota on failed additions
Zhengchuan Liang (1):
perf: Require kernel access for text poke events
Zhichen Wang (1):
virt: vmgenid: set driver_data before registering notification handlers
Zhiling Zou (3):
ipvs: bound LBLCR and LBLC cache growth
wifi: mac80211: count only matching reservations in reserved switch
wifi: mac80211: keep paired old chanctx alive
Zihan Xi (2):
net: gso: limit recursive IP-in-IP segmentation
wifi: mac80211: fix mesh fast xmit path deletion UAF
Zimeng Li (1):
ASoC: qcom: lpass-cpu: use DAI table index for playback constraints
Zizhi Wo (1):
vt: skip screen update for DEC alignment test on backgroup consoles
fangqiurong (1):
sched_ext: Don't run ops.dequeue() with a DSQ lock held
lollipopkit (1):
io_uring/cmd_net: end TX_TIMESTAMP multishot when the CQ is full
Ömer Mete Kaya (1):
bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()