Date: Sat, 2 Nov 2024 22:58:20 -0700 From: Dmitry Torokhov To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [git pull] Input updates for v6.12-rc5 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git tags/input-for-v6.12-rc5 to receive updates for the input subsystem. You will get: - a fix for regression in input core introduced in 6.11 preventing re-registering input handlers - a fix for adp5588-keys driver tyring to disable interrupt 0 at suspend when devices is used without interrupt - a fix for edt-ft5x06 to stop leaking regmap structure when probing fails and to make sure it is not released too early on removal. Changelog: --------- Dmitry Torokhov (3): Input: edt-ft5x06 - fix regmap leak when probe fails Input: adp5588-keys - do not try to disable interrupt 0 Input: fix regression when re-registering input handlers Diffstat: -------- drivers/input/input.c | 134 ++++++++++++++++++--------------- drivers/input/keyboard/adp5588-keys.c | 6 +- drivers/input/touchscreen/edt-ft5x06.c | 19 ++++- include/linux/input.h | 10 ++- 4 files changed, 104 insertions(+), 65 deletions(-) Thanks. -- Dmitry . Date: Sun, 3 Nov 2024 11:30:58 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] irq/urgent for v6.12-rc6 Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2024-= 11-03 up to: e6c24e2d05bb: irqchip/gic-v4: Correctly deal with set_affinity on laz= ily-mapped VPEs Two fixes for the interrupt subsystem: - Fix an off-by-one error in the failure path of msi_domain_alloc(), which causes the cleanup loop to terminate early and leaking the first allocated interrupt. - Handle a corner case in GIC-V4 versus a lazily mapped Virtual Processing Element (VPE). If the VPE has not been mapped because the guest has not yet emitted a mapping command, then the set_affinity() callback returns an error code, which causes the vCPU management to fail. Return success in this case without touching the hardware. This will be done later when the guest issues the mapping command. Thanks, tglx ------------------> Jinjie Ruan (1): genirq/msi: Fix off-by-one error in msi_domain_alloc() Marc Zyngier (1): irqchip/gic-v4: Correctly deal with set_affinity on lazily-mapped VPEs drivers/irqchip/irq-gic-v3-its.c | 14 ++++++++++++-- kernel/irq/msi.c | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-it= s.c index ab597e74ba08..52f625e07658 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -3810,8 +3810,18 @@ static int its_vpe_set_affinity(struct irq_data *d, * Check if we're racing against a VPE being destroyed, for * which we don't want to allow a VMOVP. */ - if (!atomic_read(&vpe->vmapp_count)) - return -EINVAL; + if (!atomic_read(&vpe->vmapp_count)) { + if (gic_requires_eager_mapping()) + return -EINVAL; + + /* + * If we lazily map the VPEs, this isn't an error and + * we can exit cleanly. + */ + cpu =3D cpumask_first(mask_val); + irq_data_update_effective_affinity(d, cpumask_of(cpu)); + return IRQ_SET_MASK_OK_DONE; + } =20 /* * Changing affinity is mega expensive, so let's be as lazy as diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c index 3a24d6b5f559..396a067a8a56 100644 --- a/kernel/irq/msi.c +++ b/kernel/irq/msi.c @@ -718,7 +718,7 @@ static int msi_domain_alloc(struct irq_domain *domain, un= signed int virq, ret =3D ops->msi_init(domain, info, virq + i, hwirq + i, arg); if (ret < 0) { if (ops->msi_free) { - for (i--; i > 0; i--) + for (i--; i >=3D 0; i--) ops->msi_free(domain, info, virq + i); } irq_domain_free_irqs_top(domain, virq, nr_irqs); . Date: Sun, 3 Nov 2024 11:31:05 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] x86/urgent for v6.12-rc6 Linus, please pull the latest x86/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2024-= 11-03 up to: fce9642c765a: x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB A trivial compile test fix for x86 When CONFIG_AMD_NB is not set a COMPILE_TEST of an AMD specific driver fails due to a missing inline stub. Add the stub to cure it. Thanks, tglx ------------------> Arnd Bergmann (1): x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB arch/x86/include/asm/amd_nb.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/include/asm/amd_nb.h b/arch/x86/include/asm/amd_nb.h index 6f3b6aef47ba..d0caac26533f 100644 --- a/arch/x86/include/asm/amd_nb.h +++ b/arch/x86/include/asm/amd_nb.h @@ -116,7 +116,10 @@ static inline bool amd_gart_present(void) =20 #define amd_nb_num(x) 0 #define amd_nb_has_feature(x) false -#define node_to_amd_nb(x) NULL +static inline struct amd_northbridge *node_to_amd_nb(int node) +{ + return NULL; +} #define amd_gart_present(x) false =20 #endif . Date: Sun, 3 Nov 2024 11:31:00 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] perf/urgent for v6.12-rc6 Linus, please pull the latest perf/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-2024= -11-03 up to: e3dfd64c1f34: perf: Fix missing RCU reader protection in perf_event_c= lear_cpumask() A single fix for perf: perf_event_clear_cpumask() uses list_for_each_entry_rcu() without being in a RCU read side critical section, which triggers a "suspicious RCU usage" warning. It turns out that the list walk does not be RCU protected because the write side lock is held in this contxt. Change it to a regular list walk. Thanks, tglx ------------------> Kan Liang (1): perf: Fix missing RCU reader protection in perf_event_clear_cpumask() kernel/events/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index cdd09769e6c5..df27d08a7232 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -13959,7 +13959,7 @@ static void perf_event_clear_cpumask(unsigned int cpu) } =20 /* migrate */ - list_for_each_entry_rcu(pmu, &pmus, entry, lockdep_is_held(&pmus_srcu)) { + list_for_each_entry(pmu, &pmus, entry) { if (pmu->scope =3D=3D PERF_PMU_SCOPE_NONE || WARN_ON_ONCE(pmu->scope >=3D PERF_PMU_MAX_SCOPE)) continue; . Date: Sun, 3 Nov 2024 11:31:03 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] timers/urgent for v6.12-rc6 Linus, please pull the latest timers/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-20= 24-11-03 up to: b5413156bad9: posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clo= ne A single fix for posix CPU timers When a thread is cloned, the posix CPU timers are not inherited. If the parent has a CPU timer armed the corresponding tick dependency in the tasks tick_dep_mask is set and copied to the new thread, which means the new thread and all decendants will prevent the system to go into full NOHZ operation. Clear the tick dependency mask in copy_process() to fix this. Thanks, tglx ------------------> Benjamin Segall (1): posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clone include/linux/tick.h | 8 ++++++++ kernel/fork.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/include/linux/tick.h b/include/linux/tick.h index 72744638c5b0..99c9c5a7252a 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -251,12 +251,19 @@ static inline void tick_dep_set_task(struct task_struct= *tsk, if (tick_nohz_full_enabled()) tick_nohz_dep_set_task(tsk, bit); } + static inline void tick_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) { if (tick_nohz_full_enabled()) tick_nohz_dep_clear_task(tsk, bit); } + +static inline void tick_dep_init_task(struct task_struct *tsk) +{ + atomic_set(&tsk->tick_dep_mask, 0); +} + static inline void tick_dep_set_signal(struct task_struct *tsk, enum tick_dep_bits bit) { @@ -290,6 +297,7 @@ static inline void tick_dep_set_task(struct task_struct *= tsk, enum tick_dep_bits bit) { } static inline void tick_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) { } +static inline void tick_dep_init_task(struct task_struct *tsk) { } static inline void tick_dep_set_signal(struct task_struct *tsk, enum tick_dep_bits bit) { } static inline void tick_dep_clear_signal(struct signal_struct *signal, diff --git a/kernel/fork.c b/kernel/fork.c index 89ceb4a68af2..6fa9fe62e01e 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -105,6 +105,7 @@ #include #include #include +#include =20 #include #include @@ -2292,6 +2293,7 @@ __latent_entropy struct task_struct *copy_process( acct_clear_integrals(p); =20 posix_cputimers_init(&p->posix_cputimers); + tick_dep_init_task(p); =20 p->io_context =3D NULL; audit_set_context(p, NULL); . Date: Sun, 3 Nov 2024 11:31:02 +0100 (CET) From: Thomas Gleixner To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, x86@kernel.org Subject: [GIT pull] sched/urgent for v6.12-rc6 Linus, please pull the latest sched/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-202= 4-11-03 up to: 69d5e722be94: sched/ext: Fix scx vs sched_delayed A few scheduler fixes: - Plug a race between pick_next_task_fair() and try_to_wake_up() where both try to write to the same task, even though both paths hold a runqueue lock, but obviously from different runqueues. The problem is that the store to task::on_rq in __block_task() is visible to try_to_wake_up() which assumes that the task is not queued. Both sides then operate on the same task. Cure it by rearranging __block_task() so the the store to task::on_rq is the last operation on the task. - Prevent a potential NULL pointer dereference in task_numa_work() task_numa_work() iterates the VMAs of a process. A concurrent unmap of the address space can result in a NULL pointer return from vma_next() which is unchecked. Add the missing NULL pointer check to prevent this. - Operate on the correct scheduler policy in task_should_scx() task_should_scx() returns true when a task should be handled by sched EXT. It checks the tasks scheduling policy. This fails when the check is done before a policy has been set. Cure it by handing the policy into task_should_scx() so it operates on the requested value. - Add the missing handling of sched EXT in the delayed dequeue mechanism. This was simply forgotten. Thanks, tglx ------------------> Aboorva Devarajan (1): sched: Pass correct scheduling policy to __setscheduler_class Peter Zijlstra (2): sched: Fix pick_next_task_fair() vs try_to_wake_up() race sched/ext: Fix scx vs sched_delayed Shawn Wang (1): sched/numa: Fix the potential null pointer dereference in task_numa_wor= k() kernel/sched/core.c | 8 ++++---- kernel/sched/ext.c | 18 ++++++++++++++---- kernel/sched/ext.h | 2 +- kernel/sched/fair.c | 25 ++++++++++++++++--------- kernel/sched/sched.h | 36 +++++++++++++++++++++++++++++++++--- kernel/sched/syscalls.c | 2 +- 6 files changed, 69 insertions(+), 22 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index dbfb5717d6af..719e0ed1e976 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -4711,7 +4711,7 @@ int sched_fork(unsigned long clone_flags, struct task_s= truct *p) if (rt_prio(p->prio)) { p->sched_class =3D &rt_sched_class; #ifdef CONFIG_SCHED_CLASS_EXT - } else if (task_should_scx(p)) { + } else if (task_should_scx(p->policy)) { p->sched_class =3D &ext_sched_class; #endif } else { @@ -7025,7 +7025,7 @@ int default_wake_function(wait_queue_entry_t *curr, uns= igned mode, int wake_flag } EXPORT_SYMBOL(default_wake_function); =20 -const struct sched_class *__setscheduler_class(struct task_struct *p, int pr= io) +const struct sched_class *__setscheduler_class(int policy, int prio) { if (dl_prio(prio)) return &dl_sched_class; @@ -7034,7 +7034,7 @@ const struct sched_class *__setscheduler_class(struct t= ask_struct *p, int prio) return &rt_sched_class; =20 #ifdef CONFIG_SCHED_CLASS_EXT - if (task_should_scx(p)) + if (task_should_scx(policy)) return &ext_sched_class; #endif =20 @@ -7142,7 +7142,7 @@ void rt_mutex_setprio(struct task_struct *p, struct tas= k_struct *pi_task) queue_flag &=3D ~DEQUEUE_MOVE; =20 prev_class =3D p->sched_class; - next_class =3D __setscheduler_class(p, prio); + next_class =3D __setscheduler_class(p->policy, prio); =20 if (prev_class !=3D next_class && p->se.sched_delayed) dequeue_task(rq, p, DEQUEUE_SLEEP | DEQUEUE_DELAYED | DEQUEUE_NOCLOCK); diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c index 5900b06fd036..721a75489ff5 100644 --- a/kernel/sched/ext.c +++ b/kernel/sched/ext.c @@ -4256,14 +4256,14 @@ static const struct kset_uevent_ops scx_uevent_ops = =3D { * Used by sched_fork() and __setscheduler_prio() to pick the matching * sched_class. dl/rt are already handled. */ -bool task_should_scx(struct task_struct *p) +bool task_should_scx(int policy) { if (!scx_enabled() || unlikely(scx_ops_enable_state() =3D=3D SCX_OPS_DISABLING)) return false; if (READ_ONCE(scx_switching_all)) return true; - return p->policy =3D=3D SCHED_EXT; + return policy =3D=3D SCHED_EXT; } =20 /** @@ -4489,11 +4489,16 @@ static void scx_ops_disable_workfn(struct kthread_wor= k *work) scx_task_iter_start(&sti); while ((p =3D scx_task_iter_next_locked(&sti))) { const struct sched_class *old_class =3D p->sched_class; + const struct sched_class *new_class =3D + __setscheduler_class(p->policy, p->prio); struct sched_enq_and_set_ctx ctx; =20 + if (old_class !=3D new_class && p->se.sched_delayed) + dequeue_task(task_rq(p), p, DEQUEUE_SLEEP | DEQUEUE_DELAYED); + sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx); =20 - p->sched_class =3D __setscheduler_class(p, p->prio); + p->sched_class =3D new_class; check_class_changing(task_rq(p), p, old_class); =20 sched_enq_and_set_task(&ctx); @@ -5199,12 +5204,17 @@ static int scx_ops_enable(struct sched_ext_ops *ops, = struct bpf_link *link) scx_task_iter_start(&sti); while ((p =3D scx_task_iter_next_locked(&sti))) { const struct sched_class *old_class =3D p->sched_class; + const struct sched_class *new_class =3D + __setscheduler_class(p->policy, p->prio); struct sched_enq_and_set_ctx ctx; =20 + if (old_class !=3D new_class && p->se.sched_delayed) + dequeue_task(task_rq(p), p, DEQUEUE_SLEEP | DEQUEUE_DELAYED); + sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx); =20 p->scx.slice =3D SCX_SLICE_DFL; - p->sched_class =3D __setscheduler_class(p, p->prio); + p->sched_class =3D new_class; check_class_changing(task_rq(p), p, old_class); =20 sched_enq_and_set_task(&ctx); diff --git a/kernel/sched/ext.h b/kernel/sched/ext.h index 246019519231..b1675bb59fc4 100644 --- a/kernel/sched/ext.h +++ b/kernel/sched/ext.h @@ -18,7 +18,7 @@ bool scx_can_stop_tick(struct rq *rq); void scx_rq_activate(struct rq *rq); void scx_rq_deactivate(struct rq *rq); int scx_check_setscheduler(struct task_struct *p, int policy); -bool task_should_scx(struct task_struct *p); +bool task_should_scx(int policy); void init_sched_ext_class(void); =20 static inline u32 scx_cpuperf_target(s32 cpu) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index c157d4860a3b..2d16c8545c71 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3369,7 +3369,7 @@ static void task_numa_work(struct callback_head *work) vma =3D vma_next(&vmi); } =20 - do { + for (; vma; vma =3D vma_next(&vmi)) { if (!vma_migratable(vma) || !vma_policy_mof(vma) || is_vm_hugetlb_page(vma) || (vma->vm_flags & VM_MIXEDMAP)) { trace_sched_skip_vma_numa(mm, vma, NUMAB_SKIP_UNSUITABLE); @@ -3491,7 +3491,7 @@ static void task_numa_work(struct callback_head *work) */ if (vma_pids_forced) break; - } for_each_vma(vmi, vma); + } =20 /* * If no VMAs are remaining and VMAs were skipped due to the PID @@ -5625,8 +5625,9 @@ pick_next_entity(struct rq *rq, struct cfs_rq *cfs_rq) struct sched_entity *se =3D pick_eevdf(cfs_rq); if (se->sched_delayed) { dequeue_entities(rq, se, DEQUEUE_SLEEP | DEQUEUE_DELAYED); - SCHED_WARN_ON(se->sched_delayed); - SCHED_WARN_ON(se->on_rq); + /* + * Must not reference @se again, see __block_task(). + */ return NULL; } return se; @@ -7176,7 +7177,11 @@ static int dequeue_entities(struct rq *rq, struct sche= d_entity *se, int flags) /* Fix-up what dequeue_task_fair() skipped */ hrtick_update(rq); =20 - /* Fix-up what block_task() skipped. */ + /* + * Fix-up what block_task() skipped. + * + * Must be last, @p might not be valid after this. + */ __block_task(rq, p); } =20 @@ -7193,12 +7198,14 @@ static bool dequeue_task_fair(struct rq *rq, struct t= ask_struct *p, int flags) if (!(p->se.sched_delayed && (task_on_rq_migrating(p) || (flags & DEQUEUE_S= AVE)))) util_est_dequeue(&rq->cfs, p); =20 - if (dequeue_entities(rq, &p->se, flags) < 0) { - util_est_update(&rq->cfs, p, DEQUEUE_SLEEP); + util_est_update(&rq->cfs, p, flags & DEQUEUE_SLEEP); + if (dequeue_entities(rq, &p->se, flags) < 0) return false; - } =20 - util_est_update(&rq->cfs, p, flags & DEQUEUE_SLEEP); + /* + * Must not reference @p after dequeue_entities(DEQUEUE_DELAYED). + */ + hrtick_update(rq); return true; } diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 081519ffab46..6c54a57275cc 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -2769,8 +2769,6 @@ static inline void sub_nr_running(struct rq *rq, unsign= ed count) =20 static inline void __block_task(struct rq *rq, struct task_struct *p) { - WRITE_ONCE(p->on_rq, 0); - ASSERT_EXCLUSIVE_WRITER(p->on_rq); if (p->sched_contributes_to_load) rq->nr_uninterruptible++; =20 @@ -2778,6 +2776,38 @@ static inline void __block_task(struct rq *rq, struct = task_struct *p) atomic_inc(&rq->nr_iowait); delayacct_blkio_start(); } + + ASSERT_EXCLUSIVE_WRITER(p->on_rq); + + /* + * The moment this write goes through, ttwu() can swoop in and migrate + * this task, rendering our rq->__lock ineffective. + * + * __schedule() try_to_wake_up() + * LOCK rq->__lock LOCK p->pi_lock + * pick_next_task() + * pick_next_task_fair() + * pick_next_entity() + * dequeue_entities() + * __block_task() + * RELEASE p->on_rq =3D 0 if (p->on_rq && ...) + * break; + * + * ACQUIRE (after ctrl-dep) + * + * cpu =3D select_task_rq(); + * set_task_cpu(p, cpu); + * ttwu_queue() + * ttwu_do_activate() + * LOCK rq->__lock + * activate_task() + * STORE p->on_rq =3D 1 + * UNLOCK rq->__lock + * + * Callers must ensure to not reference @p after this -- we no longer + * own it. + */ + smp_store_release(&p->on_rq, 0); } =20 extern void activate_task(struct rq *rq, struct task_struct *p, int flags); @@ -3800,7 +3830,7 @@ static inline int rt_effective_prio(struct task_struct = *p, int prio) =20 extern int __sched_setscheduler(struct task_struct *p, const struct sched_at= tr *attr, bool user, bool pi); extern int __sched_setaffinity(struct task_struct *p, struct affinity_contex= t *ctx); -extern const struct sched_class *__setscheduler_class(struct task_struct *p,= int prio); +extern const struct sched_class *__setscheduler_class(int policy, int prio); extern void set_load_weight(struct task_struct *p, bool update_load); extern void enqueue_task(struct rq *rq, struct task_struct *p, int flags); extern bool dequeue_task(struct rq *rq, struct task_struct *p, int flags); diff --git a/kernel/sched/syscalls.c b/kernel/sched/syscalls.c index 0470bcc3d204..24f9f90b6574 100644 --- a/kernel/sched/syscalls.c +++ b/kernel/sched/syscalls.c @@ -707,7 +707,7 @@ int __sched_setscheduler(struct task_struct *p, } =20 prev_class =3D p->sched_class; - next_class =3D __setscheduler_class(p, newprio); + next_class =3D __setscheduler_class(policy, newprio); =20 if (prev_class !=3D next_class && p->se.sched_delayed) dequeue_task(rq, p, DEQUEUE_SLEEP | DEQUEUE_DELAYED | DEQUEUE_NOCLOCK); . Date: Sun, 3 Nov 2024 13:01:32 +0100 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [GIT PULL] Char/Misc/IIO driver fixes for 6.12-rc6 The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-6.12-rc6 for you to fetch changes up to d0bc3b92fb9b2c3c981984d52fffe8cca77165dc: Merge tag 'iio-fixes-for-6.12b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next (2024-10-29 04:10:12 +0100) ---------------------------------------------------------------- Char/Misc/IIO driver fixes for 6.12-rc6 Here are some small char/misc/iio fixes for 6.12-rc6 that resolves some reported issues. Included in here are the following: - small IIO driver fixes for many reported issues - mei driver fix for a suddenly much reported issue for an "old" issue. - MAINTAINERS update for a developer who has moved companies and forgot to update their old entry. All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Abylay Ospan (1): MAINTAINERS: add netup_unidvb maintainer Alexander Usyskin (1): mei: use kvmalloc for read buffer Greg Kroah-Hartman (1): Merge tag 'iio-fixes-for-6.12b' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-next Javier Carrasco (1): iio: light: veml6030: fix microlux value calculation Jinjie Ruan (3): iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table() iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() iio: dac: Kconfig: Fix build error for ltc2664 Julien Stephan (5): dt-bindings: iio: adc: ad7380: fix ad7380-4 reference supply iio: adc: ad7380: use devm_regulator_get_enable_read_voltage() iio: adc: ad7380: add missing supplies iio: adc: ad7380: fix supplies for ad7380-4 docs: iio: ad7380: fix supply for ad7380-4 Zicheng Qu (2): staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() .../devicetree/bindings/iio/adc/adi,ad7380.yaml | 21 ++++ Documentation/iio/ad7380.rst | 13 +- MAINTAINERS | 54 ++++++++ drivers/iio/adc/ad7124.c | 2 +- drivers/iio/adc/ad7380.c | 136 ++++++++++++--------- drivers/iio/dac/Kconfig | 2 +- drivers/iio/industrialio-gts-helper.c | 4 +- drivers/iio/light/veml6030.c | 2 +- drivers/misc/mei/client.c | 4 +- drivers/staging/iio/frequency/ad9832.c | 7 +- 10 files changed, 177 insertions(+), 68 deletions(-) . Date: Sun, 3 Nov 2024 13:01:52 +0100 From: Greg KH To: Linus Torvalds , Andrew Morton Cc: linux-kernel@vger.kernel.org, Stephen Rothwell , Saravana Kannan Subject: [GIT PULL] Driver core revert fix for 6.12-rc6 The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354: Linux 6.12-rc3 (2024-10-13 14:33:32 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git tags/driver-core-6.12-rc6 for you to fetch changes up to 9a71892cbcdb9d1459c84f5a4c722b14354158a5: Revert "driver core: Fix uevent_show() vs driver detach race" (2024-10-29 01:23:43 +0100) ---------------------------------------------------------------- Driver core revert fix for 6.12-rc6 Here is a single driver core revert for 6.12-rc6. It reverts a change that came in -rc1 that was supposed to resolve a reported problem, but caused another one, so revert it for now so that we can get this all worked out properly in 6.13. The revert has been in linux-next all week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Greg Kroah-Hartman (1): Revert "driver core: Fix uevent_show() vs driver detach race" drivers/base/core.c | 13 +++++-------- drivers/base/module.c | 4 ---- 2 files changed, 5 insertions(+), 12 deletions(-) . Date: Sun, 3 Nov 2024 13:02:09 +0100 From: Greg KH To: Linus Torvalds Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [GIT PULL] USB fixes for 6.12-rc6 The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.12-rc6 for you to fetch changes up to afb92ad8733ef0a2843cc229e4d96aead80bc429: usb: typec: tcpm: restrict SNK_WAIT_CAPABILITIES_TIMEOUT transitions to non self-powered devices (2024-10-29 04:38:00 +0100) ---------------------------------------------------------------- USB / Thunderbolt fixes for 6.12-rc6 Here are some small USB and Thunderbolt driver fixes for 6.12-rc6 that have been sitting in my tree this week. Included in here are the following: - thunderbolt driver fixes for reported issues - USB typec driver fixes - xhci driver fixes for reported problems - dwc2 driver revert for a broken change - usb phy driver fix - usbip tool fix All of these have been in linux-next this week with no reported issues. Signed-off-by: Greg Kroah-Hartman ---------------------------------------------------------------- Amit Sunil Dhamne (1): usb: typec: tcpm: restrict SNK_WAIT_CAPABILITIES_TIMEOUT transitions to non self-powered devices Basavaraj Natikar (1): xhci: Use pm_runtime_get to prevent RPM on unsupported systems Faisal Hassan (1): xhci: Fix Link TRB DMA in command ring stopped completion event Gil Fine (1): thunderbolt: Honor TMU requirements in the domain when setting TMU mode Greg Kroah-Hartman (1): Merge tag 'thunderbolt-for-v6.12-rc5' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus Javier Carrasco (4): usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes usb: typec: qcom-pmic-typec: fix missing fwnode removal in error path usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes() usb: typec: use cleanup facility for 'altmodes_node' Mathias Nyman (1): usb: acpi: fix boot hang due to early incorrect 'tunneled' USB3 device links Mika Westerberg (1): thunderbolt: Fix KASAN reported stack out-of-bounds read in tb_retimer_scan() Stefan Wahren (1): Revert "usb: dwc2: Skip clock gating on Broadcom SoCs" Zijun Hu (1): usb: phy: Fix API devm_usb_put_phy() can not release the phy Zongmin Zhou (1): usbip: tools: Fix detach_port() invalid port error path drivers/thunderbolt/retimer.c | 5 +-- drivers/thunderbolt/tb.c | 48 +++++++++++++++++++++++---- drivers/usb/core/usb-acpi.c | 4 +-- drivers/usb/dwc2/params.c | 1 - drivers/usb/host/xhci-pci.c | 6 ++-- drivers/usb/host/xhci-ring.c | 16 ++++----- drivers/usb/phy/phy.c | 2 +- drivers/usb/typec/class.c | 6 ++-- drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 10 +++--- drivers/usb/typec/tcpm/tcpm.c | 10 ++++-- tools/usb/usbip/src/usbip_detach.c | 1 + 11 files changed, 78 insertions(+), 31 deletions(-) . Date: Mon, 4 Nov 2024 00:49:28 +0900 From: Masahiro Yamada To: Linus Torvalds Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Subject: [GIT PULL] Kbuild fixes for v6.12-rc6 Hello Linus, Please pull some Kbuild fixes. Thank you. The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-fixes-v6.12-2 for you to fetch changes up to 77dc55a978e69625f9718460012e5ef0172dc4de: modpost: fix input MODULE_DEVICE_TABLE() built for 64-bit on 32-bit host (2024-11-03 23:58:56 +0900) ---------------------------------------------------------------- Kbuild fixes for v6.12 (2nd) - Fix a memory leak in modpost - Resolve build issues when cross-compiling RPM and Debian packages - Fix another regression in Kconfig - Fix incorrect MODULE_ALIAS() output in modpost ---------------------------------------------------------------- Elena Salomatkina (1): sumversion: Fix a memory leak in get_src_version() Masahiro Yamada (6): kbuild: rpm-pkg: disable kernel-devel package when cross-compiling kbuild: deb-pkg: add pkg.linux-upstream.nokernelheaders build profile kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profile kconfig: show sub-menu entries even if the prompt is hidden modpost: fix acpi MODULE_DEVICE_TABLE built with mismatched endianness modpost: fix input MODULE_DEVICE_TABLE() built for 64-bit on 32-bit host scripts/Makefile.package | 7 ++++++- scripts/kconfig/menu.c | 13 ++++++++++++- scripts/mod/file2alias.c | 12 ++++++------ scripts/mod/sumversion.c | 5 +++-- scripts/package/builddeb | 2 +- scripts/package/install-extmod-build | 6 ++---- scripts/package/mkdebian | 10 +++++++++- 7 files changed, 39 insertions(+), 16 deletions(-) -- Best Regards Masahiro Yamada . Date: Sun, 3 Nov 2024 22:02:28 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: dmaengine fixes for v6.12 --Wy1kuxinFQk1ksvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Linus, Here is the pull request for fixes for v6.12. Sorry Diwali festivities kept me bit tied up to send this earlier. Just couple of driver fixes for this one. The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git tags/dm= aengine-fix-6.12 for you to fetch changes up to d35f40642904b017d1301340734b91aef69d1c0c: dmaengine: ti: k3-udma: Set EOP for all TRs in cyclic BCDMA transfer (202= 4-10-14 23:41:05 +0530) ---------------------------------------------------------------- dmaengine fixes for v6.12 Driver fixes for: - TI driver fix to set EOP for cyclic BCDMA transfers - sh rz-dmac driver fix for handling config with zero address ---------------------------------------------------------------- Jai Luthra (1): dmaengine: ti: k3-udma: Set EOP for all TRs in cyclic BCDMA transfer Wolfram Sang (1): dmaengine: sh: rz-dmac: handle configs where one address is zero drivers/dma/sh/rz-dmac.c | 25 ++++++++++--------- drivers/dma/ti/k3-udma.c | 62 ++++++++++++++++++++++++++++++++++++--------= ---- 2 files changed, 61 insertions(+), 26 deletions(-) --=20 ~Vinod --Wy1kuxinFQk1ksvH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+vs47OPLdNbVcHzyfBQHDyUjg0cFAmcnpZwACgkQfBQHDyUj g0ehoQ//atPMPwbRjYpHLYH0jygO1ofsgjAyaIIX5MXlEPUj+5EtiKy3p5EMj3Vc Zgy1uUuFENesv+v28q6XkgdpdE/mWI6b4feAFPK82ZO+XhTI31VWGMWaAbA6FdSw jS3bWheltyAOTCjgQ1/waT9lIa/C1u2zUTthheUovoQeDT9twfTxJCXYoVFJQn33 yGwxSOBQQhGJPRRIM85NraMxEnim33k0/51UqfoiyAy5Ul8emisj3yLxp3Qep8zp j/GpUHUVAW2wN29hWUwKzQrRjkssDLHIbbD7rpFwtnqmDrRMHFv7PCyM1iArs4pq o4Pkp/4qKA7WZxdf48tSuFiX89L/Yd4hHyXsV3A390ziqtDszHteLRjwRSqViIxz MzSI7iHhMXB647BdPvb+lggL0WGatLavN7WAUYW2KawNvA0sN6crgQGxpNqzYRUs X9GLgmcZI3qXMMjq9natoccD3brOylUQ3HfLJC1e6KmosHFweU3uuHB4xG4NlhSa t1UbEDVcVvDGIYOnkYd4dbf4J+7V2HoN0icsMQo3wWb+7eiDGxUUlE2tLMGkMrWG xSCezFSPY+XmNjJ9wUYMTEVbdnR9sgDY6kLVh6rkbMQQ0BhtqAWvgIhRGDPhyOR4 btIEbyMcwzpj6UcUUK9cztaGTJroPN9mZiCKCDmmHj0jv9EP0mk= =Xkw4 -----END PGP SIGNATURE----- --Wy1kuxinFQk1ksvH-- . Date: Sun, 3 Nov 2024 22:06:12 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: Generic phy subsystem fixes for v6.12 --aecsP4KyPr1TaTxP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Linus, Here is the request for phy subsystem fixes. Bunch of qcom driver fixes for same patter over different drivers along with other driver fixes in the subsystem. Though patches are bit more, but diffstat is small. The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git tags/phy-= fixes-6.12 for you to fetch changes up to e70d2677ef4088d59158739d72b67ac36d1b132b: phy: tegra: xusb: Add error pointer check in xusb.c (2024-10-21 23:34:42 = +0530) ---------------------------------------------------------------- phy fixes for 6.12 - Bunch of Qualcomm QMP driver fixes for null deref on suspend, bogus supplies fix and reset entries fix - BCM usb driver init array fix - cadence array offset fix - starfive link configuration fix - config dependency fix for rockchip driver - freescale reset signal fix before pll lock - tegra driver fix for error pointer check ---------------------------------------------------------------- Abel Vesa (1): dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Fix X1E80100 resets ent= ries Bartosz Wawrzyniak (1): phy: cadence: Sierra: Fix offset of DEQ open eye algorithm control re= gister Cristian Ciocaltea (1): phy: phy-rockchip-samsung-hdptx: Depend on CONFIG_COMMON_CLK Dipendra Khadka (1): phy: tegra: xusb: Add error pointer check in xusb.c Jan Kiszka (1): phy: starfive: jh7110-usb: Fix link configuration to controller Johan Hovold (6): dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: add missing x1e80100 pi= pediv2 clocks phy: qcom: qmp-usb: fix NULL-deref on runtime suspend phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend phy: qcom: qmp-combo: move driver data initialisation earlier phy: qcom: qmp-pcie: drop bogus x1e80100 qref supplies Justin Chen (1): phy: usb: disable COMMONONN for dual mode Richard Zhu (1): phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check Sam Edwards (1): phy: usb: Fix missing elements in BCM4908 USB init array Siddharth Vadapalli (1): phy: ti: phy-j721e-wiz: fix usxgmii configuration .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 5 +++-- drivers/phy/broadcom/phy-brcm-usb-init-synopsys.c | 12 +++++++++--- drivers/phy/broadcom/phy-brcm-usb-init.c | 2 ++ drivers/phy/cadence/phy-cadence-sierra.c | 21 +++++++++++------= ---- drivers/phy/freescale/phy-fsl-imx8m-pcie.c | 10 +++++----- drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 3 +-- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 8 ++++---- drivers/phy/qualcomm/phy-qcom-qmp-usb-legacy.c | 1 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 1 + drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 1 + drivers/phy/rockchip/Kconfig | 1 + drivers/phy/starfive/phy-jh7110-usb.c | 16 ++++++++++++++++ drivers/phy/tegra/xusb.c | 2 ++ drivers/phy/ti/phy-j721e-wiz.c | 4 ++-- 14 files changed, 59 insertions(+), 28 deletions(-) --=20 ~Vinod --aecsP4KyPr1TaTxP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+vs47OPLdNbVcHzyfBQHDyUjg0cFAmcnpnwACgkQfBQHDyUj g0eTyQ//dQcr+EhrBl75uoa/UjtjXGGBd9pUI+qb7ZophjudpCbocaQ7qAhkQQ0g BlmuQxU9mymaGDg312EnSOhAE4M0hLSwt801NAcMWMYgh4T4VfKjstWH8Rj6iJX+ A7bqjtW6nXBCQhLzcWOgWfPiM1qX7WA7lieLaCU0EaxmnKU1yKzuoFtF/UXLOle4 DB4Am6nR/ayDA2t1UvoLqJsQsFg11J3Slg+jzU0igP2hP0PyQ7antGSqz5OyKh/U 7HBfaTheHSRK5Wi8iFDEqZz8X1VJxSLTdtoZ4qtuJVFjZcbysqX/4lRYwJAuUDOv GvEYAQrl5HeorecwP5FrWKmbkJzAnvu84NfHmPQ2igppmkhXsYPn2W/fIljy7Vtl V1LuMA9KOaIF02qJnubExmZStTe5hB5DnhT9xHcNvkws7GsrAMstjT0VB/+c8s0r KvGApkWmHsMSYj+i/E3QNB0Bl4+yjtBXBf+gs7kMqfDIyLh6qaxQqgkmwgfE70Bw AHtO/NghAci0Cy8DsQen6XEPym9Mgn/Hp05e0BpCcuz68jw1beP26TvUJnqa3tuw 5KFrZN5EC4zlKUn8BeTy9WKKIXn4yt6REPr6KZCDnca6KuX3aywCGI3DftrP/I0W G3yPQ29YmrelK48fRoPyneorDXvHfaFSFj/eOAZBv86GXi4Wb8I= =cad6 -----END PGP SIGNATURE----- --aecsP4KyPr1TaTxP-- . Date: Sun, 3 Nov 2024 10:54:04 -0800 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.12-rc6 Linus, please merge this batch of hotfixes, thanks. The following changes since commit 01626a18230246efdcea322aa8f067e60ffe5ccd: mm: avoid unconditional one-tick sleep when swapcache_prepare fails (2024-10-28 21:40:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2024-11-03-10-50 for you to fetch changes up to 1d4832becdc2cdb2cffe2a6050c9d9fd8ff1c58c: mm: multi-gen LRU: use {ptep,pmdp}_clear_young_notify() (2024-11-03 10:47:03 -0800) ---------------------------------------------------------------- 17 hotfixes. 9 are cc:stable. 13 are MM and 4 are non-MM. The usual collection of singletons - please see the changelogs. ---------------------------------------------------------------- Andrey Konovalov (1): kasan: remove vmalloc_percpu test Barry Song (1): mm: fix PSWPIN counter for large folios swap-in Chen Ridong (1): mm: shrinker: avoid memleak in alloc_shrinker_info Eugen Hristev (1): .mailmap: update e-mail address for Eugen Hristev Gregory Price (1): vmscan,migrate: fix page count imbalance on node stats when demoting pages Hao Ge (1): mm/codetag: fix null pointer check logic for ref and tag Jarkko Sakkinen (1): mailmap: update Jarkko's email addresses John Hubbard (1): mm/gup: stop leaking pinned pages in low memory conditions Kairui Song (1): mm, swap: avoid over reclaim of full clusters Phillip Lougher (1): Squashfs: fix variable overflow in squashfs_readpage_block Ryusuke Konishi (1): nilfs2: fix potential deadlock with newly created symlinks Vlastimil Babka (1): mm, mmap: limit THP alignment of anonymous mappings to PMD-aligned sizes Wladislav Wiebe (1): tools/mm: -Werror fixes in page-types/slabinfo Yu Zhao (3): mm: allow set/clear page_type again mm: multi-gen LRU: remove MM_LEAF_OLD and MM_NONLEAF_TOTAL stats mm: multi-gen LRU: use {ptep,pmdp}_clear_young_notify() Zi Yan (1): mm: avoid VM_BUG_ON when try to map an anon large folio to zero page. .mailmap | 5 ++- fs/nilfs2/namei.c | 3 ++ fs/squashfs/file_direct.c | 9 ++-- include/linux/alloc_tag.h | 16 ++++--- include/linux/mmzone.h | 7 ++-- include/linux/page-flags.h | 8 ++++ include/linux/swap.h | 1 + mm/gup.c | 33 ++++++++------- mm/kasan/kasan_test_c.c | 27 ------------ mm/migrate.c | 5 ++- mm/mmap.c | 3 +- mm/page_io.c | 4 +- mm/rmap.c | 9 ++-- mm/shrinker.c | 8 ++-- mm/swapfile.c | 49 +++++++++++++--------- mm/vmscan.c | 102 ++++++++++++++++++++++++--------------------- tools/mm/page-types.c | 9 ++-- tools/mm/slabinfo.c | 4 +- 18 files changed, 159 insertions(+), 143 deletions(-) . Date: Mon, 04 Nov 2024 02:08:32 +0200 From: "Jarkko Sakkinen" To: "Linus Torvalds" Cc: "Peter Huewe" , "Jason Gunthorpe" , "David Howells" , , , Subject: [GIT PULL] TPM DEVICE DRIVER: tpmdd-next-6.12-rc7 The following changes since commit 11066801dd4b7c4d75fce65c812723a80c1481ae= : Merge tag 'linux_kselftest-fixes-6.12-rc6' of git://git.kernel.org/pub/sc= m/linux/kernel/git/shuah/linux-kselftest (2024-11-01 16:05:50 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git tags= /tpmdd-next-6.12-rc7 for you to fetch changes up to 9265fed6db601ee2ec47577815387458ef4f047a: tpm: Lock TPM chip in tpm_pm_suspend() first (2024-11-04 01:59:08 +0200) ---------------------------------------------------------------- Hi, This pull request fixes a race condition between tpm_pm_suspend() and tpm_hwrng_read() (I think for good now): https://bugzilla.kernel.org/show_bug.cgi?id=3D219383 BR, Jarkko ---------------------------------------------------------------- Jarkko Sakkinen (1): tpm: Lock TPM chip in tpm_pm_suspend() first drivers/char/tpm/tpm-chip.c | 4 ---- drivers/char/tpm/tpm-interface.c | 32 ++++++++++++++++++++++---------- 2 files changed, 22 insertions(+), 14 deletions(-) . Date: Mon, 4 Nov 2024 09:40:20 +0800 From: Lu Baolu To: Joerg Roedel Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 00/19] [PULL REQUEST] Intel IOMMU updates for v6.13 Hi Joerg, The following changes have been queued for v6.13-rc1. They are about new features and code refactoring, including: - Add domain_alloc_paging support - Enable user space IOPFs in non-PASID and non-svm cases - Small code refactoring and cleanups These patches are based on v6.12-rc6. The complete patches are also available at: https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.13 Please consider them for iommu next. Best regards, baolu Andy Shevchenko (1): iommu/vt-d: Increase buffer size for device name Dr. David Alan Gilbert (1): iommu/vt-d: Remove unused dmar_msi_read Jinjie Ruan (1): iommu/vt-d: Use PCI_DEVID() macro Joel Granados (3): iommu/vt-d: Separate page request queue from SVM iommu/vt-d: Move IOMMU_IOPF into INTEL_IOMMU iommufd: Enable PRI when doing the iommufd_hwpt_alloc Klaus Jensen (2): iommu/vt-d: Remove the pasid present check in prq_event_thread iommu/vt-d: Drop pasid requirement for prq initialization Lu Baolu (8): iommu/vt-d: Add domain_alloc_paging support iommu/vt-d: Remove unused domain_alloc callback iommu/vt-d: Enhance compatibility check for paging domain attach iommu/vt-d: Remove domain_update_iommu_cap() iommu/vt-d: Remove domain_update_iommu_superpage() iommu/vt-d: Refactor first_level_by_default() iommu/vt-d: Refine intel_iommu_domain_alloc_user() iommu/vt-d: Drain PRQs when domain removed from RID Yi Liu (1): iommu/vt-d: Drop s1_pgtbl from dmar_domain Zhenzhong Duan (2): iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes() iommu/vt-d: Fix checks and print in pgtable_walk() drivers/iommu/intel/Kconfig | 2 +- drivers/iommu/intel/Makefile | 2 +- drivers/iommu/intel/dmar.c | 15 +- drivers/iommu/intel/iommu.c | 404 +++++++-------------------- drivers/iommu/intel/iommu.h | 22 +- drivers/iommu/intel/irq_remapping.c | 4 +- drivers/iommu/intel/nested.c | 3 +- drivers/iommu/intel/pasid.c | 34 +-- drivers/iommu/intel/prq.c | 396 ++++++++++++++++++++++++++ drivers/iommu/intel/svm.c | 397 -------------------------- drivers/iommu/iommufd/hw_pagetable.c | 3 +- include/linux/dmar.h | 1 - 12 files changed, 517 insertions(+), 766 deletions(-) create mode 100644 drivers/iommu/intel/prq.c -- 2.43.0 . Date: Mon, 4 Nov 2024 08:50:36 +0100 From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd Cc: Krzysztof Kozlowski , Chanwoo Choi , linux-clk@vger.kernel.org, Sylwester Nawrocki , Alim Akhtar , Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [GIT PULL] clk: samsung: drivers for v6.13 The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-clk-6.13 for you to fetch changes up to 9174fac3b302a853b78c78f2f5ad11462b0c54b0: clk: samsung: Introduce Exynos8895 clock driver (2024-10-26 14:00:12 +0200) ---------------------------------------------------------------- Samsung SoC clock drivers changes for 6.13 1. Tesla FSD: Move number of clocks from DT binding headers to driver, because these are not an ABI and might change while finishing support for the hardware. 2. ExynosAutov920: Add clock controller drivers for PERIC1, MISC, HSI0 and HSI1. Context of patch depends on a fix from fixes branch, thus pull in my earlier pull request with fixes. 3. Google GS101: Do not disable UFS host controller clocks, ever, because gating them does not work well with UFS sleep/power savings. Downstream does not gate them via OS, but uses hardware feature - Automatic Clock Gating - which is not yet supported in upstream. 4. Exynos8895: New SoC with initial support for clock controllers: FSYS0/1, PERIC0/1, PERIS and TOP. 5. Few code style improvements. ---------------------------------------------------------------- Inbaraj E (2): clk: samsung: fsd: do not define number of clocks in bindings dt-bindings: clock: samsung: remove define with number of clocks for FSD Ivaylo Ivanov (3): dt-bindings: clock: samsung: Add Exynos8895 SoC clk: samsung: clk-pll: Add support for pll_{1051x,1052x} clk: samsung: Introduce Exynos8895 clock driver Jinjie Ruan (1): clk: samsung: Fix out-of-bound access of of_match_node() Krzysztof Kozlowski (3): Merge branch 'for-v6.13/clk-dt-bindings' into next/clk Merge tag 'samsung-clk-fixes-6.12' into next/clk Merge branch 'for-v6.13/clk-dt-bindings' into next/clk Peter Griffin (1): clk: samsung: gs101: make all ufs related clocks critical Sunyeal Hong (2): dt-bindings: clock: exynosautov920: add peric1, misc and hsi0/1 clock definitions clk: samsung: exynosautov920: add peric1, misc and hsi0/1 clock support Varada Pavani (2): clk: samsung: Fix block comment style warnings reported by checkpatch clk: samsung: Fix errors reported by checkpatch .../bindings/clock/samsung,exynos8895-clock.yaml | 239 ++ drivers/clk/samsung/Makefile | 1 + drivers/clk/samsung/clk-exynos-audss.c | 2 +- drivers/clk/samsung/clk-exynos3250.c | 2 +- drivers/clk/samsung/clk-exynos4.c | 2 +- drivers/clk/samsung/clk-exynos4412-isp.c | 2 +- drivers/clk/samsung/clk-exynos5250.c | 2 +- drivers/clk/samsung/clk-exynos5260.c | 4 +- drivers/clk/samsung/clk-exynos5410.c | 2 +- drivers/clk/samsung/clk-exynos5420.c | 6 +- drivers/clk/samsung/clk-exynos7.c | 2 +- drivers/clk/samsung/clk-exynos8895.c | 2803 ++++++++++++++++++++ drivers/clk/samsung/clk-exynosautov920.c | 290 ++ drivers/clk/samsung/clk-fsd.c | 23 +- drivers/clk/samsung/clk-gs101.c | 10 +- drivers/clk/samsung/clk-pll.c | 2 + drivers/clk/samsung/clk-pll.h | 2 + drivers/clk/samsung/clk-s3c64xx.c | 2 +- drivers/clk/samsung/clk-s5pv210-audss.c | 2 +- drivers/clk/samsung/clk.c | 2 +- include/dt-bindings/clock/fsd-clk.h | 7 - include/dt-bindings/clock/samsung,exynos8895.h | 453 ++++ include/dt-bindings/clock/samsung,exynosautov920.h | 47 + 23 files changed, 3873 insertions(+), 34 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/samsung,exynos8895-clock.yaml create mode 100644 drivers/clk/samsung/clk-exynos8895.c create mode 100644 include/dt-bindings/clock/samsung,exynos8895.h . Date: Mon, 4 Nov 2024 12:24:16 +0100 From: Ulf Hansson To: Linus , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ulf Hansson Subject: [GIT PULL] MMC fixes for v6.12-rc6 Hi Linus, Here's a PR with a couple of MMC fixes intended for v6.12-rc6. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354: Linux 6.12-rc3 (2024-10-13 14:33:32 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v6.12-rc3 for you to fetch changes up to c4dedaaeb3f78d3718e9c1b1e4d972a6b99073cd: mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process (2024-10-28 12:30:27 +0100) ---------------------------------------------------------------- MMC host: - sdhci-pci-gli: A couple of fixes for low power mode on GL9767 ---------------------------------------------------------------- Ben Chuang (2): mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process drivers/mmc/host/sdhci-pci-gli.c | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) . Date: Mon, 4 Nov 2024 16:46:56 +0100 From: Daniel Lezcano To: "Rafael J. Wysocki" Cc: Lukasz Luba , Linux PM mailing list , Linux Kernel Mailing List , Dmitry Baryshkov , Emil Dahl Juhl , Icenowy Zheng , zhangjiao2 Subject: [GIT PULL] thermal drivers fixes for v6.12 Hi Rafael, please consider the following fixes for v6.12-rc7. I wanted to send the PR last week but I've been busy with other tasks, sorry for that. The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v6.12-rc7 for you to fetch changes up to 725f31f300e300a9d94976bd8f1db6e746f95f63: thermal/of: support thermal zones w/o trips subnode (2024-11-04 15:38:29 +0100) ---------------------------------------------------------------- - Remove a false lockdep backtrace in the LMh driver (Dmitry Baryshkov) - Fix sampling handler context ptr in the libthermal (Emil Dahl Juhl) - Remove the thermal soft link when doing a make clean. The link is created at compilation time (Zhang Jiao) - Accept thermal zone without trip points as stated in the bindings, otherwise the thermal zone fails to initialize (Icenowy Zheng) ---------------------------------------------------------------- Dmitry Baryshkov (1): thermal/drivers/qcom/lmh: Remove false lockdep backtrace Emil Dahl Juhl (1): tools/lib/thermal: Fix sampling handler context ptr Icenowy Zheng (1): thermal/of: support thermal zones w/o trips subnode zhang jiao (1): tools/lib/thermal: Remove the thermal.h soft link when doing make clean drivers/thermal/qcom/lmh.c | 7 +++++++ drivers/thermal/thermal_of.c | 21 ++++++++++----------- tools/lib/thermal/Makefile | 4 +++- tools/lib/thermal/sampling.c | 2 ++ 4 files changed, 22 insertions(+), 12 deletions(-) -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog . Date: Mon, 04 Nov 2024 23:18:26 +0100 From: "Arnd Bergmann" To: "Linus Torvalds" Cc: soc@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] soc: fixes for 6.12, part 2 The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600= 924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git tags/arm-f= ixes-6.12-2 for you to fetch changes up to bbfbb57958635912ba472925622f2bb0bab5f06c: Merge tag 'qcom-drivers-fixes-for-6.12' of https://git.kernel.org/pub/= scm/linux/kernel/git/qcom/linux into arm/fixes (2024-11-04 14:23:09 +010= 0) ---------------------------------------------------------------- soc: fixes for 6.12, part 2 Where the last set of fixes was mostly drivers, this time the devicetree changes all come at once, targeting mostly the Rockchips, Qualcomm and NXP platforms. The Qualcomm bugfixes target the Snapdragon X Elite laptops, specifically problems with PCIe and NVMe support to improve reliability, and a boot regresion on msm8939. Also for Snapdragon platforms, there are a number of correctness changes in the several platform specific device drivers, but none of these are as impactful. On the NXP i.MX platform, the fixes are all for 64-bit i.MX8 variants, correcting individual entries in the devicetree that were incorrect and causing the media, video, mmc and spi drivers to misbehave in minor ways. The Arm SCMI firmware driver gets fixes for a use-after-free bug and for correctly parsing firmware information. On the RISC-V side, there are three minor devicetree fixes for starfive and sophgo, again addressing only minor mistakes. One device driver patch fixes a problem with spurious interrupt handling. ---------------------------------------------------------------- Abel Vesa (2): arm64: dts: qcom: x1e80100: Add Broadcast_AND region in LLCC block arm64: dts: qcom: x1e80100: Fix PCIe 6a lanes description Alexander Stein (1): arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs Arnd Bergmann (8): Merge tag 'imx-fixes-6.12' of https://git.kernel.org/pub/scm/linux= /kernel/git/shawnguo/linux into HEAD Merge tag 'riscv-sophgo-dt-fixes-for-v6.12-rc1' of https://github.= com/sophgo/linux into HEAD Merge tag 'v6.12-rockchip-dtsfixes1' of https://git.kernel.org/pub= /scm/linux/kernel/git/mmind/linux-rockchip into HEAD Merge tag 'riscv-soc-fixes-for-v6.12-rc6' of https://git.kernel.or= g/pub/scm/linux/kernel/git/conor/linux into HEAD Merge tag 'scmi-fixes-6.12-2' of https://git.kernel.org/pub/scm/li= nux/kernel/git/sudeep.holla/linux into HEAD Merge tag 'qcom-arm64-fixes-for-6.12' of https://git.kernel.org/pu= b/scm/linux/kernel/git/qcom/linux into HEAD Merge tag 'qcom-arm64-fixes-for-6.12-2' of https://git.kernel.org/= pub/scm/linux/kernel/git/qcom/linux into HEAD Merge tag 'qcom-drivers-fixes-for-6.12' of https://git.kernel.org/= pub/scm/linux/kernel/git/qcom/linux into arm/fixes Bartosz Golaszewski (1): firmware: qcom: scm: fix a NULL-pointer dereference Bjorn Andersson (2): rpmsg: glink: Handle rejected intent request better soc: qcom: pmic_glink: Handle GLINK intent allocation rejections Charles Han (1): soc: qcom: Add check devm_kasprintf() returned value Conor Dooley (3): firmware: microchip: auto-update: fix poll_complete() to not repor= t spurious timeout errors riscv: dts: starfive: disable unused csi/camss nodes MAINTAINERS: invert Misc RISC-V SoC Support's pattern Cristian Ciocaltea (1): arm64: dts: rockchip: Drop invalid clock-names from es8388 codec n= odes Cristian Marussi (3): firmware: arm_scmi: Reject clear channel request on A2P dt-bindings: firmware: arm,scmi: Add missing vendor string firmware: arm_scmi: Use vendor string in max-rx-timeout-ms Diederik de Haas (4): arm64: dts: rockchip: Remove hdmi's 2nd interrupt on rk3328 arm64: dts: rockchip: Fix wakeup prop names on PineNote BT node arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes arm64: dts: rockchip: Correct GPIO polarity on brcm BT nodes Diogo Silva (1): arm64: dts: imx8: Fix lvds0 device tree Dmitry Baryshkov (1): arm64: dts: qcom: sm8450 fix PIPE clock specification for pcie1 Dragan Simic (2): arm64: dts: rockchip: Move L3 cache outside CPUs in RK3588(S) SoC = dtsi arm64: dts: rockchip: Start cooling maps numbering from zero on RO= CK 5B E Shattow (1): riscv: dts: starfive: Update ethernet phy0 delay parameter values = for Star64 Fabien Parent (1): arm64: dts: qcom: msm8939: revert use of APCS mbox for RPM Geert Uytterhoeven (2): arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-eaidk-= 610 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-sapphi= re-excavator Haibo Chen (1): arm64: dts: imx8ulp: correct the flexspi compatible string Heiko Stuebner (13): arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-= rg353p/v arm64: dts: rockchip: Drop regulator-init-microvolt from two boards arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards arm64: dts: rockchip: Remove undocumented supports-emmc property arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma = lion arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc arm64: dts: rockchip: remove num-slots property from rk3328-nanopi= -r2s-plus arm64: dts: rockchip: remove orphaned pinctrl-names from pinephone= pro ARM: dts: rockchip: fix rk3036 acodec node ARM: dts: rockchip: drop grf reference from rk3036 hdmi ARM: dts: rockchip: Fix the spi controller on rk3036 ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin Johan Hovold (11): arm64: dts: qcom: x1e80100: fix PCIe4 and PCIe6a PHY clocks arm64: dts: qcom: x1e80100: fix PCIe5 PHY clocks firmware: qcom: scm: suppress download mode error arm64: dts: qcom: x1e78100-t14s: fix nvme regulator boot glitch arm64: dts: qcom: x1e80100-crd: fix nvme regulator boot glitch arm64: dts: qcom: x1e80100-vivobook-s15: fix nvme regulator boot g= litch arm64: dts: qcom: x1e80100-yoga-slim7x: fix nvme regulator boot gl= itch arm64: dts: qcom: x1e80100-microsoft-romulus: fix nvme regulator b= oot glitch arm64: dts: qcom: x1e80100-qcp: fix nvme regulator boot glitch arm64: dts: qcom: x1e80100: fix PCIe4 interconnect arm64: dts: qcom: x1e80100: fix PCIe5 interconnect Konrad Dybcio (1): arm64: dts: qcom: x1e80100: Fix up BAR spaces Liu Ying (1): arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Assign "media_isp" cl= ock rate Manikanta Mylavarapu (1): soc: qcom: socinfo: fix revision check in qcom_socinfo_probe() Marek Vasut (1): arm64: dts: imx8mp-phyboard-pollux: Set Video PLL1 frequency to 50= 6.8 MHz Maya Matuszczyk (1): arm64: dts: qcom: x1e80100-crd Rename "Twitter" to "Tweeter" Peng Fan (1): arm64: dts: imx8mp: correct sdhc ipg clk Qingqing Zhou (1): firmware: qcom: scm: Return -EOPNOTSUPP for unsupported SHM bridge= enabling Rajendra Nayak (1): EDAC/qcom: Make irq configuration optional Sam Edwards (1): arm64: dts: rockchip: Designate Turing RK1's system power controll= er Simon Horman (1): MAINTAINERS: Qualcomm SoC: Match reserved-memory bindings Uwe Kleine-K=C3=B6nig (1): riscv: dts: Replace deprecated snps,nr-gpios property for snps,dw-= apb-gpio-port devices Xinqi Zhang (1): firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier() .../devicetree/bindings/firmware/arm,scmi.yaml | 2 +- MAINTAINERS | 12 ++--- arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 4 +- arch/arm/boot/dts/rockchip/rk3036.dtsi | 14 +++--- arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi | 12 ++--- arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi | 4 +- .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 12 +++++ .../freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts | 1 + arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 +-- arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi | 8 ++++ arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 2 +- arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- .../dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 2 + .../boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 2 + arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 10 ++-- .../boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 2 + .../boot/dts/qcom/x1e80100-microsoft-romulus.dtsi | 2 + arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 2 + arch/arm64/boot/dts/qcom/x1e80100.dtsi | 53 +++++++++++++--= ------- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts | 4 +- .../boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts | 2 - arch/arm64/boot/dts/rockchip/rk3328.dtsi | 3 +- arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts | 2 +- .../boot/dts/rockchip/rk3399-pinephone-pro.dts | 2 - .../arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dts | 1 - arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 2 +- .../dts/rockchip/rk3399-sapphire-excavator.dts | 2 +- .../boot/dts/rockchip/rk3566-anbernic-rg353p.dts | 2 +- .../boot/dts/rockchip/rk3566-anbernic-rg353v.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts | 6 +-- arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts | 1 - arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 6 +-- arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts | 1 - arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts | 3 -- arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 20 ++++---- .../boot/dts/rockchip/rk3588-orangepi-5-plus.dts | 1 - .../arm64/boot/dts/rockchip/rk3588-quartzpro64.dts | 1 - arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 4 +- .../arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts | 1 - .../arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi | 1 + .../boot/dts/rockchip/rk3588s-indiedroid-nova.dts | 1 - arch/riscv/boot/dts/sophgo/sg2042.dtsi | 6 +-- arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 2 - .../boot/dts/starfive/jh7110-pine64-star64.dts | 3 +- drivers/edac/qcom_edac.c | 8 ++-- drivers/firmware/arm_scmi/bus.c | 7 +-- drivers/firmware/arm_scmi/common.h | 2 + drivers/firmware/arm_scmi/driver.c | 10 +++- drivers/firmware/microchip/mpfs-auto-update.c | 42 +++------------= -- drivers/firmware/qcom/qcom_scm.c | 17 +++++-- drivers/rpmsg/qcom_glink_native.c | 10 ++-- drivers/soc/qcom/llcc-qcom.c | 3 ++ drivers/soc/qcom/pmic_glink.c | 25 ++++++++-- drivers/soc/qcom/socinfo.c | 8 +++- include/linux/soc/qcom/llcc-qcom.h | 2 + 59 files changed, 213 insertions(+), 158 deletions(-) . Date: Tue, 5 Nov 2024 13:13:27 +0100 (CET) From: Jiri Kosina To: Linus Torvalds Subject: [GIT PULL] HID fixes Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-linus-20241105 to receive ===== - report buffer sanitization fix for HID core (Jiri Kosina) ===== ---------------------------------------------------------------- Jiri Kosina (1): HID: core: zero-initialize the report buffer drivers/hid/hid-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Jiri Kosina SUSE Labs . Date: Wed, 6 Nov 2024 13:44:05 +0200 From: Andy Shevchenko To: Linus Torvalds Cc: LKML , Andy Shevchenko , Geert Uytterhoeven Subject: [GIT PULL] auxdisplay for 6.13-1 Hi Linus, New cycle new tiny update to auxdisplay subsystem. The changes were a few weeks in Linux Next without reported problems. Please, apply to v6.13-rc1 (or to current cycle if you want, there shouldn't be any dependencies or conflicts), Thanks, With Best Regards, Andy Shevchenko The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/andy/linux-auxdisplay.git tags/auxdisplay-v6.13-1 for you to fetch changes up to 0b028ff7e70ecbe5240ad92e36a664af5cf7f382: auxdisplay: Remove unused functions (2024-10-08 20:48:18 +0300) ---------------------------------------------------------------- auxdisplay for v6.13-1 * Move Holtek 16k33 driver to use agnostic i2c_get_match_data() * Miscellaneuous cleanups The following is an automated git shortlog grouped by driver: cfag12864b: - Remove unused functions ht16k33: - Make use of i2c_get_match_data() - Drop explicit initialization of struct i2c_device_id::driver_data to 0 lcd2s: - Drop explicit initialization of struct i2c_device_id::driver_data to 0 ---------------------------------------------------------------- Andy Shevchenko (1): auxdisplay: ht16k33: Make use of i2c_get_match_data() Dr. David Alan Gilbert (1): auxdisplay: Remove unused functions Uwe Kleine-König (1): auxdisplay: Drop explicit initialization of struct i2c_device_id::driver_data to 0 drivers/auxdisplay/cfag12864b.c | 12 ------------ drivers/auxdisplay/ht16k33.c | 10 +++++----- drivers/auxdisplay/lcd2s.c | 2 +- include/linux/cfag12864b.h | 17 ----------------- 4 files changed, 6 insertions(+), 35 deletions(-) -- With Best Regards, Andy Shevchenko . Date: Wed, 6 Nov 2024 13:06:28 +0100 From: Hans de Goede To: Linus Torvalds Cc: Linux Kernel Mailing List , platform-driver-x86@vger.kernel.org, =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Subject: [GIT PULL] platform-drivers-x86 for 6.12-4 Hi Linus, Here is another round of fixes for platform-drivers-x86 for 6.12. Highlights: - AMD PMF: Add new hardware id - AMD PMC: Fix crash when loaded with enable_stb=1 on devices without STB - Dell: Add Alienware hwid for Alienware systems with Dell WMI interface - thinkpad_acpi: Quirk to fix wrong fan speed readings on L480 - New hotkey mappings for Dell and Lenovo laptops Regards, Hans The following changes since commit b012170fed282151f7ba8988a347670c299f5ab3: platform/x86: asus-wmi: Fix thermal profile initialization (2024-10-26 13:03:10 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-v6.12-4 for you to fetch changes up to 1be765b292577c752e0b87bf8c0e92aff6699d8e: platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed (2024-11-06 12:48:42 +0100) ---------------------------------------------------------------- platform-drivers-x86 for v6.12-4 Highlights: - AMD PMF: Add new hardware id - AMD PMC: Fix crash when loaded with enable_stb=1 on devices without STB - Dell: Add Alienware hwid for Alienware systems with Dell WMI interface - thinkpad_acpi: Quirk to fix wrong fan speed readings on L480 - New hotkey mappings for Dell and Lenovo laptops The following is an automated git shortlog grouped by driver: dell-smbios-base: - Extends support to Alienware products dell-wmi-base: - Handle META key Lock/Unlock events ideapad-laptop: - add missing Ideapad Pro 5 fn keys platform/x86/amd/pmc: - Detect when STB is not available platform/x86/amd/pmf: - Add SMU metrics table support for 1Ah family 60h model thinkpad_acpi: - Fix for ThinkPad's with ECFW showing incorrect fan speed ---------------------------------------------------------------- Corey Hickey (1): platform/x86/amd/pmc: Detect when STB is not available Kurt Borja (2): platform/x86: dell-smbios-base: Extends support to Alienware products platform/x86: dell-wmi-base: Handle META key Lock/Unlock events Renato Caldas (1): platform/x86: ideapad-laptop: add missing Ideapad Pro 5 fn keys Shyam Sundar S K (1): platform/x86/amd/pmf: Add SMU metrics table support for 1Ah family 60h model Vishnu Sankar (1): platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed drivers/platform/x86/amd/pmc/pmc.c | 5 +++++ drivers/platform/x86/amd/pmf/core.c | 1 + drivers/platform/x86/amd/pmf/spc.c | 1 + drivers/platform/x86/dell/dell-smbios-base.c | 1 + drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++ drivers/platform/x86/ideapad-laptop.c | 3 +++ drivers/platform/x86/thinkpad_acpi.c | 28 +++++++++++++++++++++++++--- 7 files changed, 42 insertions(+), 3 deletions(-) . Date: Wed, 6 Nov 2024 06:17:08 -0600 From: Nishanth Menon To: Arnd , Olof , SoC Subject: [GIT PULL] soc: ti: Driver updates for v6.13 --ih4nfsy4jsvbujjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Please pull The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git tags/ti-driv= er-soc-for-v6.13 for you to fetch changes up to a4c14f509509a6a24f25edb7619f55f204a8433f: firmware: ti_sci: Remove use of of_match_ptr() helper (2024-10-25 12:56:3= 7 -0500) ---------------------------------------------------------------- TI SoC driver updates for v6.13 - knav_qmss_queue: Cleanups around request_irq params and redundant code. - ti_sci: Power management ops in preperation for suspend/resume capability. Also includes dependency patch to export dev_pm_qos_read_value (acked by Rafael). ---------------------------------------------------------------- Alessandro Zanni (1): soc: ti: knav_qmss_queue: Drop redundant continue statement Andrew Davis (1): firmware: ti_sci: Remove use of of_match_ptr() helper Dave Gerlach (1): firmware: ti_sci: Introduce Power Management Ops Georgi Vlaev (1): firmware: ti_sci: Add support for querying the firmware caps Jinjie Ruan (1): soc: ti: knav_qmss_queue: Use IRQF_NO_AUTOEN flag in request_irq() Kevin Hilman (1): firmware: ti_sci: add CPU latency constraint management Markus Schneider-Pargmann (1): PM: QoS: Export dev_pm_qos_read_value Vibhore Vardhan (1): firmware: ti_sci: Add system suspend and resume call drivers/base/power/qos.c | 1 + drivers/firmware/ti_sci.c | 489 +++++++++++++++++++++++++++++= +++- drivers/firmware/ti_sci.h | 143 +++++++++- drivers/soc/ti/knav_qmss_queue.c | 6 +- include/linux/soc/ti/ti_sci_protocol.h | 30 ++ 5 files changed, 662 insertions(+), 7 deletions(-) --=20 Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5= 849D 1736 249D --ih4nfsy4jsvbujjr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE+KKGk1TrgjIXoxo03bWEnRc2JJ0FAmcrXj0ACgkQ3bWEnRc2 JJ36TxAAh4kYatZvq4I71XeciAfFK6VujsT+qEMjXfxf077vPRRiJkvjV3Kr0Yok RvuYgSysH7zx5vFYEnvImlgE7cesq5DQeXeMalFSv4QSU+wKgDI5K7EJefAfXX1x 0BFQG1cIcdMJ1D1etL/evVrB2KG7V/zsouVVRvlx2rAmqVYREYFasO1GbbB4P4Df UTHFORVlqRby3HuoLujCBULsE8giPx0XJEu2qgOVbgKjzaeXcVOkqS17W//EszTZ 8bRiGDhF73oWoDyzo5ERgNI4QyaWAQJSfROt3Atm4DBYiAkWvrPT4JoLhrZRvJ1v 1OYLxs5sCFY/uv2Fryq1fCPmYSV5JXorgOfJRdPa2LDURZvBaFn744brbz1yFtAT QaxalE5ISlN+PeanHtqJ1Cov02BxdT1hv2nhmCPUWaOM2iQ+3wD9rQiww1qhQmgR XthNmZ2l7toBzdw3zKvX5CN9FbMZ5oXRLvWG8/NzXcFGjJbxBm9wqRVaCLSqA8Cl vq8KTTb1XTTVveBc1rOBfQ5EiF6GKRlqMcpzY5NcSpfJRgzCST43EgZsWm8y8aO5 XQK8n04nF7QLP4MLvVr8O41xDXaB+oO95y2PgbVNgz/Ktijakxc4/2Dn8gJrqnsV G9SXyl7SaLch0YYlArACBiZeIIkCVr2EGsUMRkRrGHRTl5tE7kI= =3YLN -----END PGP SIGNATURE----- --ih4nfsy4jsvbujjr-- . Date: Wed, 6 Nov 2024 19:25:19 +0530 From: Vignesh Raghavendra To: Olof Johansson , Arnd Bergmann , arm-soc , SoC Subject: [GIT PULL 1/2] arm64: dts: ti: K3 devicetree updates for v6.13 --------------SIAwUcQ6quW1oiueQ4q6JF8H Content-Type: multipart/mixed; boundary="------------sUPnlalQ0bVwG0NLg6o4u8wc"; protected-headers="v1" From: Vignesh Raghavendra To: Olof Johansson , Arnd Bergmann , arm-soc , SoC Cc: Tero Kristo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nishanth Menon Message-ID: <3ded4795-2186-4e06-bda6-9c9a65a3fdb9@ti.com> Subject: [GIT PULL 1/2] arm64: dts: ti: K3 devicetree updates for v6.13 --------------sUPnlalQ0bVwG0NLg6o4u8wc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi ARM SoC Maintainers, The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758e= dc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git tags/ti-k3= -dt-for-v6.13 for you to fetch changes up to 767b6a0d0900c951e8b42306bd636268481a97ae: arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon (2024= -11-04 18:56:35 +0530) ---------------------------------------------------------------- TI K3 device tree updates for v6.13 Generic Fixups/Cleanups: - Cleanup bootph-* tags to limit to leaf nodes only - clock IDs for MCSPI instances fixed up across J7xx family - Misc indentation and whitespace cleanup across dts New SoC - J742s2 which is a cutdown of existing J784s4 and uses same EVM SoC Specific features and Fixes: - eQEP (counter) support across AM64/AM62/AM62A AM64 - M4F Remoteproc support - stats collection support for ICSSGs via ti,pa-stats - Add PCIe EP overlays AM65 - stats collection support for ICSSGs via ti,pa-stats AM62: - M4F Remoteproc support - eMMC/SD TAP value updates - dtbs_check fixes for opp_efuse_table AM62A - 1.4GHz opp entry AM62P - 1.4GHz opp entry J7200 - Add PCIe EP overlays - Pinmux node reg range fixes Board Specific AM62 - am62 verdin ivy carrier board support - am625-verdin TPM device support - am62 verdin ivy board support - Beagleplay Mikrobus PWM header support - am62-verdin increase SD regulator startup delay AM64 - am642-phyboard-electra-rdk trickle charger support - am64-phy* drop buswidth from sdhci nodes ---------------------------------------------------------------- Anurag Dutta (3): arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances arm64: dts: ti: k3-j721e: Fix clock IDs for MCSPI instances arm64: dts: ti: k3-j721s2: Fix clock IDs for MCSPI instances Ayush Singh (1): arm64: dts: ti: k3-am625-beagleplay: Enable MikroBUS PWM Bryan Brattlof (4): arm64: dts: ti: k3-am62a: add opp frequencies arm64: dts: ti: k3-am62a7-sk: add 1.4ghz opp entry arm64: dts: ti: k3-am62p: add opp frequencies arm64: dts: ti: k3-am62p5-sk: add 1.4ghz opp entry Daniel Schultz (1): arm64: dts: ti: k3-am642-phyboard-electra-rdk: Enable trickle charg= er Dhruva Gole (1): arm64: dts: ti: k3-am62: use opp_efuse_table for opp-table syscon Francesco Dolcini (2): arm64: dts: ti: k3-am625-verdin: add TPM device arm64: dts: ti: k3-am62-verdin: Fix SD regulator startup delay Garrett Giordano (2): arm64: dts: ti: am62-phycore-som: Increase cpu frequency to 1.4 GHz= Revert "arm64: dts: ti: am62-phyboard-lyra: Add overlay to increase= cpu frequency to 1.4 GHz" Hari Nagalla (5): arm64: dts: ti: k3-am62: Add M4F remoteproc node arm64: dts: ti: k3-am625-sk: Add M4F remoteproc node arm64: dts: ti: k3-am64: Add M4F remoteproc node arm64: dts: ti: k3-am642-sk: Add M4F remoteproc node arm64: dts: ti: k3-am642-evm: Add M4F remoteproc node Jared McArthur (1): arm64: dts: ti: k3-j7200: Fix register map for main domain pmx John Ma (3): arm64: dts: ti: k3-am64-phycore-som: Fix bus-width property in MMC = nodes arm64: dts: ti: k3-am642-phyboard-electra-rdk: Fix bus-width proper= ty in MMC nodes arm64: dts: ti: k3-am62x-phyboard-lyra: Fix indentation in audio-ca= rd Jo=C3=A3o Paulo Gon=C3=A7alves (4): arm64: dts: ti: k3-am62-verdin: Fix SoM ADC compatible dt-bindings: arm: ti: Add verdin am62 ivy board arm64: dts: ti: k3-am62-verdin: add label to som adc node arm64: dts: ti: k3-am62-verdin: Add Ivy carrier board Judith Mendez (6): arm64: dts: ti: k3-am62-main: Add eQEP nodes arm64: dts: ti: k3-am62a-main: Add eQEP nodes arm64: dts: ti: k3-am62p-main: Add eQEP nodes arm64: dts: ti: k3-am64-main: Add eQEP nodes arm64: dts: ti: k3-am64x-sk: Enable eQEP arm64: dts: ti: k3-am62-main: Update otap/itap values Krzysztof Kozlowski (1): arm64: dts: ti: minor whitespace cleanup MD Danish Anwar (4): arm64: dts: ti: k3-am65-main: Add ti,pruss-pa-st node arm64: dts: ti: k3-am654-icssg2: Add ti,pa-stats property arm64: dts: ti: k3-am64-main: Add ti,pruss-pa-st node arm64: dts: ti: k3-am64: Add ti,pa-stats property Manorit Chawdhry (17): arm64: dts: ti: Refactor J784s4 SoC files to a common file arm64: dts: ti: Refactor J784s4-evm to a common file dt-bindings: arm: ti: Add bindings for J742S2 SoCs and Boards arm64: dts: ti: Introduce J742S2 SoC family arm64: dts: ti: Add support for J742S2 EVM board arm64: dts: ti: k3-j784s4-j742s2-mcu-wakeup: Move bootph from mcu_t= imer1 to mcu_timer0 arm64: dts: ti: k3-j784s4-j742s2-mcu-wakeup: Remove parent nodes bo= otph-* arm64: dts: ti: k3-j784s4: Add bootph-* properties arm64: dts: ti: k3-j721s2: Add bootph-* properties arm64: dts: ti: k3-j721e: Add bootph-* properties arm64: dts: ti: k3-j7200: Add bootph-* properties arm64: dts: ti: k3-j784s4-j742s2-evm-common: Remove parent nodes bo= otph-* arm64: dts: ti: k3-j721s2-evm*: Add bootph-* properties arm64: dts: ti: k3-am68-sk*: Add bootph-* properties arm64: dts: ti: k3-j721e-evm*: Add bootph-* properties arm64: dts: ti: k3-j721e-sk*: Add bootph-* properties arm64: dts: ti: k3-j7200-evm*: Add bootph-* properties Nathan Morrisson (2): arm64: dts: ti: k3-am62x-phyboard-lyra: Drop unnecessary McASP AFIF= Os arm64: dts: ti: k3-am62a7-phyboard-lyra-rdk: Update ethernet intern= al delay Siddharth Vadapalli (2): arm64: dts: ti: k3-j7200-evm: Add overlay for PCIE1 Endpoint Mode arm64: dts: ti: k3-am642-evm: Add overlay for PCIe0 EP mode Wadim Egorov (2): arm64: dts: ti: k3-am62-phycore-som: Add M4F remoteproc nodes arm64: dts: ti: k3-am64-phycore-som: Add M4F remoteproc nodes Documentation/devicetree/bindings/arm/ti/k3.yaml | 8 + arch/arm64/boot/dts/ti/Makefile | 18 +- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 74 +- arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 13 + arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi | 37 +- arch/arm64/boot/dts/ti/k3-am62-verdin-ivy.dtsi | 655 +++ arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 12 +- arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 9 +- arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 12 + .../boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso | 20 - arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-ivy.dts | 22 + arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-ivy.dts | 22 + arch/arm64/boot/dts/ti/k3-am625.dtsi | 2 +- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 27 + arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi | 5 + arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts | 4 + arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 9 + arch/arm64/boot/dts/ti/k3-am62a7.dtsi | 51 + arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi | 27 + arch/arm64/boot/dts/ti/k3-am62p-j722s-common-wakeup.dtsi | 5 + arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 9 + arch/arm64/boot/dts/ti/k3-am62p5.dtsi | 47 + arch/arm64/boot/dts/ti/k3-am62x-phyboard-lyra.dtsi | 6 +- arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 19 + arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 37 + arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 13 + arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi | 29 +- arch/arm64/boot/dts/ti/k3-am642-evm-pcie0-ep.dtso | 51 + arch/arm64/boot/dts/ti/k3-am642-evm.dts | 22 +- arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 5 +- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 36 + arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 15 + arch/arm64/boot/dts/ti/k3-am654-icssg2.dtso | 1 + arch/arm64/boot/dts/ti/k3-am654-idk.dtso | 2 + arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 8 + arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 5 +- arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 15 +- arch/arm64/boot/dts/ti/k3-j7200-evm-pcie1-ep.dtso | 53 + arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 40 +- arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 17 +- arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi | 6 + arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 16 + arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 2 + arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 16 +- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 18 + arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi | 5 + arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts | 14 + arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 17 +- arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 19 +- arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 3 + arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 2 +- arch/arm64/boot/dts/ti/k3-j742s2-evm.dts | 26 + arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi | 45 + arch/arm64/boot/dts/ti/k3-j742s2.dtsi | 98 + arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 1488 +---= - arch/arm64/boot/dts/ti/k3-j784s4-j742s2-common.dtsi | 148 + arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 1481 ++++= + arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi | 2671 ++++= +++++ ...u-wakeup.dtsi =3D> k3-j784s4-j742s2-mcu-wakeup-common.dtsi} | 12 +-= ...4s4-thermal.dtsi =3D> k3-j784s4-j742s2-thermal-common.dtsi} | 0 arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 2847 +---= ------ arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 133 +- 62 files changed, 6066 insertions(+), 4463 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62-verdin-ivy.dtsi delete mode 100644 arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz= -opp.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-ivy.dt= s create mode 100644 arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-ivy.dts create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-pcie0-ep.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-evm-pcie1-ep.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-j742s2-evm.dts create mode 100644 arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j742s2.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-j742s2-common.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dt= si create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.d= tsi rename arch/arm64/boot/dts/ti/{k3-j784s4-mcu-wakeup.dtsi =3D> k3-j784s4-= j742s2-mcu-wakeup-common.dtsi} (99%) rename arch/arm64/boot/dts/ti/{k3-j784s4-thermal.dtsi =3D> k3-j784s4-j74= 2s2-thermal-common.dtsi} (100%) --=20 Regards Vignesh --------------sUPnlalQ0bVwG0NLg6o4u8wc-- --------------SIAwUcQ6quW1oiueQ4q6JF8H Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEyRC2zAhGcGjrhiNExEYeRXyRFuMFAmcrdUgFAwAAAAAACgkQxEYeRXyRFuNB Ewf/WESZfT+MqtlMGASNMEehnRUr+0ln6ghNHoFft8+jUTRRdct/sO9/nWh58xMvPaxCwL17KkyO smeQpxxSqgrM8iVoUfXgtHR+yeUDnO7VUniwnTjVCtF2w+eCsignat4L3JKwGCBc0AXjbJxCv0yJ MODl6uF/tFA8wuoW2PHsJwYN34tSA8El6CieUMJtyazZ1ekecibSOVa9wbxmy5McuyzHYTbP5PqP T8Q0WK+xmzupLp0bCvnvWbsOoFglTYRdy+4vasutyafH0uVlWH0Pieh7yum/hl9+IW6h0bCqs7Db ZeeEBlW0sr1/llwmQdFsZZ2GYDJ/34u9xdtvBNYUKQ== =qi1u -----END PGP SIGNATURE----- --------------SIAwUcQ6quW1oiueQ4q6JF8H-- . Date: Wed, 6 Nov 2024 16:21:54 +0200 From: Abel Vesa To: Mike Turquette , Stephen Boyd Cc: imx@lists.linux.dev, NXP Linux Team , linux-clk@vger.kernel.org, Linux Kernel Mailing List Subject: [GIT PULL] clk: imx: Updates for v6.13 The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git/ tags/clk-imx-6.13 for you to fetch changes up to 81a206d736c19139d3863b79e7174f9e98b45499: clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains() (2024-11-05 12:07:59 +0200) ---------------------------------------------------------------- i.MX clocks changes for 6.13 - Document the compatible for i.MX95 HSIO BLK CTRL - Add the HSIO BLK CTRL provider to the i.MX95 driver - Moved the CLK_END macro from bindings to driver for i.MX93 - Add support for i.MX91 CCM to the i.MX93 driver - Add workaround as a fix for errata e10858 to the lpcg-scu driver - Fix PLL initialization and power up for i.MX93 in fracn-gppll clock type - Fix clock enable state save/restore in clk-scu clock implementation - Skip HDMI LPCG clocks save/restore in lpcg-scu clock implementation - Fix return value check on PM domains attach in imx8-acm driver ---------------------------------------------------------------- Dong Aisheng (1): clk: imx: clk-scu: fix clk enable state save and restore Peng Fan (4): clk: imx: lpcg-scu: SW workaround for errata (e10858) clk: imx: fracn-gppll: correct PLL initialization flow clk: imx: fracn-gppll: fix pll power up clk: imx: lpcg-scu: Skip HDMI LPCG clock save/restore Pengfei Li (4): clk: imx93: Move IMX93_CLK_END macro to clk driver dt-bindings: clock: imx93: Drop IMX93_CLK_END macro definition dt-bindings: clock: Add i.MX91 clock support clk: imx: add i.MX91 clk Richard Zhu (2): dt-bindings: clock: nxp,imx95-blk-ctl: Add compatible string for i.MX95 HSIO BLK CTRL clk: imx95-blk-ctl: Add one clock gate for HSIO block Yang Yingliang (1): clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains() .../devicetree/bindings/clock/imx93-clock.yaml | 1 + .../bindings/clock/nxp,imx95-blk-ctl.yaml | 5 +- drivers/clk/imx/clk-fracn-gppll.c | 10 ++-- drivers/clk/imx/clk-imx8-acm.c | 4 +- drivers/clk/imx/clk-imx93.c | 63 ++++++++++++++-------- drivers/clk/imx/clk-imx95-blk-ctl.c | 20 +++++++ drivers/clk/imx/clk-lpcg-scu.c | 41 +++++++++++--- drivers/clk/imx/clk-scu.c | 2 +- include/dt-bindings/clock/imx93-clock.h | 6 ++- 9 files changed, 113 insertions(+), 39 deletions(-) . Date: Wed, 6 Nov 2024 08:04:25 -0800 From: Sean Christopherson To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Christopherson Subject: [GIT PULL] KVM: x86 and selftests fixes for 6.12-rcN Please pull several fixes for 6.12, and to save us both effort, please also apply several fixes that should probably go into 6.12 (the selftest fix definitely needs to land in 6.12). https://lore.kernel.org/all/20241106034031.503291-1-jsperbeck@google.com https://lore.kernel.org/all/20241105010558.1266699-2-dionnaglaze@google.com https://lore.kernel.org/all/20241106015135.2462147-1-seanjc@google.com And while I have your attention, I'd also like your input on a proposed "fix" for Intel PT virtualization, which is probably belongs in 6.12 too, if you agree with the direction. https://lore.kernel.org/all/20241101185031.1799556-2-seanjc@google.com Note, this is based on v6.12-rc5 in order to pull in the necessary base for the -march=x86-64-v2 fix. The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e: Linux 6.12-rc5 (2024-10-27 12:52:02 -1000) are available in the Git repository at: https://github.com/kvm-x86/linux.git tags/kvm-x86-fixes-6.12-rcN for you to fetch changes up to e5d253c60e9627a22940e00a05a6115d722f07ed: KVM: SVM: Propagate error from snp_guest_req_init() to userspace (2024-11-04 22:03:04 -0800) ---------------------------------------------------------------- KVM x86 and selftests fixes for 6.12: - Increase the timeout for the memslot performance selftest to avoid false failures on arm64 and nested x86 platforms. - Fix a goof in the guest_memfd selftest where a for-loop initialized a bit mask to zero instead of BIT(0). - Disable strict aliasing when building KVM selftests to prevent the compiler from treating things like "u64 *" to "uint64_t *" cases as undefined behavior, which can lead to nasty, hard to debug failures. - Force -march=x86-64-v2 for KVM x86 selftests if and only if the uarch is supported by the compiler. - When emulating a guest TLB flush for a nested guest, flush vpid01, not vpid02, if L2 is active but VPID is disabled in vmcs12, i.e. if L2 and L1 are sharing VPID '0' (from L1's perspective). - Fix a bug in the SNP initialization flow where KVM would return '0' to userspace instead of -errno on failure. ---------------------------------------------------------------- Maxim Levitsky (1): KVM: selftests: memslot_perf_test: increase guest sync timeout Patrick Roy (1): KVM: selftests: fix unintentional noop test in guest_memfd_test.c Sean Christopherson (4): KVM: selftests: Disable strict aliasing KVM: selftests: Don't force -march=x86-64-v2 if it's unsupported KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled KVM: SVM: Propagate error from snp_guest_req_init() to userspace arch/x86/kvm/svm/sev.c | 7 ++++-- arch/x86/kvm/vmx/nested.c | 30 ++++++++++++++++++++----- arch/x86/kvm/vmx/vmx.c | 2 +- tools/testing/selftests/kvm/Makefile | 10 +++++---- tools/testing/selftests/kvm/guest_memfd_test.c | 2 +- tools/testing/selftests/kvm/memslot_perf_test.c | 2 +- 6 files changed, 39 insertions(+), 14 deletions(-) . Date: Wed, 6 Nov 2024 12:22:50 -0500 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mathieu Desnoyers , Kalesh Singh Subject: [GIT PULL] tracefs: Fix regression of setting group permissions at boot Kalesh Singh Linus, Fix tracefs mount options: The commit 78ff64081949 ("vfs: Convert tracefs to use the new mount API") broke the gid setting when set by fstab or other mount utility. It is ignored when it is set. Fix the code so that it recognizes the option again and will honor the settings on mount at boot up. Update the internal documentation and create a selftest to make sure it doesn't break again in the future. Please pull the latest tracefs-v6.12-rc6 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git tracefs-v6.12-rc6 Tag SHA1: ba611308a30ae768483f77653d25ac6c98c618a7 Head SHA1: 8b55572e51805184353ee7d587c720a51818fb82 Kalesh Singh (3): tracing: Fix tracefs mount options tracing: Document tracefs gid mount option tracing/selftests: Add tracefs mount options test ---- fs/tracefs/inode.c | 12 ++- kernel/trace/trace.c | 4 + .../ftrace/test.d/00basic/mount_options.tc | 101 +++++++++++++++++++++ .../ftrace/test.d/00basic/test_ownership.tc | 16 +--- tools/testing/selftests/ftrace/test.d/functions | 25 +++++ 5 files changed, 142 insertions(+), 16 deletions(-) create mode 100644 tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc --------------------------- diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c index 1748dff58c3b..cfc614c638da 100644 --- a/fs/tracefs/inode.c +++ b/fs/tracefs/inode.c @@ -392,6 +392,9 @@ static int tracefs_reconfigure(struct fs_context *fc) struct tracefs_fs_info *sb_opts = sb->s_fs_info; struct tracefs_fs_info *new_opts = fc->s_fs_info; + if (!new_opts) + return 0; + sync_filesystem(sb); /* structure copy of new mount options to sb */ *sb_opts = *new_opts; @@ -478,14 +481,17 @@ static int tracefs_fill_super(struct super_block *sb, struct fs_context *fc) sb->s_op = &tracefs_super_operations; sb->s_d_op = &tracefs_dentry_operations; - tracefs_apply_options(sb, false); - return 0; } static int tracefs_get_tree(struct fs_context *fc) { - return get_tree_single(fc, tracefs_fill_super); + int err = get_tree_single(fc, tracefs_fill_super); + + if (err) + return err; + + return tracefs_reconfigure(fc); } static void tracefs_free_fc(struct fs_context *fc) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index a8f52b6527ca..2b64b3ec67d9 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -5501,6 +5501,10 @@ static const struct file_operations tracing_iter_fops = { static const char readme_msg[] = "tracing mini-HOWTO:\n\n" + "By default tracefs removes all OTH file permission bits.\n" + "When mounting tracefs an optional group id can be specified\n" + "which adds the group to every directory and file in tracefs:\n\n" + "\t e.g. mount -t tracefs [-o [gid=]] nodev /sys/kernel/tracing\n\n" "# echo 0 > tracing_on : quick way to disable tracing\n" "# echo 1 > tracing_on : quick way to re-enable tracing\n\n" " Important files:\n" diff --git a/tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc b/tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc new file mode 100644 index 000000000000..35e8d47d6072 --- /dev/null +++ b/tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc @@ -0,0 +1,101 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# description: Test tracefs GID mount option +# requires: "[gid=]":README + +fail() { + local msg="$1" + + echo "FAILED: $msg" + exit_fail +} + +find_alternate_gid() { + local original_gid="$1" + tac /etc/group | grep -v ":$original_gid:" | head -1 | cut -d: -f3 +} + +mount_tracefs_with_options() { + local mount_point="$1" + local options="$2" + + mount -t tracefs -o "$options" nodev "$mount_point" + + setup +} + +unmount_tracefs() { + local mount_point="$1" + + # Need to make sure the mount isn't busy so that we can umount it + (cd $mount_point; finish_ftrace;) + + cleanup +} + +create_instance() { + local mount_point="$1" + local instance="$mount_point/instances/$(mktemp -u test-XXXXXX)" + + mkdir "$instance" + echo "$instance" +} + +remove_instance() { + local instance="$1" + + rmdir "$instance" +} + +check_gid() { + local mount_point="$1" + local expected_gid="$2" + + echo "Checking permission group ..." + + cd "$mount_point" + + for file in "." "events" "events/sched" "events/sched/sched_switch" "events/sched/sched_switch/enable"; do + local gid=`stat -c "%g" $file` + if [ "$gid" -ne "$expected_gid" ]; then + cd - # Return to the previous working directory (tracefs root) + fail "$(realpath $file): Expected group $expected_gid; Got group $gid" + fi + done + + cd - # Return to the previous working directory (tracefs root) +} + +test_gid_mount_option() { + local mount_point=$(get_mount_point) + local mount_options=$(get_mnt_options "$mount_point") + local original_group=$(stat -c "%g" .) + local other_group=$(find_alternate_gid "$original_group") + + # Set up mount options with new GID for testing + local new_options=`echo "$mount_options" | sed -e "s/gid=[0-9]*/gid=$other_group/"` + if [ "$new_options" = "$mount_options" ]; then + new_options="$mount_options,gid=$other_group" + mount_options="$mount_options,gid=$original_group" + fi + + # Unmount existing tracefs instance and mount with new GID + unmount_tracefs "$mount_point" + mount_tracefs_with_options "$mount_point" "$new_options" + + check_gid "$mount_point" "$other_group" + + # Check that files created after the mount inherit the GID + local instance=$(create_instance "$mount_point") + check_gid "$instance" "$other_group" + remove_instance "$instance" + + # Unmount and remount with the original GID + unmount_tracefs "$mount_point" + mount_tracefs_with_options "$mount_point" "$mount_options" + check_gid "$mount_point" "$original_group" +} + +test_gid_mount_option + +exit 0 diff --git a/tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc b/tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc index 094419e190c2..e71cc3ad0bdf 100644 --- a/tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc +++ b/tools/testing/selftests/ftrace/test.d/00basic/test_ownership.tc @@ -1,24 +1,14 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 # description: Test file and directory ownership changes for eventfs +# requires: "[gid=]":README original_group=`stat -c "%g" .` original_owner=`stat -c "%u" .` -mount_point=`stat -c '%m' .` +local mount_point=$(get_mount_point) -# If stat -c '%m' does not work (e.g. busybox) or failed, try to use the -# current working directory (which should be a tracefs) as the mount point. -if [ ! -d "$mount_point" ]; then - if mount | grep -qw $PWD ; then - mount_point=$PWD - else - # If PWD doesn't work, that is an environmental problem. - exit_unresolved - fi -fi - -mount_options=`mount | grep "$mount_point" | sed -e 's/.*(\(.*\)).*/\1/'` +mount_options=$(get_mnt_options "$mount_point") # find another owner and group that is not the original other_group=`tac /etc/group | grep -v ":$original_group:" | head -1 | cut -d: -f3` diff --git a/tools/testing/selftests/ftrace/test.d/functions b/tools/testing/selftests/ftrace/test.d/functions index 779f3e62ec90..84d6a9c7ad67 100644 --- a/tools/testing/selftests/ftrace/test.d/functions +++ b/tools/testing/selftests/ftrace/test.d/functions @@ -193,3 +193,28 @@ ftrace_errlog_check() { # err-prefix command-with-error-pos-by-^ command-file # " Command: " and "^\n" => 13 test $(expr 13 + $pos) -eq $N } + +# Helper to get the tracefs mount point +get_mount_point() { + local mount_point=`stat -c '%m' .` + + # If stat -c '%m' does not work (e.g. busybox) or failed, try to use the + # current working directory (which should be a tracefs) as the mount point. + if [ ! -d "$mount_point" ]; then + if mount | grep -qw "$PWD"; then + mount_point=$PWD + else + # If PWD doesn't work, that is an environmental problem. + exit_unresolved + fi + fi + echo "$mount_point" +} + +# Helper function to retrieve mount options for a given mount point +get_mnt_options() { + local mnt_point="$1" + local opts=$(mount | grep -m1 "$mnt_point" | sed -e 's/.*(\(.*\)).*/\1/') + + echo "$opts" +} \ No newline at end of file . Date: Thu, 7 Nov 2024 10:15:40 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Linus Torvalds Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Trevor Gamblin , Erik Schumacher Subject: [GIT PULL] pwm: Fix period setting in imx-tpm driver and a maintainer update --injfv32txdhjxuo5 Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Subject: [GIT PULL] pwm: Fix period setting in imx-tpm driver and a maintainer update MIME-Version: 1.0 Hello Linus, the following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.12-rc7-fixes for you to fetch changes up to 517fb4d77c44c7519ae6937329c496894461f416: MAINTAINERS: add self as reviewer for AXI PWM GENERATOR (2024-10-25 11:31:17 +0200) I hesitated a bit if I should send this pull request. The pwm-imx-tpm issue is old (introduced in v5.2-rc1). On the other hand it's a real bugfix that I'd like to see backported to stable. So I think its honest to ask for getting it into v6.12, too. The maintainer update is just a commit I wouldn't have sent alone today, but as there is a PR now, it thought to value Trevor's effort by sending the update along with this fix. The commits are in next since Oct 28, thanks for pulling this for 6.12-rc7. Best regards Uwe ---------------------------------------------------------------- pwm: Fix period setting in imx-tpm driver and a maintainer update Erik Schumacher found and fixed a problem in the calculation of the PWM period setting yielding too long periods. Trevor Gamblin---who already cared about mainlining the pwm-axi-pwmgen driver---stepped forward as an additional reviewer. Thanks to Erik and Trevor. ---------------------------------------------------------------- Erik Schumacher (1): pwm: imx-tpm: Use correct MODULO value for EPWM mode Trevor Gamblin (1): MAINTAINERS: add self as reviewer for AXI PWM GENERATOR MAINTAINERS | 1 + drivers/pwm/pwm-imx-tpm.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) --injfv32txdhjxuo5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmcshTkACgkQj4D7WH0S /k5+bwf/WknJrVBgzxMzB/pafxdZqqVxO5lKDhC/dkcAGaoKlrwDdLBGgrv6aQvu RJ2KN8JiCtrBzywTBbq+LUnxujeqpGmGsUwt65d5yT9DkL9ScuxFhY+lTAadv+qA tgDEVP+6wHSXZcgccYZmUN4Ov1q1tz3MfZMNT9qfa3xCDdDwfgbvNLMxvdfAt6C/ G2pcvZtU/G8dtuvMEgJ6xWMAu97ZLZ1y8bC19zh+xSBqtDibPitgMCe5FWecbPW8 qGK3eLpBj4Ahb5fXbsAJzLcCC1macjDJnC9ca8av0jfJydcid9u623tGQjeDJq9e j8g4UTP6odpL1mwgbOJvMhDTgk6lRg== =YSb8 -----END PGP SIGNATURE----- --injfv32txdhjxuo5-- . Date: Thu, 07 Nov 2024 22:21:33 +0000 From: Mark Brown To: Linus Torvalds Cc: Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] regulator fixes for v6.12-rc6 The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354: Linux 6.12-rc3 (2024-10-13 14:33:32 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-fix-v6.12-rc6 for you to fetch changes up to 5e53e4a66bc7430dd2d11c18a86410e3a38d2940: regulator: rk808: Add apply_bit for BUCK3 on RK809 (2024-11-01 14:47:08 +0000) ---------------------------------------------------------------- regulator: Fixes for v6.12 A couple of small fixes for drivers, nothing particularly remarkable. ---------------------------------------------------------------- ChiYuan Huang (1): regulator: rtq2208: Fix uninitialized use of regulator_config Mikhail Rudenko (1): regulator: rk808: Add apply_bit for BUCK3 on RK809 drivers/regulator/rk808-regulator.c | 2 ++ drivers/regulator/rtq2208-regulator.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) . Date: Thu, 07 Nov 2024 22:21:57 +0000 From: Mark Brown To: Linus Torvalds Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: [GIT PULL] SPI fixes for v6.12-rc6 The following changes since commit 25f00a13dccf8e45441265768de46c8bf58e08f6: spi: spi-fsl-dspi: Fix crash when not using GPIO chip select (2024-10-23 22:37:54 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v6.12-rc6 for you to fetch changes up to ebdcba2126a817da4efc085c9d4dce0c51942eba: MAINTAINERS: update AMD SPI maintainer (2024-11-04 14:07:09 +0000) ---------------------------------------------------------------- spi: MAINTAINERS update for v6.12 An update for the maintainers of the AMD driver following some job changes there. ---------------------------------------------------------------- Raju Rangoju (1): MAINTAINERS: update AMD SPI maintainer MAINTAINERS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) . Date: Thu, 7 Nov 2024 18:02:05 -0500 From: Kent Overstreet To: Linus Torvalds Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] bcachefs fixes for 6.12-rc7 Hi Linus, about the usual batch of fixes... - rebased to rc6 because upstream bugs were interfering with my CI results; also, there's still a bug in memory allocation profiling that Andrew hasn't sent you a fix for, which is keeping me from flipping on leak detection in all my tests - bcachefs devs take note (and anyone dealing with syzbot): I now have a ktest test for building a kernel and running a syzbot reproducer in a single command, see https://evilpiepirate.org/git/ktest.git/commit/?id=3c30e501fb0d1413849cfc4f5832f8f5cff48585 The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: git://evilpiepirate.org/bcachefs.git tags/bcachefs-2024-11-07 for you to fetch changes up to 8440da933127fc5330c3d1090cdd612fddbc40eb: bcachefs: Fix UAF in __promote_alloc() error path (2024-11-07 16:48:21 -0500) ---------------------------------------------------------------- bcachefs fixes for 6.12-rc7 Some trivial syzbot fixes, two more serious btree fixes found by looping single_devices.ktest small_nodes: - Topology error on split after merge, where we accidentaly picked the node being deleted for the pivot, resulting in an assertion pop - New nodes being preallocated were left on the freedlist, unlocked, resulting in them sometimes being accidentally freed: this dated from pre-cycle detector, when we could leave them locked. This should have resulted in more explosions and fireworks, but turned out to be surprisingly hard to hit because the preallocated nodes were being used right away. the fix for this is bigger than we'd like - reworking btree list handling was a bit invasive - but we've now got more assertions and it's well tested. - Also another mishandled transaction restart fix (in btree_node_prefetch) - we're almost done with those. ---------------------------------------------------------------- Hongbo Li (1): bcachefs: check the invalid parameter for perf test Kent Overstreet (7): bcachefs: Fix null ptr deref in bucket_gen_get() bcachefs: Fix error handling in bch2_btree_node_prefetch() bcachefs: Ancient versions with bad bkey_formats are no longer supported bcachefs: Fix topology errors on split after merge bcachefs: Ensure BCH_FS_may_go_rw is set before exiting recovery bcachefs: btree_cache.freeable list fixes bcachefs: Fix UAF in __promote_alloc() error path Pei Xiao (1): bcachefs: add check NULL return of bio_kmalloc in journal_read_bucket Piotr Zalewski (1): bcachefs: Change OPT_STR max to be 1 less than the size of choices array fs/bcachefs/bkey.c | 7 +-- fs/bcachefs/btree_cache.c | 107 ++++++++++++++++++++++-------------- fs/bcachefs/btree_cache.h | 2 + fs/bcachefs/btree_node_scan.c | 2 +- fs/bcachefs/btree_update_interior.c | 30 ++++++---- fs/bcachefs/buckets.h | 19 ++++--- fs/bcachefs/errcode.h | 1 + fs/bcachefs/io_read.c | 10 ++-- fs/bcachefs/io_write.c | 7 +-- fs/bcachefs/journal_io.c | 2 + fs/bcachefs/opts.c | 4 +- fs/bcachefs/recovery.c | 7 +++ fs/bcachefs/recovery_passes.c | 6 ++ fs/bcachefs/tests.c | 5 ++ 14 files changed, 131 insertions(+), 78 deletions(-) . Date: Fri, 8 Nov 2024 10:13:51 +0800 From: Lu Baolu To: Joerg Roedel Cc: Jason Gunthorpe , Kevin Tian , Yi Liu , iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 00/13] [PULL REQUEST] Intel IOMMU updates for v6.13 (2nd Hi Joerg, I apologize, I should have put all patches in a single pull request. However, the feature introduced in this pull request needed extra rounds of review and is now ready for merge. I'm trying to merge this series in this merge window because it's self-contained and other series, for vfio and iommufd, depend on it. Merging this series in time will simplify the upstream process for those series. With above explained, the following changes have been queued for v6.13-rc1, including: - Add domain replacement support for pasid These patches are based on the vtd branch of the iommu tree. The complete patches are also available at: https://github.com/LuBaolu/intel-iommu/commits/vtd-update-for-v6.13 Please consider them for iommu next. Best regards, baolu Jason Gunthorpe (1): iommu/arm-smmu-v3: Make set_dev_pasid() op support replace Yi Liu (12): iommu: Pass old domain to set_dev_pasid op iommu/vt-d: Add a helper to flush cache for updating present pasid entry iommu/vt-d: Refactor the pasid setup helpers iommu/vt-d: Add pasid replace helpers iommu/vt-d: Consolidate the struct dev_pasid_info add/remove iommu/vt-d: Add iommu_domain_did() to get did iommu/vt-d: Make intel_iommu_set_dev_pasid() to handle domain replacement iommu/vt-d: Limit intel_iommu_set_dev_pasid() for paging domain iommu/vt-d: Make intel_svm_set_dev_pasid() support domain replacement iommu/vt-d: Make identity_domain_set_dev_pasid() to handle domain replacement iommu/vt-d: Add set_dev_pasid callback for nested domain iommu: Make set_dev_pasid op support domain replacement drivers/iommu/amd/amd_iommu.h | 3 +- drivers/iommu/amd/pasid.c | 6 +- .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 5 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 12 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 2 +- drivers/iommu/intel/iommu.c | 176 ++++-- drivers/iommu/intel/iommu.h | 34 ++ drivers/iommu/intel/nested.c | 50 ++ drivers/iommu/intel/pasid.c | 553 +++++++++++++----- drivers/iommu/intel/pasid.h | 22 +- drivers/iommu/intel/svm.c | 36 +- drivers/iommu/iommu.c | 3 +- include/linux/iommu.h | 5 +- 13 files changed, 657 insertions(+), 250 deletions(-) -- 2.43.0 . Date: Fri, 8 Nov 2024 10:54:41 +0530 From: Madhavan Srinivasan To: Linus Torvalds Cc: LKML , linuxppc-dev@lists.ozlabs.org, Michael Ellerman , Christophe Leroy , Nicholas Piggin , Naveen N Rao , Gautam Menghani Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-6.12-6 tag -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Linus, Please pull a powerpc fix for 6.12: The following changes since commit cf8989d20d64ad702a6210c11a0347ebf3852aa7: powerpc/powernv: Free name on error in opal_event_init() (2024-10-16 09:26:50 +1100) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-6.12-6 for you to fetch changes up to a373830f96db288a3eb43a8692b6bcd0bd88dfe1: KVM: PPC: Book3S HV: Mask off LPCR_MER for a vCPU before running it to avoid spurious interrupts (2024-11-06 11:36:09 +0530) - ------------------------------------------------------------------ powerpc fixes for 6.12 #6 - Fix spurious interrupts in Book3S HV Nested KVM. Thanks to: Gautam Menghani. - ------------------------------------------------------------------ Gautam Menghani (1): KVM: PPC: Book3S HV: Mask off LPCR_MER for a vCPU before running it to avoid spurious interrupts arch/powerpc/kvm/book3s_hv.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEqX2DNAOgU8sBX3pRpnEsdPSHZJQFAmctnxQACgkQpnEsdPSH ZJQw/xAAn7YAlShylnKkc9vhAr0vEPT+4KqtH3J5ijmoJRPtkpPUQDQRhW3N6ZOx IDDHMDuRZ6AiPChbLoc+6Q/VQqtzydwnxj2hN9IMhJ71Zjvr7HrSjfeE760jEKrR 1Bqpgs6b1Bdv1DrHATCfVxpLJ/NJ4TG00Q1UzvnzkdkNTF2K63apIKjEuv6N7Aap Jf8UwonbdnPkzl3zY6ccJxIkxIH6k11Z4ILyez8h3La9IgYnJbXwjn1mym/RAZa0 vugUfh+ASDGq6FVn35FnDgY5ISUG1odiYnnEpSHvLdL2IFkLeHsSLdx2nbeo1eMa DtudjfFlU36ZKlpnKUQ7IqzFGbTI+s9yMHY5Rbfx6u1af0rUuYwHtyy26xwSgLj+ gsxJpyVdNDvP8X+BHLqVcjJAgPjlmc8orE9ytFYC0dghahfpoFeHIhKeqAPV0X15 uMS9Zvyv+ZGmrfafO74kA3CVaAvxUVT66hMnIQ2Sp38ixLfnlaO6HQ4kXKvDdcuH 1M3pAnj4gOUhdIhwgAkHQErrMBV2Cot4exvJvuOlnEGCgLHDsb5sMIRB++56iuh8 P1DnQSpPpADL0Mje4+H947S2rrDml1zZIvN/gkUjk1tOrBg1x1x/tgLI4c3bOSz8 6RdJrw3Q3WbRYc2hUAlkxoegZS5Vz0SJi59cmTNf6BZLgSLQY5U= =fRGx -----END PGP SIGNATURE----- . Date: Fri, 8 Nov 2024 08:30:35 +0100 From: Johan Hovold To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] USB-serial fixes for 6.12-rc7 The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924: Linux 6.12-rc4 (2024-10-20 15:19:38 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-6.12-rc7 for you to fetch changes up to 25eb47eed52979c2f5eee3f37e6c67714e02c49c: USB: serial: qcserial: add support for Sierra Wireless EM86xx (2024-11-06 15:09:51 +0100) ---------------------------------------------------------------- USB-serial fixes for 6.12-rc7 Here's a fix for a long-standing use-after-free in an io_edgeport debug printk and some new modem device ids. All have been in linux-next with no reported issues. ---------------------------------------------------------------- Benoît Monin (1): USB: serial: option: add Quectel RG650V Dan Carpenter (1): USB: serial: io_edgeport: fix use after free in debug printk Jack Wu (1): USB: serial: qcserial: add support for Sierra Wireless EM86xx Reinhard Speyerer (1): USB: serial: option: add Fibocom FG132 0x0112 composition drivers/usb/serial/io_edgeport.c | 8 ++++---- drivers/usb/serial/option.c | 6 ++++++ drivers/usb/serial/qcserial.c | 2 ++ 3 files changed, 12 insertions(+), 4 deletions(-) . Date: Fri, 8 Nov 2024 11:57:11 +0000 From: Will Deacon To: torvalds@linux-foundation.org Cc: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-team@android.com Subject: [GIT PULL] arm64 fixes for -rc7 Hi Linus, As promised, here is a (hopefully) final round of arm64 fixes for 6.12 that address some user-visible floating point register corruption. Both of the Marks have been working on this for a couple of weeks and we've ended up in a position where SVE is solid but SME still has enough pending issues that the most pragmatic solution for the release and stable backports is to disable the feature. Yes, it's a shame, but the hardware is rare as hen's teeth at the moment and we're better off getting back to a known good state before fixing it all properly. We're also improving the selftests for 6.13 to help avoid merging broken code in the future. Anyway, the good news is that we're removing a lot more code than we're adding. Cheers, Will --->8 The following changes since commit 2e8a1acea8597ff42189ea94f0a63fa58640223d: arm64: signal: Improve POR_EL0 handling to avoid uaccess failures (2024-10-29 17:59:12 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes for you to fetch changes up to 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc: arm64: Kconfig: Make SME depend on BROKEN for now (2024-11-07 11:20:35 +0000) ---------------------------------------------------------------- arm64 fixes for -rc7 - Fix handling of SVE traps from userspace on preemptible kernels when converting the saved floating point state into SVE state. - Remove broken support for the SMCCCv1.3 "SVE discard hint" optimisation. - Disable SME support, as the current support code suffers from numerous issues around signal delivery, ptrace access and context-switch which can lead to user-visible corruption of the register state. ---------------------------------------------------------------- Mark Brown (1): arm64/sve: Discard stale CPU state when handling SVE traps Mark Rutland (2): arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint arm64: Kconfig: Make SME depend on BROKEN for now arch/arm64/Kconfig | 1 + arch/arm64/kernel/fpsimd.c | 1 + arch/arm64/kernel/smccc-call.S | 35 +++-------------------------------- drivers/firmware/smccc/smccc.c | 4 ---- include/linux/arm-smccc.h | 32 +++----------------------------- 5 files changed, 8 insertions(+), 65 deletions(-) . Date: Fri, 8 Nov 2024 13:54:33 +0100 From: Mauro Carvalho Chehab To: Linus Torvalds Cc: Greg Kroah-Hartman , Andrew Morton , Linux Media Mailing List , Linux Kernel Mailing List Subject: [GIT PULL for v6.12-rc7] media fixes Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v6.12-2 For: - dvb-core fixes at vb2 check and at device registration; - v4l2-core: fix an issue with error handling for VIDIOC_G_CTRL; - vb2 core: fix an issue at vb plane copy logic; - videobuf2-core: copy vb planes unconditionally; - vivid: fix buffer overwrite when using > 32 buffers; - vivid: fix a potential division by zero due to an issue at v4l2-tpg; - some spectre vulnerability fixes; - several OOM access fixes; - some buffer overflow fixes. Regards, Mauro --- The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc: Linux 6.12-rc1 (2024-09-29 15:06:19 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v6.12-2 for you to fetch changes up to 702a47ce6dde72f6e247b3c3c00a0fc521f9b1c6: media: videobuf2-core: copy vb planes unconditionally (2024-11-07 12:55:46 +0100) ---------------------------------------------------------------- media fixes for v6.12-rc7 ---------------------------------------------------------------- Hans Verkuil (2): media: dvb-core: add missing buffer index check media: vivid: fix buffer overwrite when using > 32 buffers Mauro Carvalho Chehab (14): media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl() media: v4l2-tpg: prevent the risk of a division by zero media: dvbdev: prevent the risk of out of memory access media: dvb_frontend: don't play tricks with underflow values media: mgb4: protect driver against spectre media: av7110: fix a spectre vulnerability media: s5p-jpeg: prevent buffer overflows media: ar0521: don't overflow when checking PLL values media: cx24116: prevent overflows on SNR calculus media: adv7604: prevent underflow condition when reporting colorspace media: stb0899_algo: initialize cfr before using it media: cec: extron-da-hd-4k-plus: don't use -1 as an error code media: pulse8-cec: fix data timestamp at pulse8_setup() media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set Tudor Ambarus (1): media: videobuf2-core: copy vb planes unconditionally .../extron-da-hd-4k-plus/extron-da-hd-4k-plus.c | 6 ++--- drivers/media/cec/usb/pulse8/pulse8-cec.c | 2 +- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 3 +++ drivers/media/common/videobuf2/videobuf2-core.c | 28 ++++++++++++---------- drivers/media/dvb-core/dvb_frontend.c | 4 ++-- drivers/media/dvb-core/dvb_vb2.c | 8 ++++++- drivers/media/dvb-core/dvbdev.c | 16 +++++++++---- drivers/media/dvb-frontends/cx24116.c | 7 +++++- drivers/media/dvb-frontends/stb0899_algo.c | 2 +- drivers/media/i2c/adv7604.c | 26 +++++++++++++------- drivers/media/i2c/ar0521.c | 4 ++-- drivers/media/pci/mgb4/mgb4_cmt.c | 2 ++ .../media/platform/samsung/s5p-jpeg/jpeg-core.c | 17 ++++++++----- drivers/media/test-drivers/vivid/vivid-core.c | 2 +- drivers/media/test-drivers/vivid/vivid-core.h | 4 +++- drivers/media/test-drivers/vivid/vivid-ctrls.c | 2 +- drivers/media/test-drivers/vivid/vivid-vid-cap.c | 2 +- drivers/media/v4l2-core/v4l2-ctrls-api.c | 17 ++++++++----- drivers/staging/media/av7110/av7110.h | 4 +++- drivers/staging/media/av7110/av7110_ca.c | 25 ++++++++++++------- 20 files changed, 118 insertions(+), 63 deletions(-) . Date: Fri, 8 Nov 2024 14:43:45 +0100 From: Vlastimil Babka To: Linus Torvalds Cc: David Rientjes , Christoph Lameter , Andrew Morton , "linux-mm@kvack.org" , LKML , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com> Subject: [GIT PULL] slab fix for 6.12-rc7 Hi Linus, please pull the latest slab fix from: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.12-rc7 The problem exists since 6.11 but became noisy due to the new 6.12 warning. Thanks, Vlastimil ====================================== - Fix for duplicate caches in some arm64 configurations with CONFIG_SLAB_BUCKETS (Koichiro Den). ---------------------------------------------------------------- Koichiro Den (1): mm/slab: fix warning caused by duplicate kmem_cache creation in kmem_buckets_create mm/slab_common.c | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) . Date: Fri, 8 Nov 2024 14:45:10 +0100 From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 6.12-rc7 Hi, a few more one-liners that fix some user visible problems. Please pull, thanks. - use correct range when clearing qgroup reservations after COW - properly reset freed delayed ref list head - fix ro/rw subvolume mounts to be backward compatible with old and new mount API ---------------------------------------------------------------- The following changes since commit 77b0d113eec49a7390ff1a08ca1923e89f5f86c6: btrfs: fix defrag not merging contiguous extents due to merged extent maps (2024-10-31 16:46:41 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.12-rc6-tag for you to fetch changes up to 2b084d8205949dd804e279df8e68531da78be1e8: btrfs: fix the length of reserved qgroup to free (2024-11-07 02:08:29 +0100) ---------------------------------------------------------------- Filipe Manana (1): btrfs: reinitialize delayed ref list after deleting it from the list Haisu Wang (1): btrfs: fix the length of reserved qgroup to free Qu Wenruo (1): btrfs: fix per-subvolume RO/RW flags with new mount API fs/btrfs/delayed-ref.c | 2 +- fs/btrfs/inode.c | 2 +- fs/btrfs/super.c | 25 +++++-------------------- 3 files changed, 7 insertions(+), 22 deletions(-) . Date: Fri, 08 Nov 2024 14:58:43 +0100 From: Takashi Iwai To: Linus Torvalds Cc: Mark Brown , Liam Girdwood , Linux Sound Mailing List , Linux Kernel Mailing List Subject: [GIT PULL] sound fixes for 6.12-rc7 Linus, please pull sound fixes for v6.12-rc7 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-6.12-rc7 The topmost commit is fa59caa7859813b2a20f33e7c1f89459e7b6055f ---------------------------------------------------------------- sound fixes for 6.12-rc7 Still more changes floating than wished at this late stage, but all are small device-specific fixes, and look less troublesome. Including a few ASoC quirk / ID additoins, a series of ASoC STM fixes, HD-audio conexant codec regression fix, and other various quirks and device-specific fixes. ---------------------------------------------------------------- Amelie Delaunay (1): ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove Jaros³aw Janik (1): Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown" Jyri Sarha (1): ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits Kuninori Morimoto (1): MAINTAINERS: Generic Sound Card section Luo Yifan (2): ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate() ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div() Markus Petri (1): ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 Gen 6 Mingcong Bai (1): ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022 Murad Masimov (1): ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init() Shenghao Ding (1): ASoC: tas2781: Add new driver version for tas2563 & tas2781 qfn chip Takashi Iwai (2): ALSA: ump: Don't enumeration invalid groups for legacy rawmidi ALSA: usb-audio: Add quirk for HP 320 FHD Webcam Venkata Prasad Potturu (1): ASoC: SOF: amd: Fix for incorrect DMA ch status register offset --- MAINTAINERS | 9 +++++++++ sound/core/ump.c | 2 +- sound/firewire/tascam/amdtp-tascam.c | 2 +- sound/pci/hda/patch_conexant.c | 2 -- sound/soc/amd/yc/acp6x-mach.c | 14 ++++++++++++++ sound/soc/codecs/tas2781-fmwlib.c | 1 + sound/soc/sof/amd/acp.c | 10 +++++++++- sound/soc/sof/sof-client-probes-ipc4.c | 1 + sound/soc/stm/stm32_sai_sub.c | 6 +++--- sound/soc/stm/stm32_spdifrx.c | 2 +- sound/usb/mixer.c | 1 + sound/usb/quirks.c | 2 ++ 12 files changed, 43 insertions(+), 9 deletions(-) . Date: Fri, 8 Nov 2024 19:23:12 +0100 From: Andi Shyti To: Wolfram Sang Cc: linux-i2c , lkml , Andi Shyti Subject: [GIT PULL] i2c-host-fixes for v6.12-rc7 Hi Wolfram, Two fixes this week: one is the fix from last week that you had doubts about. Thanks and have a great weekend, Andi The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git tags/i2c-host-fixes-6.12-rc7 for you to fetch changes up to 8de3e97f3d3d62cd9f3067f073e8ac93261597db: i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set (2024-11-08 19:13:06 +0100) ---------------------------------------------------------------- i2c-host fixes for v6.12-rc7 In designware an incorrect behavior has been fixes when concluding a transmission. Fixed return error value evaluation in the Mule multiplexer. ---------------------------------------------------------------- Liu Peibao (1): i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set Yang Yingliang (1): i2c: muxes: Fix return value check in mule_i2c_mux_probe() drivers/i2c/busses/i2c-designware-common.c | 6 ++++-- drivers/i2c/busses/i2c-designware-core.h | 1 + drivers/i2c/muxes/i2c-mux-mule.c | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) . Date: Sat, 9 Nov 2024 05:31:26 +1000 From: Dave Airlie To: Linus Torvalds , Sima Vetter Cc: dri-devel , LKML Subject: [git pull] drm fixes for 6.12-rc7 Hi Linus, Weekly fixes, usual leaders in amdgpu and xe, then a panel quirk, and some fixes to imagination and panthor drivers. Seems around the usual level for this time and don't know of any big problems. Regards, Dave. drm-fixes-2024-11-09: drm fixes for 6.12-rc7 amdgpu: - Brightness fix - DC vbios parsing fix - ACPI fix - SMU 14.x fix - Power workload profile fix - GC partitioning fix - Debugfs fixes imagination: - Track PVR context per file - Break ref-counting cycle panel-orientation-quirks: - Fix matching Lenovo Yoga Tab 3 X90F panthor: - Lock VM array - Be strict about I/O mapping flags xe: - Fix ccs_mode setting for Xe2 and later - Synchronize ccs_mode setting with client creation - Apply scheduling WA for LNL in additional places as needed - Fix leak and lock handling in error paths of xe_exec ioctl - Fix GGTT allocation leak leading to eventual crash in SR-IOV - Move run_ticks update out of job handling to avoid synchronization with reader The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-11-09 for you to fetch changes up to 1a6bbc4d9e55d6c9df2dfe7d4f2705a544d8ca13: Merge tag 'drm-xe-fixes-2024-11-08' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes (2024-11-09 05:14:29 +1000) ---------------------------------------------------------------- drm fixes for 6.12-rc7 amdgpu: - Brightness fix - DC vbios parsing fix - ACPI fix - SMU 14.x fix - Power workload profile fix - GC partitioning fix - Debugfs fixes imagination: - Track PVR context per file - Break ref-counting cycle panel-orientation-quirks: - Fix matching Lenovo Yoga Tab 3 X90F panthor: - Lock VM array - Be strict about I/O mapping flags xe: - Fix ccs_mode setting for Xe2 and later - Synchronize ccs_mode setting with client creation - Apply scheduling WA for LNL in additional places as needed - Fix leak and lock handling in error paths of xe_exec ioctl - Fix GGTT allocation leak leading to eventual crash in SR-IOV - Move run_ticks update out of job handling to avoid synchronization with reader ---------------------------------------------------------------- Alex Deucher (3): drm/amdgpu: Adjust debugfs register access permissions drm/amdgpu: Adjust debugfs eviction and IB access permissions drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read() Antonio Quartulli (1): drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported Aurabindo Pillai (1): drm/amd/display: parse umc_info or vram_info based on ASIC Balasubramani Vivekanandan (2): drm/xe: Set mask bits for CCS_MODE register drm/xe: Use the filelist from drm for ccs_mode change Brendan King (2): drm/imagination: Add a per-file PVR context list drm/imagination: Break an object reference loop Dave Airlie (3): Merge tag 'amd-drm-fixes-6.12-2024-11-07' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2024-11-08' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes Merge tag 'drm-xe-fixes-2024-11-08' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes Hans de Goede (1): drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict Jann Horn (1): drm/panthor: Be stricter about IO mapping flags Kenneth Feng (2): drm/amd/pm: always pick the pptable from IFWI drm/amd/pm: correct the workload setting Lijo Lazar (1): drm/amdgpu: Fix DPX valid mode check on GC 9.4.3 Liviu Dudau (1): drm/panthor: Lock XArray when getting entries for the VM Lucas De Marchi (1): drm/xe: Stop accumulating LRC timestamp on job_free Matthew Brost (2): drm/xe: Fix possible exec queue leak in exec IOCTL drm/xe: Drop VM dma-resv lock on xe_sync_in_fence_get failure in exec IOCTL Michal Wajdeczko (1): drm/xe/pf: Fix potential GGTT allocation leak Nirmoy Das (3): drm/xe: Move LNL scheduling WA to xe_device.h drm/xe/ufence: Flush xe ordered_wq in case of ufence timeout drm/xe/guc/tlb: Flush g2h worker in case of tlb timeout Thomas Zimmermann (1): Merge drm/drm-fixes into drm-misc-fixes Tom Chung (1): drm/amd/display: Fix brightness level not retained over reboot drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 10 +-- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c | 2 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 15 +++++ drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 4 +- drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 49 ++++++++++---- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 4 +- drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c | 5 +- .../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 5 +- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 +- drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 4 +- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 20 ++++-- .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 5 +- .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c | 74 ++-------------------- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 8 +++ drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 2 + drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 - drivers/gpu/drm/imagination/pvr_context.c | 33 ++++++++++ drivers/gpu/drm/imagination/pvr_context.h | 21 ++++++ drivers/gpu/drm/imagination/pvr_device.h | 10 +++ drivers/gpu/drm/imagination/pvr_drv.c | 3 + drivers/gpu/drm/imagination/pvr_vm.c | 22 +++++-- drivers/gpu/drm/imagination/pvr_vm.h | 1 + drivers/gpu/drm/panthor/panthor_device.c | 4 ++ drivers/gpu/drm/panthor/panthor_mmu.c | 2 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 +- drivers/gpu/drm/xe/xe_device.c | 10 --- drivers/gpu/drm/xe/xe_device.h | 14 ++++ drivers/gpu/drm/xe/xe_device_types.h | 9 --- drivers/gpu/drm/xe/xe_exec.c | 13 ++-- drivers/gpu/drm/xe/xe_exec_queue.c | 6 ++ drivers/gpu/drm/xe/xe_gt_ccs_mode.c | 15 +++-- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 4 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 2 + drivers/gpu/drm/xe/xe_guc_ct.c | 11 +--- drivers/gpu/drm/xe/xe_guc_submit.c | 2 - drivers/gpu/drm/xe/xe_wait_user_fence.c | 7 ++ 38 files changed, 257 insertions(+), 155 deletions(-) . Date: Fri, 8 Nov 2024 21:00:06 +0100 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: ACPI Devel Maling List , Linux Kernel Mailing List , Linux PM Subject: [GIT PULL] ACPI fix for v6.12-rc7 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-6.12-rc7 with top-most commit b79276dcac9124a79c8cf7cc8fbdd3d4c3c9a7c7 ACPI: processor: Move arch_init_invariance_cppc() call later on top of commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 Linux 6.12-rc6 to receive an ACPI fix for 6.12-rc7. This fixes the ACPI processor driver initialization ordering after recent changes to avoid calling init_freq_invariance_cppc() too early on AMD platforms (Mario Limonciello). Thanks! --------------- Mario Limonciello (1): ACPI: processor: Move arch_init_invariance_cppc() call later --------------- arch/arm64/include/asm/topology.h | 4 ---- arch/x86/include/asm/topology.h | 5 ----- arch/x86/kernel/acpi/cppc.c | 7 ++++++- drivers/acpi/cppc_acpi.c | 6 ------ drivers/acpi/processor_driver.c | 9 +++++++++ drivers/base/arch_topology.c | 6 +++++- include/acpi/processor.h | 2 ++ include/linux/arch_topology.h | 4 ---- 8 files changed, 22 insertions(+), 21 deletions(-) . Date: Fri, 08 Nov 2024 14:51:35 -0500 From: James Bottomley To: Andrew Morton , Linus Torvalds Cc: linux-scsi , linux-kernel Subject: [GIT PULL] SCSI fixes for 6.12-rc6 Two small fixes, the drivers one in ufs simply delays running a work queue and the generic one in zoned storage switches to a more correct API that tries the standard buddy allocator first (for small allocations); this fixes an problem with small allocations seen under memory pressure. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Bart Van Assche (1): scsi: ufs: core: Start the RTC update work later Johannes Thumshirn (1): scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer And the diffstat: drivers/scsi/sd_zbc.c | 3 +-- drivers/ufs/core/ufshcd.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) With full diff below. James --- diff --git a/drivers/scsi/sd_zbc.c b/drivers/scsi/sd_zbc.c index c8b9654d30f0..a4d17f3da25d 100644 --- a/drivers/scsi/sd_zbc.c +++ b/drivers/scsi/sd_zbc.c @@ -188,8 +188,7 @@ static void *sd_zbc_alloc_report_buffer(struct scsi_disk *sdkp, bufsize = min_t(size_t, bufsize, queue_max_segments(q) << PAGE_SHIFT); while (bufsize >= SECTOR_SIZE) { - buf = __vmalloc(bufsize, - GFP_KERNEL | __GFP_ZERO | __GFP_NORETRY); + buf = kvzalloc(bufsize, GFP_KERNEL | __GFP_NORETRY); if (buf) { *buflen = bufsize; return buf; diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index 0e22bbb78239..3b32803b7a68 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -8636,6 +8636,14 @@ static int ufshcd_add_lus(struct ufs_hba *hba) ufshcd_init_clk_scaling_sysfs(hba); } + /* + * The RTC update code accesses the hba->ufs_device_wlun->sdev_gendev + * pointer and hence must only be started after the WLUN pointer has + * been initialized by ufshcd_scsi_add_wlus(). + */ + schedule_delayed_work(&hba->ufs_rtc_update_work, + msecs_to_jiffies(UFS_RTC_UPDATE_INTERVAL_MS)); + ufs_bsg_probe(hba); scsi_scan_host(hba->host); @@ -8795,8 +8803,6 @@ static int ufshcd_device_init(struct ufs_hba *hba, bool init_dev_params) ufshcd_force_reset_auto_bkops(hba); ufshcd_set_timestamp_attr(hba); - schedule_delayed_work(&hba->ufs_rtc_update_work, - msecs_to_jiffies(UFS_RTC_UPDATE_INTERVAL_MS)); /* Gear up to HS gear if supported */ if (hba->max_pwr_info.is_valid) { . Date: Fri, 8 Nov 2024 21:02:02 +0100 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List Subject: [GIT PULL] Power management fix for v6.12-rc7 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-6.12-rc7 with top-most commit 92447aa5f6e7fbad9427a3fd1bb9e0679c403206 cpufreq: intel_pstate: Update asym capacity for CPUs that were offline initially on top of commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 Linux 6.12-rc6 to receive a power management fix for 6.12-rc7. This fixes the asymmetric CPU capacity support code in the intel_pstate driver, added during this development cycle, to address a corner case in which the capacity of a CPU going online is not updated (Rafael Wysocki). Thanks! --------------- Rafael J. Wysocki (2): cpufreq: intel_pstate: Clear hybrid_max_perf_cpu before driver registration cpufreq: intel_pstate: Update asym capacity for CPUs that were offline initially --------------- drivers/cpufreq/intel_pstate.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) . Date: Fri, 8 Nov 2024 21:03:15 +0100 From: "Rafael J. Wysocki" To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List , Daniel Lezcano Subject: [GIT PULL] Thermal control fixes for v6.12-rc7 Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ thermal-6.12-rc7 with top-most commit 5469a8deac05391781bcd27e7c40f2c35121ca09 Merge tag 'thermal-v6.12-rc7' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/thermal/linux on top of commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230 Linux 6.12-rc6 to receive thermal control fixes for 6.12-rc7. These fix one issue in the qcom lmh thermal driver, a DT handling issue in the thermal core and two issues in the userspace thermal library: - Allow tripless thermal zones defined in a DT to be registered in accordance with the thermal DT bindings (Icenowy Zheng). - Annotate LMH IRQs with lockdep classes to prevent lockdep from reporting a possible recursive locking issue that cannot really occur (Dmitry Baryshkov). - Improve the thermal library "make clean" to remove a leftover symbolic link created during compilation and fix the sampling handler invocation in that library to pass the correct pointer to it (Emil Dahl Juhl, zhang jiao). Thanks! --------------- Dmitry Baryshkov (1): thermal/drivers/qcom/lmh: Remove false lockdep backtrace Emil Dahl Juhl (1): tools/lib/thermal: Fix sampling handler context ptr Icenowy Zheng (1): thermal/of: support thermal zones w/o trips subnode zhang jiao (1): tools/lib/thermal: Remove the thermal.h soft link when doing make clean --------------- drivers/thermal/qcom/lmh.c | 7 +++++++ drivers/thermal/thermal_of.c | 21 ++++++++++----------- tools/lib/thermal/Makefile | 4 +++- tools/lib/thermal/sampling.c | 2 ++ 4 files changed, 22 insertions(+), 12 deletions(-) . Date: Fri, 8 Nov 2024 16:29:59 -0600 From: Steve French To: Linus Torvalds Cc: Namjae Jeon , CIFS , LKML Subject: [GIT PULL] ksmbd server fixes Please pull the following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e: Linux 6.12-rc5 (2024-10-27 12:52:02 -1000) are available in the Git repository at: git://git.samba.org/ksmbd.git tags/v6.12-rc6-ksmbd-fixes for you to fetch changes up to 0a77d947f599b1f39065015bec99390d0c0022ee: ksmbd: check outstanding simultaneous SMB operations (2024-11-05 09:26:38 +0900) ---------------------------------------------------------------- four fixes, also for stable - fix two potential use after free issues - fix OOM issue with many simultaneous requests - fix missing error check in RPC pipe handling ---------------------------------------------------------------- Jinjie Ruan (1): ksmbd: Fix the missing xa_store error check Namjae Jeon (3): ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp ksmbd: check outstanding simultaneous SMB operations fs/smb/server/connection.c | 1 + fs/smb/server/connection.h | 1 + fs/smb/server/mgmt/user_session.c | 15 ++++++++++----- fs/smb/server/server.c | 20 ++++++++++++-------- fs/smb/server/smb_common.c | 10 +++++++--- fs/smb/server/smb_common.h | 2 +- 6 files changed, 32 insertions(+), 17 deletions(-) -- Thanks, Steve . Date: Sat, 9 Nov 2024 10:19:40 -0600 From: Steve French To: Linus Torvalds Cc: CIFS , LKML Subject: [GIT PULL] smb3 client fix Please pull the following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230: Linux 6.12-rc6 (2024-11-03 14:05:52 -1000) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/v6.12-rc6-smb3-client-fix for you to fetch changes up to ef7134c7fc48e1441b398e55a862232868a6f0a7: smb: client: Fix use-after-free of network namespace. (2024-11-03 19:28:31 -0600) ---------------------------------------------------------------- Fix net namespace refcount use after free issue ---------------------------------------------------------------- Kuniyuki Iwashima (1): smb: client: Fix use-after-free of network namespace. fs/smb/client/connect.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- Thanks, Steve . Date: Sat, 9 Nov 2024 12:35:05 -0500 From: Chuck Lever To: Linus Torvalds Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Layton Subject: [GIT PULL] one more NFSD fix for v6.12-rc The following changes since commit 63a81588cd2025e75fbaf30b65930b76825c456f: rpcrdma: Always release the rpcrdma_device's xa_array (2024-10-30 16:14:00 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-6.12-4 for you to fetch changes up to bb1fb40f8beb45a3733118780a3da24fb071a2e9: NFSD: Fix READDIR on NFSv3 mounts of ext4 exports (2024-11-07 09:11:37 -0500) ---------------------------------------------------------------- nfsd-6.12 fixes: - Fix a v6.12-rc regression when exporting ext4 filesystems with NFSD ---------------------------------------------------------------- Chuck Lever (1): NFSD: Fix READDIR on NFSv3 mounts of ext4 exports fs/nfsd/vfs.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) -- Chuck Lever . Date: Sat, 9 Nov 2024 20:41:58 +0100 From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Linus Torvalds Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Daniel Burgener , =?UTF-8?q?G=C3=BCnther=20Noack?= , Matthieu Buffet , Mikhail Ivanov , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: [GIT PULL] Landlock fix for v6.12-rc7 Hi Linus, This PR fixes issues in the Landlock's sandboxer sample and documentation, slightly refactors helpers (required for ongoing patch series), and improve/fix a feature merged in v6.12 (signal and abstract UNIX socket scoping). Please pull these changes for v6.12-rc7 (or rc8, if any). These commits merge cleanly with your master branch. The kernel code has been tested in the latest linux-next releases for a few weeks, but I updated the last three patches with cosmetic changes according to reviews. Test coverage for security/landlock is 92.5% of 1129 lines according to gcc/gcov-14, and it was 92.8% of 1134 lines before this PR. Regards, Mickaël -- The following changes since commit 03197e40a22c2641a1f9d1744418cd29f4954b83: landlock: Optimize scope enforcement (2024-11-09 19:52:13 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/landlock-6.12-rc7 for you to fetch changes up to 03197e40a22c2641a1f9d1744418cd29f4954b83: landlock: Optimize scope enforcement (2024-11-09 19:52:13 +0100) ---------------------------------------------------------------- Landlock fix for v6.12-rc7 ---------------------------------------------------------------- .