- no SEGV! (%c)\n", x);
^
cc1: all warnings being treated as errors
Signed-off-by: Harish
---
tools/testing/selftests/powerpc/mm/bad_accesses.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/powerpc/mm/bad_accesses.c
b/tools/testing
: 00b7ec5c9cf3 ("selftests/powerpc: Import Anton's context_switch2
benchmark")
Reported-by: Shirisha Ganta
Signed-off-by: Sandipan Das
Signed-off-by: Harish
---
v2:
https://lore.kernel.org/linuxppc-dev/20200609034005.520137-1-har...@linux.ibm.com/
Changes from v2:
- Interchanged si
: 00b7ec5c9cf3 ("selftests/powerpc: Import Anton's context_switch2
benchmark")
Reported-by: Shirisha Ganta
Signed-off-by: Harish
Signed-off-by: Sandipan Das
---
.../powerpc/benchmarks/context_switch.c| 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
dif
Signed-off-by: Harish
Signed-off-by: Sandipan Das
---
.../powerpc/benchmarks/context_switch.c| 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/tools/testing/selftests/powerpc/benchmarks/context_switch.c
b/tools/testing/selftests/powerpc/benchmarks
A recent change overrides the ARCH env variable and hence runs
using make fails with the following.
$ make -C vm/
make: Entering directory '/home/harish/linux/tools/testing/selftests/vm'
make --no-builtin-rules ARCH=ppc64le -C ../../../.. headers_install
make[1]: Entering directory
The last patch overrides the ARCH env variable and hence runs
using make fails with the following.
$ make -C vm/
make: Entering directory '/home/harish/linux/tools/testing/selftests/vm'
make --no-builtin-rules ARCH=ppc64le -C ../../../.. headers_install
make[1]: Entering directory
On older distributions like Sles12SP5 gcc does not recognize
-no-pie option making the powerpc selftests build to fail
Fixes the following:
gcc: error: unrecognized command line option ‘-no-pie’
Signed-off-by: Harish
---
tools/testing/selftests/powerpc/pmu/ebb/Makefile | 7 ++-
1 file
On older distributions like Sles12SP5 gcc does not recognize
-no-pie option making the powerpc selftests build to fail
Fixes the following:
gcc: error: unrecognized command line option ‘-no-pie’
Signed-off-by: Harish
---
tools/testing/selftests/powerpc/pmu/ebb/Makefile | 7 ++-
1 file
sighandler’:
alignment_handler.c:68:5: error: dereferencing pointer to incomplete type
‘struct ucontext’
ucp->uc_mcontext.gp_regs[PT_NIP] += 4;
^~
Signed-off-by: Harish
---
tools/testing/selftests/powerpc/alignment/alignment_handler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/