diff options
| author | Ada Couprie Diaz <ada.coupriediaz@arm.com> | 2026-07-27 17:34:16 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-11 11:33:38 +0000 |
| commit | 067f029c6463ab3bc980053bd0d50f98d7edfa3e (patch) | |
| tree | c02dd51d11341d0e6067d7b0066fe21a9d39e3ac /arch/arm | |
| parent | 0d774e0517f30b9684e936c2559fb50681a45329 (diff) | |
| download | linux-next-067f029c6463ab3bc980053bd0d50f98d7edfa3e.tar.gz linux-next-067f029c6463ab3bc980053bd0d50f98d7edfa3e.zip | |
irqchip/gic-v3: make the unmasking of pseudo-NMIs explicit when handling IRQs
`gic_arch_enable_irqs()` is only used when handling IRQs (which could
be pseudo-NMIs) and unmasking pseudo-NMIs.
The chain of `gic_pmr_mask_irqs()` and `gic_arch_enable_irqs()` for it
is slightly confusing without further explanation.
Remove `gic_arch_enable_irqs()` and instead do the whole pseudo-NMI
umasking in `gic_unmask_pnmis()`, making the operation explicit.
Signed-off-by: Ada Couprie Diaz <ada.coupriediaz@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/include/asm/arch_gicv3.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/include/asm/arch_gicv3.h b/arch/arm/include/asm/arch_gicv3.h index 847590df7551..d4ac8d3271b1 100644 --- a/arch/arm/include/asm/arch_gicv3.h +++ b/arch/arm/include/asm/arch_gicv3.h @@ -246,11 +246,7 @@ static inline void gic_pmr_mask_irqs(void) WARN_ON_ONCE(true); } -static inline void gic_arch_enable_irqs(void) -{ - /* Should not get called. */ - WARN_ON_ONCE(true); -} +static inline void gic_unmask_pnmis(void) {} static inline bool gic_has_relaxed_pmr_sync(void) { |
