[PATCH 11/13] powerpc: Add support to mask perf interrupts and replay them

Nicholas Piggin npiggin at gmail.com
Fri Sep 16 20:47:08 AEST 2016


On Thu, 15 Sep 2016 18:32:01 +0530
Madhavan Srinivasan <maddy at linux.vnet.ibm.com> wrote:

> To support masking of the PMI interrupts, couple of new interrupt handler
> macros are added MASKABLE_EXCEPTION_PSERIES_OOL and
> MASKABLE_RELON_EXCEPTION_PSERIES_OOL.
> 
> Couple of new irq #defs "PACA_IRQ_PMI" and "SOFTEN_VALUE_0xf0*" added to
> use in the exception code to check for PMI interrupts.
> 
> In the masked_interrupt handler, for PMIs we reset the MSR[EE]
> and return. In the __check_irq_replay(), replay the PMI interrupt
> by calling performance_monitor_common handler.


Reviewed-by: Nicholas Piggin <npiggin at gmail.com>


More information about the Linuxppc-dev mailing list