Re: [PATCH v3 00/11] s390: More this_cpu_*() changes
From: Heiko Carstens
Date: Mon Sep 21 2026 - 05:24:47 EST
On Mon, Sep 21, 2026 at 10:39:54AM +0200, Heiko Carstens wrote:
> v3:
> - Add various sanity checks to enforce correct register usage
> [Mark Rutland]
...
> s390/percpu: Rework to simplify percpu_entry() and percpu_exit()
>
> arch/s390/include/asm/entry-percpu.h | 71 ++----
> arch/s390/include/asm/lowcore.h | 5 +-
> arch/s390/include/asm/percpu.h | 354 +++++++++++++++++----------
> arch/s390/kernel/irq.c | 10 +-
> arch/s390/kernel/nmi.c | 4 +-
> arch/s390/kernel/traps.c | 4 +-
> 6 files changed, 248 insertions(+), 200 deletions(-)
Please ignore this version.
The checks are still not sufficient, and there is indeed a bug with
register allocation in the last patch which Sashiko reported. The
incorrect register allocation happened exactly once in my test build,
which explains why everything worked for me (tm).
I will need to send yet another version - sorry for the noise.