summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-04-09 23:01:19 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-04-09 23:01:19 +0300
commit8e937866b425248fa375b2138c19c117a87c6be0 (patch)
treea233ffd22df178b5982cda4af663aedd872ea6cc /include
parent2fb9ec386fa1a842701a5ba4bb44f1e544d9bfc4 (diff)
parentd7610855b0b5e934a35dedb02047a2419bf00770 (diff)
downloadlinux-8e937866b425248fa375b2138c19c117a87c6be0.tar.xz
Merge branch 'acpi-apei'
Merge ACPI APEI updates for 7.1-rc1: - Add devm_ghes_register_vendor_record_notifier(), use it in the PCI hisi driver, and Add NVIDIA vendor CPER record handler (Kai-Heng Feng) * acpi-apei: ACPI: APEI: GHES: Add NVIDIA vendor CPER record handler PCI: hisi: Use devm_ghes_register_vendor_record_notifier() ACPI: APEI: GHES: Add devm_ghes_register_vendor_record_notifier()
Diffstat (limited to 'include')
-rw-r--r--include/acpi/ghes.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/acpi/ghes.h b/include/acpi/ghes.h
index 7bea522c0657..8d7e5caef3f1 100644
--- a/include/acpi/ghes.h
+++ b/include/acpi/ghes.h
@@ -71,6 +71,17 @@ int ghes_register_vendor_record_notifier(struct notifier_block *nb);
*/
void ghes_unregister_vendor_record_notifier(struct notifier_block *nb);
+/**
+ * devm_ghes_register_vendor_record_notifier - device-managed vendor
+ * record notifier registration.
+ * @dev: device that owns the notifier lifetime
+ * @nb: pointer to the notifier_block structure of the vendor record handler
+ *
+ * Return: 0 on success, negative errno on failure.
+ */
+int devm_ghes_register_vendor_record_notifier(struct device *dev,
+ struct notifier_block *nb);
+
struct list_head *ghes_get_devices(void);
void ghes_estatus_pool_region_free(unsigned long addr, u32 size);