diff options
author | Alexander Graf <agraf@suse.de> | 2012-12-14 22:42:05 (GMT) |
---|---|---|
committer | Stuart Yoder <stuart.yoder@freescale.com> | 2013-04-11 22:29:30 (GMT) |
commit | 48e3be2ada261cb6f6ffcba36c6d7e5e4c128aa1 (patch) | |
tree | b6b15e00483f6d08f241415c775fb311c40ae0cc /include | |
parent | 2a423a8ed46dd081eda4fa3aa336cec3d3a92893 (diff) | |
download | linux-fsl-qoriq-48e3be2ada261cb6f6ffcba36c6d7e5e4c128aa1.tar.xz |
KVM: PPC: Book3S: PR: Enable alternative instruction for SC 1
When running on top of pHyp, the hypercall instruction "sc 1" goes
straight into pHyp without trapping in supervisor mode.
So if we want to support PAPR guest in this configuration we need to
add a second way of accessing PAPR hypercalls, preferably with the
exact same semantics except for the instruction.
So let's overlay an officially reserved instruction and emulate PAPR
hypercalls whenever we hit that one.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions