[Skiboot] [PATCH 1/1] Disable protected execution facility
Oliver O'Halloran
oohall at gmail.com
Fri Jun 5 16:53:02 AEST 2020
On Thu, Feb 6, 2020 at 7:48 AM Ryan Grimm <grimm at linux.ibm.com> wrote:
>
> This patch disables Protected Execution Faciltiy (PEF).
>
> This software procedure is needed for the lab because Cronus will be
> configured to bring the machine up with PEF on. Hostboot has a similar
> procedure for running with PEF off.
>
> Skiboot can run with PEF on but the kernel cannot; the kernel will take
> a machine check when trying to write a protected resource, such as the
> PTCR.
>
> So, use this until we have an ultravisor, or if we want to use BML with
> Cronus without UV = 1.
>
> Signed-off-by: Ryan Grimm <grimm at linux.ibm.com>
Thanks, merged as 37a369bbcb5a3f37de3affb77fc774375b83783e with a
small fix that replaces the urfid instruction with a macro to make it
build on older toolchains and LLVM.
Oliver
More information about the Skiboot
mailing list