
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/release-management/issues/ID1OOE -------------------------------- Support PPI interrupt to be xint. So if there is no FEAT_NMI, pmu irq can be used to inject WFxt instructions Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> --- drivers/irqchip/irq-gic-v3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 849d2e0db4fd..e6935105a842 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -1008,7 +1008,8 @@ DECLARE_BITMAP(irqnr_xint_map, 1024); static bool can_set_xint(unsigned int hwirq) { if (__get_intid_range(hwirq) == SGI_RANGE || - __get_intid_range(hwirq) == SPI_RANGE) + __get_intid_range(hwirq) == SPI_RANGE || + __get_intid_range(hwirq) == PPI_RANGE) return true; return false; -- 2.34.1