[PATCH 0/3] sparc32 SRMMU fixes for SMP

From: Will Deacon
Date: Tue May 26 2020 - 13:33:12 EST


Hi folks,

Enabling SMP for sparc32 uncovered some issues in the SRMMU page-table
allocation code. One of these was introduced by me, but the other two
seem to have been there a while and are probably just exposed more
easily by my recent changes.

Tested on QEMU. I'm assuming these will go via David's tree.

Cheers,

Will

--->8

Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: David S. Miller <davem@xxxxxxxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxx>
Cc: kernel-team@xxxxxxxxxxx

Will Deacon (3):
sparc32: mm: Don't try to free page-table pages if ctor() fails
sparc32: mm: Disable SPLIT_PTLOCK_CPUS
sparc32: mm: Only call ctor()/dtor() functions for first and last user

arch/sparc/mm/srmmu.c | 15 +++++++++++----
mm/Kconfig | 4 ++++
2 files changed, 15 insertions(+), 4 deletions(-)

--
2.27.0.rc0.183.gde8f92d652-goog