diff options
author | Shawn Anastasio <shawn@anastas.io> | 2020-08-21 13:55:56 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-24 14:12:53 +1000 |
commit | 12564485ed8caac3c18572793ec01330792c7191 (patch) | |
tree | 4c39433df7192a8b16f72299def2b1bc6c634fb4 /include/trace | |
parent | 64ef8f2c4791940d7f3945507b6a45c20d959260 (diff) |
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
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/mmflags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/mmflags.h b/include/trace/events/mmflags.h index 939092dbcb8b..5fb752034386 100644 --- a/include/trace/events/mmflags.h +++ b/include/trace/events/mmflags.h @@ -114,6 +114,8 @@ IF_HAVE_PG_IDLE(PG_idle, "idle" ) #if defined(CONFIG_X86) #define __VM_ARCH_SPECIFIC_1 {VM_PAT, "pat" } +#elif defined(CONFIG_PPC) +#define __VM_ARCH_SPECIFIC_1 {VM_SAO, "sao" } #elif defined(CONFIG_PARISC) || defined(CONFIG_IA64) #define __VM_ARCH_SPECIFIC_1 {VM_GROWSUP, "growsup" } #elif !defined(CONFIG_MMU) |