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
This commit is contained in:
Andrew Turner
2024-01-11 17:07:59 +00:00
parent 097bd33dd7
commit f715e95461
+2
View File
@@ -564,6 +564,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);