[RFC 3/5] riscv: add fix map index for GHES IRQ
From: Rui Qi
Date: Thu Feb 06 2025 - 08:21:49 EST
From: Rui Qi <qirui.001@xxxxxxxxxxxxx>
GHES error handling requires fixmap entries for IRQ notifications.
Add fixmap index for it.
Signed-off-by: Rui Qi <qirui.001@xxxxxxxxxxxxx>
---
arch/riscv/include/asm/fixmap.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/riscv/include/asm/fixmap.h b/arch/riscv/include/asm/fixmap.h
index 0a55099bb734..bca75c0e66a1 100644
--- a/arch/riscv/include/asm/fixmap.h
+++ b/arch/riscv/include/asm/fixmap.h
@@ -36,6 +36,9 @@ enum fixed_addresses {
FIX_P4D,
FIX_TEXT_POKE1,
FIX_TEXT_POKE0,
+#ifdef CONFIG_ACPI_APEI_GHES
+ FIX_APEI_GHES_IRQ,
+#endif
FIX_EARLYCON_MEM_BASE,
__end_of_permanent_fixed_addresses,
--
2.20.1