From nobody Wed Feb 28 14:10:45 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TlGTx4vQ8z5BfbD; Wed, 28 Feb 2024 14:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlGTx4BG0z4fxw; Wed, 28 Feb 2024 14:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709129445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jZy+ewvNGgvycZtgvW4WOhyMUaIJS4LO0yTXOmO3164=; b=EQlK92WxfkbQm5j68gRf7hP9LlHEUYixYVUHynhNB5qSYdZqTuIKvsgWVvyd+6vIt4gzaN fpV7+kvSlJwC4u7pP3/n8KiPXpqt6y2h0Wad3gTykphALB800guBCJKqppcGIZhp7gn874 QkftkNvmI/n/K23Fb4GUOdEbK7NmyQWUcqYI+3Uoigb48lUA8OCLTLoIOsPLQvNVKGay9R LtAHu+eFyC5JFy3E/Yh9w1Vb/BvFTfairPk5nsu4wsO8C03lkvmpSFYAkfSeko/0spzR/S e81I/BUu71eeREQdmfEoMbFopFNK9RS54ET+Ne0ywIOuWxbq/0P6dtLJg1FMVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709129445; a=rsa-sha256; cv=none; b=jag4LX+Zzfwa8sxqT5ckKXjm//0BC27DoecOgeF3JILpHEg5FF77Kr4kPpzvOYqcbaR/2P e1NQuwciHZ2CnCCOXTo6EZxxnrNLzEeSlJm1yYoUQCsWOjq9jVb+rMgkNRRgja/5wUp8xl hqOSgWfEOOtstiIq7jacqDFguVaGSO8t8522R/kGLHb8c1KzI7krAHq4l327/k9ULuSHEw YcXDlMzRI5/ZIL+hkt+OrEQMH1hVteqwtlafL5wQ/RPXZBhYk3yJ5euEJS/rdVW1Eg/H29 XdCuMj7O9aZG61j/xgY2/wtuOzOgD1rxxmaSMTYJKM+3UeGnZ2BR5klVRPJQCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709129445; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jZy+ewvNGgvycZtgvW4WOhyMUaIJS4LO0yTXOmO3164=; b=AuhwfdhalQzaSqmDKygND2mG8mEIuraHWId/F54CoXyc97SD/P9i7FIYWQQvZMbq6lvZ++ D1gKpFKD5FZWBgJ2cwccI8Fi/dSFT2muK0T+ThndmJQgwT9Z9xOSjNRkCKQ/P3TZDITj19 AdjV5VB8bzRZZTjkRKhM+hTWFFIkX4zx8DdMvK1v/mXNKFoi09m6nBK8pnorx2Ybifxe3S C7tIzOkbL3w+zvsUETPiNkmf4/nILQCBLn6lrw3C8ipYvTCNFKbYEVTjeJ+SKaF+mGEjsZ GOow54lDd+dXcE0YIM6bmquQPLk2s0sS+yF0azHMrHi65RR14IqaHKKrCTa5mA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlGTx2NYSz1114; Wed, 28 Feb 2024 14:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41SEAjaG058273; Wed, 28 Feb 2024 14:10:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41SEAjXw058270; Wed, 28 Feb 2024 14:10:45 GMT (envelope-from git) Date: Wed, 28 Feb 2024 14:10:45 GMT Message-Id: <202402281410.41SEAjXw058270@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: b4368e83891e - main - gicv3: Report PENDBASE when bootverbose List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4368e83891ed9eba72c0ceccf25f7642f2bad40 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=b4368e83891ed9eba72c0ceccf25f7642f2bad40 commit b4368e83891ed9eba72c0ceccf25f7642f2bad40 Author: Warner Losh AuthorDate: 2024-02-28 14:08:55 +0000 Commit: Warner Losh 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