diff options
author | Paul Mackerras <paulus@samba.org> | 2013-06-22 17:15:24 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-06-30 03:33:22 +0200 |
commit | 681562cd56f5336cbdf6dab0c4b2f6ef16ea89ed (patch) | |
tree | c18bfe66e7f4f84b513580a728fee764c1ed2337 /virt/kvm | |
parent | 0f296829b5a59d5a157699cbb23672ccfdd8df4c (diff) | |
download | linux-681562cd56f5336cbdf6dab0c4b2f6ef16ea89ed.tar.gz linux-681562cd56f5336cbdf6dab0c4b2f6ef16ea89ed.tar.bz2 linux-681562cd56f5336cbdf6dab0c4b2f6ef16ea89ed.zip |
KVM: PPC: Book3S PR: Invalidate SLB entries properly
At present, if the guest creates a valid SLB (segment lookaside buffer)
entry with the slbmte instruction, then invalidates it with the slbie
instruction, then reads the entry with the slbmfee/slbmfev instructions,
the result of the slbmfee will have the valid bit set, even though the
entry is not actually considered valid by the host. This is confusing,
if not worse. This fixes it by zeroing out the orige and origv fields
of the SLB entry structure when the entry is invalidated.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions