From 55cf7088fd709aec1a8edffdea5c6b38fe22aa49 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 15 Dec 2020 14:56:46 -0700 Subject: [PATCH] mb/google/zork: Unmap FCH IO-APIC PCI interrupts Now that the _PRT generates a GNB IO-APIC routing table we no longer need to route the PCI interrupts through the FCH IO-APIC. This change unmaps the IRQs since they are no longer used. BUG=b:170595019 TEST=Boot with `pci=nomsi amd_iommu=off` and verify /proc/interrupts Signed-off-by: Raul E Rangel Change-Id: I3467934bfcac14311505bec49a12652490554e6a Reviewed-on: https://review.coreboot.org/c/coreboot/+/48669 Tested-by: build bot (Jenkins) Reviewed-by: Nikolai Vyssotski Reviewed-by: Felix Held --- src/mainboard/google/zork/mainboard.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mainboard/google/zork/mainboard.c b/src/mainboard/google/zork/mainboard.c index 94a64bd078..3a3b1bdbb5 100644 --- a/src/mainboard/google/zork/mainboard.c +++ b/src/mainboard/google/zork/mainboard.c @@ -66,14 +66,14 @@ static const struct fch_irq_routing { uint8_t pic_irq_num; uint8_t apic_irq_num; } fch_pirq[] = { - { PIRQ_A, 6, 16 }, - { PIRQ_B, 13, 17 }, - { PIRQ_C, 14, 18 }, - { PIRQ_D, 15, 19 }, - { PIRQ_E, 15, 20 }, - { PIRQ_F, 14, 21 }, - { PIRQ_G, 13, 22 }, - { PIRQ_H, 6, 23 }, + { PIRQ_A, 6, PIRQ_NC }, + { PIRQ_B, 13, PIRQ_NC }, + { PIRQ_C, 14, PIRQ_NC }, + { PIRQ_D, 15, PIRQ_NC }, + { PIRQ_E, 15, PIRQ_NC }, + { PIRQ_F, 14, PIRQ_NC }, + { PIRQ_G, 13, PIRQ_NC }, + { PIRQ_H, 6, PIRQ_NC }, { PIRQ_SCI, 9, 9 }, { PIRQ_EMMC, 5, 5 },