Re: [PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-21 Thread Douglas Miller
On 02/20/2017 11:01 PM, Michael Ellerman wrote: Douglas Miller writes: diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 9c0e17c..6249975 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -2334,9 +2338,49 @@ static void

Re: [PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-20 Thread Michael Ellerman
Douglas Miller writes: > diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c > index 9c0e17c..6249975 100644 > --- a/arch/powerpc/xmon/xmon.c > +++ b/arch/powerpc/xmon/xmon.c > @@ -2334,9 +2338,49 @@ static void dump_pacas(void) > } > #endif > >

Re: [PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-10 Thread Balbir Singh
On Wed, Feb 08, 2017 at 08:18:07PM +1100, Michael Ellerman wrote: > Balbir Singh writes: > > >> + printf("Faulted reading %d bytes from 0x"REG"\n", 16, > >> addr); > > > > We have a method of printing a special character for faults. > > Please see

Re: [PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-08 Thread Michael Ellerman
Balbir Singh writes: > On Tue, Feb 07, 2017 at 07:40:44AM -0600, Douglas Miller wrote: >> Extend dump command to allow display of 2, 4, and 8 byte words in native >> endian format. Also adds dump command for "1 byte words" for the sake >> of symmetry. New commands are: >>

Re: [PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-08 Thread Balbir Singh
On Tue, Feb 07, 2017 at 07:40:44AM -0600, Douglas Miller wrote: > Extend dump command to allow display of 2, 4, and 8 byte words in native > endian format. Also adds dump command for "1 byte words" for the sake > of symmetry. New commands are: > > d1 dump 8 bit values > d2

[PATCH 1/1] powerpc/xmon: Dump memory in native endian format.

2017-02-07 Thread Douglas Miller
Extend dump command to allow display of 2, 4, and 8 byte words in native endian format. Also adds dump command for "1 byte words" for the sake of symmetry. New commands are: d1 dump 8 bit values d2 dump 16 bit values d4 dump 32 bit values d8