selftests/powerpc: Make alignment handler test P9N DD2.1 vector CI load workaround
authorMichael Neuling <mikey@neuling.org>
Tue, 13 Oct 2020 04:37:41 +0000 (15:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Oct 2020 21:00:42 +0000 (08:00 +1100)
commitd1781f23704707d350b8c9006e2bdf5394bf91b2
tree5ed3239645c68bbfd529011ca095f477d6b78233
parent1da4a0272c5469169f78cd76cf175ff984f52f06
selftests/powerpc: Make alignment handler test P9N DD2.1 vector CI load workaround

alignment_handler currently only tests the unaligned cases but it can
also be useful for testing the workaround for the P9N DD2.1 vector CI
load issue fixed by p9_hmi_special_emu(). This workaround was
introduced in 5080332c2c89 ("powerpc/64s: Add workaround for P9 vector
CI load issue").

This changes the loop to start from offset 0 rather than 1 so that we
test the kernel emulation in p9_hmi_special_emu().

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201013043741.743413-2-mikey@neuling.org
tools/testing/selftests/powerpc/alignment/alignment_handler.c