Re: [GIT PULL] execve updates for v6.17

2025-07-28 Thread pr-tracker-bot
The pull request you sent on Sat, 26 Jul 2025 14:39:20 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/execve-v6.17 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d900c4ce638d707f09c7e5c2afa71e035c0bb33d Thank you! -- Deet-doot-dot, I

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Johannes Berg
On Tue, 2025-07-29 at 00:04 +0800, Tiwei Bie wrote: > > > +++ b/arch/um/include/asm/spinlock.h > > > @@ -0,0 +1,8 @@ > > > +/* SPDX-License-Identifier: GPL-2.0 */ > > > +#ifndef __ASM_UM_SPINLOCK_H > > > +#define __ASM_UM_SPINLOCK_H > > > + > > > +#include > > > +#include > > > + > > > +#endif /*

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Tiwei Bie
On Mon, 28 Jul 2025 12:47:08 +0200, Johannes Berg wrote: > On Sun, 2025-07-27 at 14:29 +0800, Tiwei Bie wrote: > > > > +++ b/arch/um/include/asm/smp.h > > @@ -2,6 +2,27 @@ > > #ifndef __UM_SMP_H > > #define __UM_SMP_H > > > > -#define hard_smp_processor_id()0 > > +#if IS_ENABLED(CO

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Tiwei Bie
On Mon, 28 Jul 2025 15:55:28 +0200, Johannes Berg wrote: > On Sun, 2025-07-27 at 14:29 +0800, Tiwei Bie wrote: > > > > +static void IPI_handler(int cpu, struct uml_pt_regs *regs) > > +{ > > + struct pt_regs *old_regs = set_irq_regs((struct pt_regs *)regs); > > + unsigned char c; > > + int fd

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Randy Dunlap
On 7/28/25 3:47 AM, Johannes Berg wrote: >> +int smp_sigio_handler(struct uml_pt_regs *regs) >> +{ >> +int cpu = raw_smp_processor_id(); >> + >> +IPI_handler(cpu, regs); >> +if (cpu != 0) >> +return 1; >> +return 0; > nit: "return cpu != 0;" perhaps return !!

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Johannes Berg
On Sun, 2025-07-27 at 14:29 +0800, Tiwei Bie wrote: > > +static void IPI_handler(int cpu, struct uml_pt_regs *regs) > +{ > + struct pt_regs *old_regs = set_irq_regs((struct pt_regs *)regs); > + unsigned char c; > + int fd; > + > + irq_enter(); > + > + if (current->mm) > +

Re: [PATCH 9/9] um: Add initial SMP support

2025-07-28 Thread Johannes Berg
On Sun, 2025-07-27 at 14:29 +0800, Tiwei Bie wrote: > > +++ b/arch/um/include/asm/smp.h > @@ -2,6 +2,27 @@ > #ifndef __UM_SMP_H > #define __UM_SMP_H > > -#define hard_smp_processor_id() 0 > +#if IS_ENABLED(CONFIG_SMP) > + > +#include > +#include > +#include > +#include > + > +