Re: [PATCH] powerpc: add little endian flag to syscall_get_arch()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2015-02-05 at 10:22 +0000, Luis Henriques wrote:
> On Wed, Feb 04, 2015 at 07:42:30PM +0000, Ben Hutchings wrote:
> > On Tue, 2015-02-03 at 11:33 +0000, Luis Henriques wrote:
> > > On Thu, Jan 29, 2015 at 01:07:40AM +0000, Ben Hutchings wrote:
> > > > On Thu, 2015-01-29 at 11:27 +1100, Michael Ellerman wrote:
> > > > > On Wed, 2015-01-28 at 20:26 +0000, Ben Hutchings wrote:
> > > > > > On Tue, 2015-01-13 at 16:19 +1100, Michael Ellerman wrote:
> > > > > > > On Mon, 2015-01-12 at 04:20 -0800, Greg KH wrote:
> > > > > > > > On Mon, Jan 12, 2015 at 08:13:49PM +1100, Michael Ellerman wrote:
> > > > > > > > > From: Richard Guy Briggs <rgb@xxxxxxxxxx>
> > > > > > > > > 
> > > > > > > > > Commit 63f13448d81c910a284b096149411a719cbed501 upstream.
> > > > > > > > 
> > > > > > > > What stable kernel branch do you want this applied to?
> > > > > > > 
> > > > > > > Just 3.18 thanks.
> > > > > > 
> > > > > > Don't we need a similar fix to do_syscall_trace_enter() in earlier
> > > > > > versions?
> > > > > 
> > > > > Probably.
> > > > > 
> > > > > I'd convinced myself there weren't any stable versions that were a) still alive
> > > > > and b) had ppc64le support. But it looks like I was wrong, 3.14 longterm is
> > > > > still going and does contain ppc64le.
> > > > > 
> > > > > And maybe there are other "stable" branches out there that also need it?
> > > > 
> > > > There are the unofficial 3.13.11-ckt and 3.16.7-ckt branches.  There is
> > > > also a 3.12 longterm branch but I'm not clear whether ppc64le worked at
> > > > all in 3.12.
> > > 
> > > Is there a patch with this fix, or would this be a stable-specific
> > > patch?  I couldn't find anything commit but maybe I was looking at the
> > > wrong place.
> > 
> > I guess something like this (untested):
> > 
> 
> Thanks a lot, Ben.  I can queue this for the 3.16 kernel, but it would
> be awesome if I could get an extra Acked-by as I'm not able to test
> this patch.

Sorry I've been trying to test this, but we had a network outage and then a
power outage .. it's been one of those weeks :)

With this applied on 3.16.7 I see the same arch as I do on mainline, which I
think is sufficient proof that it's working:

type=SYSCALL msg=audit(1423462405.202:23): arch=c0000015 syscall=39 success=yes ...
                                                ^
						= 0x80000000 | 0x40000000 | 0x15
						= 64bit      | LE         | EM_PPC64

So if you like you can add:

Tested-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>

cheers


--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]