Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1720005ioo; Mon, 23 May 2022 01:26:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0kmvw9/rGkj2SGQifrB7UZBP/gdth2i6IjhEL6EXPiDFMwxn9+Ekqnh/uV/vtM5pFp5TD X-Received: by 2002:a17:90a:e392:b0:1df:b078:8dbe with SMTP id b18-20020a17090ae39200b001dfb0788dbemr25533012pjz.105.1653294376764; Mon, 23 May 2022 01:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653294376; cv=none; d=google.com; s=arc-20160816; b=L9UYFHSut6cM1JcOU49va656RGqDegl2WUUhHgkMSHxReJrsYwr61ufMywXWo7RWCQ HIHTYb4MhTLEqWJgySztxtX2/f9xyGVrZgYxuLX5MIQsQ+/qnic1wYiMgUuFgSK5yp2i fqNLSXTLacafbhVu68CcYoIDhlJj/UQ5sfh1S0YnOUNrVkwPlmq97w/HmHkAHlo2Fdbs W1pC6OWO70/70SqbfRSpknkefnkmPgKa7UHKMBBShL9T2FuDtet5bhVf3cKqW9AjMdag u2NsOeRkUkK5v1Bvie3kZ5FR7zpja1DmM/6wcCzkU48cFAQe6a9oUD+aBG5bjSYBv78M yA/w== 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=l6vKoyEya/r3/MqVEEJWzCpNcuuesZvhsyqXin89G20=; b=f7Ymy35qyDyUHVVkom/NEW6jpWsLadnFMxgtp9pLgQ9qohkBrQEhYZ/3uSssKAYam7 yIR+WlEiBS09xhiB1V1BDeL183aQ3PM4Mf3jMltY/Q1tnrXX1pMC7kW9r+vB0JwhRybG ar/U7T/UqEnCOtdydUIxVLRAvINDr0qmndGabNSJKatpRjlrSjwd/eD31UkqoDkkL1PT JTz9QrI7we/trgxf/EMcqGXoy2kVX/VWR45UFgUPst0XJHq5KtM7OC5gkFICu1LyoxAV 2WFxdMus8GTMcf2vcPNbRi9YMnFmIuH5K/B1LsqqpWeDMKFck2FeDwEqxvfwVfzcG5n+ 1jQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QkkPzppk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ot4-20020a17090b3b4400b001e02e0b20e6si7320764pjb.75.2022.05.23.01.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:26:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QkkPzppk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25183615F; Mon, 23 May 2022 00:33:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbiEWHdK (ORCPT + 99 others); Mon, 23 May 2022 03:33:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230396AbiEWHci (ORCPT ); Mon, 23 May 2022 03:32:38 -0400 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26951FF1 for ; Mon, 23 May 2022 00:32:04 -0700 (PDT) Received: by mail-pl1-x633.google.com with SMTP id q18so12324798pln.12 for ; Mon, 23 May 2022 00:32: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=l6vKoyEya/r3/MqVEEJWzCpNcuuesZvhsyqXin89G20=; b=QkkPzppkGobaBMNtLMjTdS88K0En7cKbJRSLr/uCDJHYpNDsXdoNt7dKWMSOumeJuW 2hUbrbUVFiJiun2+NVvuDJghnz5x3AhxhqVZh7ilPtoik3nOgS6EwjLGMR57IVlIsMIS E51jAnuW6i5mKRZ36FgcV6rz2yQXfXyZdbsLWcMk4m3+fvRBa2MD3Dy1nAg1QiRfXSkv ZqsxVjyeUlyzPoEpqYpxtQy5j0L6WE2P3v486BQvYR0FuuXCjYH+CSGEucQ0NFS/aM7K oGOQU/xmKbrDqirJI0e1slSZb2NDdorb53JovJb8o4GRFSKF3iRHzvvfECqhiufy81fH fO9g== 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=l6vKoyEya/r3/MqVEEJWzCpNcuuesZvhsyqXin89G20=; b=VrvP1Ai0BrzRMHrB4PSEWYQu43uoPRhZmXZ1pa72Z4JfcNGEB9Uy11gcCjb2hxf1iQ pKnW1utK2frlngtN1BcHkWARyke2FkbTN920c1eps/lWcCSy3ZG07j1/h/8qLfqs2xyf e9+AI6itd1ONLmP6JPqBQ1Y9kuRdsg9eeB5RvAaeGxAWgvx2uTkTBgizA99/8442rTGO hzqO+KyhFtJJl647VqCBV9eh1VvlWhFuwcjVrCkogCNGacu3P0eRUwWwK01vsh3CzGbS d5dc4Btw4ETaUYd5H2rarYIaIbFmbHyD2JDtrpCN8eDJ3ZN6KRsAEyAAJZxpzfKbovve NJqQ== X-Gm-Message-State: AOAM530Yy2K1wciNBWNGM40XLN50BeDZ7Kv4ZFJHG1e9Skv4MVDjAvnE jONcbHt6Ki8xEinmM1J0WV3vNQ== X-Received: by 2002:a17:902:f710:b0:15f:165f:b50b with SMTP id h16-20020a170902f71000b0015f165fb50bmr22287217plo.158.1653291123694; Mon, 23 May 2022 00:32:03 -0700 (PDT) Received: from localhost ([122.162.234.2]) by smtp.gmail.com with ESMTPSA id u6-20020a17090341c600b0015e8d4eb2d8sm4322308ple.290.2022.05.23.00.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 00:32:03 -0700 (PDT) Date: Mon, 23 May 2022 13:02:01 +0530 From: Viresh Kumar To: Meng Li Cc: Shuah Khan , Huang Rui , linux-pm@vger.kernel.org, "Rafael J . Wysocki" , Nathan Fontenot , Deepak Sharma , Alex Deucher , Mario Limonciello , Jinzhou Su , Perry Yuan , Xiaojian Du , Borislav Petkov , linux-kernel@vger.kernel.org Subject: Re: [PATCH V7 2/4] cpufreq: amd-pstate: Add test module for amd-pstate driver Message-ID: <20220523073201.asdi35v5f43aoaee@vireshk-i7> References: <20220522115423.1147282-1-li.meng@amd.com> <20220522115423.1147282-3-li.meng@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220522115423.1147282-3-li.meng@amd.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 22-05-22, 19:54, Meng Li wrote: > Add amd-pstate-ut module, which is conceptually out-of-tree module > 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. > > Signed-off-by: Meng Li > Acked-by: Huang Rui > --- > drivers/cpufreq/Kconfig.x86 | 7 + > drivers/cpufreq/Makefile | 1 + > drivers/cpufreq/amd-pstate-ut.c | 293 ++++++++++++++++++++++++++++++++ > 3 files changed, 301 insertions(+) > create mode 100644 drivers/cpufreq/amd-pstate-ut.c I wonder if this should be moved to selftest directories instead ? -- viresh