Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp849169rdg; Fri, 11 Aug 2023 01:31:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6Pvi+BOcZKGSXRjzSh/2N33vgDeUKpvi4y3D3+Wlv9+OcPyp4yZG1SqNjXiofxKYrjTNo X-Received: by 2002:a05:6a00:39a1:b0:65e:1d92:c0cc with SMTP id fi33-20020a056a0039a100b0065e1d92c0ccmr7209500pfb.10.1691742702842; Fri, 11 Aug 2023 01:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691742702; cv=none; d=google.com; s=arc-20160816; b=s7viDjW5Dx+jfekinT4IiIirVVvdLXnUMM/5IvWmrA+/fS8Ke+P/xZ+N/uB0cj13iC mMF2AQE07R878y3LnaVW7VmEuXBCIrYaPRBwmNNqoKangj9Za0d2omrmZq0NMGv6GYG0 B3KSnqjZw3WXLMr5x9BVR/ss61eBf6IczEj45t+7KVJRd+3EJgZKOn+1H2m0W7Qw8sDQ Bc67HeGeuUM5ldfBDooVl0IvIZulblYajlABnU28NUjJY2ltR0tIa2qXnCq4k24kjCFd nFuHxGiMwzzoU3bFyeW4NxDyP8asv7yg6PRJTWbVoqvYhTYPeyPGG5RRzOqg1mcWLxG5 ACiw== 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=zT3po1gHIt6nPnvjsqOOvRKd1niJj75SVykGMENxpsE=; fh=//yq9+SRnfec/p4B8z82ZBm+tAqwIu9kkd6X9/Omq8g=; b=n8WtLT29s9iShbovdLDNTkW+Vk/1gfS7IQbTXi4uoJXVWtUbz61W9Ey3S0bl2k+s2x uZisIOWQq23/5P8LWFFj7i/63+e2KGfya9mS6kNZTW6emdy0O5CE4Mgv//6+5TpURbrX JCPPot4lVIiuntKYUx3TM54vbncx4EGrPqoQZpeSQ98t9J1vM7/6qUDpBB+elg7sf8Pu rvifgvYtfADoDIsbGG0NPItXmnKpXwJZt4wn/+fjm2n306QpFDpwpKSAbxI2oJ5gaDlW bi6XK3q7aFCM2/FpsHlutuxgPEI1rbH/2QCUTU78498ZC1u0869IfDcsfIdbIYl6A+o4 EHYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CspI2QH/"; 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 bd6-20020a056a00278600b006688c47e5b4si3005876pfb.399.2023.08.11.01.31.30; Fri, 11 Aug 2023 01:31:42 -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="CspI2QH/"; 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 S229515AbjHKGRk (ORCPT + 99 others); Fri, 11 Aug 2023 02:17:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbjHKGRh (ORCPT ); Fri, 11 Aug 2023 02:17:37 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB0BA2D55 for ; Thu, 10 Aug 2023 23:17:36 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1bba54f7eefso19559855ad.1 for ; Thu, 10 Aug 2023 23:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691734656; x=1692339456; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zT3po1gHIt6nPnvjsqOOvRKd1niJj75SVykGMENxpsE=; b=CspI2QH/oPGq3QjFLjbOhAgBHsclK/zfrD/U/vxI0yWfOjtL8ftBGpzRjqU4PUaAL6 ofDVscUYH3PeuOn5xSkr2RnTzeXHOQgecckMFMV62bGm9qJfBSiu0OUcyHn1Rt9PjNM9 ANLlgpOPQo9d1nSHqZUCNLHI3I4MZSu2SONMN71BbVzpSUYxbXofbXfpYRhrwLNXTEwp WRHkt3lnAzcaHu3t54x+2uHQxZIglWW5YPluFfUVmXAC6m2ZFTpjKttVxmEc6uMnLFut y+Doyr4BOUIW3rLUeO7McH8cW40GoCNWQOiLbTOeMQkJIocmg8t3/zrr0DZKLR8DhyG3 XMqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691734656; x=1692339456; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zT3po1gHIt6nPnvjsqOOvRKd1niJj75SVykGMENxpsE=; b=K0HyB3C/NsoDS657etoF6eXkpGcCzXIiRCv5tNk3ErR6z4PeJVV8XnNdb/tzj11x7p he5a036xpl4MMXXjAghf5Mx1DvDBCYAKo1/dbAsDtbnaj/ztoK7U5rUkxJM8zLDv/LrR YuHDmi71XklMfKEFjKqTh6xDMKQlvIvc0b1zksCTRSOrvyQ0kc2dl9p+m4KOnleQlY+U STsa2ErEN10hhd09OD+IJxaT5o/GLlUOe8d9/rcX7/tPBvijwnGlUauqbiWdEcEJTsRn 9iXqivUhSeFvEruxr6fPmQVVQrqKcX4OU9TPTQESXiXRcN7SNQo27Y1rcZHv9qUyqREe V11A== X-Gm-Message-State: AOJu0YyS5zyfct4sXUhUywh7amxwligNiZ5qlvCec7ib9KIRk/5ZjS8k vPlqsg3vOIGpo3pcX/g/Eee8lA== X-Received: by 2002:a17:902:e84f:b0:1bc:e37:aa76 with SMTP id t15-20020a170902e84f00b001bc0e37aa76mr5729526plg.6.1691734656165; Thu, 10 Aug 2023 23:17:36 -0700 (PDT) Received: from localhost ([122.172.87.195]) by smtp.gmail.com with ESMTPSA id l5-20020a170903120500b001bbc8d65de0sm2913338plh.67.2023.08.10.23.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 23:17:35 -0700 (PDT) Date: Fri, 11 Aug 2023 11:47:33 +0530 From: Viresh Kumar To: Meng Li Cc: "Rafael J . Wysocki" , Huang Rui , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, linux-acpi@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org, Nathan Fontenot , Deepak Sharma , Alex Deucher , Mario Limonciello , Shimmer Huang , Perry Yuan , Xiaojian Du , Borislav Petkov Subject: Re: [PATCH V2] cpufreq: amd-pstate-ut: Modify the function to get the highest_perf value Message-ID: <20230811061733.mvqlir3nbnzdp6tx@vireshk-i7> References: <20230803014354.3304825-1-li.meng@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230803014354.3304825-1-li.meng@amd.com> 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 03-08-23, 09:43, Meng Li wrote: > The previous function amd_get_highest_perf() will be deprecated. > It can only return 166 or 255 by cpuinfo. For platforms that > support preferred core, the value of highest perf can be between > 166 and 255. Therefore, it will cause amd-pstate-ut to fail when > run amd_pstate_ut_check_perf(). > > Signed-off-by: Meng Li > --- > drivers/cpufreq/amd-pstate-ut.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied. Thanks. -- viresh