mbox series

[v2,0/3] ACPI ADXL and associated EDAC driver change

Message ID 20181011211236.23525-1-tony.luck@intel.com (mailing list archive)
Headers show
Series ACPI ADXL and associated EDAC driver change | expand

Message

Tony Luck Oct. 11, 2018, 9:12 p.m. UTC
Part 1: Add code to ACPI to make the DSM calls and export interface functions
Part 2: Some EDAC cleanup (used to be part 3 of the earlier 5 part series)
Part 3: Update skx_edac.c to use (if we have some NVDIMMs present)

Changes since last version.

Part 1
	Rafael
		Fix Kconfig so that ACPI_ADXL is not user selectable.

		Update error message when DSM call fails to be more useful

Part 2
	No changes

Part 3
	Tony Luck
		Just allocate the array for the values once when setting
		up, not on each decode (its not very big, and avoids risk
		of not having memory available at decode time).

		Add an enum to define names for the offsets in the
		component_indices[] array

		Ignore unused fields returned by adxl_decode() (those
		with value 0xffffffffffffffff.

	Qiuxu Zhuo
		Avoid memory leak. kfree(adxl_values) on module removal.

Qiuxu Zhuo (2):
  EDAC, skx_edac: Clean up debugfs
  EDAC, skx_edac: Add address translation for non-volatile DIMMs

Tony Luck (1):
  ACPI / adxl: Address translation interface using ACPI DSM

 drivers/acpi/Kconfig     |   3 +
 drivers/acpi/Makefile    |   3 +
 drivers/acpi/acpi_adxl.c | 199 +++++++++++++++++++++++++++++
 drivers/edac/Kconfig     |   1 +
 drivers/edac/skx_edac.c  | 262 +++++++++++++++++++++++++++++++--------
 include/linux/adxl.h     |  25 ++++
 6 files changed, 443 insertions(+), 50 deletions(-)
 create mode 100644 drivers/acpi/acpi_adxl.c
 create mode 100644 include/linux/adxl.h