Re: [PATCH] powerpc/xmon: check before calling xive functions
From: Benjamin Herrenschmidt <hidden> Date: 2017-10-19 15:22:02
On Thu, 2017-10-19 at 15:09 +0200, Cédric Le Goater wrote:
quoted
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.