mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
58dae82843
The goal is to verify vphn_unpack_associativity() parses VPHN numbers correctly. We feed it with a variety of input values and compare with expected results. PAPR+ does not say much about VPHN parsing: I came up with a list of tests that check many simple cases and some corner ones. I wouldn't dare to say the list is exhaustive though. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com> [mpe: Rework harness logic, rename to test-vphn, add -m64] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Symbolic link
1 line
37 B
C
Symbolic link
1 line
37 B
C
../../../../../arch/powerpc/mm/vphn.h |