Skip to content
Snippets Groups Projects
Commit e72bb8a5 authored by Samuel Mendoza-Jonas's avatar Samuel Mendoza-Jonas Committed by Michael Ellerman
Browse files

powerpc/powernv: Reset HILE before kexec_sequence()


On powernv secondary cpus are returned to OPAL, and will then enter
the target kernel in big-endian. However if it is set the HILE bit
will persist, causing the first exception in the target kernel to be
delivered in litte-endian regardless of the current endianness.

If running on top of OPAL make sure the HILE bit is reset once we've
finished waiting for all of the secondaries to be returned to OPAL.

Signed-off-by: default avatarSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent ffebf5f3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment