linux/arch/s390/kvm
Janosch Frank 7d0a5e6241 KVM: s390: Limit sthyi execution
Store hypervisor information is a valid instruction not only in
supervisor state but also in problem state, i.e. the guest's
userspace. Its execution is not only computational and memory
intensive, but also has to get hold of the ipte lock to write to the
guest's memory.

This lock is not intended to be held often and long, especially not
from the untrusted guest userspace. Therefore we apply rate limiting
of sthyi executions per VM.

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Acked-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2016-06-10 12:07:12 +02:00
..
diag.c s390/mm: split arch/s390/mm/pgtable.c 2016-03-08 15:00:15 +01:00
gaccess.c KVM: s390: gaccess: implement instruction fetching mode 2016-02-10 13:12:51 +01:00
gaccess.h KVM: s390: gaccess: implement instruction fetching mode 2016-02-10 13:12:51 +01:00
guestdbg.c s390: Fix misspellings in comments 2016-03-08 15:00:17 +01:00
intercept.c KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
interrupt.c KVM: halt_polling: provide a way to qualify wakeups during poll 2016-05-13 17:29:23 +02:00
irq.h KVM: s390: irq routing for adapter interrupts. 2014-03-21 13:43:00 +01:00
Kconfig KVM: halt_polling: provide a way to qualify wakeups during poll 2016-05-13 17:29:23 +02:00
kvm-s390.c KVM: s390: Limit sthyi execution 2016-06-10 12:07:12 +02:00
kvm-s390.h KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
Makefile KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00
priv.c KVM: s390: cleanup cpuid handling 2016-05-09 13:33:57 +02:00
sigp.c KVM: s390: enable SRS only if enabled for the guest 2016-05-09 13:33:55 +02:00
sthyi.c KVM: s390: Limit sthyi execution 2016-06-10 12:07:12 +02:00
trace-s390.h KVM: s390: obey kptr_restrict in traces 2015-12-15 17:06:32 +01:00
trace.h KVM: s390: Add sthyi emulation 2016-06-10 12:07:12 +02:00