Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp371399imw; Tue, 12 Jul 2022 22:55:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s2XuEZLclNTKdJzIakDIC0cqBkx4Yq2QRnVrR506wHho54a0PQ/DwIpB8nDcnRom20RaTG X-Received: by 2002:a63:db03:0:b0:415:fcde:23c1 with SMTP id e3-20020a63db03000000b00415fcde23c1mr1582825pgg.261.1657691707332; Tue, 12 Jul 2022 22:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657691707; cv=none; d=google.com; s=arc-20160816; b=TEpR1IADVqVc0dt5nQjy2T27ttDjNhnltDHCqLElwLuQAd1ksdeOPJII5wkXHmgfAe ZCcf1il27/xWvT0G5ACSuTdSqoECtYT2rXsNx0M4T8CdyM+5pz56Nia6cys/nZU3RfXC A2IQBe+u9egFe1TjWXEkitRmiByAuWHRkOIq8BV/9iK1cQDdO4iig2iDeSX7nYdeWvrX f9/QVot8XyLESBkWOHJlMdS/B8XA60/Xi+lbB7WyqIHZwR7OXx69Fjzs7gEbD5oUxtFe QmJt9sxAE3DR1ybB/ecA3vGIrJGBGJ5V4VC/I4b6TWABoEbTWc9r4mWz3Azp68UpD1Ns XBTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dR8o1Tq91jZw3MLfFu5c8vDuW/4Jm/kOBk1Udw3FPCc=; b=SKrd45ZhTS4FgG53N0bKeuhaT2hmuk/GFL/cR/t5LJ/8fgpTGDoBUBePs8Ss+j71JG l21kyECnNPOeacvuRW1myPOB4TjaL2felhH9SdZgMVMQ00KPibSweGly5JZQqX0busyR CzSKIcqPqLimbfY3FmZQ6//u6kHU/uWD0wmkNpJsALpimbZQlvfOlVrkd8tOG1SSX3Kx 1w6z3fVclMVY/t2ch1kpExSZEwG1POK0yvUkHsNsSBdo28A+iIE0l1OisSe3Ac4GAlin 555UahJtGoMNBHHZB6JHw3ZtuEAA7YO08OpMKkbxG9J1xqOtgiV2+vXxF6U2aqu52tlS MJmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wVobnWti; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a170902e89000b0016c461d8039si13327583plg.95.2022.07.12.22.54.54; Tue, 12 Jul 2022 22:55:07 -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=@linaro.org header.s=google header.b=wVobnWti; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233634AbiGMF3Y (ORCPT + 99 others); Wed, 13 Jul 2022 01:29:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233658AbiGMF3F (ORCPT ); Wed, 13 Jul 2022 01:29:05 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A11E2C669 for ; Tue, 12 Jul 2022 22:29:04 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id 72so9560159pge.0 for ; Tue, 12 Jul 2022 22:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=dR8o1Tq91jZw3MLfFu5c8vDuW/4Jm/kOBk1Udw3FPCc=; b=wVobnWtioTWzhTkgptNc/fvBk1Z6nRHmsU4jMUhB6MkKOYPjxQiSYFMtZ+9wdBjnEq ZRtkx3GsLj4+uegFy8BszHdnfWYDWPixOros1UY3VNtKr7tukMlgnqJm7CCHvDL95Ajv EBZce62eSv954MhqOgznf5sBc7ruV2BTyeKdmc9hOPyt2srR7VmdVCwoiu4jkcuRihWa UWJ/hbMH5kruYQ89kpuKSKHIpC1i8T3Xal9Y6mr5tOoU1unvsVXilqK8bPvGlXLbcJ7H 8PBUFXKtOfkDEfhneAWE2ZGfXKqwmNQNPv3bJvGWYiUG/NvyUg0lVV1ORmS0UHvCs9sf g9DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=dR8o1Tq91jZw3MLfFu5c8vDuW/4Jm/kOBk1Udw3FPCc=; b=fbWSY/n/PfksEsGx/37e9eqYzAYpQqyjB2wuMbDqAfxaddVh1ZM6TWa7bc/JWcRL/j CNbV3Fr3JK+l0NDokm2nEcrf1eHJ6pFlOjtDtMrWe3cCpwqjAszg6l2rSGTyeJLifIrq O6RWiIWFIylwdYXy7CznC20CMTEIOgE8PaaFhoLlPpsdrXnQ6h8R5hz7fY0LNoj0qxEu bj0oxX+jze7xoBVMoZHZo/+U3mdYibRTMOwDZjUYxn1BpzloLoYLuRatbsLDF8R3rh6P vALZhsve9pR0UiGU7sGL7y33an20sbHUMhoUgXlL0JkpQDeCEHc81+LlelG1QLrZ5NL8 Ql6g== X-Gm-Message-State: AJIora8h3M0xRUEz6bdClhCLE+oe1KTPPJmK8JdlavunihqFF51H1xo6 +Sr+dQCBtCkCBs3L73UZTRiwgA== X-Received: by 2002:a05:6a00:21c8:b0:4fd:f89f:ec0e with SMTP id t8-20020a056a0021c800b004fdf89fec0emr1457247pfj.83.1657690143805; Tue, 12 Jul 2022 22:29:03 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id d10-20020a621d0a000000b005289f594326sm7732688pfd.69.2022.07.12.22.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 22:29:03 -0700 (PDT) Date: Wed, 13 Jul 2022 10:58:59 +0530 From: Viresh Kumar To: Perry Yuan Cc: rafael.j.wysocki@intel.com, Ray.Huang@amd.com, Deepak.Sharma@amd.com, Mario.Limonciello@amd.com, Nathan.Fontenot@amd.com, Alexander.Deucher@amd.com, Jinzhou.Su@amd.com, Xinmei.Huang@amd.com, Xiaojian.Du@amd.com, Li.Meng@amd.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" Subject: Re: [PATCH v3 09/13] cpufreq: amd-pstate: update pstate frequency transition delay time Message-ID: <20220713052859.7h7uaddpyvqaty2v@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 12-07-22, 11:42, Perry Yuan wrote: > change the default transition latency to be 20ms that is more > reasonable transition delay for AMD processors in non-EPP driver mode. > > Signed-off-by: Perry Yuan > --- > drivers/cpufreq/amd-pstate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c > index 312ccef62f58..1e5ca4897b7e 100644 > --- a/drivers/cpufreq/amd-pstate.c > +++ b/drivers/cpufreq/amd-pstate.c > @@ -41,7 +41,7 @@ > #include > #include "amd-pstate-trace.h" > > -#define AMD_PSTATE_TRANSITION_LATENCY 0x20000 > +#define AMD_PSTATE_TRANSITION_LATENCY 20000 > #define AMD_PSTATE_TRANSITION_DELAY 500 > > /* Acked-by: Viresh Kumar -- viresh