From 2b6d249632980ddf2162cc6f4530045214f5ba81 Mon Sep 17 00:00:00 2001 From: James Ye Date: Thu, 20 Feb 2020 16:13:04 +1100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39021 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/northbridge/intel/sandybridge/acpi/peg.asl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/northbridge/intel/sandybridge/acpi/peg.asl b/src/northbridge/intel/sandybridge/acpi/peg.asl index fcec00ec67..afc24dfe85 100644 --- a/src/northbridge/intel/sandybridge/acpi/peg.asl +++ b/src/northbridge/intel/sandybridge/acpi/peg.asl @@ -27,6 +27,11 @@ Device (PEGP) { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (\_SB.PCI0.IRQM (1)) + } } Device (PEG1) @@ -42,6 +47,11 @@ Device (PEG1) { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (\_SB.PCI0.IRQM (2)) + } } Device (PEG2) @@ -57,6 +67,11 @@ Device (PEG2) { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (\_SB.PCI0.IRQM (3)) + } } Device (PEG6) @@ -72,4 +87,9 @@ Device (PEG6) { Name(_ADR, 0x00000000) } + + Method (_PRT) + { + Return (\_SB.PCI0.IRQM (4)) + } } -- cgit v1.2.3