* acpi-apei: (29 commits) efi: cper: Fix possible out-of-bounds access ACPI: APEI: Fix possible out-of-bounds access to BERT region MAINTAINERS: Add James Morse to the list of APEI reviewers ACPI / APEI: Add support for the SDEI GHES Notification type firmware: arm_sdei: Add ACPI GHES registration helper ACPI / APEI: Use separate fixmap pages for arm64 NMI-like notifications ACPI / APEI: Only use queued estatus entry during in_nmi_queue_one_entry() ACPI / APEI: Split ghes_read_estatus() to allow a peek at the CPER length ACPI / APEI: Make GHES estatus header validation more user friendly ACPI / APEI: Pass ghes and estatus separately to avoid a later copy ACPI / APEI: Let the notification helper specify the fixmap slot ACPI / APEI: Move locking to the notification helper arm64: KVM/mm: Move SEA handling behind a single 'claim' interface KVM: arm/arm64: Add kvm_ras.h to collect kvm specific RAS plumbing ACPI / APEI: Switch NOTIFY_SEA to use the estatus queue ACPI / APEI: Move NOTIFY_SEA between the estatus-queue and NOTIFY_NMI ACPI / APEI: Don't allow ghes_ack_error() to mask earlier errors ACPI / APEI: Generalise the estatus queue's notify code ACPI / APEI: Don't update struct ghes' flags in read/clear estatus ACPI / APEI: Remove spurious GHES_TO_CLEAR check ...
Showing the changes to include/linux (1 of 21 files). Show all
Unified · Split
| @@ -11,7 +11,11 @@ enum sdei_conduit_types { · 10 unmodified lines | ||
| 11 | 11 | CONDUIT_HVC, |
| 12 | 12 | }; |
| 13 | 13 | |
| 14 | +#include <acpi/ghes.h> | |
| 15 | + | |
| 16 | +#ifdef CONFIG_ARM_SDE_INTERFACE | |
| 14 | 17 | #include <asm/sdei.h> |
| 18 | +#endif | |
| 15 | 19 | |
| 16 | 20 | /* Arch code should override this to set the entry point from firmware... */ |
| 17 | 21 | #ifndef sdei_arch_get_entry_point |
| @@ -39,6 +43,11 @@ int sdei_event_unregister(u32 event_num); · 21 unmodified lines | ||
| 39 | 43 | int sdei_event_enable(u32 event_num); |
| 40 | 44 | int sdei_event_disable(u32 event_num); |
| 41 | 45 | |
| 46 | +/* GHES register/unregister helpers */ | |
| 47 | +int sdei_register_ghes(struct ghes *ghes, sdei_event_callback *normal_cb, | |
| 48 | + sdei_event_callback *critical_cb); | |
| 49 | +int sdei_unregister_ghes(struct ghes *ghes); | |
| 50 | + | |
| 42 | 51 | #ifdef CONFIG_ARM_SDE_INTERFACE |
| 43 | 52 | /* For use by arch code when CPU hotplug notifiers are not appropriate. */ |
| 44 | 53 | int sdei_mask_local_cpu(void); |