summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/checksum_wrappers.c
diff options
context:
space:
mode:
authorRavi Bangoria2017-02-14 10:16:43 +0100
committerMichael Ellerman2017-03-03 01:24:50 +0100
commit4ceae137bdab2232e57b2e6fd5631a22a0160938 (patch)
tree3a8d481102d8e79646e31875d378aac46898f2f4 /arch/powerpc/lib/checksum_wrappers.c
parentpowerpc: Emulation support for load/store instructions on LE (diff)
downloadkernel-qcow2-linux-4ceae137bdab2232e57b2e6fd5631a22a0160938.tar.gz
kernel-qcow2-linux-4ceae137bdab2232e57b2e6fd5631a22a0160938.tar.xz
kernel-qcow2-linux-4ceae137bdab2232e57b2e6fd5631a22a0160938.zip
powerpc: emulate_step() tests for load/store instructions
Add new selftest that test emulate_step for Normal, Floating Point, Vector and Vector Scalar - load/store instructions. Test should run at boot time if CONFIG_KPROBES_SANITY_TEST and CONFIG_PPC64 is set. Sample log: emulate_step_test: ld : PASS emulate_step_test: lwz : PASS emulate_step_test: lwzx : PASS emulate_step_test: std : PASS emulate_step_test: ldarx / stdcx. : PASS emulate_step_test: lfsx : PASS emulate_step_test: stfsx : PASS emulate_step_test: lfdx : PASS emulate_step_test: stfdx : PASS emulate_step_test: lvx : PASS emulate_step_test: stvx : PASS emulate_step_test: lxvd2x : PASS emulate_step_test: stxvd2x : PASS Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> [mpe: Drop start/complete lines, make it all __init] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/checksum_wrappers.c')
0 files changed, 0 insertions, 0 deletions