aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/arm_sdei.h
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2019-01-29 18:49:02 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-11 11:07:49 +0100
commitf9f05395f384ee858520b6c65d7e3e436af20c53 (patch)
tree4a7304774ce2d02b97d145fa3a5519085b2bd294 /include/linux/arm_sdei.h
parentfirmware: arm_sdei: Add ACPI GHES registration helper (diff)
downloadwireguard-linux-f9f05395f384ee858520b6c65d7e3e436af20c53.tar.xz
wireguard-linux-f9f05395f384ee858520b6c65d7e3e436af20c53.zip
ACPI / APEI: Add support for the SDEI GHES Notification type
If the GHES notification type is SDEI, register the provided event using the SDEI-GHES helper. SDEI may be one of two types of event, normal and critical. Critical events can interrupt normal events, so these must have separate fixmap slots and locks in case both event types are in use. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/arm_sdei.h')
-rw-r--r--include/linux/arm_sdei.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/arm_sdei.h b/include/linux/arm_sdei.h
index 393899192906..3305ea7f9dc7 100644
--- a/include/linux/arm_sdei.h
+++ b/include/linux/arm_sdei.h
@@ -12,7 +12,10 @@ enum sdei_conduit_types {
};
#include <acpi/ghes.h>
+
+#ifdef CONFIG_ARM_SDE_INTERFACE
#include <asm/sdei.h>
+#endif
/* Arch code should override this to set the entry point from firmware... */
#ifndef sdei_arch_get_entry_point