Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp242091ioo; Thu, 26 May 2022 02:38:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0ywucWKJ3F/bKYhFicMmrH5BXY/lIwnhZgHOqupbQlIPQpZhQTiju5gW+8snN+njNeA99 X-Received: by 2002:aa7:da0a:0:b0:42b:d6b1:c51b with SMTP id r10-20020aa7da0a000000b0042bd6b1c51bmr3342762eds.136.1653557921831; Thu, 26 May 2022 02:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653557921; cv=none; d=google.com; s=arc-20160816; b=Y0Mh8JPpXHi0MCrHIb6dY+tOPxM5T6iVcR0E/pH+rXUeL9mAZOZ87posbdHVjUR1vE qVKURIBhsnTUst4qlCoayHjPXc0f0hCpLc1wrYY3NA2RhFYqCkwhW1zHma3prUk3QABC GOtRCAqUimiO0AwXQdFaAH/UkFaS2umf5jAaOYGSIPJ7Battr49yzUqDAF+VXE/t5s4C iUxWnexlPwCehSbBIYIDCPp1HCsTWa0J1odIoLLkq6ECEbl/597wyW96KpIeYEz2tame QUHO4k75M5X2brliz0ZzoGYVREFiB7kc504wQ+pD0e0HnrdtDGxQ5l8UluUacbMt309n EbYg== 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=WniLzB5SiRVqHzMZUCEbBv/kb3dmETbEX6p4Sn4Jrug=; b=d9GL7JVdrrEBPfCiFZRq0fowoWQXuFu9Lz7hGdU5Hf/CPQVYvytnmN2AHNCPjnctWX 2BZv8rSFTYQww8c0WwZyI9JlqRPuJabuFJi2U+E7kxiX5Qb2bDLI5IvoEBFcFPdsGKfw aHB6A9mAJ+ylbgZMKyDVUyvymm7m4SXGpfa/rXIjWx7AUZ9KJXddpc2SsAxdw7luq4H5 zeMmLNFztJ2WEYTh0Y2kntpztOlCimYL/CP8ymwAMJ4ywJV2N3rZdEOQyCj4D3hdDhEe 407NK4pCCuIUydnxgIYTW9qUatUJKKPOE4VDCnwimKs85e0WFYpTUWURmxKOFAVDi92r WXKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=cTa6aTwI; 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 i11-20020a170906a28b00b006fe8c8dc0f2si879396ejz.714.2022.05.26.02.38.15; Thu, 26 May 2022 02:38:41 -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=cTa6aTwI; 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 S245355AbiEYQFa (ORCPT + 99 others); Wed, 25 May 2022 12:05:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245374AbiEYQFP (ORCPT ); Wed, 25 May 2022 12:05:15 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E2B5B41D7 for ; Wed, 25 May 2022 09:05:14 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id j6so738359ilk.11 for ; Wed, 25 May 2022 09:05:14 -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=WniLzB5SiRVqHzMZUCEbBv/kb3dmETbEX6p4Sn4Jrug=; b=cTa6aTwIXDVE5TRe6Qutp+ruroH5hAjEPMipG9ObxavNkGtrvXeGz3CHRE0RiRNypT g5bcFQj1rQo7GETNNu6Oi+qLi3ZhffzsRFLW51cfiG2dJ9Zwf/ywTwzXPQuirzfi0+tP Oq2G6ZHlT7xd/IIPTAuUhY62o7d70tqnsEvDY= 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=WniLzB5SiRVqHzMZUCEbBv/kb3dmETbEX6p4Sn4Jrug=; b=HHuqotxHEacvX8ZMBVNZauQnrdfKI6PuJB6Jmintg+RZZkJarVbCPcrIHQHkju99Zx gvAQu3FMmUC5PQBQGbtiJQzXMfSy0oQ7pyIo+epacCz278eSxQmjnqMlTO/GQr0YijHM ZxNA6ykvHXLQdQojCcwWF7jvSMp29dlFB1SDxAvzvPjNLYJVfeEjDq/N2wKiaetjSLOM ZrBpBWeuC2pc7arXMJ0VvKOWjLm0pqnDQ9vyrERw/caE54us6DJ/GTdmWCdPLqlAllBi ixOdHseJ2WBZwSwAc8F/NHIMbTog6WfyYm9Em2zBRENpmFXZ87i+kWcSzJHjVdmfEbwg esDA== X-Gm-Message-State: AOAM530UzaPNkVBaZVhka793Az+Sf7VYDYbuimkn040KxnKnGE13IsZB 5hEZJ9E43huXPSCFMzGJ03Aepw== X-Received: by 2002:a92:ca0d:0:b0:2d1:aa92:4da6 with SMTP id j13-20020a92ca0d000000b002d1aa924da6mr8792361ils.107.1653494713626; Wed, 25 May 2022 09:05:13 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id c17-20020a023b11000000b0032e6f0d3796sm4209055jaa.145.2022.05.25.09.05.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 May 2022 09:05:13 -0700 (PDT) Subject: Re: [PATCH V7 2/4] cpufreq: amd-pstate: Add test module for amd-pstate driver 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-3-li.meng@amd.com> From: Shuah Khan Message-ID: <6e3cdf37-299a-98df-1143-c3392e9acec0@linuxfoundation.org> Date: Wed, 25 May 2022 10:05:12 -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-3-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=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 5/22/22 5:54 AM, Meng Li wrote: > Add amd-pstate-ut module, which is conceptually out-of-tree module I didn't notice this before. Let's get rid of "out-of-tree" workding. > and provides ways for selftests/amd-pstate driver to test various > kernel module-related functionality. This module will be expected by > some of selftests to be present and loaded. > What does "various kernel module-related functionality" mean. Can we rephrase this to say "this module is used by kselftest to unit test amd-pstate functionality" ? > Signed-off-by: Meng Li > Acked-by: Huang Rui > --- [snip] > + > +module_init(amd_pstate_ut_init); > +module_exit(amd_pstate_ut_exit); > + > +MODULE_AUTHOR("Meng Li "); > +MODULE_DESCRIPTION("Kselftest for AMD P-state driver"); Change this to "AMD P-state driver Test module" Having Kselftest in the name is confusing. It is a test driver that kselftest amd_pstate_test depends on. > +MODULE_LICENSE("GPL"); > With these above changes: Reviewed-by: Shuah Khan thanks, -- Shuah