Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2024 12:38:16 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 25eae8989139 - stable/14 - arm: Add a missing interrupt to the generic timer
Message-ID:  <202407151238.46FCcGkI060552@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=25eae89891399e14f82de15e189d895521776b9a

commit 25eae89891399e14f82de15e189d895521776b9a
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2024-01-11 17:07:59 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2024-07-15 12:25:51 +0000

    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 f715e95461c9264913a65e2dc93c291b7e318d2e)
---
 sys/arm/arm/generic_timer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/arm/arm/generic_timer.c b/sys/arm/arm/generic_timer.c
index b9562620848f..0f20cdad90d6 100644
--- a/sys/arm/arm/generic_timer.c
+++ b/sys/arm/arm/generic_timer.c
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407151238.46FCcGkI060552>