[Skiboot] [PATCH 0/1] Disable PEF in BML
grimm at linux.ibm.com
Thu Feb 6 07:48:12 AEDT 2020
We need this for BML as explained in the commit message. The lab doesn't want
to turn off PEF when the machines boots as a special case for BML.
I'm posting it separate from the UV enablement patches because I'm hoping we
can get this in Skiboot faster and I don't have to carry it in a side tree.
I do the disable unconditionally because the code checkes if MSR_S==0 and then
it does nothing, so it won't affect the case where Hostboot turns it off. And,
if HB has it on, well, we're broken anyway.
Down the road we could do it based on a property in the device tree that BML
specifies or maybe it the Ultravisor node doesn't exit but PEF is still on.
This is tested on P9N DD2.3 and P9 Mambo.
What do you think about carrying this in Skiboot so we don't have to have to
carry it around for BML? How does it look?
Ryan Grimm (1):
Disable protected execution facility
asm/misc.S | 37 ++++++++++++++++++++++++++++
core/cpu.c | 59 +++++++++++++++++++++++++++++++++++++++++++++
core/init.c | 3 +++
include/cpu.h | 3 +++
include/processor.h | 4 +++
5 files changed, 106 insertions(+)
More information about the Skiboot