[PATCH v2 0/5] Add uv_sysfs platform driver
From: Justin Ernst
Date: Wed Nov 18 2020 - 11:48:57 EST
Introduce a new platform driver to gather topology information from UV systems
and expose that information via a sysfs interface at /sys/firmware/sgi_uv/.
This is version 2 with these changes since version 1:
* Re-introduced /sys/firmware/sgi_uv/coherence_id file in the new driver after
removing it in Patch 1/5. This keeps the userspace API unbroken.
Justin Ernst (5):
x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface
x86/platform/uv: Add and export uv_bios_* functions
x86/platform/uv: Add new uv_sysfs platform driver
x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/
x86/platform/uv: Update MAINTAINERS for uv_sysfs driver
.../ABI/testing/sysfs-firmware-sgi_uv | 141 ++-
MAINTAINERS | 6 +
arch/x86/include/asm/uv/bios.h | 49 +
arch/x86/include/asm/uv/uv_geo.h | 103 +++
arch/x86/platform/uv/Makefile | 2 +-
arch/x86/platform/uv/bios_uv.c | 54 ++
arch/x86/platform/uv/uv_sysfs.c | 63 --
drivers/platform/x86/Kconfig | 11 +
drivers/platform/x86/Makefile | 3 +
drivers/platform/x86/uv_sysfs.c | 862 ++++++++++++++++++
10 files changed, 1216 insertions(+), 78 deletions(-)
create mode 100644 arch/x86/include/asm/uv/uv_geo.h
delete mode 100644 arch/x86/platform/uv/uv_sysfs.c
create mode 100644 drivers/platform/x86/uv_sysfs.c
base-commit: 4ef8451b332662d004df269d4cdeb7d9f31419b5
--
2.26.2