summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/sdei.h
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2018-01-08 15:38:09 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2018-01-13 10:44:56 +0000
commitad6eb31ef90355993eb55ff77e0e855ae7d91e4c (patch)
treed4e797a79367739b40ba7d69746882e7ba56d2fa /arch/arm64/include/asm/sdei.h
parent86f04f640058143388f56c048f86e66ea5204ae2 (diff)
firmware: arm_sdei: Add driver for Software Delegated Exceptions
The Software Delegated Exception Interface (SDEI) is an ARM standard for registering callbacks from the platform firmware into the OS. This is typically used to implement firmware notifications (such as firmware-first RAS) or promote an IRQ that has been promoted to a firmware-assisted NMI. Add the code for detecting the SDEI version and the framework for registering and unregistering events. Subsequent patches will add the arch-specific backend code and the necessary power management hooks. Only shared events are supported, power management, private events and discovery for ACPI systems will be added by later patches. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/sdei.h')
-rw-r--r--arch/arm64/include/asm/sdei.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/sdei.h b/arch/arm64/include/asm/sdei.h
new file mode 100644
index 000000000000..59f26b6e673d
--- /dev/null
+++ b/arch/arm64/include/asm/sdei.h
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
+// Copyright (C) 2017 Arm Ltd.
+#ifndef __ASM_SDEI_H
+#define __ASM_SDEI_H
+
+/* Later patches add the arch specific bits */
+
+#endif /* __ASM_SDEI_H */