From patchwork Tue Feb 7 17:32:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srinivas pandruvada X-Patchwork-Id: 5094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2979360wrn; Tue, 7 Feb 2023 09:34:43 -0800 (PST) X-Google-Smtp-Source: AK7set8Yca5N/tKo6e/rAvz7vgiXlXLHhtEEfkNii+OJHxOZ5fOHrDcLdFVv6mIAQJ2dMxkq0ve+ X-Received: by 2002:aa7:8bc1:0:b0:596:e68:124c with SMTP id s1-20020aa78bc1000000b005960e68124cmr3381560pfd.7.1675791283570; Tue, 07 Feb 2023 09:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675791283; cv=none; d=google.com; s=arc-20160816; b=Bq3cs9WeC3VO9GzaHwNwk5K+vJcqosQA2vJHtV8fylBe7n0AWVMdvVMHPg7SJEDEmD XmnSG0TCw/AoGdAZKhUOHDVJkKLFSgPIXxIiPT0OZ2vqiCS/gScJ+6pSJHS/ldcExzka qoXt4Q4bnv33TSIGT36x3sYECSyS/1GaoUVgtJ9nYG1n374jonieOvZwwbE8E38OaiWO QgbcFyU16fs+e9cESzbxSB4dO5Vjc9JOjMtWGKevPW2Gur0gV1f5zPu++3dM5JZbrRbp sb0ThluF9BibYIUsshYiNgbBTDl7zMibQ9UxCVNYEEjt860eEJ+iOUJnwbNV7uNCiJqJ 8Vjg== 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=Z3RipjkccaZNuFpDU+1toMlxiRDnhEn7kQTffXJh0Fo=; b=Ao5qDVZ0w03m8+3VNZ/8ZNDi4nSpXvV7qDi0gbr5YGIpauZ7Tvzga1Odp1cqWrgJBC Fnq487gKGNaWWMmGlke432JKG4IxPFxzc1JWwhZYxh5/XxZHbpydZfMWXCkrxtLJ7kLS KnwWlYRsYMcD9K8rwk1osstTwTFCMnrW0boUY5aseD4h1WpimqE5s2yuMLP0S6UBQlVv Nu9lTJRcyNUnf6Ko+hz5STpX2XTu9r6FrgnMJyBQpTJrnTRBZT6AWDTOyOcXXz/AsajY KQaeVOxRYsmTFUK1PAJOWTk/xsXRCxD3BxZg8//X7KXpSOdUM/9d/llfg95nfWNF1byP GRBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=jkA8OJ22; 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 v26-20020aa799da000000b00593914473acsi14509276pfi.368.2023.02.07.09.34.31; Tue, 07 Feb 2023 09:34:43 -0800 (PST) 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=jkA8OJ22; 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 S230411AbjBGRcY (ORCPT + 99 others); Tue, 7 Feb 2023 12:32:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjBGRcW (ORCPT ); Tue, 7 Feb 2023 12:32:22 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8F8F392B9; Tue, 7 Feb 2023 09:32:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675791142; x=1707327142; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=s9XYyOhSDhlb3x72J9xbcE+E8WZUiOaJL5RBPD5rP9w=; b=jkA8OJ22tTCfTPiImy8uLrDmhlaOltsZN6Qnn4ADb9LIUu5CEX7Ivvve PI8FNU4lZISng0znvIF+k0IICNwzts0e7w//ixSbagjLzdcKocNr+N/Wv LOAcyWCOUdH4hTVgzaVWjhtgxSHzm1bGExwMfM8vOGIU6/P9ion1UTy9B 4d3FDmHnnEqByg4IZN2YEOVK2M62RiCm+U1YdnyHEmOx0UJFZRfWNifmH 1ttWwguceJfZe1rz02fIv3Cvlkk8LER2XiPl2ontEEGWARJQlGLQ68+A5 l5ZPXq2586Sy85T1/RNg8bASpcC0fhKNJegLK/pim9+WedOSRn04IHUtT w==; X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="331702652" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="331702652" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 09:32:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="699325494" X-IronPort-AV: E=Sophos;i="5.97,278,1669104000"; d="scan'208";a="699325494" Received: from spandruv-desk.jf.intel.com ([10.54.75.8]) by orsmga001.jf.intel.com with ESMTP; 07 Feb 2023 09:32:21 -0800 From: Srinivas Pandruvada To: rafael@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada Subject: [PATCH v3 0/2] intel_powerclamp: New module parameter Date: Tue, 7 Feb 2023 09:32:17 -0800 Message-Id: <20230207173219.4190013-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756959628760621998?= X-GMAIL-MSGID: =?utf-8?q?1757194520759831990?= Split from the series for powerclamp user of powercap idle-inject series: Use idle_inject framework for intel_powerclamp version v5. v3: minor document change v2 - Build warnings reported by Rui - Moved the powerclamp documentation to admin guide folder - Commit log updated as suggested by Rafael and other code suggestion Srinivas Pandruvada (2): Documentation:admin-guide: Move intel_powerclamp documentation thermal/drivers/intel_powerclamp: Add two module parameters Documentation/admin-guide/index.rst | 1 + .../thermal/intel_powerclamp.rst | 22 +++ Documentation/driver-api/thermal/index.rst | 1 - MAINTAINERS | 1 + drivers/thermal/intel/intel_powerclamp.c | 177 +++++++++++++++--- 5 files changed, 180 insertions(+), 22 deletions(-) rename Documentation/{driver-api => admin-guide}/thermal/intel_powerclamp.rst (93%) Tested-by: Zhang Rui