From nobody Fri Oct 30 14:11:45 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 4jGNM54Kwdz6wwhX for ; Fri, 30 Oct 2026 14:11: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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jGNM53d9mz4vkH for ; Fri, 30 Oct 2026 14:11:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793369505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BKMyeGI2DOo6WSwBymRyCKHVMxAtAUrmRf4I7ld+GX4=; b=tli8ZMbmGAugZdKufb5nbcKGa9jC6pq/5NnOYbW7G5yaPtXLKh81bj63LgdO767FbjGhNl QVYh+wwnSPA/o9ABKGK84T7UMCdfKb5LbBPiDZs6xAZdn+a0xaPCVaVVVSCevfQem7I4cd a21tH36lrmGOAvk+gtRtbTNSI7YqKID0T6nTqB8dk47P220YuXYEoGqjifLmcbhntJPHg1 b/0ChZ2F/PFyP9BrwBk3LBgOgges64aqZeFvqs7rNCEVMdnLJSiV2+tXQ1SAnSFwyu8JIx K0bLO6z3JLFKEyhPmdT/au/SyxfeGQ3TcOI5qoqnJLAJyYYAM3bhEcvMh+VudA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793369505; b=mLVGb5tjWSucGOBUTqya+QRWimzUEW+eREk9aadgeaM2kWF2iGPF4drZB3Ljw2zqYCVJH2 9wF0e8AzE1keqBJhc6Tc8WDk5KTTdpMOrwdoGkNq0y0m4SBrOE6AiAsOKVyua8E6i7AHOk kzfGUYbtA2rhkT0hz9DVw9KpwoKWrrcDT393+NM91DR4AIBDjGuGniVi6K3cM0PP6mtMTG xPR/+D9iUPWiAs5Mt3twqYq8FjlKRKr8Hl3MVeuVuhY/w6yHzAhaGU+PnJNpFoHZM9nBLp ZnjdKk33hU6RLGX8gfSWy+Rxj3+MKJeBpCtPBIBx4hmqiIeMndl2hCngBFaWcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793369505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BKMyeGI2DOo6WSwBymRyCKHVMxAtAUrmRf4I7ld+GX4=; b=Nn/VE8B3MT3zVELt9q8aMA7LNTOqlHxeyXJPI69C+LO2cCwLxQ/jkwucFdWz1yynkjmzXg WWuHoxOT3pF75BvE3LYz3uBak7k8/vpmuyazDvwcwgIufb9tfPX29waqWmYU5++P6ESEC+ WsmXsdztbZxa9EbPIbz8QoZm4pA+UQdiCMqqKe5Qc27bFbRaVji4pH+ekvr30v3qDcLBB/ DRc+6uKQeFvdPe0mt4atcVa5Vp/wmrV66gP4pfroY4nQorTlEIlEt/wIWVWI3+tMA98Lfn lBgf3A2zdazWrvbn3dOFpZ8qAzL69tvHahwluSCJb4uG6fYpwRt3wtOpZYLZ5w== 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 4jGNM53HbdzV5J for ; Fri, 30 Oct 2026 14:11:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 21f41 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 30 Oct 2026 14:11:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Osvaldo Janeri Filho From: Mitchell Horne Subject: git: ed8b9bf5f076 - main - hwpmc: include PMC_CLASS_PERF in the PMC class range List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed8b9bf5f076609a2ba6f07dd9733ccb795f400a Auto-Submitted: auto-generated Date: Fri, 30 Oct 2026 14:11:45 +0000 Message-Id: <6ae4a5a1.21f41.68179009@gitrepo.freebsd.org> The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=ed8b9bf5f076609a2ba6f07dd9733ccb795f400a commit ed8b9bf5f076609a2ba6f07dd9733ccb795f400a Author: Osvaldo Janeri Filho AuthorDate: 2026-10-30 14:10:39 +0000 Commit: Mitchell Horne CommitDate: 2026-10-30 14:11:28 +0000 hwpmc: include PMC_CLASS_PERF in the PMC class range PMC_CLASS_PERF (0x1a) was added after PMC_CLASS_RAPL, but PMC_CLASS_LAST was left at PMC_CLASS_RAPL. Signed-off-by: Osvaldo Janeri Filho Reviewed by: Anderson Nascimento , mhorne Fixes: 5369f8e73eff ("hwpmc: add MPERF/APERF MSR support for AMD/Intel CPUs") Sponsored by: AMD Differential Revision: https://reviews.freebsd.org/D60546 --- sys/sys/pmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h index be932f4289b7..05e73bbcc337 100644 --- a/sys/sys/pmc.h +++ b/sys/sys/pmc.h @@ -167,7 +167,7 @@ enum pmc_class { }; #define PMC_CLASS_FIRST PMC_CLASS_TSC -#define PMC_CLASS_LAST PMC_CLASS_RAPL +#define PMC_CLASS_LAST PMC_CLASS_PERF /* * A PMC can be in the following states: