1 What: /sys/firmware/sgi_uv/ 1 What: /sys/firmware/sgi_uv/ 2 Date: September 2020 2 Date: September 2020 3 Contact: Justin Ernst <justin.ernst@hpe. 3 Contact: Justin Ernst <justin.ernst@hpe.com> 4 Description: 4 Description: 5 The /sys/firmware/sgi_uv direc 5 The /sys/firmware/sgi_uv directory contains information 6 about the UV platform. 6 about the UV platform. 7 7 8 Under that directory are a num 8 Under that directory are a number of read-only attributes:: 9 9 10 archtype 10 archtype 11 hub_type 11 hub_type 12 hubless 12 hubless 13 partition_id 13 partition_id 14 coherence_id 14 coherence_id 15 uv_type 15 uv_type 16 16 17 The archtype entry contains th 17 The archtype entry contains the UV architecture type that 18 is used to select arch-depende 18 is used to select arch-dependent addresses and features. 19 It can be set via the OEM_ID i 19 It can be set via the OEM_ID in the ACPI MADT table or by 20 UVsystab entry both passed fro 20 UVsystab entry both passed from UV BIOS. 21 21 22 The hub_type entry is used to 22 The hub_type entry is used to select the type of hub which is 23 similar to uv_type but encoded 23 similar to uv_type but encoded in a binary format. Include 24 the file uv_hub.h to get the d 24 the file uv_hub.h to get the definitions. 25 25 26 The hubless entry basically is 26 The hubless entry basically is present and set only if there 27 is no hub. In this case the h 27 is no hub. In this case the hub_type entry is not present. 28 28 29 The partition_id entry contain 29 The partition_id entry contains the partition id. 30 UV systems can be partitioned 30 UV systems can be partitioned into multiple physical 31 machines, which each partition 31 machines, which each partition running a unique copy 32 of the operating system. Each 32 of the operating system. Each partition will have a unique 33 partition id. 33 partition id. 34 34 35 The coherence_id entry contain 35 The coherence_id entry contains the coherence id. 36 A partitioned UV system can ha 36 A partitioned UV system can have one or more coherence 37 domains. The coherence id indi 37 domains. The coherence id indicates which coherence domain 38 this partition is in. 38 this partition is in. 39 39 40 The uv_type entry contains the 40 The uv_type entry contains the hub revision number. 41 This value can be used to iden 41 This value can be used to identify the UV system version:: 42 42 43 "0.*" = Hubless UV ('* 43 "0.*" = Hubless UV ('*' is subtype) 44 "3.0" = UV2 44 "3.0" = UV2 45 "5.0" = UV3 45 "5.0" = UV3 46 "7.0" = UV4 46 "7.0" = UV4 47 "7.1" = UV4a 47 "7.1" = UV4a 48 "9.0" = UV5 48 "9.0" = UV5 49 49 50 The /sys/firmware/sgi_uv direc 50 The /sys/firmware/sgi_uv directory also contains two directories:: 51 51 52 hubs/ 52 hubs/ 53 pcibuses/ 53 pcibuses/ 54 54 55 The hubs directory contains a 55 The hubs directory contains a number of hub objects, each representing 56 a UV Hub visible to the BIOS. 56 a UV Hub visible to the BIOS. Each hub object's name is appended by a 57 unique ordinal value (ex. /sys 57 unique ordinal value (ex. /sys/firmware/sgi_uv/hubs/hub_5) 58 58 59 Each hub object directory cont 59 Each hub object directory contains a number of read-only attributes:: 60 60 61 cnode 61 cnode 62 location 62 location 63 name 63 name 64 nasid 64 nasid 65 shared 65 shared 66 this_partition 66 this_partition 67 67 68 The cnode entry contains the c 68 The cnode entry contains the cnode number of the corresponding hub. 69 If a cnode value is not applic 69 If a cnode value is not applicable, the value returned will be -1. 70 70 71 The location entry contains th 71 The location entry contains the location string of the corresponding hub. 72 This value is used to physical 72 This value is used to physically identify a hub within a system. 73 73 74 The name entry contains the na 74 The name entry contains the name of the corresponding hub. This name can 75 be two variants:: 75 be two variants:: 76 76 77 "UVHub x.x" = A 'node' 77 "UVHub x.x" = A 'node' ASIC, connecting a CPU to the interconnect 78 fabric. The 'x.x' valu 78 fabric. The 'x.x' value represents the ASIC revision. 79 (ex. 'UVHub 5.0') 79 (ex. 'UVHub 5.0') 80 80 81 "NLxRouter" = A 'route 81 "NLxRouter" = A 'router ASIC, only connecting other ASICs to 82 the interconnect fabri 82 the interconnect fabric. The 'x' value representing 83 the fabric technology 83 the fabric technology version. (ex. 'NL8Router') 84 84 85 The nasid entry contains the n 85 The nasid entry contains the nasid number of the corresponding hub. 86 If a nasid value is not applic 86 If a nasid value is not applicable, the value returned will be -1. 87 87 88 The shared entry contains a bo 88 The shared entry contains a boolean value describing whether the 89 corresponding hub is shared be 89 corresponding hub is shared between system partitions. 90 90 91 The this_partition entry conta 91 The this_partition entry contains a boolean value describing whether 92 the corresponding hub is local 92 the corresponding hub is local to the current partition. 93 93 94 Each hub object directory also 94 Each hub object directory also contains a number of port objects, 95 each representing a fabric por 95 each representing a fabric port on the corresponding hub. 96 A port object's name is append 96 A port object's name is appended by a unique ordinal value 97 (ex. /sys/firmware/sgi_uv/hubs 97 (ex. /sys/firmware/sgi_uv/hubs/hub_5/port_3) 98 98 99 Each port object directory con 99 Each port object directory contains a number of read-only attributes:: 100 100 101 conn_hub 101 conn_hub 102 conn_port 102 conn_port 103 103 104 The conn_hub entry contains a 104 The conn_hub entry contains a value representing the unique 105 ordinal value of the hub on th 105 ordinal value of the hub on the other end of the fabric 106 cable plugged into the port. I 106 cable plugged into the port. If the port is disconnected, 107 the value returned will be -1. 107 the value returned will be -1. 108 108 109 The conn_port entry contains a 109 The conn_port entry contains a value representing the unique 110 ordinal value of the port on t 110 ordinal value of the port on the other end of the fabric cable 111 plugged into the port. If the 111 plugged into the port. If the port is disconnected, the value 112 returned will be -1. 112 returned will be -1. 113 113 114 Ex: 114 Ex: 115 A value of '3' is read 115 A value of '3' is read from: 116 /sys/firmware/ 116 /sys/firmware/sgi_uv/hubs/hub_5/port_3/conn_hub 117 117 118 and a value of '6' is 118 and a value of '6' is read from: 119 /sys/firmware/ 119 /sys/firmware/sgi_uv/hubs/hub_5/port_3/conn_port 120 120 121 representing that this 121 representing that this port is connected to: 122 /sys/firmware/ 122 /sys/firmware/sgi_uv/hubs/hub_3/port_6 123 123 124 The pcibuses directory contain 124 The pcibuses directory contains a number of PCI bus objects. 125 Each PCI bus object's name is 125 Each PCI bus object's name is appended by its PCI bus address. 126 (ex. pcibus_0003:80) 126 (ex. pcibus_0003:80) 127 127 128 Each pcibus object has a numbe 128 Each pcibus object has a number of possible read-only attributes:: 129 129 130 type 130 type 131 location 131 location 132 slot 132 slot 133 ppb_addr 133 ppb_addr 134 iio_stack 134 iio_stack 135 135 136 The type entry contains a valu 136 The type entry contains a value describing the type of IO at 137 the corresponding PCI bus addr 137 the corresponding PCI bus address. Known possible values 138 across all UV versions are:: 138 across all UV versions are:: 139 139 140 BASE IO 140 BASE IO 141 PCIe IO 141 PCIe IO 142 PCIe SLOT 142 PCIe SLOT 143 NODE IO 143 NODE IO 144 Riser 144 Riser 145 PPB 145 PPB 146 146 147 The location entry contains th 147 The location entry contains the location string of the UV Hub 148 of the CPU physically connecte 148 of the CPU physically connected to the corresponding PCI bus. 149 149 150 The slot entry contains the ph 150 The slot entry contains the physical slot number of the 151 corresponding PCI bus. This va 151 corresponding PCI bus. This value is used to physically locate 152 PCI cards within a system. 152 PCI cards within a system. 153 153 154 The ppb_addr entry contains th 154 The ppb_addr entry contains the PCI address string of the 155 bridged PCI bus. This entry is 155 bridged PCI bus. This entry is only present when the PCI bus 156 object type is 'PPB'. 156 object type is 'PPB'. 157 157 158 The iio_stack entry contains a 158 The iio_stack entry contains a value describing the IIO stack 159 number that the corresponding 159 number that the corresponding PCI bus object is connected to.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.