Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-27 Thread Michael Ellerman
On Thu, 2015-03-26 at 11:54 +0530, Anshuman Khandual wrote: > On 03/26/2015 06:06 AM, Michael Ellerman wrote: > > On Wed, 2015-03-25 at 17:02 +0530, Anshuman Khandual wrote: > >> On 03/25/2015 10:58 AM, Michael Ellerman wrote: > >>> On Wed, 2015-03-18 at 16:04 +1100, Michael Ellerman wrote: >

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-25 Thread Anshuman Khandual
On 03/26/2015 06:06 AM, Michael Ellerman wrote: > On Wed, 2015-03-25 at 17:02 +0530, Anshuman Khandual wrote: >> On 03/25/2015 10:58 AM, Michael Ellerman wrote: >>> On Wed, 2015-03-18 at 16:04 +1100, Michael Ellerman wrote: On Tue, 2015-03-17 at 11:35 +0530, Anshuman Khandual wrote: > On 0

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-25 Thread Michael Ellerman
On Wed, 2015-03-25 at 17:02 +0530, Anshuman Khandual wrote: > On 03/25/2015 10:58 AM, Michael Ellerman wrote: > > On Wed, 2015-03-18 at 16:04 +1100, Michael Ellerman wrote: > >> On Tue, 2015-03-17 at 11:35 +0530, Anshuman Khandual wrote: > >>> On 03/17/2015 04:34 AM, Michael Ellerman wrote: >

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-25 Thread Anshuman Khandual
On 03/25/2015 10:58 AM, Michael Ellerman wrote: > On Wed, 2015-03-18 at 16:04 +1100, Michael Ellerman wrote: >> On Tue, 2015-03-17 at 11:35 +0530, Anshuman Khandual wrote: >>> On 03/17/2015 04:34 AM, Michael Ellerman wrote: What are you seeing exactly? >>> >>> I am running on a BE PKVM guest b

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-24 Thread Michael Ellerman
On Wed, 2015-03-18 at 16:04 +1100, Michael Ellerman wrote: > On Tue, 2015-03-17 at 11:35 +0530, Anshuman Khandual wrote: > > On 03/17/2015 04:34 AM, Michael Ellerman wrote: > > > What are you seeing exactly? > > > > I am running on a BE PKVM guest but compiling the test case on > > a different BE

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-17 Thread Michael Ellerman
On Tue, 2015-03-17 at 11:35 +0530, Anshuman Khandual wrote: > On 03/17/2015 04:34 AM, Michael Ellerman wrote: > > What are you seeing exactly? > > I am running on a BE PKVM guest but compiling the test case on > a different BE machine which has newer version of the compiler. > > cc (GCC) 4.8.3 20

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-16 Thread Anshuman Khandual
On 03/17/2015 04:34 AM, Michael Ellerman wrote: > On Mon, 2015-03-16 at 16:30 +0530, Anshuman Khandual wrote: >> On 03/16/2015 12:27 PM, Michael Ellerman wrote: >>> This adds a test of the switch_endian() syscall we added in the previous >>> commit. >>> >>> We test it by calling the endian switch s

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-16 Thread Michael Ellerman
On Mon, 2015-03-16 at 16:30 +0530, Anshuman Khandual wrote: > On 03/16/2015 12:27 PM, Michael Ellerman wrote: > > This adds a test of the switch_endian() syscall we added in the previous > > commit. > > > > We test it by calling the endian switch syscall, and then executing some > > code in the ot

Re: [PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-16 Thread Anshuman Khandual
On 03/16/2015 12:27 PM, Michael Ellerman wrote: > This adds a test of the switch_endian() syscall we added in the previous > commit. > > We test it by calling the endian switch syscall, and then executing some > code in the other endian to check everything went as expected. That code > checks regi

[PATCH v3 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-15 Thread Michael Ellerman
This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are, and then writes to std