From: Alexander Graf Date: Fri, 14 Dec 2012 22:42:05 +0000 (+0100) Subject: KVM: PPC: Book3S: PR: Enable alternative instruction for SC 1 X-Git-Tag: v3.9-rc1~97^2~47^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c7bb80b5bd5a9962905306dd2292eeb9857d46;p=pandora-kernel.git 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 --- Reading git-diff-tree failed