[PATCH] powerpc/xmon: check before calling xive functions
Benjamin Herrenschmidt
benh at au1.ibm.com
Fri Oct 20 02:21:24 AEDT 2017
On Thu, 2017-10-19 at 15:09 +0200, Cédric Le Goater wrote:
> > No that's wrong. xive_enabled() is only set if Linux is using native
> > xive mode but some of those xmon functions dump the emulated state.
> >
> > We should fix the actual cause of the crash.
>
> which should be in the OPAL XIVE dump routines then ?
Yup, probably needs a NULL check or something...
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list