Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1219502rdb; Wed, 6 Dec 2023 11:55:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFSpQnJ0v8sks31tu1hCG/zVZr6xulJXNySUYm3iGqc9QocZw1OFhTFW9wPjwbPgZ32fyKE X-Received: by 2002:a17:90b:1bc4:b0:286:b271:39a1 with SMTP id oa4-20020a17090b1bc400b00286b27139a1mr1945124pjb.27.1701892551490; Wed, 06 Dec 2023 11:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701892551; cv=none; d=google.com; s=arc-20160816; b=gUwikqIR1X3rBazt2vyNCrWs2q7Mt3oF4QQZ+BET2+k20346C/P/PGKL90WOo8IMTv lpObWXIf86PtEgnrhEXyr9N8KC9e9ghHv2Q3b5emG+5+g5ZuwlhBYB6hM8RlfAQ8SJgT 5L4uhavxlHgECEQlDupp62qmKCodUTSNYVxLervYaPk+5t+1jDX0vbOfveuoVKDBLzHY 2Ifl/hZ5Ds9Nzgd6vp3o6I37UleIB/4tmHDg9n7vtE3qvwT5TIcJhW7yAmzyyUCPX0Ik pa+3Xn+qxvKWdQ/kHe5EvaCjzAJ+LxfILPO/pTdm54U0Wfp40Nm+BjrwdG5ybfgbS+97 /TIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=b+H39IuAsMdr0edpHLdvFYFf94I21O2D7MxKtvWpba0=; fh=NidWOQV3oWMWaahMlWvR3rPg5stOJ3lh/Wcr0NOfyN0=; b=Nc0oqm9cuBy6zd6kLu8yMPwvqAqaPHmN6URZ4VteBprKHklrN3VxfY37pssRCYlF+D APOm9hQL+P7sjtP+gk6LFis1XkH6LyzyitKveV1YUJ6YgaY2Whv8RP0gXdfi+D6/rDW2 Ak9pI9FCI9JVKgqiiyO4JNwc8dwCvpdsZPJQTvx88jt+iteWlR+SDTXMQEuc40FYms4y RXyPiqboJCShFLsTsfW2IomdWJ942WSjbq1B50bOCyGSkZoSVTmCJ3QyP4PlG9f5a4Vg 8nANffUSmjmiMCQWRmbWuqVL4q7rx16yANO4WzVl+hTtgUrPaVQzEyeFcnkmXumkRQVN arVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b6-20020a17090acc0600b00286573bbedfsi340843pju.64.2023.12.06.11.55.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 11:55:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 66C7F827D0DB; Wed, 6 Dec 2023 11:55:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442820AbjLFTz3 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 6 Dec 2023 14:55:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442844AbjLFTz1 (ORCPT ); Wed, 6 Dec 2023 14:55:27 -0500 Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF3AD59; Wed, 6 Dec 2023 11:55:30 -0800 (PST) Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-58de9deec94so14890eaf.0; Wed, 06 Dec 2023 11:55:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701892530; x=1702497330; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dmG3e05eNFihieNPUsvLP7f1xh7CG0y4yEuuvc3VlKM=; b=e4LN0OsZ1tGS6Rl/y2UzAcA3qZR5KZyP+bd0zdVHjC4Qq4QBrmwQ4vTDRFUD170HQG EDuFnaEXg3KU//AIw49RpC8RIEgBBgK0G7m1+0YTH7CPSLBTWWZeVSkcP+jvf1JwHPFg WQ43FzRJ3sPqEWNxdc58askBvAujkGCiC2QtrsuYAvyvte3vdp8XxtdTHmCUtuoT8uOa QgsiXs3cEEJWZe30Xtq+ZQGVC86dhxKUaFukN4tcOmyOB38FVymes+BXYrAzy2pbaQig tNPWPs89/BJW+Z6cACsDrf8XGfAxGsxugvzJ1CR1ys/tRXkiVImBftrfoYyeimV8BWm5 8J5g== X-Gm-Message-State: AOJu0YySb+hViqm7aOQEoK8aKKAFpJP/LBdPwYL6CTgcYWfpFFUqKjQb ZGH90HWSx3CaVo2WJkXAybpaXwAedUGpFwEVDk0= X-Received: by 2002:a05:6870:b69a:b0:1fb:9b:3d4c with SMTP id cy26-20020a056870b69a00b001fb009b3d4cmr2806323oab.0.1701892529801; Wed, 06 Dec 2023 11:55:29 -0800 (PST) MIME-Version: 1.0 References: <20231123121433.12089-1-sumitg@nvidia.com> <6ccd1598-3c8b-1290-9494-01a3cdbb3003@huawei.com> In-Reply-To: <6ccd1598-3c8b-1290-9494-01a3cdbb3003@huawei.com> From: "Rafael J. Wysocki" Date: Wed, 6 Dec 2023 20:55:19 +0100 Message-ID: Subject: Re: [Patch v7] ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241 To: Hanjun Guo , Sumit Gupta Cc: Sudeep Holla , rafael@kernel.org, rui.zhang@intel.com, lenb@kernel.org, lpieralisi@kernel.org, linux-acpi@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, treding@nvidia.com, jonathanh@nvidia.com, bbasu@nvidia.com, sanjayc@nvidia.com, ksitaraman@nvidia.com, srikars@nvidia.com, jbrasen@nvidia.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT 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 morse.vger.email 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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 11:55:49 -0800 (PST) On Thu, Nov 23, 2023 at 3:32 PM Hanjun Guo wrote: > > On 2023/11/23 22:00, Sudeep Holla wrote: > > On Thu, Nov 23, 2023 at 05:44:33PM +0530, Sumit Gupta wrote: > >> From: Srikar Srimath Tirumala > >> > >> Current implementation of processor_thermal performs software throttling > >> in fixed steps of "20%" which can be too coarse for some platforms. > >> We observed some performance gain after reducing the throttle percentage. > >> Change the CPUFREQ thermal reduction percentage and maximum thermal steps > >> to be configurable. Also, update the default values of both for Nvidia > >> Tegra241 (Grace) SoC. The thermal reduction percentage is reduced to "5%" > >> and accordingly the maximum number of thermal steps are increased as they > >> are derived from the reduction percentage. > >> > >> Signed-off-by: Srikar Srimath Tirumala > >> Co-developed-by: Sumit Gupta > >> Signed-off-by: Sumit Gupta > >> --- > >> > >> Sending this patch separately as the other patch in the series is > >> applied by Rafael in v6[1]. Revision history before this version is > >> in the cover letter of v6[1]. > >> > >> Please review and provide ACK if looks fine. > >> > > > > For arm64 specific changes(a minor nit below though), > > > > Acked-by: Sudeep Holla Applied as 6.8 material, thanks!