Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9592780rwd; Wed, 21 Jun 2023 09:14:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MVhqDy9WBJOXWYepSviIrQoo0O45YDOb55d/99tVlNAhKn2o72g1RnQfrTbCF9bY9yk/M X-Received: by 2002:a05:6a00:a02:b0:663:f82b:c6d9 with SMTP id p2-20020a056a000a0200b00663f82bc6d9mr18074327pfh.22.1687364074597; Wed, 21 Jun 2023 09:14:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687364074; cv=none; d=google.com; s=arc-20160816; b=XldjyKHhZjuMgAsmNTdXLhRf8m+o79hq6WIw1IPZOHj1s1kW+kMr4AxNUoXkqmcHpD oBg7oD1eFlh9S3YEZ1h2jaPiDiOJyoL8TcZRYm4bEZ6l9NJRqTNFJXsLxb08+TizOdXj ke+EBdACqF/b2LiGXHGqCWtr8V2JgUp5rlRQSPY9POiSN359n6GL942v1dQ2C8bomgG2 HYipT8aR+TJUKQNS+2ZU0u8Yu7KSsCrP3sPWWAELYwnCIyDDABLaj1Gi3Y2oyCOC/paf gkdMYL/tY0y7ojpmNuxfAuCb47n0OCtuZbaxoLo8NyyymvWX+2NZUw8su6wXUugbxkhl mFxg== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=lJ4yZ3Idn5DYZsckCi21UKHnYAqegLT4ngJvaK5IwVs=; b=axWdHTUJ85OiSD+20hwDyLPMMklqsIst7i2qjFP1r8jIDA6hp7WrMhCVw3thllHUaz OtmcMmxNEYZUp1ipeyqfrLvQRoVBdziQekbNm1SuTUuUyoG0SyPOeHc7mRz0KHPTpvgT yyclr1eyGKjnpCJPT/ID1fRbX3KQ5TA3bI2+lsSOAb8h3rZJNOk8c3kFYFtu9V07JTS9 CVyeQFVvQe/tYoGNahung8RSW3KekroMpL6BCRduOwlBe4bhyXa/DZNzbF3hYL9CzScw SqBBb9EwsyZb1yBT7yKMylygTaKHZTOOSYGBJIYSiMcj94FYA/BEPV1bKdiwEOLcxO/V w79g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=koFfURn0; 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 p2-20020aa79e82000000b00668873710d9si4417281pfq.162.2023.06.21.09.14.21; Wed, 21 Jun 2023 09:14:34 -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=koFfURn0; 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 S233104AbjFUPpi (ORCPT + 99 others); Wed, 21 Jun 2023 11:45:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232254AbjFUPpg (ORCPT ); Wed, 21 Jun 2023 11:45:36 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDE8691; Wed, 21 Jun 2023 08:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687362334; x=1718898334; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=fShmEjl8Wh4baxLKMYHpBk3MTQgN6MNwn0v6pEROKsg=; b=koFfURn08Rt6aECoS9uF0FYElM8830jbBfaxeIxKaWrndfA0y63/SA8Y YYVVvhCkyI6iBDiccGsnJ+yM51u8cC65Fq6zkiKpYAtMcBMS4cN2ojdHB aA/LRN2Vwrgpx0bKL17Rp4MsmGsHNpkRGTQ2GQ5ldhkvR+mdxBA2xYu4E y6mDIkeT8I5K+p+gk+A5372GEhxeoDhYPD7gZ+9ZIopk16oqHZtAA+1rv 0AGcQq9Ef+lJpspv2eaQqvCHGxAUq6aQkKvSY8E3i92qmeZKn1bf8Gfxm A0wYDIqb62qZxQB4+6HzDaoxWzC9sEwZ1Y1uLjEQktfHrZoI2v0cCxSil Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="423876538" X-IronPort-AV: E=Sophos;i="6.00,260,1681196400"; d="scan'208";a="423876538" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 08:45:10 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="748744954" X-IronPort-AV: E=Sophos;i="6.00,260,1681196400"; d="scan'208";a="748744954" Received: from lfrecald-mobl2.amr.corp.intel.com (HELO spandruv-desk1.amr.corp.intel.com) ([10.209.26.147]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2023 08:45:10 -0700 Message-ID: <13fbb134dda72f979b9a02e6abec12ebac18aef8.camel@linux.intel.com> Subject: Re: [PATCH 0/7] thermal: processor_thermal: Suport workload hint From: srinivas pandruvada To: "Rafael J. Wysocki" Cc: rui.zhang@intel.com, daniel.lezcano@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 21 Jun 2023 08:45:10 -0700 In-Reply-To: References: <20230620230150.3068704-1-srinivas.pandruvada@linux.intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 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,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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2023-06-21 at 16:58 +0200, Rafael J. Wysocki wrote: > On Wed, Jun 21, 2023 at 1:01 AM Srinivas Pandruvada > wrote: > > > > Add support for Meteor Lake workload hints. Before adding this > > support, > > some reorganization and clean up is required. > > First four changes are for clean up and to reorganize code to add > > support for workload hint. The last patch adds a test program as > > part > > of self tests. > > > > Srinivas Pandruvada (7): > >   thermal: int340x: processor_thermal: Move mailbox code to common > >     module > >   thermal: int340x: processor_thermal: Add interrupt configuration > >   thermal: int340x: processor_thermal: Use non MSI interrupts > >   thermal/drivers/int340x: Remove PROC_THERMAL_FEATURE_WLT_REQ for > >     Meteor Lake > >   thermal: int340x: processor_thermal: Add workload type hint > >   thermal/drivers/int340x: Support workload hint interrupts > >   selftests/thermel/intel: Add test to read workload hint > > > >  .../driver-api/thermal/intel_dptf.rst         |  38 +++ > >  .../thermal/intel/int340x_thermal/Makefile    |   2 + > >  .../processor_thermal_device.c                |  17 +- > >  .../processor_thermal_device.h                |  21 +- > >  .../processor_thermal_device_pci.c            |  76 ++++-- > >  .../processor_thermal_device_pci_legacy.c     |   3 +- > >  .../int340x_thermal/processor_thermal_mbox.c  | 179 ++++--------- > >  .../processor_thermal_wlt_hint.c              | 239 > > ++++++++++++++++++ > >  .../processor_thermal_wlt_req.c               | 137 ++++++++++ > >  .../testing/selftests/thermal/intel/Makefile  |  16 ++ > >  .../thermal/intel/workload_hint_test.c        | 114 +++++++++ > >  11 files changed, 680 insertions(+), 162 deletions(-) > >  create mode 100644 > > drivers/thermal/intel/int340x_thermal/processor_thermal_wlt_hint.c > >  create mode 100644 > > drivers/thermal/intel/int340x_thermal/processor_thermal_wlt_req.c > >  create mode 100644 tools/testing/selftests/thermal/intel/Makefile > >  create mode 100644 > > tools/testing/selftests/thermal/intel/workload_hint_test.c > > > > -- > > Because of the timing of the first posting, I'm going to treat this > series as 6.6 material. That is fine. Just review is important, so that it can be back ported to Chrome kernel. Thanks, Srinivas