[RFC 3/5] riscv: add fix map index for GHES IRQ

Rui Qi qirui.001 at bytedance.com
Thu Feb 6 05:19:24 PST 2025


From: Rui Qi <qirui.001 at bytedance.com>

GHES error handling requires fixmap entries for IRQ notifications.
Add fixmap index for it.

Signed-off-by: Rui Qi <qirui.001 at bytedance.com>
---
 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




More information about the linux-riscv mailing list