powerpc/book3s: Add basic infrastructure to handle HMI in Linux.
Handle Hypervisor Maintenance Interrupt (HMI) in Linux. This patch implements basic infrastructure to handle HMI in Linux host. The design is to invoke opal handle hmi in real mode for recovery and set irq_pending when we hit HMI. During check_irq_replay pull opal hmi event and print hmi info on console. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
84f1966e25
commit
0869b6fd20
@@ -11,6 +11,7 @@ typedef struct {
|
||||
unsigned int pmu_irqs;
|
||||
unsigned int mce_exceptions;
|
||||
unsigned int spurious_irqs;
|
||||
unsigned int hmi_exceptions;
|
||||
#ifdef CONFIG_PPC_DOORBELL
|
||||
unsigned int doorbell_irqs;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user