x86/platform/uv: Add new uv_sysfs platform driver
authorJustin Ernst <justin.ernst@hpe.com>
Wed, 25 Nov 2020 17:54:42 +0000 (11:54 -0600)
committerBorislav Petkov <bp@suse.de>
Thu, 26 Nov 2020 13:46:11 +0000 (14:46 +0100)
commit4fc2cf1f2daf8303000efb7c9dc0307ea638a8f3
treeadf17e17caa78e53210e79448084486bb63deb27
parent9a3c425cfdfee169622f1cb1a974b2f287e5560c
x86/platform/uv: Add new uv_sysfs platform driver

Add the uv_sysfs driver to construct a read-only sysfs interface at
/sys/firmware/sgi_uv/ to expose information gathered from UV BIOS. This
information includes:

  * UV Hub descriptions, including physical location
  * Cabling layout between hubs on the fabric
  * PCI topology, including physical location of PCI cards

Together, the information provides a robust physical description of a UV
system, useful for correlating to performance data or performing remote
support.

Signed-off-by: Justin Ernst <justin.ernst@hpe.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lkml.kernel.org/r/20201125175444.279074-4-justin.ernst@hpe.com
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/uv_sysfs.c [new file with mode: 0644]