x86: Add sysfs entries for UV v2
PATCH 4/4 x86: Add sysfs entries for UV v2
[PATCH 4/4] Add sysfs entries for UV
Create /sys/firmware/sgi_uv sysfs entries for partition_id and coherence_id. The interface is documented in Documentation/ABI/testing/sysfs-firmware-sgi_uv.
--- arch/x86/kernel/Makefile | 2 - arch/x86/kernel/uv_sysfs.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ include/asm-x86/uv/bios.h | 1 3 files changed, 74 insertions(+), 1 deletion(-)
arch/x86/kernel/Makefile +1 -1
@@ -107,7 +107,7 @@ obj-$(CONFIG_OLPC) += olpc.o # 64 bit specific files ifeq ($(CONFIG_X86_64),y) obj-y += genapic_64.o genapic_flat_64.o genx2apic_uv_x.o tlb_uv.o - obj-y += bios_uv.o + obj-y += bios_uv.o uv_sysfs.o obj-y += genx2apic_cluster.o obj-y += genx2apic_phys.o obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o
arch/x86/kernel/uv_sysfs.c new file +72 -0
72 lines not on this page · raw message
include/asm-x86/uv/bios.h +1 -0
@@ -89,5 +89,6 @@ extern long uv_coherency_id;extern long uv_region_size;#define partition_coherence_id () (uv_coherency_id) +extern struct kobject *sgi_uv_kobj;/* /sys/firmware/sgi_uv */ #endif /* ASM_X86__UV__BIOS_H */
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc [email protected]
Quoted 4 lines · Russ Anderson
[PATCH 4/4] Add sysfs entries for UV
Create
/sys/firmware/sgi_uvsysfs entries forpartition_idandcoherence_id. The interface is documented inDocumentation/ABI/testing/sysfs-firmware-sgi_uv.
It is? I don't see that file in the patch:
Quoted 4 lines
arch/x86/kernel/Makefile | 2 - arch/x86/kernel/uv_sysfs.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ include/asm-x86/uv/bios.h | 1 3 files changed, 74 insertions(+), 1 deletion(-)
Did you forget something?
thanks,
greg k-h
Quoted 7 lines · Greg KH
Quoted 4 lines · Russ Anderson
[PATCH 4/4] Add sysfs entries for UV
Create
/sys/firmware/sgi_uvsysfs entries forpartition_idandcoherence_id. The interface is documented inDocumentation/ABI/testing/sysfs-firmware-sgi_uv.It is? I don't see that file in the patch:
It is already in Linus' tree.
Quoted 10 lines
Quoted 4 lines
arch/x86/kernel/Makefile | 2 - arch/x86/kernel/uv_sysfs.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ include/asm-x86/uv/bios.h | 1 3 files changed, 74 insertions(+), 1 deletion(-)Did you forget something?
thanks,
greg k-h
Thanks,
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc [email protected]
Quoted 4 lines · Russ Anderson
Quoted 3 lines · Greg KH
Quoted 2 lines · Russ Anderson
[PATCH 4/4] Add sysfs entries for UV
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Create
/sys/firmware/sgi_uvsysfs entries forpartition_idandcoherence_id. The interface is documented inDocumentation/ABI/testing/sysfs-firmware-sgi_uv.It is? I don't see that file in the patch:
It is already in Linus' tree.
Heh you got the documentation in before the code, that seems to be an interesting trend these days :)
thanks,
greg k-h