Merge branches 'acpi-sysfs', 'acpi-apei' and 'acpi-blacklist'
* acpi-sysfs: ACPI / sysfs: Extend ACPI sysfs to provide access to boot error region * acpi-apei: ACPI / APEI: Suppress message if HEST not present ACPI, APEI, EINJ: Subtract any matching Register Region from Trigger resources ACPI: APEI: fix the wrong iteration of generic error status block ACPI: APEI: Enable APEI multiple GHES source to share a single external IRQ * acpi-blacklist: intel_pstate: convert to use acpi_match_platform_list() ACPI / blacklist: add acpi_match_platform_list()
This commit is contained in:
@@ -16,7 +16,13 @@
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
extern bool hest_disable;
|
||||
enum hest_status {
|
||||
HEST_ENABLED,
|
||||
HEST_DISABLED,
|
||||
HEST_NOT_FOUND,
|
||||
};
|
||||
|
||||
extern int hest_disable;
|
||||
extern int erst_disable;
|
||||
#ifdef CONFIG_ACPI_APEI_GHES
|
||||
extern bool ghes_disable;
|
||||
|
@@ -113,6 +113,11 @@ static inline void *acpi_hest_get_next(struct acpi_hest_generic_data *gdata)
|
||||
return (void *)(gdata) + acpi_hest_get_record_size(gdata);
|
||||
}
|
||||
|
||||
#define apei_estatus_for_each_section(estatus, section) \
|
||||
for (section = (struct acpi_hest_generic_data *)(estatus + 1); \
|
||||
(void *)section - (void *)(estatus + 1) < estatus->data_length; \
|
||||
section = acpi_hest_get_next(section))
|
||||
|
||||
int ghes_notify_sea(void);
|
||||
|
||||
#endif /* GHES_H */
|
||||
|
Reference in New Issue
Block a user