Commit 5d575e60 authored by Len Brown's avatar Len Brown Committed by Len Brown

[PATCH] apply recent ES7000 ACPI interrupt fix to MPS mode

Before:
IRQ26 -> 0:10-> 1:2
IRQ27 -> 0:11-> 1:3

After:
IRQ26 -> 1:2
IRQ27 -> 1:3
IRQ58 -> 0:10
IRQ59 -> 0:11
Signed-off-by: default avatarNatalie Protasevich <Natalie.Protasevich@unisys.com>
Signed-off-by: default avatarLen Brown <Len.Brown@intel.com>
parent 714d8ac4
......@@ -1066,8 +1066,11 @@ static int pin_2_irq(int idx, int apic, int pin)
while (i < apic)
irq += nr_ioapic_registers[i++];
irq += pin;
if ((!apic) && (irq < 16))
irq += 16;
/*
* For MPS mode, so far only used by ES7000 platform
*/
if (platform_rename_gsi)
irq = platform_rename_gsi(apic, irq);
break;
}
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment