From patchwork Fri Apr 8 02:38:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1614686 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KZMsV2TLLz9sFy for ; Fri, 8 Apr 2022 12:39:42 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nceX7-0004lE-Nu; Fri, 08 Apr 2022 02:39:33 +0000 Received: from mail-pf1-f181.google.com ([209.85.210.181]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nceWz-0003u6-2k for kernel-team@lists.ubuntu.com; Fri, 08 Apr 2022 02:39:25 +0000 Received: by mail-pf1-f181.google.com with SMTP id b15so7224661pfm.5 for ; Thu, 07 Apr 2022 19:39:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0sFZuWQljAn2zE1A1Qk8NP+feVMpFfC4ruR9FitgxoA=; b=1WT1ImduGR860h/Nor6oEUzklmZon7tNDiRxMh7ZdaiyOnZyx+7XmclytPehuzh/fh ZQdL02gHT9/pXO1w46quTrqY7ChtEuyWVXQrxZzimWBHe+rFd+l5wCYly21MBzrQOmlJ YUmGvDWGffEk9enDh5gFer1A1X0f3XUNVfnH0Vz4XH+EqAybEnB7YonbbBpmmp6buHUZ YgBhNRAC/2ajLMX3k/kgZ+pH/87b8yiGbyjL6NJ/Fooecfsdm2R7TK2V4KBS/JXapsOr TBex8VhEBjK+Uw6GBoz7hyBpsJX6DDF30E/6wMfcMYXAqhZx3XTMsv7vzwYc/bVUCflT RXjg== X-Gm-Message-State: AOAM5317vzUZwDrU6vLfDZt3X3x4bbzDZfAWWECzx13HLZMf0Xd0gB9P LyGJgFhZdzmYUqdSHmI/NNq+xkXYTfk= X-Google-Smtp-Source: ABdhPJyC9nJcoNqxNU1/wGdxJ3iTGLwtQIvfePDpnDQCCXTuZJJhDsCx5pQzC1QlL978QgzA/rY21w== X-Received: by 2002:a63:3841:0:b0:399:26da:29af with SMTP id h1-20020a633841000000b0039926da29afmr13416705pgn.489.1649385549191; Thu, 07 Apr 2022 19:39:09 -0700 (PDT) Received: from localhost (114-40-204-238.dynamic-ip.hinet.net. [114.40.204.238]) by smtp.gmail.com with ESMTPSA id k187-20020a636fc4000000b003983a01b896sm19953549pgc.90.2022.04.07.19.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 19:39:08 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 14/16][SRU][OEM-5.14/Jammy] cpufreq: amd-pstate: Fix struct amd_cpudata kernel-doc comment Date: Fri, 8 Apr 2022 10:38:37 +0800 Message-Id: <20220408023840.1379420-16-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220408023840.1379420-1-vicamo.yang@canonical.com> References: <20220408023840.1379420-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.210.181; envelope-from=vicamo@gmail.com; helo=mail-pf1-f181.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Yang Li BugLink: https://bugs.launchpad.net/bugs/1956509 Add the description of @req and @boost_supported in struct amd_cpudata kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/cpufreq/amd-pstate.c:104: warning: Function parameter or member 'req' not described in 'amd_cpudata' drivers/cpufreq/amd-pstate.c:104: warning: Function parameter or member 'boost_supported' not described in 'amd_cpudata' Reported-by: Abaci Robot Signed-off-by: Yang Li Acked-by: Huang Rui Signed-off-by: Rafael J. Wysocki (cherry picked from commit bdc4fd3d48e7e97dd7efc14affe384280e197071) Signed-off-by: You-Sheng Yang --- drivers/cpufreq/amd-pstate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index 40ceb031abf5..9ce75ed11f8e 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -68,6 +68,7 @@ static struct cpufreq_driver amd_pstate_driver; /** * struct amd_cpudata - private CPU data for AMD P-State * @cpu: CPU number + * @req: constraint request to apply * @cppc_req_cached: cached performance request hints * @highest_perf: the maximum performance an individual processor may reach, * assuming ideal conditions @@ -80,6 +81,7 @@ static struct cpufreq_driver amd_pstate_driver; * @min_freq: the frequency that mapped to lowest_perf * @nominal_freq: the frequency that mapped to nominal_perf * @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear_perf + * @boost_supported: check whether the Processor or SBIOS supports boost mode * * The amd_cpudata is key private data for each CPU thread in AMD P-State, and * represents all the attributes and goals that AMD P-State requests at runtime.