Revert "powerpc/64s: Remove PROT_SAO support"
authorShawn Anastasio <shawn@anastas.io>
Fri, 21 Aug 2020 18:55:56 +0000 (13:55 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Aug 2020 04:12:53 +0000 (14:12 +1000)
commit12564485ed8caac3c18572793ec01330792c7191
tree4c39433df7192a8b16f72299def2b1bc6c634fb4
parent64ef8f2c4791940d7f3945507b6a45c20d959260
Revert "powerpc/64s: Remove PROT_SAO support"

This reverts commit 5c9fa16e8abd342ce04dc830c1ebb2a03abf6c05.

Since PROT_SAO can still be useful for certain classes of software,
reintroduce it. Concerns about guest migration for LPARs using SAO
will be addressed next.

Signed-off-by: Shawn Anastasio <shawn@anastas.io>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200821185558.35561-2-shawn@anastas.io
13 files changed:
arch/powerpc/include/asm/book3s/64/pgtable.h
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/mman.h
arch/powerpc/include/asm/nohash/64/pgtable.h
arch/powerpc/include/uapi/asm/mman.h
arch/powerpc/kernel/dt_cpu_ftrs.c
arch/powerpc/mm/book3s64/hash_utils.c
include/linux/mm.h
include/trace/events/mmflags.h
mm/ksm.c
tools/testing/selftests/powerpc/mm/.gitignore
tools/testing/selftests/powerpc/mm/Makefile
tools/testing/selftests/powerpc/mm/prot_sao.c [new file with mode: 0644]