vc/amd/opensil/genoa_poc/mpio: move PCIe port function below mpio chip
Move the gpp_bridge_* device functions that are bridges to the external PCIe ports below the corresponding mpio chip. This avoids the need for dummy devices and does things in a slightly more coreboot-native way. TEST=PCIe lane config reported by openSIL is identical Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: Varshit Pandya <pandyavarshit@gmail.com> Change-Id: I7e39bf68d30d7d00b16f943953e8207d6fe9ef41 Reviewed-on: https://review.coreboot.org/c/coreboot/+/81340 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		@@ -55,17 +55,14 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
	device domain 0 on
 | 
						device domain 0 on
 | 
				
			||||||
		device ref iommu_0 on end
 | 
							device ref iommu_0 on end
 | 
				
			||||||
		device ref rcec_0 on end
 | 
							device ref rcec_0 on end
 | 
				
			||||||
		device ref gpp_bridge_0_0_a on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # P2
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # P2
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "48"
 | 
								register "start_lane" = "48"
 | 
				
			||||||
			register "end_lane" = "63"
 | 
								register "end_lane" = "63"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end # dummy for configuring mpio
 | 
								device ref gpp_bridge_0_0_a on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_0_0_b on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # G2
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # G2
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "112"
 | 
								register "start_lane" = "112"
 | 
				
			||||||
@@ -73,18 +70,15 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
			register "hotplug" = "ServerExpress"
 | 
								register "hotplug" = "ServerExpress"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_0_0_b on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_0_0_c on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "128"
 | 
								register "start_lane" = "128"
 | 
				
			||||||
			register "end_lane" = "131"
 | 
								register "end_lane" = "131"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_0_0_c on end
 | 
				
			||||||
			end
 | 
					 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		device ref gpp_bridge_0_a on
 | 
							device ref gpp_bridge_0_a on
 | 
				
			||||||
			device ref xhci_0 on end
 | 
								device ref xhci_0 on end
 | 
				
			||||||
@@ -99,32 +93,27 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
	device domain 1 on
 | 
						device domain 1 on
 | 
				
			||||||
		device ref iommu_1 on end
 | 
							device ref iommu_1 on end
 | 
				
			||||||
		device ref rcec_1 on end
 | 
							device ref rcec_1 on end
 | 
				
			||||||
		device ref gpp_bridge_1_0_a on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # P3
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # P3
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "16"
 | 
								register "start_lane" = "16"
 | 
				
			||||||
			register "end_lane" = "31"
 | 
								register "end_lane" = "31"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_1_0_a on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_1_0_b on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # G3
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # G3
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "80"
 | 
								register "start_lane" = "80"
 | 
				
			||||||
			register "end_lane" = "95"
 | 
								register "end_lane" = "95"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_1_0_b on end
 | 
				
			||||||
			end
 | 
					 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	device domain 2 on
 | 
						device domain 2 on
 | 
				
			||||||
		device ref iommu_2 on end
 | 
							device ref iommu_2 on end
 | 
				
			||||||
		device ref rcec_2 on end
 | 
							device ref rcec_2 on end
 | 
				
			||||||
		device ref gpp_bridge_2_0_a on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # P1
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # P1
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "32"
 | 
								register "start_lane" = "32"
 | 
				
			||||||
@@ -132,18 +121,15 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
			register "hotplug" = "ServerExpress"
 | 
								register "hotplug" = "ServerExpress"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_2_0_a on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_2_0_b on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # G1
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # G1
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "64"
 | 
								register "start_lane" = "64"
 | 
				
			||||||
			register "end_lane" = "79"
 | 
								register "end_lane" = "79"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_2_0_b on end
 | 
				
			||||||
			end
 | 
					 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	end
 | 
						end
 | 
				
			||||||
@@ -151,37 +137,30 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
	device domain 3 on
 | 
						device domain 3 on
 | 
				
			||||||
		device ref iommu_3 on end
 | 
							device ref iommu_3 on end
 | 
				
			||||||
		device ref rcec_3 on end
 | 
							device ref rcec_3 on end
 | 
				
			||||||
		device ref gpp_bridge_3_0_a on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # P0
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # P0
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "0"
 | 
								register "start_lane" = "0"
 | 
				
			||||||
			register "end_lane" = "15"
 | 
								register "end_lane" = "15"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_3_0_a on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_3_0_b on
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio # G0
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio # G0
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "96"
 | 
								register "start_lane" = "96"
 | 
				
			||||||
			register "end_lane" = "111"
 | 
								register "end_lane" = "111"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_3_0_b on end
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_3_0_c on # WAFL
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "132"
 | 
								register "start_lane" = "132"
 | 
				
			||||||
			register "end_lane" = "133"
 | 
								register "end_lane" = "133"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_3_0_c on end # WAFL
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_3_1_c on # BMC
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "134"
 | 
								register "start_lane" = "134"
 | 
				
			||||||
@@ -189,18 +168,15 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
			register "bmc" = "1"
 | 
								register "bmc" = "1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_3_1_c on end # BMC
 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		end
 | 
					 | 
				
			||||||
		device ref gpp_bridge_3_2_c on # BMC
 | 
					 | 
				
			||||||
		chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			register "type" = "IFTYPE_PCIE"
 | 
								register "type" = "IFTYPE_PCIE"
 | 
				
			||||||
			register "start_lane" = "135"
 | 
								register "start_lane" = "135"
 | 
				
			||||||
			register "end_lane" = "135"
 | 
								register "end_lane" = "135"
 | 
				
			||||||
			register "gpio_group" = "1"
 | 
								register "gpio_group" = "1"
 | 
				
			||||||
			register "aspm" = "L1"
 | 
								register "aspm" = "L1"
 | 
				
			||||||
				device generic 0 on end
 | 
								device ref gpp_bridge_3_2_c on end # BMC
 | 
				
			||||||
			end
 | 
					 | 
				
			||||||
		end
 | 
							end
 | 
				
			||||||
		device ref gpp_bridge_3_a on
 | 
							device ref gpp_bridge_3_a on
 | 
				
			||||||
			device ref xhci_3 on end
 | 
								device ref xhci_3 on end
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,36 +16,80 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
		device pci 00.3 alias rcec_0 off end
 | 
							device pci 00.3 alias rcec_0 off end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 01.0 on end # Dummy device function, do not disable
 | 
							device pci 01.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.1 alias gpp_bridge_0_0_a off end
 | 
								device pci 01.1 alias gpp_bridge_0_0_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.2 alias gpp_bridge_0_1_a off end
 | 
								device pci 01.2 alias gpp_bridge_0_1_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.3 alias gpp_bridge_0_2_a off end
 | 
								device pci 01.3 alias gpp_bridge_0_2_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.4 alias gpp_bridge_0_3_a off end
 | 
								device pci 01.4 alias gpp_bridge_0_3_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.5 alias gpp_bridge_0_4_a off end
 | 
								device pci 01.5 alias gpp_bridge_0_4_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.6 alias gpp_bridge_0_5_a off end
 | 
								device pci 01.6 alias gpp_bridge_0_5_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.7 alias gpp_bridge_0_6_a off end
 | 
								device pci 01.7 alias gpp_bridge_0_6_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 02.0 on end # Dummy device function, do not disable
 | 
							device pci 02.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.1 alias gpp_bridge_0_7_a off end
 | 
								device pci 02.1 alias gpp_bridge_0_7_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.2 alias gpp_bridge_0_8_a off end
 | 
								device pci 02.2 alias gpp_bridge_0_8_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 03.0 on end # Dummy device function, do not disable
 | 
							device pci 03.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.1 alias gpp_bridge_0_0_b off end
 | 
								device pci 03.1 alias gpp_bridge_0_0_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.2 alias gpp_bridge_0_1_b off end
 | 
								device pci 03.2 alias gpp_bridge_0_1_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.3 alias gpp_bridge_0_2_b off end
 | 
								device pci 03.3 alias gpp_bridge_0_2_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.4 alias gpp_bridge_0_3_b off end
 | 
								device pci 03.4 alias gpp_bridge_0_3_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.5 alias gpp_bridge_0_4_b off end
 | 
								device pci 03.5 alias gpp_bridge_0_4_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.6 alias gpp_bridge_0_5_b off end
 | 
								device pci 03.6 alias gpp_bridge_0_5_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.7 alias gpp_bridge_0_6_b off end
 | 
								device pci 03.7 alias gpp_bridge_0_6_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 04.0 on end # Dummy device function, do not disable
 | 
							device pci 04.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.1 alias gpp_bridge_0_7_b off end
 | 
								device pci 04.1 alias gpp_bridge_0_7_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.2 alias gpp_bridge_0_8_b off end
 | 
								device pci 04.2 alias gpp_bridge_0_8_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 05.0 on end # Dummy device function, do not disable
 | 
							device pci 05.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.1 alias gpp_bridge_0_0_c off end
 | 
								device pci 05.1 alias gpp_bridge_0_0_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.2 alias gpp_bridge_0_1_c off end
 | 
								device pci 05.2 alias gpp_bridge_0_1_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.3 alias gpp_bridge_0_2_c off end
 | 
								device pci 05.3 alias gpp_bridge_0_2_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.4 alias gpp_bridge_0_3_c off end
 | 
								device pci 05.4 alias gpp_bridge_0_3_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 07.0 on end # Dummy device function, do not disable
 | 
							device pci 07.0 on end # Dummy device function, do not disable
 | 
				
			||||||
		device pci 07.1 alias gpp_bridge_0_a off # Internal GPP Bridge 0 to Bus B0
 | 
							device pci 07.1 alias gpp_bridge_0_a off # Internal GPP Bridge 0 to Bus B0
 | 
				
			||||||
@@ -84,30 +128,66 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
		device pci 00.3 alias rcec_1 off end
 | 
							device pci 00.3 alias rcec_1 off end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 01.0 on end # Dummy device function, do not disable
 | 
							device pci 01.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.1 alias gpp_bridge_1_0_a off end
 | 
								device pci 01.1 alias gpp_bridge_1_0_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.2 alias gpp_bridge_1_1_a off end
 | 
								device pci 01.2 alias gpp_bridge_1_1_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.3 alias gpp_bridge_1_2_a off end
 | 
								device pci 01.3 alias gpp_bridge_1_2_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.4 alias gpp_bridge_1_3_a off end
 | 
								device pci 01.4 alias gpp_bridge_1_3_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.5 alias gpp_bridge_1_4_a off end
 | 
								device pci 01.5 alias gpp_bridge_1_4_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.6 alias gpp_bridge_1_5_a off end
 | 
								device pci 01.6 alias gpp_bridge_1_5_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.7 alias gpp_bridge_1_6_a off end
 | 
								device pci 01.7 alias gpp_bridge_1_6_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 02.0 on end # Dummy device function, do not disable
 | 
							device pci 02.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.1 alias gpp_bridge_1_7_a off end
 | 
								device pci 02.1 alias gpp_bridge_1_7_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.2 alias gpp_bridge_1_8_a off end
 | 
								device pci 02.2 alias gpp_bridge_1_8_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 03.0 on end # Dummy device function, do not disable
 | 
							device pci 03.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.1 alias gpp_bridge_1_0_b off end
 | 
								device pci 03.1 alias gpp_bridge_1_0_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.2 alias gpp_bridge_1_1_b off end
 | 
								device pci 03.2 alias gpp_bridge_1_1_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.3 alias gpp_bridge_1_2_b off end
 | 
								device pci 03.3 alias gpp_bridge_1_2_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.4 alias gpp_bridge_1_3_b off end
 | 
								device pci 03.4 alias gpp_bridge_1_3_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.5 alias gpp_bridge_1_4_b off end
 | 
								device pci 03.5 alias gpp_bridge_1_4_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.6 alias gpp_bridge_1_5_b off end
 | 
								device pci 03.6 alias gpp_bridge_1_5_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.7 alias gpp_bridge_1_6_b off end
 | 
								device pci 03.7 alias gpp_bridge_1_6_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 04.0 on end # Dummy device function, do not disable
 | 
							device pci 04.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.1 alias gpp_bridge_1_7_b off end
 | 
								device pci 04.1 alias gpp_bridge_1_7_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.2 alias gpp_bridge_1_8_b off end
 | 
								device pci 04.2 alias gpp_bridge_1_8_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 05.0 on end # Dummy device function, do not disable
 | 
							device pci 05.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -127,30 +207,66 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
		device pci 00.3 alias rcec_2 off end
 | 
							device pci 00.3 alias rcec_2 off end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 01.0 on end # Dummy device function, do not disable
 | 
							device pci 01.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.1 alias gpp_bridge_2_0_a off end
 | 
								device pci 01.1 alias gpp_bridge_2_0_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.2 alias gpp_bridge_2_1_a off end
 | 
								device pci 01.2 alias gpp_bridge_2_1_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.3 alias gpp_bridge_2_2_a off end
 | 
								device pci 01.3 alias gpp_bridge_2_2_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.4 alias gpp_bridge_2_3_a off end
 | 
								device pci 01.4 alias gpp_bridge_2_3_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.5 alias gpp_bridge_2_4_a off end
 | 
								device pci 01.5 alias gpp_bridge_2_4_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.6 alias gpp_bridge_2_5_a off end
 | 
								device pci 01.6 alias gpp_bridge_2_5_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.7 alias gpp_bridge_2_6_a off end
 | 
								device pci 01.7 alias gpp_bridge_2_6_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 02.0 on end # Dummy device function, do not disable
 | 
							device pci 02.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.1 alias gpp_bridge_2_7_a off end
 | 
								device pci 02.1 alias gpp_bridge_2_7_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.2 alias gpp_bridge_2_8_a off end
 | 
								device pci 02.2 alias gpp_bridge_2_8_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 03.0 on end # Dummy device function, do not disable
 | 
							device pci 03.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.1 alias gpp_bridge_2_0_b off end
 | 
								device pci 03.1 alias gpp_bridge_2_0_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.2 alias gpp_bridge_2_1_b off end
 | 
								device pci 03.2 alias gpp_bridge_2_1_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.3 alias gpp_bridge_2_2_b off end
 | 
								device pci 03.3 alias gpp_bridge_2_2_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.4 alias gpp_bridge_2_3_b off end
 | 
								device pci 03.4 alias gpp_bridge_2_3_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.5 alias gpp_bridge_2_4_b off end
 | 
								device pci 03.5 alias gpp_bridge_2_4_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.6 alias gpp_bridge_2_5_b off end
 | 
								device pci 03.6 alias gpp_bridge_2_5_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.7 alias gpp_bridge_2_6_b off end
 | 
								device pci 03.7 alias gpp_bridge_2_6_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 04.0 on end # Dummy device function, do not disable
 | 
							device pci 04.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.1 alias gpp_bridge_2_7_b off end
 | 
								device pci 04.1 alias gpp_bridge_2_7_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.2 alias gpp_bridge_2_8_b off end
 | 
								device pci 04.2 alias gpp_bridge_2_8_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 05.0 on end # Dummy device function, do not disable
 | 
							device pci 05.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -170,36 +286,80 @@ chip soc/amd/genoa_poc
 | 
				
			|||||||
		device pci 00.3 alias rcec_3 off end
 | 
							device pci 00.3 alias rcec_3 off end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 01.0 on end # Dummy device function, do not disable
 | 
							device pci 01.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.1 alias gpp_bridge_3_0_a off end
 | 
								device pci 01.1 alias gpp_bridge_3_0_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.2 alias gpp_bridge_3_1_a off end
 | 
								device pci 01.2 alias gpp_bridge_3_1_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.3 alias gpp_bridge_3_2_a off end
 | 
								device pci 01.3 alias gpp_bridge_3_2_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.4 alias gpp_bridge_3_3_a off end
 | 
								device pci 01.4 alias gpp_bridge_3_3_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.5 alias gpp_bridge_3_4_a off end
 | 
								device pci 01.5 alias gpp_bridge_3_4_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.6 alias gpp_bridge_3_5_a off end
 | 
								device pci 01.6 alias gpp_bridge_3_5_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 01.7 alias gpp_bridge_3_6_a off end
 | 
								device pci 01.7 alias gpp_bridge_3_6_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 02.0 on end # Dummy device function, do not disable
 | 
							device pci 02.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.1 alias gpp_bridge_3_7_a off end
 | 
								device pci 02.1 alias gpp_bridge_3_7_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 02.2 alias gpp_bridge_3_8_a off end
 | 
								device pci 02.2 alias gpp_bridge_3_8_a off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 03.0 on end # Dummy device function, do not disable
 | 
							device pci 03.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.1 alias gpp_bridge_3_0_b off end
 | 
								device pci 03.1 alias gpp_bridge_3_0_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.2 alias gpp_bridge_3_1_b off end
 | 
								device pci 03.2 alias gpp_bridge_3_1_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.3 alias gpp_bridge_3_2_b off end
 | 
								device pci 03.3 alias gpp_bridge_3_2_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.4 alias gpp_bridge_3_3_b off end
 | 
								device pci 03.4 alias gpp_bridge_3_3_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.5 alias gpp_bridge_3_4_b off end
 | 
								device pci 03.5 alias gpp_bridge_3_4_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.6 alias gpp_bridge_3_5_b off end
 | 
								device pci 03.6 alias gpp_bridge_3_5_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 03.7 alias gpp_bridge_3_6_b off end
 | 
								device pci 03.7 alias gpp_bridge_3_6_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 04.0 on end # Dummy device function, do not disable
 | 
							device pci 04.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.1 alias gpp_bridge_3_7_b off end
 | 
								device pci 04.1 alias gpp_bridge_3_7_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 04.2 alias gpp_bridge_3_8_b off end
 | 
								device pci 04.2 alias gpp_bridge_3_8_b off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 05.0 on end # Dummy device function, do not disable
 | 
							device pci 05.0 on end # Dummy device function, do not disable
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.1 alias gpp_bridge_3_0_c off end
 | 
								device pci 05.1 alias gpp_bridge_3_0_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.2 alias gpp_bridge_3_1_c off end
 | 
								device pci 05.2 alias gpp_bridge_3_1_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.3 alias gpp_bridge_3_2_c off end
 | 
								device pci 05.3 alias gpp_bridge_3_2_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
							chip vendorcode/amd/opensil/genoa_poc/mpio
 | 
				
			||||||
			device pci 05.4 alias gpp_bridge_3_3_c off end
 | 
								device pci 05.4 alias gpp_bridge_3_3_c off end
 | 
				
			||||||
 | 
							end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		device pci 07.0 on end # Dummy device function, do not disable
 | 
							device pci 07.0 on end # Dummy device function, do not disable
 | 
				
			||||||
		device pci 07.1 alias gpp_bridge_3_a off
 | 
							device pci 07.1 alias gpp_bridge_3_a off
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -198,5 +198,5 @@ void configure_mpio(void)
 | 
				
			|||||||
	for (struct device *dev = &dev_root; dev; dev = dev->next)
 | 
						for (struct device *dev = &dev_root; dev; dev = dev->next)
 | 
				
			||||||
		if (dev->chip_ops == &vendorcode_amd_opensil_genoa_poc_mpio_ops &&
 | 
							if (dev->chip_ops == &vendorcode_amd_opensil_genoa_poc_mpio_ops &&
 | 
				
			||||||
		    dev->chip_info != dev->upstream->dev->chip_info)
 | 
							    dev->chip_info != dev->upstream->dev->chip_info)
 | 
				
			||||||
			per_device_config(mpio_data, dev->upstream->dev, dev->chip_info);
 | 
								per_device_config(mpio_data, dev, dev->chip_info);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user