Message ID | 20230418171340.681662-1-srinivas.pandruvada@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3010292vqo; Tue, 18 Apr 2023 10:17:33 -0700 (PDT) X-Google-Smtp-Source: AKy350ZtL5HiZDrce/cHSVGqdnovnQl4SIb9qI7Ip3SJESplR3Guew+GHT227tbOH0c42JZs2bhP X-Received: by 2002:a05:6a20:3b27:b0:dd:b941:5d99 with SMTP id c39-20020a056a203b2700b000ddb9415d99mr345883pzh.51.1681838253509; Tue, 18 Apr 2023 10:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681838253; cv=none; d=google.com; s=arc-20160816; b=DZ0NsIu8a5J4wFZ+LHRNOgGvtbSJqpyoiLF/e1RbrNul8e2xD6adAsWqyvrF95U9qz 1ssHmS0GJ9OVS5X00+9Tz32v7M0IBIKCxYYwY5WnpXB22jtJg+9Ky5iPcaWmzqhJUQms 0iVYWKoesQIv8WnHfDSTpJr1v9+nkG2saqrLmZvHvrl/aPHl69yiumJqeT12kKHOGdz5 z1AU0/8IuA7N1VmgiCniLwYmv+zBfMbYjLNCmcHm3u+wO5sFlo3GsyYOfF/xMCp5L2dN 0voglIikL28X1Fl52eqHlbxfkHp69D7Jp5rEYsrrQdIJwGsWUb8x+fT81ZmuBUhrVUsV L9rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hvXbrYyFfhDuQnjPK1JvYBCHepZtawexDib0WpaZPJI=; b=pv24r0EmLVCS0VHtYLSG/fCI4cumIc+zinrE53+1YFL9JKfFbdC/M/6VDAXitbcH6T oJoNts94ONMpEe348Ny/JhTZqLuEAfzss0V2MN3o7LKyqQLOlGYwYIAbsHsulf7SJs2Y vHaqhsH6TyF+XJWa2jsuIpd3ALv7o7bH/kgQFdAvQUe+AmZxtP4xIvXx8RsXIpOQGB2q ZmiKIRd/KkJGFmu0TfBD2vtB1qOLnydPWA1ogKajdm9eqA8DKm2cmLaiK1supXIYeTVM MWKaXcKCdIxZYIT6MFRgdzRN4GqJ1fRKFw1zk/XWQEbHW+I2XgH77Fg4bLM+eQfZmDST 2c9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Qmi0CwX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a63f546000000b005141737351fsi14322036pgk.325.2023.04.18.10.17.18; Tue, 18 Apr 2023 10:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Qmi0CwX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231712AbjDRROI (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Tue, 18 Apr 2023 13:14:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231483AbjDRRNq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Apr 2023 13:13:46 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F38C4486; Tue, 18 Apr 2023 10:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681838025; x=1713374025; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=iTkmhO2EWTXZhiVPA9Hfnj37ykV3H/JPTRrj0SU8z5A=; b=Qmi0CwX9y897PEEIOES2ah4kvNApdrlp98ep81EGboj4TI6xrj8NRaqg iXrhBZ5NF4w5RNjzQXqQFKdAdcs4vLaaVPdSMruEVEuSIoLmuYd6bLzkM pUfd1FFqK7yE4+VOMrrBB8y4XeD78TzsYGYz99WY/gprveKlin6tydPRy hUG5162fF7I03VNtRTerN5g2pvG5CCicvQ3pFWrWVrwHoFWXI2OcH6TX4 hx6htQuN+yhNnlUCPj2YiN11c9AGLHryY2y/WSyMQkSzX7O43o3TX4011 dMGhaspk/CKTtN3MqGwMWEau6ZlIIJTZKTj616g8XJH89kNLtV4EE+92X g==; X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="347084251" X-IronPort-AV: E=Sophos;i="5.99,207,1677571200"; d="scan'208";a="347084251" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2023 10:13:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="755762649" X-IronPort-AV: E=Sophos;i="5.99,207,1677571200"; d="scan'208";a="755762649" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by fmsmga008.fm.intel.com with ESMTP; 18 Apr 2023 10:13:43 -0700 From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> To: hdegoede@redhat.com, markgross@kernel.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Subject: [PATCH v2 0/3] Uncore frequency scaling using TPMI Date: Tue, 18 Apr 2023 10:13:37 -0700 Message-Id: <20230418171340.681662-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763535228184922298?= X-GMAIL-MSGID: =?utf-8?q?1763535228184922298?= |
Series | Uncore frequency scaling using TPMI | |
Message
srinivas pandruvada
April 18, 2023, 5:13 p.m. UTC
Implement support of uncore frequency control via TPMI (Topology Aware Register and PM Capsule Interface). This driver provides the similar functionality as the current uncore frequency driver using MSRs. Previously I posted only 1/3 and got reviewed and addressed with this submission. The other two patches were links in the submission. But it is better that all three patches considered together. I know this is close to merge window for 6.4, so it is fine to differ. Srinivas Pandruvada (3): platform/x86/intel-uncore-freq: Uncore frequency control via TPMI platform/x86/intel-uncore-freq: Support for cluster level controls platform/x86/intel-uncore-freq: tpmi: Provide cluster level control .../pm/intel_uncore_frequency_scaling.rst | 57 ++- .../x86/intel/uncore-frequency/Kconfig | 4 + .../x86/intel/uncore-frequency/Makefile | 2 + .../uncore-frequency-common.c | 51 ++- .../uncore-frequency-common.h | 16 +- .../uncore-frequency/uncore-frequency-tpmi.c | 418 ++++++++++++++++++ .../intel/uncore-frequency/uncore-frequency.c | 1 + 7 files changed, 545 insertions(+), 4 deletions(-) create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c
Comments
Hi, On 4/18/23 19:13, Srinivas Pandruvada wrote: > Implement support of uncore frequency control via TPMI (Topology Aware > Register and PM Capsule Interface). This driver provides the similar > functionality as the current uncore frequency driver using MSRs. > > Previously I posted only 1/3 and got reviewed and addressed with > this submission. The other two patches were links in the submission. > > But it is better that all three patches considered together. > I know this is close to merge window for 6.4, so it is fine to differ. > > Srinivas Pandruvada (3): > platform/x86/intel-uncore-freq: Uncore frequency control via TPMI > platform/x86/intel-uncore-freq: Support for cluster level controls > platform/x86/intel-uncore-freq: tpmi: Provide cluster level control Thank you for your patch-series, I've applied the series (with the updated 1/3) to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > > .../pm/intel_uncore_frequency_scaling.rst | 57 ++- > .../x86/intel/uncore-frequency/Kconfig | 4 + > .../x86/intel/uncore-frequency/Makefile | 2 + > .../uncore-frequency-common.c | 51 ++- > .../uncore-frequency-common.h | 16 +- > .../uncore-frequency/uncore-frequency-tpmi.c | 418 ++++++++++++++++++ > .../intel/uncore-frequency/uncore-frequency.c | 1 + > 7 files changed, 545 insertions(+), 4 deletions(-) > create mode 100644 drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c >