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:
@ -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)
|
||||
|
@ -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] = {
|
||||
|
@ -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 */
|
||||
|
Reference in New Issue
Block a user