Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2024 14:10:45 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b4368e83891e - main - gicv3: Report PENDBASE when bootverbose
Message-ID:  <202402281410.41SEAjXw058270@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit b4368e83891ed9eba72c0ceccf25f7642f2bad40
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-28 14:08:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-28 14:09:42 +0000

    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
---
 sys/arm64/arm64/gicv3_its.c | 5 +++++
 1 file changed, 5 insertions(+)

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



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