linux/arch/powerpc
Aravinda Prasad 134764ed6e KVM: PPC: Book3S HV: Add new capability to control MCE behaviour
This introduces a new KVM capability to control how KVM behaves
on machine check exception (MCE) in HV KVM guests.

If this capability has not been enabled, KVM redirects machine check
exceptions to guest's 0x200 vector, if the address in error belongs to
the guest. With this capability enabled, KVM will cause a guest exit
with the exit reason indicating an NMI.

The new capability is required to avoid problems if a new kernel/KVM
is used with an old QEMU, running a guest that doesn't issue
"ibm,nmi-register".  As old QEMU does not understand the NMI exit
type, it treats it as a fatal error.  However, the guest could have
handled the machine check error if the exception was delivered to
guest's 0x200 interrupt vector instead of NMI exit in case of old
QEMU.

[paulus@ozlabs.org - Reworded the commit message to be clearer,
 enable only on HV KVM.]

Signed-off-by: Aravinda Prasad <aravinda@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2017-06-21 13:37:08 +10:00
..
boot devicetree: Move include prefixes from arch to separate directory 2017-05-18 23:55:48 -07:00
configs powerpc updates for 4.12 part 1. 2017-05-05 11:36:44 -07:00
crypto
include KVM: PPC: Book3S HV: Add new capability to control MCE behaviour 2017-06-21 13:37:08 +10:00
kernel KVM: PPC: Book3S HV: Add new capability to control MCE behaviour 2017-06-21 13:37:08 +10:00
kvm KVM: PPC: Book3S HV: Add new capability to control MCE behaviour 2017-06-21 13:37:08 +10:00
lib powerpc updates for 4.12 part 1. 2017-05-05 11:36:44 -07:00
math-emu
mm powerpc/mm: Fix crash in page table dump with huge pages 2017-05-17 11:56:33 +10:00
net
oprofile
perf
platforms powerpc updates for 4.12 part 2 2017-05-12 10:04:09 -07:00
purgatory
sysdev powerpc updates for 4.12 part 2 2017-05-12 10:04:09 -07:00
tools
xmon
Kconfig powerpc updates for 4.12 part 2 2017-05-12 10:04:09 -07:00
Kconfig.debug
Makefile
Makefile.postlink powerpc: Fix distclean with Makefile.postlink 2017-05-09 19:24:23 +10:00