brintos

brintos / linux-shallow public Read only

0
0
Text · 5.0 KiB · 7fe9244 Raw
160 lines · plain
1What:		/sys/firmware/sgi_uv/2Date:		September 20203Contact:	Justin Ernst <justin.ernst@hpe.com>4Description:5		The /sys/firmware/sgi_uv directory contains information6		about the UV platform.7 8		Under that directory are a number of read-only attributes::9 10			archtype11			hub_type12			hubless13			partition_id14			coherence_id15			uv_type16 17		The archtype entry contains the UV architecture type that18		is used to select arch-dependent addresses and features.19		It can be set via the OEM_ID in the ACPI MADT table or by20		UVsystab entry both passed from UV BIOS.21 22		The hub_type entry is used to select the type of hub which is23		similar to uv_type but encoded in a binary format.  Include24		the file uv_hub.h to get the definitions.25 26		The hubless entry basically is present and set only if there27		is no hub.  In this case the hub_type entry is not present.28 29		The partition_id entry contains the partition id.30		UV systems can be partitioned into multiple physical31		machines, which each partition running a unique copy32		of the operating system. Each partition will have a unique33		partition id.34 35		The coherence_id entry contains the coherence id.36		A partitioned UV system can have one or more coherence37		domains. The coherence id indicates which coherence domain38		this partition is in.39 40		The uv_type entry contains the hub revision number.41		This value can be used to identify the UV system version::42 43			"0.*" = Hubless UV ('*' is subtype)44			"3.0" = UV245			"5.0" = UV346			"7.0" = UV447			"7.1" = UV4a48			"9.0" = UV549 50		The /sys/firmware/sgi_uv directory also contains two directories::51 52			hubs/53			pcibuses/54 55		The hubs directory contains a number of hub objects, each representing56		a UV Hub visible to the BIOS. Each hub object's name is appended by a57		unique ordinal value (ex. /sys/firmware/sgi_uv/hubs/hub_5)58 59		Each hub object directory contains a number of read-only attributes::60 61			cnode62			location63			name64			nasid65			shared66			this_partition67 68		The cnode entry contains the cnode number of the corresponding hub.69		If a cnode value is not applicable, the value returned will be -1.70 71		The location entry contains the location string of the corresponding hub.72		This value is used to physically identify a hub within a system.73 74		The name entry contains the name of the corresponding hub. This name can75		be two variants::76 77			"UVHub x.x" = A 'node' ASIC, connecting a CPU to the interconnect78			fabric. The 'x.x' value represents the ASIC revision.79			(ex. 'UVHub 5.0')80 81			"NLxRouter" = A 'router ASIC, only connecting other ASICs to82			the interconnect fabric. The 'x' value representing83			the fabric technology version. (ex. 'NL8Router')84 85		The nasid entry contains the nasid number of the corresponding hub.86		If a nasid value is not applicable, the value returned will be -1.87 88		The shared entry contains a boolean value describing whether the89		corresponding hub is shared between system partitions.90 91		The this_partition entry contains a boolean value describing whether92		the corresponding hub is local to the current partition.93 94		Each hub object directory also contains a number of port objects,95		each representing a fabric port on the corresponding hub.96		A port object's name is appended by a unique ordinal value97		(ex. /sys/firmware/sgi_uv/hubs/hub_5/port_3)98 99		Each port object directory contains a number of read-only attributes::100 101			conn_hub102			conn_port103 104		The conn_hub entry contains a value representing the unique105		ordinal value of the hub on the other end of the fabric106		cable plugged into the port. If the port is disconnected,107		the value returned will be -1.108 109		The conn_port entry contains a value representing the unique110		ordinal value of the port on the other end of the fabric cable111		plugged into the port. If the port is disconnected, the value112		returned will be -1.113 114		Ex:115			A value of '3' is read from:116				/sys/firmware/sgi_uv/hubs/hub_5/port_3/conn_hub117 118			and a value of '6' is read from:119				/sys/firmware/sgi_uv/hubs/hub_5/port_3/conn_port120 121			representing that this port is connected to:122				/sys/firmware/sgi_uv/hubs/hub_3/port_6123 124		The pcibuses directory contains a number of PCI bus objects.125		Each PCI bus object's name is appended by its PCI bus address.126		(ex. pcibus_0003:80)127 128		Each pcibus object has a number of possible read-only attributes::129 130			type131			location132			slot133			ppb_addr134			iio_stack135 136		The type entry contains a value describing the type of IO at137		the corresponding PCI bus address. Known possible values138		across all UV versions are::139 140			BASE IO141			PCIe IO142			PCIe SLOT143			NODE IO144			Riser145			PPB146 147		The location entry contains the location string of the UV Hub148		of the CPU physically connected to the corresponding PCI bus.149 150		The slot entry contains the physical slot number of the151		corresponding PCI bus. This value is used to physically locate152		PCI cards within a system.153 154		The ppb_addr entry contains the PCI address string of the155		bridged PCI bus. This entry is only present when the PCI bus156		object type is 'PPB'.157 158		The iio_stack entry contains a value describing the IIO stack159		number that the corresponding PCI bus object is connected to.160