From nobody Thu Apr 18 18:12:29 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 4VL5Tn2xG6z5HK3r; Thu, 18 Apr 2024 18:12:29 +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 4VL5Tn18LPz40C7; Thu, 18 Apr 2024 18:12:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713463949; 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=FL1uJztGcrVxWad3demoT/Qd3iyIawd9mZnul49vxNk=; b=IvV4XYeuYcB7nmHt2Jbr96J942j4fzvP45XdQjjnuJdpNBukNGGQCxROBq+lWwBKXIRPUc ukBv8bq8y2ub/qT5fJNWH7efMQCcfImVMMoXT02wpExl6SAUgfa6M3ElQfeaToT1kqb+a8 1EnDwyzRbMyAqUJmJDKPggSASaQR2ttZ5jv+nnwq0sqnfcUO8uq9CLhicRFWAKZOlPYd7a C65UKTSlfjcmxwHjkNO4CerUJVO8tJTeQQGuriGJVfGvrK1UNNm2+Go8n3nmqW47BAFRZm Ym0ogW3inSlugB10ITH3snU22hdJ0dZZbTmbmAtjBSzfqncB9Nz9mxIyqEh2gA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713463949; a=rsa-sha256; cv=none; b=Wq8nay/C9GpJJAsKrz74e7MJREI8Zxk2Zuq90lpmx/L1Laf8viN5vhhjtNmXtoDN/sX9vl EurZcyz6XmSlgbXPP21Z56Eh1gmWJWCUi6knPijThGgwNntvvtiaEN814sIOXF1xk8CPxk 1WMTjIpt6ZNZAjzceVu3B2lN1gW3ditSo3iW+tVIftJetUtbogR0tfD9tBAZhdCP0UzwkP xuPqeEiHIO972YDkq7PkI0fy57crstqlTe3OYFzPcTHyoUC+u7zJWkc81IltK5+lbJ5XZZ g8JidSj6vFl4OFVv0HAJnrldSAvfFzLKcjTG5tavq2pMPK6uTuc8+oM7drlUYw== 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=1713463949; 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=FL1uJztGcrVxWad3demoT/Qd3iyIawd9mZnul49vxNk=; b=RJ6cgxVPpGnusEb3//ByBP10NcjOtjPJxgqFCSEa/r5i3THMYGmUdgWe/axOX79uUrcbGy XmE7C63lED1xH2SAxVpLwOy/FqymXGihZRfPVSrz52olEtnDtmMU7Y16uico6d+UsqTKzE 7Lor+5njoyAp1L1+Yn7idltDcNtbjWMwSFo71t4L0OET/7h4GSHySp9M7c3wfN9CEqZ9/A JCTSk2/HmN0PgnIFfZYvRXdAhNujo9quFlOC8amLumNtFbizRTt6iQkJEG5y1h2qiThohC QNDEWpigsgxKOvsa22iX75eM46UtHY2RflPEBhYr/wspuIsT4siMHgBcq3ydjQ== 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 4VL5Tn0kX2zL1J; Thu, 18 Apr 2024 18:12:29 +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 43IICT4p016282; Thu, 18 Apr 2024 18:12:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IICTs7016279; Thu, 18 Apr 2024 18:12:29 GMT (envelope-from git) Date: Thu, 18 Apr 2024 18:12:29 GMT Message-Id: <202404181812.43IICTs7016279@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mitchell Horne Subject: git: 29701960b3ba - stable/14 - clk_fixed: call clkdom_dump() for verbose boot 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 29701960b3ba792c8897cce23605ee79ec91c89e Auto-Submitted: auto-generated The branch stable/14 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=29701960b3ba792c8897cce23605ee79ec91c89e commit 29701960b3ba792c8897cce23605ee79ec91c89e Author: Mitchell Horne AuthorDate: 2024-03-08 14:08:22 +0000 Commit: Mitchell Horne CommitDate: 2024-04-18 18:11:31 +0000 clk_fixed: call clkdom_dump() for verbose boot This is standard practice for clock drivers that register clocks dynamically. Nothing else uses the CLK_DEBUG macro. The result is that the name and frequency of the fixed clock is printed for a verbose boot, which may aid in debugging. Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44265 (cherry picked from commit 6e66bb9fc3d026765113fa1258cd12292da9309a) --- sys/dev/extres/clk/clk_fixed.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/extres/clk/clk_fixed.c b/sys/dev/extres/clk/clk_fixed.c index 1a61f0013bb2..62c094a65da8 100644 --- a/sys/dev/extres/clk/clk_fixed.c +++ b/sys/dev/extres/clk/clk_fixed.c @@ -263,9 +263,10 @@ clk_fixed_attach(device_t dev) rv = ENXIO; goto fail; } -#ifdef CLK_DEBUG - clkdom_dump(sc->clkdom); -#endif + + if (bootverbose) + clkdom_dump(sc->clkdom); + OF_prop_free(__DECONST(char *, def.clkdef.name)); OF_prop_free(def.clkdef.parent_names); return (bus_generic_attach(dev));