[PATCH] ata: pata_cs5536: don't build on UML

2023-03-11 Thread Randy Dunlap
Similar to 22eebaa631c4 ("ata: pata_cs5535: Don't build on UML"), prevent pata_cs5536 from building on UML since it references symbols that are not present when building X86_32/i386 allmodconfig. ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "do_t

Re: [PATCH] Reset task stack state in bringup_cpu()

2023-03-11 Thread Johannes Berg
>Hm, in the !CONFIG_GENERIC_SMP_IDLE_THREAD case, idle_thread_get() will >have returned NULL. Won't these then crash? > >Admittedly that seems to be *only* for UM, as all other architectures >with SMP seem to set CONFIG_GENERIC_SMP_IDLE_THREAD. UM doesn't even have SMP, so maybe CONFIG_GENERIC

Re: [PATCH] Reset task stack state in bringup_cpu()

2023-03-11 Thread David Woodhouse
OnĀ  Mon, 15 Nov 2021 at 11:33:10 +, Mark Rutland wrote: > > To hot unplug a CPU, the idle task on that CPU calls a few layers of C > code before finally leaving the kernel. When KASAN is in use, poisoned > shadow is left around for each of the active stack frames, and when > shadow call stacks