The branch main has been updated by andrew:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2188e77bfdecfe6d7fa2007f64a471fdaa045892

commit 2188e77bfdecfe6d7fa2007f64a471fdaa045892
Author:     Andrew Turner <[email protected]>
AuthorDate: 2025-11-18 18:00:32 +0000
Commit:     Andrew Turner <[email protected]>
CommitDate: 2025-11-18 18:00:32 +0000

    arm64: Remove gicv3_get_support_lpis
    
    It's no longer used after moving to gic_get_support_lpis.
    
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D53665
---
 sys/arm64/arm64/gic_v3.c     | 1 -
 sys/arm64/arm64/gic_v3_var.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/sys/arm64/arm64/gic_v3.c b/sys/arm64/arm64/gic_v3.c
index 43743ba588f5..641b6d6dbc5e 100644
--- a/sys/arm64/arm64/gic_v3.c
+++ b/sys/arm64/arm64/gic_v3.c
@@ -495,7 +495,6 @@ gic_v3_read_ivar(device_t dev, device_t child, int which, 
uintptr_t *result)
                *result = (uintptr_t)&sc->gic_redists.pcpu[PCPU_GET(cpuid)];
                return (0);
        case GIC_IVAR_SUPPORT_LPIS:
-       case GICV3_IVAR_SUPPORT_LPIS:
                *result =
                    (gic_d_read(sc, 4, GICD_TYPER) & GICD_TYPER_LPIS) != 0;
                return (0);
diff --git a/sys/arm64/arm64/gic_v3_var.h b/sys/arm64/arm64/gic_v3_var.h
index 8bc0f456d91e..2570834c2818 100644
--- a/sys/arm64/arm64/gic_v3_var.h
+++ b/sys/arm64/arm64/gic_v3_var.h
@@ -108,11 +108,9 @@ MALLOC_DECLARE(M_GIC_V3);
 #define        GICV3_IVAR_NIRQS        1000
 /* 1001 was GICV3_IVAR_REDIST_VADDR */
 #define        GICV3_IVAR_REDIST       1002
-#define        GICV3_IVAR_SUPPORT_LPIS 1003
 
 __BUS_ACCESSOR(gicv3, nirqs, GICV3, NIRQS, u_int);
 __BUS_ACCESSOR(gicv3, redist, GICV3, REDIST, void *);
-__BUS_ACCESSOR(gicv3, support_lpis, GICV3, SUPPORT_LPIS, bool);
 
 /* Device methods */
 int gic_v3_attach(device_t dev);

Reply via email to