Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp791205ioo; Thu, 26 May 2022 15:11:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTx7Gu2n9nDxsoC/TvqlW/jIKin+eaM8kegyN624uZ4zS38IDDgW3hHYurJJ+24GGLAOge X-Received: by 2002:a05:6a00:9a6:b0:518:fb72:5e2e with SMTP id u38-20020a056a0009a600b00518fb725e2emr10023316pfg.55.1653603061610; Thu, 26 May 2022 15:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653603061; cv=none; d=google.com; s=arc-20160816; b=GdrXgIgcYhHege0ayZzTrUorbPvgYLiZzE1yZoBP4MykZgB93Bd8lhoQogTm+NchMX qlwgNFzjTVyTm8V+kArtArA0ZoYQm9k9tzn3AynbHxsCbEcXJbvQIQJxsGDIUU2IbjoN ZNUpdpDl+/uheUTjvlk0WBTfcRaYDaC1VqRZHgOwapaXA9au8s1I+2X52Au1O0GCXHQR 3d/XjVbW+gLRJN0FSedOKMlXIGBKlonBI755KkbvUVnYCc0Oit/GbjYkCWcMOjXcYOYB qCFQPuu/xqNkZOWXyoIVbvtoDvtfMKtZYSg3CEo8K3vGHKTKFONYW3PgZEuEdeviSeEu Z7yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=veK8CNlACACGckQnA58+yIukb+Kk/ZhuNFtCylx0sWE=; b=l8bSwlkIEdkWwYtGhgy6qO1vVKOwEsHcT8T4IvHku84xf/wsaUEBVZHSF5+lxhrz9Z CgNTRu9XwW4niBhZVo5R2CtXqqRx9820OTT4w7buLu3+Z7cL17kr39krwfHqRYq8j9NK ZpeUjjKOeIhoRDxk5d54BjJxwH+vHs7mkoIn0/aj4ruNB/0NFhAEHgD4U/Na0OA/vP81 18G89U8ynOQmcevZGR2DN2b+QF9icQ/BV4TekA9VY9kERhUcf6QMKO4nmMedt4+SBmb0 W9uxKfc51gtLV95RPhLA8H970sY24AgP3CTKgDEVwBoZENC1qpdA0hIS3mj8tNSyDoN4 s9yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=QfLT9UTM; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a170902ca0b00b00162132a6ee4si2692604pld.21.2022.05.26.15.10.49; Thu, 26 May 2022 15:11:01 -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=@linuxfoundation.org header.s=google header.b=QfLT9UTM; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234167AbiEYPTr (ORCPT + 99 others); Wed, 25 May 2022 11:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244984AbiEYPTm (ORCPT ); Wed, 25 May 2022 11:19:42 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41E40B0A56 for ; Wed, 25 May 2022 08:19:41 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id e3so21679346ios.6 for ; Wed, 25 May 2022 08:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=veK8CNlACACGckQnA58+yIukb+Kk/ZhuNFtCylx0sWE=; b=QfLT9UTMnadNtFhkcygEPXxRpVzagooKGAz46mBUgBX47qWTLlDYdYYErRJf090W5z HweIp4nOhaE21p480b+8Uu1JuSSuyM2Si4KQU7Wf1toOVZo8pcl4L8o1Tro2FRRCypxw olwamMw3m120J2IjBMzdkZi8a9DYnj4POk7sI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=veK8CNlACACGckQnA58+yIukb+Kk/ZhuNFtCylx0sWE=; b=wKw+a3e2eqInNt9ZQs/u75Kmp6ZPxcDaw7tLty0CkouJWS0Y8LtQNOlkSo0XK8c4vL 7B4U87PXCfe7ZpbcGtpEoxTAtpcq01ieLwh/WTH3W0R+1IAss5FwlUjCX1b7G9C+JIkU fqwOzOOHtHU2PV9SxmGbGUTQ9OcLdfWz+7xYiVnZIaYAC7leMbV6wkAAHjPO1YuCWfXT FW28E/3yP3TdVOPRv9lW32QKwwag2e0nwuInWH7Wdi9/5gueDvMj+f/hjWWVyo0XX1RB duCueJ/6O1EXYdLBz5nDP1QKqhBXtKYdFAZnPwmRd8Gw7CquZmOKOxEzgmG/e+JrTQjF sE8Q== X-Gm-Message-State: AOAM530hmQyiDUTDlsQ7l+yOyEzaHNPZSlHyttYYeEoHrkUa5k2XPYBu r00DjrsAXzfBFhSXABRQekxzTQ== X-Received: by 2002:a5e:d614:0:b0:65e:42c8:c51b with SMTP id w20-20020a5ed614000000b0065e42c8c51bmr14603152iom.78.1653491980660; Wed, 25 May 2022 08:19:40 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id 1-20020a921301000000b002cde6e35302sm5396250ilt.76.2022.05.25.08.19.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 08:19:40 -0700 (PDT) Subject: Re: [PATCH V7 1/4] cpufreq: amd-pstate: Expose struct amd_cpudata To: Meng Li , Huang Rui , linux-pm@vger.kernel.org Cc: "Rafael J . Wysocki" , Nathan Fontenot , Deepak Sharma , Alex Deucher , Mario Limonciello , Jinzhou Su , Perry Yuan , Xiaojian Du , Viresh Kumar , Borislav Petkov , linux-kernel@vger.kernel.org, Shuah Khan References: <20220522115423.1147282-1-li.meng@amd.com> <20220522115423.1147282-2-li.meng@amd.com> From: Shuah Khan Message-ID: Date: Wed, 25 May 2022 09:19:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220522115423.1147282-2-li.meng@amd.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 5/22/22 5:54 AM, Meng Li wrote: > Expose struct amd_cpudata to AMD P-State unit test module. > > This data struct will be used on the following AMD P-State unit test > (amd-pstate-ut) module. The amd-pstate-ut module can get some > AMD infomations by this data struct. For example: highest perf, > nominal perf, boost supported etc. > > Signed-off-by: Meng Li > Acked-by: Huang Rui > --- > MAINTAINERS | 1 + > drivers/cpufreq/amd-pstate.c | 60 +--------------------------- > include/linux/amd-pstate.h | 77 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 79 insertions(+), 59 deletions(-) > create mode 100644 include/linux/amd-pstate.h > Looks good to me. Acked-by: Shuah Khan thanks, -- Shuah