commit | ffe3649282946547f1b938e02c0228aead407a18 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Mar 23 11:21:14 2012 +1100 |
committer | Alexander Graf <agraf@suse.de> | Wed May 16 15:02:11 2012 +0200 |
tree | bc95604d39cdefb135adc60c03fabffda4557604 | |
parent | 32c7dbfd479e73684b0d23fcb0a5cb04f19d86f4 [diff] |
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>