[PATCH 0/3] enable ghes_edac on selected platforms
From: Toshi Kani
Date: Mon Jul 17 2017 - 18:08:33 EST
The ghes_edac driver was introduced in 2013 [1], but it has not been
enabled by any distro yet. This is because the driver obtains error
info from firmware interfaces, which are not properly implemented on
many platforms.
To get out from this situation, add a platform check to selectively
enable the driver on the platforms that are known to have proper
firmware implementation. Platform vendors can add their platforms to
the list when they support ghes_edac.
Patch 1 moves the platform check in acpi_blacklisted() to a common
utility func, acpi_match_oemlist().
Patch 2 converts the intel_pstate driver to use acpi_match_oemlist().
Patch 3 introduces a platform check to the ghes_edac driver.
---
Toshi Kani (3):
1/3 ACPI / blacklist: add acpi_match_oemlist() interface
2/3 intel_pstate: convert to use acpi_match_oemlist()
3/3 ghes_edac: add platform check to enable ghes_edac
---
drivers/acpi/blacklist.c | 84 ++++++++----------------------------------
drivers/acpi/utils.c | 40 ++++++++++++++++++++
drivers/cpufreq/intel_pstate.c | 64 +++++++++++++-------------------
drivers/edac/ghes_edac.c | 28 +++++++++++---
include/linux/acpi.h | 19 ++++++++++
5 files changed, 122 insertions(+), 113 deletions(-)