From nobody Wed Sep 16 18:49:07 2026 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 4hlSbR1jCwz6s9Xy for ; Wed, 16 Sep 2026 18:49:07 +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 4hlSbR1C7vz4MQf for ; Wed, 16 Sep 2026 18:49:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789584547; 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=g4PAa/wrilbnaaUBF+cARmGDisNcOjyoDR5iQzsSbZ/tV2ftcb3Zky7aInZtk4uU01d245 E01VfcZh3HfadTq/vk7Tz2pZD2w/NCl1ogyWw4KlkWGHfw9bYBFMbvB8Bc/ywhhZ9Mybk4 dHId8adR4HlxGFy7LaQP2aLHNvYipT3exvigo0E+SUNPKZQPmCtVAn+Ww2Onwc2cP8RRDg jrWEbb3UcUWMup+RfaKtm2c0kxZQiMickpzDfC5LKA53ifG3oTAErFsOJCpmlqUJBvV1wP g+ZWRVaUBUuvozqjYmBWy1FUpU1NKwAIsq68SCDQkmxiffth/Rsy+V4xXVlgXQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789584547; b=XIFS6pviLCVAKnxUJTV38hzkg9U28YPUPNoqfm7WOk+h9JBrc+kGOoxOSgRYfr3A4EhNlk M76XJhuA8U7gl39I/4uoHBsKKGDUrXLx18DdoOgnAX4UoxkEcSu/znp8CQ6Z0TnDrU/45E RqddZntIuwVC3rn7YIlLLxIJOe3WbvjwapusTsqkIveDbpAf4bvx0+UuHj3tXnw1p9GgNz gu7Hc9v8hu4ZKGDt8azRbWmV9FhmMpbaQV9VwCaQDr9UkHREnicGlxi7pWUOY1bI/4xEC7 3TzbPZGbrT5hCFO9URF2OpAqvc9PAncZG++ZpGkfyPHuKJ/sdGTqQDE06lLm4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789584547; 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=Dwf14PV58PnGFZF9yzT76Bl/WQuoOOH0l+m6S/Oxz6ha2kmHVqNtSyKRgGWjjWYHYALPoO HKSCpb+pyYahEn0Tw889K7jteWo2HQyynCiOZdDJuYZy3TGfTaeVJkfzGibeCD4Fx89qpi 10r4BjK7+l5CnsjKnzWBT81ffmTv/nivnK5ZBTQynCeHUAcRbc5XsUwjSNd03Yaq546hQ/ cWUziaBJxlrnR5nuiVmzlqy9LHSJl4C3TOB/cliQLNOM4JMWGeuEjexmmuUchCqUtmyEz/ iz+ltbRXjUNUJaL6oqHOQf6dSFEpBummrHhdhlx0UzVDxqxqPCsGtdoz7uVZZg== 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 4hlSbR0Hhjz102l for ; Wed, 16 Sep 2026 18:49:07 +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 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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; /*