Re: [PATCH] powerpc64/linux: Fix 64-bit process detection on embedded

2014-02-25 Thread James Yang
On Tue, 25 Feb 2014, Dmitry V. Levin wrote: > On Wed, Feb 19, 2014 at 07:10:53PM -0600, James Yang wrote: > > On Thu, 20 Feb 2014, Dmitry V. Levin wrote: > > > > > On Tue, Feb 18, 2014 at 03:32:43PM -0600, James Yang wrote: > > > > * syscall.c: Fix 64-bit p

Re: [PATCH] powerpc64/linux: Fix 64-bit process detection on embedded

2014-02-19 Thread James Yang
On Thu, 20 Feb 2014, Dmitry V. Levin wrote: > On Tue, Feb 18, 2014 at 03:32:43PM -0600, James Yang wrote: > > * syscall.c: Fix 64-bit process detection on embedded powerpc > > > > Signed-off-by: James Yang > > --- > > syscall.c |5 +++-- > > 1 file

[PATCH] powerpc64/linux: Fix 64-bit process detection on embedded

2014-02-18 Thread James Yang
* syscall.c: Fix 64-bit process detection on embedded powerpc Signed-off-by: James Yang --- syscall.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/syscall.c b/syscall.c index 3477dcd..8d47e7e 100644 --- a/syscall.c +++ b/syscall.c @@ -1222,8 +1222,9 @@ get_scno

[PATCH] powerpc64/linux: Fix 64-bit process detection for Book III-E

2013-10-17 Thread James Yang
strace does not detect 64-bit processes on PowerISA Book III-E processors such as Freescale P5020 and T4240. The PowerISA Book III-S MSR is different from the PowerISA Book III-E MSR. The III-S MSR is 64 bits wide, and its MSR[SF] is the msb (bit 0 of a 64-bit value). III-E MSR is 32 bits wide,