From patchwork Tue Jul 14 14:50:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11663055 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F2A341392 for ; Tue, 14 Jul 2020 14:54:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB6FC21973 for ; Tue, 14 Jul 2020 14:54:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="OrQXXu1j"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zNeMYDIH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB6FC21973 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Wdf+JYnqMrH2Qpjhb7CuTRzfTUcayWVhGgu8SIWxdi8=; b=OrQXXu1jgw8KSCQAoNG9p/nYk tcO80PeZthFdLKHF5czbt4cCEDp9BmGJ71cobgx2DjrvQYOgWDyTqSEKlfQKb6C0N8UhjUQKJeyUW Pk+1HmTL2HGh0bg9FFJ2rp6QaR9WftMXv/o+L4fLsWyRKy7JaOTEo24pUZIOlKIA5lWgDnu+XssuP y88uSAT9WNgt1QP5l79nfp7hMv90tedD5hyGgnf1X13/SdSUVbCSGtMboF940Le6/N2S0godI5Ytq kRLMxFu70Xy/D1G1o5jcdgKSHSrOHWiJb9SWyoKl30NTVRzZY6ZFqwxtEa0qCWRKovArO0HNFHdoO p2A0G1LMw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvMI7-0004z4-5i; Tue, 14 Jul 2020 14:52:19 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvMGw-0004VR-Oh for linux-arm-kernel@lists.infradead.org; Tue, 14 Jul 2020 14:51:07 +0000 Received: by mail-wr1-x444.google.com with SMTP id j4so22189917wrp.10 for ; Tue, 14 Jul 2020 07:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AqdFH5K7w1Gi1dVNyBHBLmEyEPDpMkPLQqFOgpWKb8k=; b=zNeMYDIHJED7se7OqmcmpxTYUyzehCUyRtWunJvcBfdAuICVelAnfmYtw7GuBPUBlc d/pXNoafB+fgqXtmn64mKrwZUYXTYjtMFTGUq0m9bhqCqfyPWpUaGr3WxPKCpSVkmTSY I+J/jDnePhbC2x0dIJzFW1sMHCnzz6NUnsO3VS0J9KbDeaWvpubida+OLoO33PkJ2MXo fmSqLnpptDjn4oQRgS69BQWwUpgKj7EGqA+PEo2vsGs3tVdEl5/gZkixdlC5Ebd2Ss9E izf49OWpwU7LNnFdDt3iddBnPoOU9ThybroR8ocRIEK/NwuMVN9KLWb3ziUx09mL/sOu q0fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AqdFH5K7w1Gi1dVNyBHBLmEyEPDpMkPLQqFOgpWKb8k=; b=GIRzRQbrTjbISgQRH+/5JYTemRmYz5c/ANE4JxoljFIhQ6kNu99qgOaE1R2/tqonuK rCu+ieJ0z2iMwNYunigRMrXSKI/IWjjJzTXvOUX7BnlBd3esJF1FtWn5L1zlmUoC3eC9 8UFx+cjD3vJ15QV1S/yMJzLNkCp4p3+tA112+/YoNSejRNUrrcJ3fIcVajpa/h5Tk8Xv zscZjVGZEDxUi+xyg5KWBHKW10LGq8ObigQ/m1bhgRcS1ICQPL+5JGAKv6vVvxSZRVFB Ht1WZJIq0LJhsNpmNcicX1jkFErADFp3g4amvePJwmICah0EVD8vKOu56RoLXeAe3JUJ wglA== X-Gm-Message-State: AOAM531A5+ptoU9yahZWY+0DYtwSDnQfdHlByCw1lVchdSt4NBDh/4Y8 imb9PEAotL51FJJTvLq65booGA== X-Google-Smtp-Source: ABdhPJz408nOqlOdcCH2rmaB0MOSljVm9QafGiYYQORYvAR+a4nRgn2T/Gr31RWc8hp64O0RPEjK1g== X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr6077015wrw.355.1594738265886; Tue, 14 Jul 2020 07:51:05 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id a84sm4653305wmh.47.2020.07.14.07.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 07:51:05 -0700 (PDT) From: Lee Jones To: rjw@rjwysocki.net, viresh.kumar@linaro.org Subject: [PATCH 12/13] cpufreq: intel_pstate: Supply struct attribute description for get_aperf_mperf_shift() Date: Tue, 14 Jul 2020 15:50:48 +0100 Message-Id: <20200714145049.2496163-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200714145049.2496163-1-lee.jones@linaro.org> References: <20200714145049.2496163-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200714_105106_876956_12FD2877 X-CRM114-Status: GOOD ( 12.02 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-pm@vger.kernel.org, Dirk Brandewie , linux-kernel@vger.kernel.org, Srinivas Pandruvada , Lee Jones , linux-arm-kernel@lists.infradead.org, Len Brown Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/cpufreq/intel_pstate.c:293: warning: Function parameter or member 'get_aperf_mperf_shift' not described in 'pstate_funcs' Cc: Srinivas Pandruvada Cc: Len Brown Cc: Dirk Brandewie Signed-off-by: Lee Jones --- drivers/cpufreq/intel_pstate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 44c7b4677675d..f92fc69c87269 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -275,6 +275,8 @@ static struct cpudata **all_cpu_data; * @get_min: Callback to get minimum P state * @get_turbo: Callback to get turbo P state * @get_scaling: Callback to get frequency scaling factor + * @get_aperf_mperf_shift: Callback to get the number of clock cycles after + * aperf, merf is incremented * @get_val: Callback to convert P state to actual MSR write value * @get_vid: Callback to get VID data for Atom platforms *