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: 235533 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp201321ecp; Tue, 14 Jul 2020 07:51:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQLXjkSn7NjFGj4TpFTOz93tjufgTBeU9l1BwaNHjTclqCqBvl7h30ScuCFVG/lTGSfChl X-Received: by 2002:a05:6402:22c1:: with SMTP id dm1mr5000898edb.187.1594738284137; Tue, 14 Jul 2020 07:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594738284; cv=none; d=google.com; s=arc-20160816; b=cke0co4f03ucMakuhhrgAf6FlW5MpybLEcx6GVSd3IkBvMYaQVp/UJ69ow0hcmM1JF VZDHn/yILL45fPyblrO1BTyw3hZhPfXqyfUY240xdJ7gj9GixIJ12yd1k591vstWa6q3 uFNyAKw0NpcNPgW/Q5gx4lR9F4wD4WL0g4/R4O4hOSTWR/yVjKgM+X9XqP75HAs+zknr UlRsSmHo38C6/vzZ4hdckYkj9w884WcCURRh8zVkhjRgVG2HAg0ENEyM0NvrQzewVUOE YTeBv3tmfM3A4X3acNWRd8vz/ZMaaIk679wPrRL4Ob1N/1+EeC7HXdZLVV+jwh+lTecz hdmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AqdFH5K7w1Gi1dVNyBHBLmEyEPDpMkPLQqFOgpWKb8k=; b=Pd1YfZ0zY3cklMubEjY4lV2TxqMRt15n/BqUybm3BnMQ2aPq/+dJYhLXQqFKgmzc0W 3kcsywYAx4I/ku97nAd1ofTn38idzvP1DIj66SSqrqK0K0Jsl/7OhcFbUYKx302Qdt27 rAocyjwNBSTiyDSpQWHJzcb8Vwd1LdIv7yDFGl+OrFxQRry/ry88ukxhUwVy3rMLZaxZ y1LJ15IFNPotJKV7XRRroamgENAjPCl4i9tDx0PfvjLAyU0+iv1YXldQ9X54nQnxE26I 7MPbpVMtMHqPpSTUQyt9bZYoDnsS1ZFEXD5x8zqBNqrDClDFrUdZWdohTtSgfuDa9+dc U6cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zNeMYDIH; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr3si11682721ejb.484.2020.07.14.07.51.23; Tue, 14 Jul 2020 07:51:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zNeMYDIH; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-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 S1728913AbgGNOvU (ORCPT + 10 others); Tue, 14 Jul 2020 10:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbgGNOvI (ORCPT ); Tue, 14 Jul 2020 10:51:08 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F775C08C5E2 for ; Tue, 14 Jul 2020 07:51:07 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id r12so22119050wrj.13 for ; Tue, 14 Jul 2020 07:51:07 -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=iAAzWJ7zuv06YZ5hRyIP0jAD3ZPWnJMq4ProvRY7QIz68ugXCdR2N6L8ulFbCL9LtE v0cqMXKblKuzErKvyP5O4dS5I//EF1fW6KAdz3boT5hIeglQHXrwNPcPReLERKPLqBqB iE4gI+X6RWushNJyJ1Y+7RGFHyE5+W6JszEJshgYMsJupEgnnWEIPp34UWncNCMn/+pz fWRwTbrZz2yQmvbdnw9q7Sq0hlfwAugUq2I6z+OaAQDFyEedL987ksqxs3LezT0mWqOE B6laKAl6U/R4eVVEW+/EW1JncDMCPIBH6ZCWU0K6Nroz02WP5XtVXYt9TyEze5YkEd4F F68A== X-Gm-Message-State: AOAM531xj9tnVM2ISz36Z6GWAnDD7jIYgKiwRqn19aI7/IvEtz0OL58v qSplwF2tp8rBxxaoCztAKbk4YtpOsTQ= 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Lee Jones , Srinivas Pandruvada , Len Brown , Dirk Brandewie 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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(+) -- 2.25.1 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 *