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>
This commit is contained in:
James Ye 2020-02-20 16:13:04 +11:00 committed by Nico Huber
parent dc83cd2ac1
commit 2b6d249632
1 changed files with 20 additions and 0 deletions

View File

@ -27,6 +27,11 @@ Device (PEGP)
{ {
Name(_ADR, 0x00000000) Name(_ADR, 0x00000000)
} }
Method (_PRT)
{
Return (\_SB.PCI0.IRQM (1))
}
} }
Device (PEG1) Device (PEG1)
@ -42,6 +47,11 @@ Device (PEG1)
{ {
Name(_ADR, 0x00000000) Name(_ADR, 0x00000000)
} }
Method (_PRT)
{
Return (\_SB.PCI0.IRQM (2))
}
} }
Device (PEG2) Device (PEG2)
@ -57,6 +67,11 @@ Device (PEG2)
{ {
Name(_ADR, 0x00000000) Name(_ADR, 0x00000000)
} }
Method (_PRT)
{
Return (\_SB.PCI0.IRQM (3))
}
} }
Device (PEG6) Device (PEG6)
@ -72,4 +87,9 @@ Device (PEG6)
{ {
Name(_ADR, 0x00000000) Name(_ADR, 0x00000000)
} }
Method (_PRT)
{
Return (\_SB.PCI0.IRQM (4))
}
} }