1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

arm: Add a missing interrupt to the generic timer

The ACPI generic timer attachment added 3 interrupts, but missed the
hypervisor physical interrupt. As the field is present in all versions
of the GTDT ACPI table and isn't an optional interrupts we can add it
to the interrupts provided to the driver.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D43974

(cherry picked from commit f715e95461)
This commit is contained in:
Andrew Turner 2024-01-11 17:07:59 +00:00
parent 3414984c3a
commit 7f616da3ce

View File

@ -518,6 +518,8 @@ arm_tmr_acpi_identify(driver_t *driver, device_t parent)
gtdt->NonSecureEl1Interrupt);
arm_tmr_acpi_add_irq(parent, dev, GT_VIRT,
gtdt->VirtualTimerInterrupt);
arm_tmr_acpi_add_irq(parent, dev, GT_HYP_PHYS,
gtdt->NonSecureEl2Interrupt);
out:
acpi_unmap_table(gtdt);