From nobody Thu Jun 15 16:39:44 2023 X-Original-To: dev-commits-src-main@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 4Qhp0x0XwCz4fS1R; Thu, 15 Jun 2023 16:39: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 4Qhp0w5kh0z4GP9; Thu, 15 Jun 2023 16:39:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686847184; 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=UFIUIj48C9VowRPljY+YIlNFDHsOdCFZ/QIHL7nVmkg=; b=O2G3lGS3NzqS2yR78z5/ouhg9Vy/kSEkh2Ig8WRQFOgvqZ4FXRex6n0e0Ws3ao5nO0TUtd 8YkYFnp9ZIfWoHDkQmtQLUqWdsufwlV5xkft8RZwPcDne/N53W740bxkq9vRdHS0vG4rUd T+xQwqNuYcsxdIZX82CGmROE8ckuQbFQmjIUhZFWeKpjtSERc1HLSZ/PrMQjkxul3Rru+f cflIpHyEcPp/4hmKYBHGg27LWTbUhEmeyKA0oHB2Y/+VYFhbYfxpCWeFVs+Jt4Dls2zbQp ZFz+PEn0GFa3luuiytwsvvUlsq77Aew7zRxGr+kZMzqUoZ2MGTkOw2dcnHkgCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686847184; 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=UFIUIj48C9VowRPljY+YIlNFDHsOdCFZ/QIHL7nVmkg=; b=KPwGLe7A2imEdy9uoClU2W0WxmNIfHOC9Lkj9uG7adetwXyw4xjvqmXUyN0y7zFsLxLvtX dezuz7t+llj2kYfEXaQ915eSbTRjyzdqowc6G3Jnc4kuOfBavxUkvPGFJzLtqptDC3x0UD KVci6wWRw07ebFBdkouS9WrtfkgROOOiaDp8gk+Vu0ztaNslMdH/gFn8uUZp7YDgOm++SF Pju+Y/wliKwS6I3YbMWpvBK5wax96cBsqSYEns2VDO1vZcOZddzfxoP76wecW/qn3N667Y lDQdd+HuEYbXoIEMCUY8qMmllSYId1Rj6pNRl2Qi6MTSK8+jqdgu/6AxEkUZXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686847184; a=rsa-sha256; cv=none; b=Xj1hl+B7uymrN7sII5p2/h8sDygcBpnjbifTEFhmxxXKfFcOhNcf+0hz/He8G0BjFA3z9X 5J3yxZsJylUh3nSVyuCbEv4Z64rESjyPP9t0VmsWFgJMAM7MwdRBnOZhHMZrkhd7VKjvBw s4IA08YNEjHSczZoNLEfS0n/Kw1+8dFm+iagBcISi3hLKKeaX5q1m1YiZ63xDcdSohSifr XMuTFc8GFG+/Ma7I23p+YSD4gdzr35XYsndjgtdcfO3ilhphnvsFn1OXswgjvXhLVH2DVb TrEwFm1zLHUeiGkKqX+3JgToIx/xEYczDbT/3tkaRV19e8jqk3+5SwiHytau/Q== 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 4Qhp0w4TnZztRx; Thu, 15 Jun 2023 16:39:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35FGdiKT085972; Thu, 15 Jun 2023 16:39:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35FGdiR6085971; Thu, 15 Jun 2023 16:39:44 GMT (envelope-from git) Date: Thu, 15 Jun 2023 16:39:44 GMT Message-Id: <202306151639.35FGdiR6085971@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 50e1cc94a138 - main - arm64: Make a debug print conditional on bootverbose List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 50e1cc94a138f8886588eabe0b849b487d9925a3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=50e1cc94a138f8886588eabe0b849b487d9925a3 commit 50e1cc94a138f8886588eabe0b849b487d9925a3 Author: Mark Johnston AuthorDate: 2023-06-15 16:13:05 +0000 Commit: Mark Johnston CommitDate: 2023-06-15 16:39:27 +0000 arm64: Make a debug print conditional on bootverbose It doesn't seem particularly useful to have it enabled by default, and it spits several dozen lines into the dmesg on a test system. Reviewed by: andrew MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D40499 --- sys/arm64/arm64/efirt_machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arm64/arm64/efirt_machdep.c b/sys/arm64/arm64/efirt_machdep.c index 9f13dea5b698..37248e53d87b 100644 --- a/sys/arm64/arm64/efirt_machdep.c +++ b/sys/arm64/arm64/efirt_machdep.c @@ -220,7 +220,10 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz) else mode = VM_MEMATTR_DEVICE; - printf("MAP %lx mode %x pages %lu\n", p->md_phys, mode, p->md_pages); + if (bootverbose) { + printf("MAP %lx mode %x pages %lu\n", + p->md_phys, mode, p->md_pages); + } l3_attr = ATTR_DEFAULT | ATTR_S1_IDX(mode) | ATTR_S1_AP(ATTR_S1_AP_RW) | ATTR_S1_nG | L3_PAGE;