]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: flush CPU on load control
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 31 Oct 2014 08:24:20 +0000 (09:24 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 7 Nov 2014 10:10:52 +0000 (11:10 +0100)
commit424d5b9f412d1e7890acb3d591c46ee73e5fff8b
tree84b58a0a95de30c635b76358d964a57055c0bbe7
parentb36e97dfb8d1066738c9c66a6ba48343a3ae607e
KVM: s390: flush CPU on load control

some control register changes will flush some aspects of the CPU, e.g.
POP explicitely mentions that for CR9-CR11 "TLBs may be cleared".
Instead of trying to be clever and only flush on specific CRs, let
play safe and flush on all lctl(g) as future machines might define
new bits in CRs. Load control intercept should not happen that often.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
arch/s390/kvm/priv.c