summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-01-08 11:25:30 +0100
committerAlexander Graf <agraf@suse.de>2014-01-27 16:01:16 +0100
commitd682916a381ac7c8eb965c10ab64bc7cc2f18647 (patch)
treed207502175f9b6b6c48988b25200efe859008399 /arch/powerpc/perf
parentKVM: PPC: Book3S HV: Add support for DABRX register on POWER7 (diff)
downloadlinux-d682916a381ac7c8eb965c10ab64bc7cc2f18647.tar.xz
linux-d682916a381ac7c8eb965c10ab64bc7cc2f18647.zip
KVM: PPC: Book3S HV: Basic little-endian guest support
We create a guest MSR from scratch when delivering exceptions in a few places. Instead of extracting LPCR[ILE] and inserting it into MSR_LE each time, we simply create a new variable intr_msr which contains the entire MSR to use. For a little-endian guest, userspace needs to set the ILE (interrupt little-endian) bit in the LPCR for each vcpu (or at least one vcpu in each virtual core). [paulus@samba.org - removed H_SET_MODE implementation from original version of the patch, and made kvmppc_set_lpcr update vcpu->arch.intr_msr.] Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/perf')
0 files changed, 0 insertions, 0 deletions