Skip to content
Commit 235959be authored by Alexander Graf's avatar Alexander Graf
Browse files

PPC: ePAPR: Fix hypercall on LE guest



We get an array of instructions from the hypervisor via device tree that
we write into a buffer that gets executed whenever we want to make an
ePAPR compliant hypercall.

However, the hypervisor passes us these instructions in BE order which
we have to manually convert to LE when we want to run them in LE mode.

With this fixup in place, I can successfully run LE kernels with KVM
PV enabled on PR KVM.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent ddca156a
Loading
Loading
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