[PATCH] selftests/powerpc: Skip PROT_SAO test in guests/LPARS

Sachin Sant sachinp at linux.vnet.ibm.com
Wed Sep 2 01:33:39 AEST 2020



> On 01-Sep-2020, at 6:16 PM, Michael Ellerman <mpe at ellerman.id.au> wrote:
> 
> In commit 9b725a90a8f1 ("powerpc/64s: Disallow PROT_SAO in LPARs by
> default") PROT_SAO was disabled in guests/LPARs by default. So skip
> the test if we are running in a guest to avoid a spurious failure.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
>
Tested-by: Sachin Sant <sachinp at linux.vnet.ibm.com>

With the fix test is skipped while running in a guest

# ./prot_sao 
test: prot-sao
tags: git_version:unknown
[SKIP] Test skipped on line 25
skip: prot-sao
#



More information about the Linuxppc-dev mailing list