sb,soc/intel: Use register_new_ioapic_gsi0()

Change-Id: I6b0e4021595fb160ae3bf798468f4505b460266f
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55314
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki
2021-06-08 11:31:19 +03:00
parent c0457358f6
commit d165357ec3
10 changed files with 10 additions and 11 deletions

View File

@ -33,7 +33,7 @@ static void pch_enable_ioapic(struct device *dev)
/* PCH-LP has 40 redirection entries */
ioapic_set_max_vectors(VIO_APIC_VADDR, 40);
setup_ioapic(VIO_APIC_VADDR, 0x02);
register_new_ioapic_gsi0(VIO_APIC_VADDR);
}
static void enable_hpet(struct device *dev)

View File

@ -387,7 +387,7 @@ void pch_enable_ioapic(void)
/* affirm full set of redirection table entries ("write once") */
ioapic_set_max_vectors(VIO_APIC_VADDR, PCH_REDIR_ETR);
setup_ioapic((void *)IO_APIC_ADDR, 0x02);
register_new_ioapic_gsi0((void *)IO_APIC_ADDR);
}
static const uint8_t pch_interrupt_routing[PIRQ_COUNT] = {

View File

@ -34,7 +34,7 @@ static void pch_enable_ioapic(struct device *dev)
/* affirm full set of redirection table entries ("write once") */
ioapic_set_max_vectors(VIO_APIC_VADDR, PCH_REDIR_ETR);
setup_ioapic((void *)IO_APIC_ADDR, IO_APIC0);
register_new_ioapic_gsi0((void *)IO_APIC_ADDR);
}
/* interrupt router lookup for internal devices */