From patchwork Wed Nov 8 05:03:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 162883 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp701113vqo; Tue, 7 Nov 2023 21:04:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVZEw5Rc0U6OLvV6g2Nn3MEE4FVi0umaTfm9bpZAtHM24w9N2ypZhE+5YtW2qhaEyPBLV1 X-Received: by 2002:a17:90b:4a84:b0:27d:47b4:785f with SMTP id lp4-20020a17090b4a8400b0027d47b4785fmr710400pjb.18.1699419851893; Tue, 07 Nov 2023 21:04:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699419851; cv=none; d=google.com; s=arc-20160816; b=G3JCrP7/lbmb5zuXVkNNfmqNeOcVpW1iwxR9HSWEze/cp2FVyYzCif4A93tHD2IdeS H6WNlPw39rY4hoYs9kCyj18QeCK2ZC/h/e9JbFqaZjLSTnKaSPnoh9v4n83xZUPwqDzi HnEqiCfMRWrwv+TSus7YsxgM79y82HSHVBx39mAOqJKCPV5zLjeWNU1iMKkVzhnxDiq5 F+f5kCLaZg95RnETFZf8skV9h91Ld8mrDYeoqbLpN+EymeZ4/l/hKcp/OVNv0u9efMU0 kwfo+rwX5GjdDDHxh7Q9URPyNk/YLb4lsSMALmJRlG2QgTuIRwLiEWF4+Ct4F3ZbwE04 Yl+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version; bh=+mXIe3ow1mFEMt04rvTqBGGASGscS5l/XOeHbFK93js=; fh=FYgQas4Fju5+BezZDsQEXd5waxKyCOjPy7jMGHuN45s=; b=MFYnBDb2X/5hoTG8ynHjZe9WTtS4Ek7ghvVxdEHjvXzZOCpMw6mlIo0dhChbuM01KF WTS9RTXvw2I6aSLJw1EIKoSIjbtT2/4a2g/G4SVdLGUwiNW4GP8Ft3eicDRlx3VytyYr sI6P5pEYS4iSCQw5FVa2pjPfMr8shL93uHJaPrPB+fWTqy3EvFepvvAGforIgpp1Wlof bUjq9UtGZnXjBtMI3kRBuAHKoNIoO27cGGN+bdEIDvXb6IoSX1tZGmV0rfeEovPJ04Nz 92oc//3Yqvk3BI8CSe/0rx8JjmDN5YbPTJZMKBO3kKD8OTShQWP3Vjc7+7SlcQm0iAIP QFfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ds15-20020a17090b08cf00b002806d1b7a51si1361447pjb.146.2023.11.07.21.04.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 21:04:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 464DE818CCA9; Tue, 7 Nov 2023 21:04:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229581AbjKHFDz (ORCPT + 32 others); Wed, 8 Nov 2023 00:03:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjKHFDw (ORCPT ); Wed, 8 Nov 2023 00:03:52 -0500 Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D59E193; Tue, 7 Nov 2023 21:03:50 -0800 (PST) Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-1f084cb8b54so3119756fac.1; Tue, 07 Nov 2023 21:03:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699419829; x=1700024629; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+mXIe3ow1mFEMt04rvTqBGGASGscS5l/XOeHbFK93js=; b=Yr96nqVp7B1aLdDOSTrWLLMgdSZpJLSbQkZk6YwX/a4y759L8DA0hPhFnknUdjkHSV X04rfk7X/BExrT8+kFHWg/e2m4kDpu7NzqcNoF/wNV/EQaeFn4wTHdqJQ/sUPFJTl/hB qPAuJxIfKtRgltNk+aDiO/xgQ2ZaM8HBiIDghzlPGAl4v/n4TdNqVO31n5uMoYy0L9SU ZqY1DnVd5/gLVB553ZuGkuONRIR1MsU6uTFC8Vk2pCm5dSG0zexwcBW6S1E2gQJzJT2y U6ltSm4ZVmvYz3SsXmND3YveBXVBKM0L6CpXiJygsiXCaqDf9xf3bJjVtT6s8wZ8xjei oVjw== X-Gm-Message-State: AOJu0YyNDB6dE5gnT8/hbjd4v8QI25DUBMYdd6SnG6KfVjY1rSV9f88w oi5DVKTH3lzouDjF6Xnbr+IUB6/2vbVyBOiGscFKLGYtcNg= X-Received: by 2002:a05:6870:1699:b0:1e9:bba3:4902 with SMTP id j25-20020a056870169900b001e9bba34902mr709700oae.37.1699419829348; Tue, 07 Nov 2023 21:03:49 -0800 (PST) MIME-Version: 1.0 From: Len Brown Date: Wed, 8 Nov 2023 00:03:38 -0500 Message-ID: Subject: [GIT PULL] turbostat for Linux-6.7 To: Linus Torvalds Cc: Linux PM list , Linux Kernel Mailing List Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 07 Nov 2023 21:04:09 -0800 (PST) X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781970870544643824 X-GMAIL-MSGID: 1781970870544643824 Hi Linus, Please pull these turbostat patches. Turbostat features are now table-driven (Rui Zhang) Add support for some new platforms (Sumeet Pawnikar, Rui Zhang) Gracefully run in configs when CPUs are limited (Rui Zhang, Srinivas Pandruvada) misc minor fixes. thanks! Len Brown, Intel Open Source Technology Center The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d: Linux 6.6-rc1 (2023-09-10 16:28:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git turbostat for you to fetch changes up to b8337e6a780dad9505f9d44da07c0a5c52fa0a04: tools/power turbostat: version 2023.11.07 (2023-11-07 23:28:30 -0500) ---------------------------------------------------------------- Chen Yu (1): tools/power/turbostat: Enable the C-state Pre-wake printing Len Brown (2): tools/power/turbostat: bugfix "--show IPC" tools/power turbostat: version 2023.11.07 Srinivas Pandruvada (1): tools/power/turbostat: Move process to root cgroup Sumeet Pawnikar (2): tools/power/turbostat: Add initial support for ArrowLake tools/power/turbostat: Add initial support for LunarLake Zhang Rui (80): tools/power/turbostat: Fix failure with new uncore sysfs tools/power/turbostat: Fix a knl bug tools/power/turbostat: Enable TCC Offset on more models tools/power/turbostat: Support alternative graphics sysfs knobs tools/power/turbostat: Replace raw value cpu model with Macro tools/power/turbostat: Remove redundant duplicates tools/power/turbostat: Remove pseudo check for two models tools/power/turbostat: Add skeleton support for table driven feature enumeration tools/power/turbostat: Abstract MSR_MISC_FEATURE_CONTROL support tools/power/turbostat: Abstract MSR_MISC_PWR_MGMT support tools/power/turbostat: Abstract BCLK frequency support tools/power/turbostat: Abstract Package cstate limit decoding support tools/power/turbostat: Abstract Nehalem MSRs support tools/power/turbostat: Remove a redundant check tools/power/turbostat: Rename some functions tools/power/turbostat: Abstract Turbo Ratio Limit MSRs support tools/power/turbostat: Rename some TRL functions tools/power/turbostat: Abstract Config TDP MSRs support tools/power/turbostat: Abstract TCC Offset bits support tools/power/turbostat: Abstract Perf Limit Reasons MSRs support tools/power/turbostat: Abstract Automatic Cstate Conversion support tools/power/turbostat: Abstract hardcoded Crystal Clock frequency tools/power/turbostat: Redefine RAPL macros tools/power/turbostat: Simplify the logic for RAPL enumeration tools/power/turbostat: Abstract RAPL MSRs support tools/power/turbostat: Abstract Per Core RAPL support tools/power/turbostat: Abstract RAPL divisor support tools/power/turbostat: Abstract fixed DRAM Energy unit support tools/power/turbostat: Abstract hardcoded TDP value tools/power/turbostat: Remove unused family/model parameters for RAPL functions tools/power/turbostat: Abstract TSC tweak support tools/power/turbostat: Add skeleton support for cstate enumeration tools/power/turbostat: Adjust cstate for models with .has_nhm_msrs set tools/power/turbostat: Adjust cstate for has_snb_msrs() models tools/power/turbostat: Adjust cstate for models with .cst_limit set tools/power/turbostat: Adjust cstate for has_snb_msrs() models tools/power/turbostat: Adjust cstate for has_slv_msrs() models tools/power/turbostat: Adjust cstate for is_jvl() models tools/power/turbostat: Adjust cstate for is_dnv() models tools/power/turbostat: Adjust cstate for is_skx()/is_icx()/is_spr() models tools/power/turbostat: Adjust cstate for is_bdx() models tools/power/turbostat: Adjust cstate for has_c8910_msrs() models tools/power/turbostat: Adjust cstate for is_slm()/is_knl()/is_cnl()/is_ehl() models tools/power/turbostat: Use fine grained IRTL output tools/power/turbostat: Abstract IRTL support tools/power/turbostat: Abstract MSR_CORE_C1_RES support tools/power/turbostat: Abstract MSR_MODULE_C6_RES_MS support tools/power/turbostat: Abstract MSR_CC6/MC6_DEMOTION_POLICY_CONFIG support tools/power/turbostat: Abstract MSR_ATOM_PKG_C6_RESIDENCY support tools/power/turbostat: Abstract MSR_KNL_CORE_C6_RESIDENCY support tools/power/turbostat: Abstract extended cstate MSRs support tools/power/turbostat: Abstract aperf/mperf multiplier support tools/power/turbostat: Abstract cstate prewake bit support tools/power/turbostat: Delete intel_model_duplicates() tools/power/turbostat: Improve probe_platform_features() logic tools/power/turbostat: Relocate cstate probing code tools/power/turbostat: Relocate pstate probing code tools/power/turbostat: Rename uncore probing function tools/power/turbostat: Rename rapl probing function tools/power/turbostat: Relocate graphics probing code tools/power/turbostat: Relocate lpi probing code tools/power/turbostat: Relocate thermal probing code tools/power/turbostat: Reorder some functions tools/power/turbostat: Relocate more probing related code tools/power/turbostat: Introduce probe_pm_features() tools/power/turbostat: Enable MSR_CORE_C1_RES on recent Intel client platforms tools/power/turbostat: Remove PC7/PC9 support on ADL/RPL tools/power/turbostat: Introduce cpu_allowed_set tools/power/turbostat: Obey allowed CPUs when accessing CPU counters tools/power/turbostat: Obey allowed CPUs during startup tools/power/turbostat: Abstract several functions tools/power/turbostat: Obey allowed CPUs for primary thread/core detection tools/power/turbostat: Obey allowed CPUs for system summary tools/power/turbostat: Handle offlined CPUs in cpu_subset tools/power/turbostat: Abstrct function for parsing cpu string tools/power/turbostat: Handle cgroup v2 cpu limitation tools/power/turbostat: Add MSR_CORE_C1_RES support for spr_features tools/power/turbostat: Add initial support for GraniteRapids tools/power/turbostat: Add initial support for SierraForest tools/power/turbostat: Add initial support for GrandRidge tools/power/x86/turbostat/turbostat.c | 3074 ++++++++++++++++----------------- 1 file changed, 1537 insertions(+), 1537 deletions(-)