Ravi Bangoria
4ceae137bd
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>
2017-03-03 11:24:50 +11:00
..
2016-08-02 17:31:41 -04:00
2016-11-14 11:11:51 +11:00
2017-01-25 13:34:18 +11:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:45 -08:00
2016-11-14 11:11:51 +11:00
2017-02-06 19:46:04 +11:00
2015-03-16 18:32:11 +11:00
2016-11-14 11:11:51 +11:00
2016-11-14 11:11:51 +11:00
2015-03-16 18:32:11 +11:00
2005-10-20 09:37:02 +10:00
2011-01-21 14:08:33 +11:00
2016-08-10 19:41:58 +10:00
2016-08-07 23:50:09 -04:00
2016-11-14 11:11:51 +11:00
2016-06-14 16:05:44 +10:00
2017-03-03 11:24:50 +11:00
2016-10-14 14:26:58 -07:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2015-03-16 18:32:11 +11:00
2016-06-14 13:58:26 +10:00
2017-03-03 11:24:50 +11:00
2017-02-06 19:46:04 +11:00
2016-11-14 11:11:51 +11:00
2017-03-03 11:24:50 +11:00
2016-12-24 11:46:01 -08:00
2016-06-16 22:39:54 +10:00
2016-04-27 09:33:37 +10:00