]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S: PR: Fix C/R bit setting
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 10:48:19 +0000 (12:48 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:18 +0000 (14:26 +0200)
commit0ff6f532b0c66eb17b2c3e7684a113a3b3c07498
treeb79bf158e2a93d54b2978c2582570c5bcf7e5144
parent57090f887e56e6962c567573401e8b9371cc2e2b
KVM: PPC: Book3S: PR: Fix C/R bit setting

Commit 3e6bd64195 made C/R HTAB updates go byte-wise into the target HTAB.
However, it didn't update the guest's copy of the HTAB, but instead the
host local copy of it.

Write to the guest's HTAB instead.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Paul Mackerras <paulus@samba.org>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c