Nico Huber has submitted this change. ( https://review.coreboot.org/c/coreboot/+/39021 )
Change subject: nb/intel/snb: Add PCI routing table for PEG root ports ......................................................................
nb/intel/snb: Add PCI routing table for PEG root ports
Previously the PRTs were defined in southbridge code (8014714 southbridge/intel/bd82x6x/acpi: Fix IRQ warnings), but this was lost when southbridge PRTs became autogenerated. Add the proper PRTs for the PCI express for graphics root ports.
This (again) fixes warnings issued by Linux for interrupts on secondary functions of devices on the PEG ports, such as the HDMI audio controller on graphics cards.
pcieport 0000:00:01.0: can't derive routing for PCI INT B snd_hda_intel 0000:01:00.1: PCI INT B: no GSI
Tested with GIGABYTE P67A-UD3R (CB:31363) with Radeon HD 5670.
Change-Id: Ic429ec2fdeadb9dab1c03916974e173004d6cd16 Signed-off-by: James Ye jye836@gmail.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/39021 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de --- M src/northbridge/intel/sandybridge/acpi/peg.asl 1 file changed, 20 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Nico Huber: Looks good to me, approved
diff --git a/src/northbridge/intel/sandybridge/acpi/peg.asl b/src/northbridge/intel/sandybridge/acpi/peg.asl index fcec00e..afc24df 100644 --- a/src/northbridge/intel/sandybridge/acpi/peg.asl +++ b/src/northbridge/intel/sandybridge/acpi/peg.asl @@ -27,6 +27,11 @@ { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (_SB.PCI0.IRQM (1)) + } }
Device (PEG1) @@ -42,6 +47,11 @@ { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (_SB.PCI0.IRQM (2)) + } }
Device (PEG2) @@ -57,6 +67,11 @@ { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (_SB.PCI0.IRQM (3)) + } }
Device (PEG6) @@ -72,4 +87,9 @@ { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (_SB.PCI0.IRQM (4)) + } }