aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/arm_sdei.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/arm_sdei.h b/include/linux/arm_sdei.h
index 942afbd544b7..3305ea7f9dc7 100644
--- a/include/linux/arm_sdei.h
+++ b/include/linux/arm_sdei.h
@@ -11,7 +11,11 @@ enum sdei_conduit_types {
11 CONDUIT_HVC, 11 CONDUIT_HVC,
12}; 12};
13 13
14#include <acpi/ghes.h>
15
16#ifdef CONFIG_ARM_SDE_INTERFACE
14#include <asm/sdei.h> 17#include <asm/sdei.h>
18#endif
15 19
16/* Arch code should override this to set the entry point from firmware... */ 20/* Arch code should override this to set the entry point from firmware... */
17#ifndef sdei_arch_get_entry_point 21#ifndef sdei_arch_get_entry_point
@@ -39,6 +43,11 @@ int sdei_event_unregister(u32 event_num);
39int sdei_event_enable(u32 event_num); 43int sdei_event_enable(u32 event_num);
40int sdei_event_disable(u32 event_num); 44int sdei_event_disable(u32 event_num);
41 45
46/* GHES register/unregister helpers */
47int sdei_register_ghes(struct ghes *ghes, sdei_event_callback *normal_cb,
48 sdei_event_callback *critical_cb);
49int sdei_unregister_ghes(struct ghes *ghes);
50
42#ifdef CONFIG_ARM_SDE_INTERFACE 51#ifdef CONFIG_ARM_SDE_INTERFACE
43/* For use by arch code when CPU hotplug notifiers are not appropriate. */ 52/* For use by arch code when CPU hotplug notifiers are not appropriate. */
44int sdei_mask_local_cpu(void); 53int sdei_mask_local_cpu(void);