diff options
author | Warner Losh <imp@FreeBSD.org> | 2024-02-28 14:08:55 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-02-28 14:09:42 +0000 |
commit | b4368e83891ed9eba72c0ceccf25f7642f2bad40 (patch) | |
tree | 0735aee7746d5b21b2328af40d05dc3bc7469809 /sys | |
parent | ae84491a3594c542f2aedc9340581cbb30386c1e (diff) | |
download | src-b4368e83891ed9eba72c0ceccf25f7642f2bad40.tar.gz src-b4368e83891ed9eba72c0ceccf25f7642f2bad40.zip |
gicv3: Report PENDBASE when bootverbose
Report some stats about PENDBASE when we're running under
bootverbose. We don't do this by default because experience has been
excess output in this routine hangs the system.
Sponsored by: Netflix
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D44036
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arm64/arm64/gicv3_its.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c index 74d6f617bbba..fa172c871150 100644 --- a/sys/arm64/arm64/gicv3_its.c +++ b/sys/arm64/arm64/gicv3_its.c @@ -828,6 +828,11 @@ its_init_cpu_lpi(device_t dev, struct gicv3_its_softc *sc) /* Make sure the GIC has seen everything */ dsb(sy); } + + if (bootverbose) + device_printf(gicv3, "using %sPENDBASE of %#lx on cpu %d\n", + (sc->sc_its_flags & ITS_FLAGS_LPI_PREALLOC) ? "pre-existing " : "", + vtophys(sc->sc_pend_base[cpuid]), cpuid); } static int |