From nobody Thu Jan 16 14:25:52 2025 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 4YYlXK0F1Bz5kW4F; Thu, 16 Jan 2025 14:25:53 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYlXJ6Lhxz4Dcn; Thu, 16 Jan 2025 14:25:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737037552; 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=b6drp7CAcq04pCzP9YWw36T9pyLv9PRRHt9gQD+ViXQ=; b=xJrOcAuivteimdLLljEdCW/pgVftsWPEm0m426uO9IjBuY9HRFMJ12NIIAo4ezBH8sYqpO H8x1cvcSOOPSRGUMKW43VV0+Dm/Z/+9ObyL+GXb5cEtP51GFdzZll4qdd08dMbp11npknk dETHE3yyKRs54bAogC+/s1zakR2uQTLI9qUcBMCdwWs+QmkbK6EEqS4MSWE+Qq5loJWTZ6 PPBLivv0AgVULP17udbp8NxSkCMDYlpxf1BSZnd1dP9Z/jDS9S+E3JVgxlB4eN3pe50GNO nsXDtTd88RIG/4aJ3ed4D5Y4iUxpz4AKlo/4lAeNX99MfiJT15J2vg1k61XMyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737037552; 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=b6drp7CAcq04pCzP9YWw36T9pyLv9PRRHt9gQD+ViXQ=; b=QgA2d1U831d45ugdQe/yyWFPtxZIimoBMhlzo160zS2MsJiKL2oVb/15C1e5WL4WbdBSPZ 8bXPWZs1wb8MQTmpCaPR4ew7xgMJPPbigfk8ilIKo8eSzSlFMc/bWaA8GyZ4M1u9OvvApd o7N0dTZuert42yTv/BmA9hGys687sYJeycQPrAh0GL+P2PXZBQPXiNLRaLLqn+rv3GM4QM 5l+1SGzOdxfUQkGErYsu8TkwdBRsfnsrUXhguDhzlGbIGPDbZoZsxVbJMj267XAvlbqT1h W9OQEo1d7qEVvmUvTsN5QVWLwnxmnHkBSErezBYvcr2YVNuK0XUWbWYo7Rp+qQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737037552; a=rsa-sha256; cv=none; b=VX3HBFxY82BNXN0UEzW2IhbMMBY3CT5vYOXmaokO4dKr2lOI4gYplNTEezBi4jaBp+F0vW VhQdjwZt4uguFWGukgYowm/ZzfcEoqsAwvTLg+JG5NPn/RNoOa8xASgcm8ZmSMha33+vzw sj5ywpGxk6a9BS+qfuQU1h5un7pyv1HutsdyVyJtD35/hJEoR7WrDzy2hFD15OLH6Scgot FBWb1A6MfDzRDV+e4Bt4cMacAeRJ26J5iyee1lwsITaOy34NVvh30ear62j6rIHTWiu/JC ir6rqWn4LsAjRX0pBrq/XB5IrfMC0Gj8NGL3Zg2sLhOxhkqIROlo6tQ7CuXHAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YYlXJ5f5zzcpF; Thu, 16 Jan 2025 14:25:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50GEPqN2075702; Thu, 16 Jan 2025 14:25:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50GEPq7N075699; Thu, 16 Jan 2025 14:25:52 GMT (envelope-from git) Date: Thu, 16 Jan 2025 14:25:52 GMT Message-Id: <202501161425.50GEPq7N075699@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: 621569254cd0 - main - hwpstate_amd: add amd pstate for zen4 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 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: 621569254cd0b0639488aa5d7b8143cef7c90a18 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=621569254cd0b0639488aa5d7b8143cef7c90a18 commit 621569254cd0b0639488aa5d7b8143cef7c90a18 Author: SHENGYI HONG AuthorDate: 2025-01-15 11:18:34 +0000 Commit: Mark Johnston CommitDate: 2025-01-16 14:25:45 +0000 hwpstate_amd: add amd pstate for zen4 Co-authored-by: Daniel Schaefer Reviewed by: markj MFC after: 2 weeks Sponsored by: Framework Computer Inc Differential Revision: https://reviews.freebsd.org/D48461 --- sys/x86/cpufreq/hwpstate_amd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c index 59a3a64e6495..5a2ff7611228 100644 --- a/sys/x86/cpufreq/hwpstate_amd.c +++ b/sys/x86/cpufreq/hwpstate_amd.c @@ -461,6 +461,7 @@ hwpstate_get_info_from_msr(device_t dev) break; case 0x17: case 0x18: + case 0x19: did = AMD_17H_CUR_DID(msr); if (did == 0) { HWPSTATE_DEBUG(dev, "unexpected did: 0\n");