aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_hv_rm_mmu.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-03-23 11:21:14 +1100
committerAlexander Graf <agraf@suse.de>2012-05-16 15:02:11 +0200
commitffe3649282946547f1b938e02c0228aead407a18 (patch)
treebc95604d39cdefb135adc60c03fabffda4557604 /arch/powerpc/kvm/book3s_hv_rm_mmu.c
parentKVM: PPC: Book3S: PR: Fix hsrr code (diff)
downloadlinux-dev-ffe3649282946547f1b938e02c0228aead407a18.tar.xz
linux-dev-ffe3649282946547f1b938e02c0228aead407a18.zip
powerpc/kvm: Fix VSID usage in 64-bit "PR" KVM
The code forgot to scramble the VSIDs the way we normally do and was basically using the "proto VSID" directly with the MMU. This means that in practice, KVM used random VSIDs that could collide with segments used by other user space programs. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [agraf: simplify ppc32 case] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions