Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31127440rwd; Thu, 6 Jul 2023 16:27:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlHEtOR7BGT5okz91rNAJhnK9xJM00gqWxHY5NjsEm8TtIHexHgvsekzwhzRgdZh3+AE2OYL X-Received: by 2002:a05:6870:a2d1:b0:1b0:12d7:1ef6 with SMTP id w17-20020a056870a2d100b001b012d71ef6mr4829441oak.25.1688686023925; Thu, 06 Jul 2023 16:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688686023; cv=none; d=google.com; s=arc-20160816; b=ZWzqZraeBQx8tCDupaw4+R99fGcXbVPwpvISD1UsDqMV/mq3g7vb3k4cfOhCsgmlpU nhoA4h/epiMaELpYhhrDGTS0fTNHw1rddx4NXk+K/gpBU+F8xT4KN/8F/y6uTlWLRimV 93SvecKDaGw9oB8hLnjcX6XKgBHeKew9HSS6ThurcNHpa2/QkYP+YNQtIENK4Xnz/jxq 3EM9vWqUS7bIWX73cRVyy/KcxrX8e1WnE9EJhguitU9zjCGnl1OTMJO1QAiyXtVyAN1O XtXQl11R0/akIzk2IWvwptKWnoPWvbeyzz888vSdMv/6WzqoFVE9gDaN1P3zQGYRdDI0 phLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6CVJjyR6RfhZNoQTfjvxs4T0gbnXwON2PStAGUS/QpY=; fh=pCuAg+GaSiX1G6xdpykd8jqsuOY1F4nw+i8r2bMc1Ck=; b=JWWxDhN47QBUTqf/zcqCiKNiCYmsMjsh4FAHUe8OvBw4XKv8Y7EOct0bQfvXe5INKZ rb17FHsqKwnTaPYhV+mJGqXF4MZemqvZ3Tl+7oWHEH7UkCehEj7QVw7MKGQAKtCIieoc 8xssvEb+PsAHd5WPjyldozvXIISsM5mGY18oX5a6YXDl5qbDoUv3OymNRVSFqRledOd9 jRng4fvrABckbsf0UTetTdKRjpECsMYq0I6mlXGH3+PoPN5FKCXm0/+k68Xe5B4Bzpgh 58BcEdwwpIKPJxA09RiD5e2xcKIQTnQEFs8SMDvXkegq7uNJwE7tjNLQOf6APB8/7bO4 7OIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j2zxtROy; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a17090a9c0a00b00262fa96d9e6si652830pjp.142.2023.07.06.16.26.50; Thu, 06 Jul 2023 16:27:03 -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=j2zxtROy; 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 S231654AbjGFXHa (ORCPT + 99 others); Thu, 6 Jul 2023 19:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbjGFXH3 (ORCPT ); Thu, 6 Jul 2023 19:07:29 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25A611723; Thu, 6 Jul 2023 16:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688684848; x=1720220848; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=shCToiezlx9Kzhe8yGJ6H69go5ad+o03kllwKwmdu0g=; b=j2zxtROynE5Z7ZRWKEpWH1w8+WIVlj5rtL1Qnv9OW/p5gVz1wk++kdBi 94ix58H3WRGkhgS0cYC18IeYsTceKad91b8gP1a8SQBEvuyRY3ymbqHlZ EsoAVmeR4l8VdamCLUjDNm/gPS8qdqsbZ2mbu50uHj+87FWUZTAwErOdd UWK9mbWbkcvL1dqWvreyAl7Y0xLqMVVotTKVb0ACAssOjK30M+4/NNwY/ kZCiIl2JVaU1EK1hq0HpUOfsBETm854YZG9C3v5Yr1wBvNVX1/t1+UFKe uSiiZMezZm1eAUTA0bftntCnMh/CjB6XchaCsHlIGbDQvqjxToNfCNREe w==; X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="366332155" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="366332155" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2023 16:07:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="809822164" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="809822164" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by FMSMGA003.fm.intel.com with ESMTP; 06 Jul 2023 16:07:26 -0700 Date: Thu, 6 Jul 2023 16:10:10 -0700 From: Ricardo Neri To: "Rafael J. Wysocki" Cc: "Peter Zijlstra (Intel)" , Juri Lelli , Vincent Guittot , Ricardo Neri , "Ravi V. Shankar" , Ben Segall , Daniel Bristot de Oliveira , Dietmar Eggemann , Len Brown , Mel Gorman , "Rafael J. Wysocki" , Srinivas Pandruvada , Steven Rostedt , Tim Chen , Valentin Schneider , Lukasz Luba , Ionela Voinescu , Zhao Liu , "Yuan, Perry" , x86@kernel.org, "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "Tim C . Chen" , Zhao Liu Subject: Re: [PATCH v4 15/24] thermal: intel: hfi: Report the IPC class score of a CPU Message-ID: <20230706231010.GA12259@ranerica-svr.sc.intel.com> References: <20230613042422.5344-1-ricardo.neri-calderon@linux.intel.com> <20230613042422.5344-16-ricardo.neri-calderon@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) 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 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 29, 2023 at 08:56:36PM +0200, Rafael J. Wysocki wrote: > On Tue, Jun 13, 2023 at 6:23 AM Ricardo Neri > wrote: > > > > Implement the arch_get_ipcc_score() interface of the scheduler. Use the > > performance capabilities of the extended Hardware Feedback Interface table > > as the IPC score. > > > > Use the cached per-CPU IPCC scores. A seqcount provides lockless access and > > the required memory ordering to avoid stale data. > > > > Cc: Ben Segall > > Cc: Daniel Bristot de Oliveira > > Cc: Dietmar Eggemann > > Cc: Ionela Voinescu > > Cc: Joel Fernandes (Google) > > Cc: Len Brown > > Cc: Lukasz Luba > > Cc: Mel Gorman > > Cc: Perry Yuan > > Cc: Rafael J. Wysocki > > Cc: Srinivas Pandruvada > > Cc: Steven Rostedt > > Cc: Tim C. Chen > > Cc: Valentin Schneider > > Cc: Zhao Liu > > Cc: x86@kernel.org > > Cc: linux-pm@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Ricardo Neri > > Acked-by: Rafael J. Wysocki > Thank you Rafael!