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

Re: [Xen-devel] [PATCH] xen: arm64: more useful logging on bad trap.



On Wed, Feb 18, 2015 at 11:01 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote:
> On Wed, 2015-02-18 at 10:47 -0500, Jintack Lim wrote:
>> On Wed, Feb 18, 2015 at 10:19 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> 
>> wrote:
>> > Dump the register state before panicing so we have some clue where the
>> > issue occurred. Also decode the ESR register a bit to save having to
>> > grab a pen and paper.
>> >
>> > ESR_EL2 is a 32-bit register, so use SYSREG_READ32 not ..._READ64, as
>> > we already do correctly in the main trap handler.
>> >
>> > While here notice that do_trap_serror is never called and remove it.
>> >
>> > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>> > Cc: jintack@xxxxxxxxxxxxxxx
>> > ---
>> > Jintack, since you have a system which is exhibiting SError issues I
>> > wonder if I could prevail on you to give this patch a try on your
>> > system and report on the output. I've only compile tested this myself.
>> > ---
>>
>> Hi Ian,
>> this is the output I got from the machine.
>
> Thanks, may I add a "Tested-by: Jintack Lim <jintack@xxxxxxxxxxxxxxx>"
> please?

Yes!, Thanks.

>
>
>> (XEN) Bad mode in Error handler detected, code 0xbf000000, EC=2f, IL=1
>> ISS=1000000
>
> I notice I missed a "," here after "IL=1", which I'll fix for v2.
>
> The line is also a bit long so I've split into two lines.
>
> Ian.
>
>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.