soc/amd/*/acpi/northbridge,pci0: don't hide PCI0 root device from OS

Return 0xf from PCI0 _STA method so that bit 2 is set which indicates
that the device should be shown in the user interface. This ports commit
c259d71928 ("soc/amd/stoney/acpi: Unhide PCI0 root device from OS")
forward from Stoneyridge to the newer AMD SoCs.

TEST=On Mandolin the PCI Express Root Complex now shows up in the device
manager on Windows 10 and when switching the view to 'devices by
connection', all PCI(e) devices are shown below it.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4155556dc5df8f163fe06aa6719fadbb2684cc19
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74949
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2023-05-04 23:17:44 +02:00
parent deebd9466f
commit dbfb6b9265
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ Device(PCI0) {
} }
Method(_STA, 0, NotSerialized) { Method(_STA, 0, NotSerialized) {
Return(0x0B) /* Status is visible */ Return(0x0f) /* Status is visible */
} }
/* Operating System Capabilities Method */ /* Operating System Capabilities Method */

View File

@ -12,7 +12,7 @@ Device(PCI0) {
} }
Method(_STA, 0, NotSerialized) { Method(_STA, 0, NotSerialized) {
Return(0x0B) /* Status is visible */ Return(0x0f) /* Status is visible */
} }
/* Operating System Capabilities Method */ /* Operating System Capabilities Method */

View File

@ -12,7 +12,7 @@ Device(PCI0) {
} }
Method(_STA, 0, NotSerialized) { Method(_STA, 0, NotSerialized) {
Return(0x0B) /* Status is visible */ Return(0x0f) /* Status is visible */
} }
/* Operating System Capabilities Method */ /* Operating System Capabilities Method */

View File

@ -12,7 +12,7 @@ Device(PCI0) {
} }
Method(_STA, 0, NotSerialized) { Method(_STA, 0, NotSerialized) {
Return(0x0B) /* Status is visible */ Return(0x0f) /* Status is visible */
} }
/* Operating System Capabilities Method */ /* Operating System Capabilities Method */

View File

@ -15,7 +15,7 @@ Method(_BBN, 0, NotSerialized) /* Bus number = 0 */
Method(_STA, 0, NotSerialized) Method(_STA, 0, NotSerialized)
{ {
Return(0x0B) /* Status is visible */ Return(0x0f) /* Status is visible */
} }
/* PCI Routing Table */ /* PCI Routing Table */