[Crash-utility] [PATCH v5 4/4] arm64: add VHE support

Dave Anderson anderson at redhat.com
Thu Jun 30 18:20:43 UTC 2016



----- Original Message -----
> On 29 June 2016 at 04:35, Dave Anderson < anderson at redhat.com > wrote:
> > 
> > 
> > Takahiro,
> > 
> > Without this patch -- aside from in-kernel exception frames not
> > getting found and displayed -- does everything else work OK?
> 
> ​All what I can say is that this is the only issue that I have noticed so far on VHE-enabled system.​
> So the "subject" may be overstated.
> 
> Thanks,
> -Takahiro AKASHI

This one's low-hanging fruit -- queued for crash-7.1.6:

  https://github.com/crash-utility/crash/commit/7bdaf442dcadefb924805b5db30a25b7c3800754

Dave


> 
> > Dave
> > 
> > 
> > ----- Original Message -----
> > > On VHE-enabled system, the kernel runs in EL2.
> > > 
> > > Signed-off-by: AKASHI Takahiro < takahiro.akashi at linaro.org >
> > > ---
> > > arm64.c | 2 ++
> > > 1 file changed, 2 insertions(+)
> > > 
> > > diff --git a/arm64.c b/arm64.c
> > > index bad36aa..b9fa14d 100644
> > > --- a/arm64.c
> > > +++ b/arm64.c
> > > @@ -1414,6 +1414,8 @@ arm64_is_kernel_exception_frame(struct bt_info *bt,
> > > ulong stkptr)
> > > {
> > > case PSR_MODE_EL1t:
> > > case PSR_MODE_EL1h:
> > > + case PSR_MODE_EL2t:
> > > + case PSR_MODE_EL2h:
> > > return TRUE;
> > > }
> > > }
> > > --
> > > 2.9.0
> > > 
> > > --
> > > Crash-utility mailing list
> > > Crash-utility at redhat.com
> > > https://www.redhat.com/mailman/listinfo/crash-utility
> > > 
> > 
> > --
> > Crash-utility mailing list
> > Crash-utility at redhat.com
> > https://www.redhat.com/mailman/listinfo/crash-utility
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility




More information about the Crash-utility mailing list