Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4497299imw; Tue, 12 Jul 2022 08:59:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ua84f0kTJaeiWbWt6pUY2ZCZrwEeTR4b9Cfvhww3BMX+IfJmv9sGhXAvrNkYK4lFesKg09 X-Received: by 2002:a17:90b:4acb:b0:1f0:62ab:2956 with SMTP id mh11-20020a17090b4acb00b001f062ab2956mr3972443pjb.178.1657641554992; Tue, 12 Jul 2022 08:59:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657641554; cv=pass; d=google.com; s=arc-20160816; b=oZsGREo50TAlutAomgmQMJy6IQ5KkshKJSgUMCqerADXMycKp22qHlXnXGXbCqjMgd MXHHfz8hT809ItoDZBBknuPaLSs8c3QMJaZ4W9AS8crTIaUQAHauToSfVrHrDyUvcpaS 6g+BhF1x8FSzVENTX4YjfozilgBJJ71sbdJmy3q1dnasLP89ho2zNDmoX0us2HKINreK Nj9PWoU+Pl3DExgYU/5GERuKp4HTzsc+YViA6lxCiFBYkGOkw56k1W2gN8LsuxTWV/SF 1tdI2wHdOt4iRw7HmJGR5THh0HrAco/foC6KGLBmxL3WbOdzHRzYnF9uMuzG2Z5leTbs /y5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F5yeDTWiBR+zs4cX2e30vumqoLvljIYYouopJxzrf0w=; b=eCgnE1WSw89Mm2NcPjSZoAJSXKCNt4VC2iZXYdoXlZ5yA12m8o4rBYULxNMMZQLD32 xuvGktDaoJ4dUmG+20fDx7qzuKRVyWxlQFZNemdj3yxTH4Hdnj30cbSOW/mqKxpp3SZS 8xSM3H6Y0ahmJWPEF3gxYFhxC7wnP61v5Jr5bQKvcZPARedmJfufTLgpNhJAteFKD/mG RdQOrS9QW5zr5+tk80nGFfg+SWD6SCBTsZYN5BklXeFnT5ZFCpEjNq1MDnUg8EdfrCsB VYFugpRKZH3V+gcu0BAMd29Huviqt2iBRdQgS0uEhJAuOSht8Ad6vOy0R4YafxPJOSOv zTtQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Ql7QjuPW; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c21-20020a631c55000000b0040df75e9e43si9112416pgm.408.2022.07.12.08.59.02; Tue, 12 Jul 2022 08:59:14 -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=@amd.com header.s=selector1 header.b=Ql7QjuPW; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233429AbiGLPmY (ORCPT + 99 others); Tue, 12 Jul 2022 11:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234194AbiGLPmT (ORCPT ); Tue, 12 Jul 2022 11:42:19 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2065.outbound.protection.outlook.com [40.107.93.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F11C445C; Tue, 12 Jul 2022 08:42:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k45ZkBwHqI0+4zA+iItgmcecYmcVVBv6hnzkpC78Jf8sJ3ULhjv7D3t3oiUvUk73cbMkKlRDXgPvGJiEuoRgGhpMdJwpgLGGSixI5qCNNyP62w8gscB3qaEL2sC7+u2RqknLUosQ74NnveZwEFwGOz+XVKyOw3u8x0bk0PuT2V6ZC3DrrlqDaks5ytQgmHArBkZCBQ2ldVvxhxKKzscODKOXJ/0n8ItLzZqIE7v9M80LQSckXo3PV9eIPuL/R0JWh0O5qJ1zNKvJO2lXmL9PsY29kPiHpCFiZIrBPjFqNojQ8YtM9ueO2heyapeFr8q1Y++MF4UagGdCt/rfUtx7hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F5yeDTWiBR+zs4cX2e30vumqoLvljIYYouopJxzrf0w=; b=XQhu+5JCa3lSc+/kD7xD02lV7rAxlH5VeNaFwDdxN+wFGbJXSYY1Z89cMV+HvZKA1vxnJ4Au4btMVfnD8QnjPggj21PfHRFkzNPgUqbJwgTOq9yzjHEsljmrRdedBW08efAkHEsSUPtcmk6USrFEdGYnk/jKG7Xmq6/KjDl0UW3e5XuudMjZcRhefgTa03IiqecV50Ozn+RmUy5glpgQZW+0ntpxAcUkPygZ3/XMyTPJMU/i/43gOaZH+oodSECz+AuPghCbzzWrPAMhxwbcV4LIX7osP2PL5jPRH7KkpFJzTv7/G97E8Lpp3pUcRQK4QE77MxttVA/YIsIi/hdxhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=F5yeDTWiBR+zs4cX2e30vumqoLvljIYYouopJxzrf0w=; b=Ql7QjuPWaK3t2M6QWy4L4tinLUokNj7eYvoLeLQTuUCuW4vr33drrdeyXEsRUiToH1wOUITqyX/wXG93WnwzmNxOrtbZDg13LhEzll83u99sugcuRhkK4cJMoZSAFlUpOuPfAh2tfA+jDtVKqf0rMK322LBC19BckkX7Jl1eTEE= Received: from BN9PR03CA0705.namprd03.prod.outlook.com (2603:10b6:408:ef::20) by BY5PR12MB3828.namprd12.prod.outlook.com (2603:10b6:a03:1a4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 15:42:16 +0000 Received: from BN8NAM11FT048.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ef:cafe::aa) by BN9PR03CA0705.outlook.office365.com (2603:10b6:408:ef::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.22 via Frontend Transport; Tue, 12 Jul 2022 15:42:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT048.mail.protection.outlook.com (10.13.177.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 15:42:15 +0000 Received: from pyuan-desktop.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Tue, 12 Jul 2022 10:42:11 -0500 From: Perry Yuan To: , , CC: , , , , , , , , , , Perry Yuan , Huang Rui , "Rafael J. Wysocki" Subject: [PATCH v3 09/13] cpufreq: amd-pstate: update pstate frequency transition delay time Date: Tue, 12 Jul 2022 11:42:01 -0400 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a27175cf-fadc-4006-150d-08da641d18d6 X-MS-TrafficTypeDiagnostic: BY5PR12MB3828:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MixfPANqsn9m+uMzfyfg4L/qhbrmpnQz1ASKIOMBd735f1j3JjaJA3SeBFfGsnng+NsRMoUb1BryMo+FageCI/WGwEyGa6UBj6p06F6ZHr3LzBHYxZTBVpXrMoFPvUbF6+fexCWkx7Ety7Ik94K9/363r/N/ZNOX5FV7SoIACHFGokGypoK2ROVAAEy4F84p7NC51OCEzbyif1RaTx7IaLiBz1CTsyrp+0ik92hKjR4/N6q8Z0JZ0LP8BWdEEtaoep5OI9DEENniC/wtQsMLvXFmqo4Q23StvQ0cjPbgpBhwqctVKdlOPLZByODPAEUPI/I7NjaIT9urSOsWXNkC/yk3PeO80yRlUwt7MOzJCs7xgV04I76jOANRafJ4G1YTpCgxKkJOXWYQNZn+2SyjVlHyqDRnIIAqhe92zdJfIrxWoI29H5KgiZ3MRuzcFTO8MHdpBmjr/vqEANL5RqpAil3PuCVLnYwirIA9CTpv+eRRbm3G+GxllOR1LnIq/JuzMZk6mFXd12JW1/tI/axHqLFepEkoivZXyLVTiSzPPrFqm5lkef6ruB3QkVy7YTZtux5DOag0tg3SJmzMHdvPLMV8eOZWbY0VM/yZigC59wXzfUVQSlErI6DOLvXLHHxi2yWXarH6sdfdGW7jKIMa/n2wgTpJSAtc9JvRgAzMSkt7xQ1j/euvWXWSi73tp4wuqOtaphdu4HN8cnFCWRDWuF0wxxGeYNDFZKjrR/28NWK6jwcWXpJ/KbsEnuaMxV50MQbZwvbo6478u0sUcvYhzDcgmpzMNSNOpITNvZ8g50WbAtqR/tyCammABgB6X2Zq33TWVSTPQ99ZPRTLKn3pHO80h1bFAiFWGBIwQ7Cdwc8= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(396003)(346002)(376002)(136003)(39860400002)(40470700004)(46966006)(36840700001)(110136005)(54906003)(4326008)(86362001)(41300700001)(4744005)(6666004)(36756003)(8936002)(8676002)(5660300002)(7696005)(26005)(6636002)(316002)(2906002)(82310400005)(82740400003)(186003)(47076005)(426003)(336012)(16526019)(478600001)(40460700003)(81166007)(2616005)(70586007)(40480700001)(83380400001)(36860700001)(70206006)(356005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 15:42:15.8921 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a27175cf-fadc-4006-150d-08da641d18d6 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT048.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3828 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 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 /* -- 2.25.1