[Skiboot] [PATCH] xive: Fix initialisation of xive_cpu_state struct

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jun 21 18:44:41 AEST 2017


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:
> When using XIVE emulation with DEBUG=1, we run into crashes in log_add()
> due to the xive_cpu_state->log_pos being uninitialised (and thus, with
> DEBUG enabled, initialised to the poison value of 0x99999999).
>
> Zero out the xive_cpu_state to fix this.
>
> Fixes: 6480d9656348 ("XIVE: Base XIVE support for OPAL XICS emulation calls")
> Reported-by: Alastair D'Silva <alastair at d-silva.org>
> Suggested-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Merged to master as of 16991da59133dc4a4e321a136cf2c63c42dca8bd
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list