Re: [PATCH v4 5/5] selftests/powerpc: Add test for VPHN

2015-03-17 Thread Michael Ellerman
On Tue, 2015-03-17 at 12:49 +0100, Greg Kurz wrote: > On Tue, 17 Mar 2015 15:21:29 +1100 > Michael Ellerman wrote: > > > From: Greg Kurz > > > > The goal is to verify vphn_unpack_associativity() parses VPHN numbers > > correctly. We feed it with a variety of input values and compare with > > ex

Re: [PATCH v4 5/5] selftests/powerpc: Add test for VPHN

2015-03-17 Thread Greg Kurz
On Tue, 17 Mar 2015 15:21:29 +1100 Michael Ellerman wrote: > From: Greg Kurz > > 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 c

[PATCH v4 5/5] selftests/powerpc: Add test for VPHN

2015-03-16 Thread Michael Ellerman
From: Greg Kurz 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 on