From nobody Wed Sep 16 18:49:07 2026 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 4hlSbX3LzVz6s9Vp for ; Wed, 16 Sep 2026 18:49:12 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hlSbX1vkJz4MZW for ; Wed, 16 Sep 2026 18:49:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789584552; 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=WTU9oG6Y4sIH2L2p2tSG/o/NrypDR4OTgAlqz4JDafI=; b=Ap/UyVbWPnClhoAQM3ECvj9kHd7Cge/15r9PBqXfdtD3CVkLW+qcHsOosJCRah9zk7Q4v1 7O1YQ39iwJ4bx6dO80wHn3QbUfQVLBA3dkWMYXmBNl1T2a/m4uv+86+30qeKAbJw6sVEmE LQCc3W5eJC+VFc/wrI4SoHO1BJ6PRgEGywhUUlBgg2XRuhVJDfdrfmC7NJ39zVCpBNzl/3 YBY/70xJ+IHx86+uHgLLytwQR45lMzBf7OVKMf5hdRzOigPPfo4w85A0MDvoqugVotzAO9 UlucU7HwLAw4sfETPSrs0lOOqaBCheNcPKjRlSl0mOob+V/GoREn4EQqYd3tww== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789584552; b=rH+E7Ijy1sb15DNW+Xv/vD3z+noG3GH0XF/9Gr3sSs5s5bA5iqVAE1CdLYgfirWSz6+SHX jotOf9Gu0JQYRbsxXeVwi8EbYFYvpif93KV97C3d5aDpdSNmW2y3/grxBTPEd0vXeePPvd ULOzgi24ZPaBLAtn4HItOqPFgxietiWFfsqLXSo1rFUM068dJxEX9nlrQ5UIUwM1A73Sl0 r20pHZE4/eDEC/a/+TzfNhdYmDrUjpWYappnyMzY4oFv6XWJzFg228y1Yv1UVayI9TEbXA nEpCyGn3maZGYrAPCE0NPjh4itPNNWvLmF/0fbf2x+4oV+aYsO5GtEUXZiGcrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789584552; 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=WTU9oG6Y4sIH2L2p2tSG/o/NrypDR4OTgAlqz4JDafI=; b=VQzaprwlm49qA9AulN+0Q/MyB3QqwlLpn3iXN5xzl81hwqs9NUDo5Ft5eBckK9kQDFJMFC TRsvwFnQ+QoNsofRP2PfTC1YZ6uN5cNm8fCQKGT5GT/tJQMW8P8udWH0QqGIj1mrgGV7Wm G5INxbAobUJGDUBmO0z8aNjO/VnuKz2qhXFKpyXQcIXmsPeJqBMQ3eVZAwaO3E7cqpHhQB 5l7tTuEQgs5ior2q+1p/edIag/sGvIGwDDiWCzXIMT7pDNRkk6FHd2QHC6GZqY5COW4kGx i+iTprCNAMEhGHPGfPAhh+nXBK+xBHYt6WUkTyVYEiU0g/zBl7jcgsaWoRZn9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hlSbX0zlkzyqY for ; Wed, 16 Sep 2026 18:49:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 33f6f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 16 Sep 2026 18:49:07 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Aymeric Wibo Subject: git: 3820d1e1a7e0 - main - amdsmu: Add clarifying comment for the *sw_drips metrics 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: obiwac X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3820d1e1a7e08c2c464aca0bdd063b1595dc9127 Auto-Submitted: auto-generated Date: Wed, 16 Sep 2026 18:49:07 +0000 Message-Id: <6aaae4a3.33f6f.3a6dab44@gitrepo.freebsd.org> The branch main has been updated by obiwac: URL: https://cgit.FreeBSD.org/src/commit/?id=3820d1e1a7e08c2c464aca0bdd063b1595dc9127 commit 3820d1e1a7e08c2c464aca0bdd063b1595dc9127 Author: Aymeric Wibo AuthorDate: 2026-09-16 18:45:37 +0000 Commit: Aymeric Wibo CommitDate: 2026-09-16 18:48:21 +0000 amdsmu: Add clarifying comment for the *sw_drips metrics Sponsored by: The FreeBSD Foundation --- sys/dev/amdsmu/amdsmu_reg.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/amdsmu/amdsmu_reg.h b/sys/dev/amdsmu/amdsmu_reg.h index c71082072b60..503472215a8f 100644 --- a/sys/dev/amdsmu/amdsmu_reg.h +++ b/sys/dev/amdsmu/amdsmu_reg.h @@ -74,6 +74,13 @@ struct amdsmu_metrics { uint64_t total_time_resuming; uint64_t time_last_in_s0i3; uint64_t total_time_in_s0i3; + /* + * "sw_drips" here is a bit of a misnomer. The naming comes from the + * Linux driver AMD wrote, but is really a Windows concept. In + * practice, this measures how much time the system spent in "S0i0" + * (i.e. completely awake) between the calls to amdsmu_suspend() and + * amdsmu_resume(). + */ uint64_t time_last_in_sw_drips; uint64_t total_time_in_sw_drips; /*