Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3641896pxj; Mon, 7 Jun 2021 16:34:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbL+RLv6PCtuyH2GqyzMXsq9cgNZram2r4a6uzqnzuh/ldnl6+krD2svx7ynEja/MQYP7K X-Received: by 2002:a17:906:f192:: with SMTP id gs18mr16688086ejb.114.1623108857399; Mon, 07 Jun 2021 16:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623108857; cv=none; d=google.com; s=arc-20160816; b=Jxpxgn5lo3mj3F/eye7SWRT/LgZ3EJDWvSn5FpxpF/Ea6cuQfXR22DTVQali9PeNRW Wz4nx9L1uTB2HNbliSHcvw52vRe8+1ExAyl7PUUHLq7zWDWXmbotulzVukEqTyeCPWbl Szxs3XUX3i9x8zDtyQFhGhVa4kEEurtqxpGPAAjvjfvzMflCON9ckvBWfEfahy/fwNN8 h0JsgTwPbQ8SVaXo7tPdut0uv/L467BSPicS2B7iDzLvz8H0raNHv9RSwtXNkdQlrQHU SUy3XCCF2DeXk6rR44evmSK0hhMPrwgE4Uf5fyHeBZCLp7eVvHxMrrjFWPvSNzrCGRUp jQrQ== 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 :to:subject:ironport-sdr:ironport-sdr; bh=Jy7l0p+DRbuVTIYu7YpEVshajkSIJT2uD4/IrbjiCO8=; b=CSnL9uQGrbaYjaXkBasaciMTvMVOaiCJ2loCEFdntPUjBfjoSkCwo7XZ1//gZO0gWi Uli1DsByFDlXaAzF9Zr4oSd31JbWlFkmzkVGffE1CWxFnbD6fwNV80dC0CtVv9dhvegK gtBEuT0boNNa8A5AgJjKHr/u0R11Uy/P7Vwj6JSiV7eG5RLoHT1DDUybj76rDuUrFvLe p5jkXRHcRtbcA/jzlMJuUuPON2a1xKS1U17cSmgMC38lLVwrc3U3kUs+UOzt5QHyLLPi FRwFcoKNYhz06YmuQip5nCHuLEaA4ZwLs8BR4pNEQDjxe2VWSGvQ0py+jZSciz23xzBt ec8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si13250979ejx.706.2021.06.07.16.33.54; Mon, 07 Jun 2021 16:34:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230314AbhFGXcg (ORCPT + 99 others); Mon, 7 Jun 2021 19:32:36 -0400 Received: from mga18.intel.com ([134.134.136.126]:11509 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbhFGXce (ORCPT ); Mon, 7 Jun 2021 19:32:34 -0400 IronPort-SDR: 2SfYvf3OnZD+Lp7o2XKaOpNGiWDL9S+0rkiZ2a2deoY21PKlOvkGLP/Q3Vxl+/hQLjdplCP3G9 4yBeWOGFPknQ== X-IronPort-AV: E=McAfee;i="6200,9189,10008"; a="192063004" X-IronPort-AV: E=Sophos;i="5.83,256,1616482800"; d="scan'208";a="192063004" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 16:30:40 -0700 IronPort-SDR: XmtRVo0ifH6H/cQB+6ZK+Iq5Le3rbstmpbWjRjCZtZw+tw9qoNq2RBtjlGPVBYMSTScBCFt8hw btBtua6mt1Hg== X-IronPort-AV: E=Sophos;i="5.83,256,1616482800"; d="scan'208";a="637448884" Received: from rchatre-mobl3.amr.corp.intel.com (HELO [10.209.69.116]) ([10.209.69.116]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 16:30:37 -0700 Subject: Re: [PATCH] x86: kernel: cpu: resctrl: Fix kernel-doc in pseudo_lock.c To: "Fabio M. De Francesco" , linux-kernel@vger.kernel.org, Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" References: <20210602222326.7765-1-fmdefrancesco@gmail.com> From: Reinette Chatre Message-ID: <017e9a77-d17e-effd-5639-72a06abc4fc3@intel.com> Date: Mon, 7 Jun 2021 16:30:34 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210602222326.7765-1-fmdefrancesco@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, Thank you very much for catching these. I am curious what your goal is because when I ran a kernel-doc check on the resctrl area there were many more warnings than are not addressed in this patch. Also, while this patch claims to fix the kernel-doc in pseudo_lock.c there seems to be a few more that are not addressed. Are you planning to submit more patches to do a cleanup of kernel-doc or are these the only ones bothering you for some reason? Could you please fixup the subject to conform to this area: "x86/resctrl: Fix kernel-doc in pseudo_lock.c" For this subject to be accurate though it should fix all the kernel-doc warnings found in pseudo_lock.c - or if not it would be helpful to explain what the criteria for fixes are. I tested this by running: $ scripts/kernel-doc -v -none arch/x86/kernel/cpu/resctrl/* On 6/2/2021 3:23 PM, Fabio M. De Francesco wrote: > Fixed sparse warnings about the descriptions of some function > parameters. > > Signed-off-by: Fabio M. De Francesco > --- > arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c > index f6451abddb09..c3629db90570 100644 > --- a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c > +++ b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c > @@ -520,7 +520,7 @@ static int pseudo_lock_fn(void *_rdtgrp) > > /** > * rdtgroup_monitor_in_progress - Test if monitoring in progress > - * @r: resource group being queried > + * @rdtgrp: resource group being queried > * > * Return: 1 if monitor groups have been created for this resource > * group, 0 otherwise. > @@ -1140,6 +1140,8 @@ static int measure_l3_residency(void *_plr) > > /** > * pseudo_lock_measure_cycles - Trigger latency measure to pseudo-locked region > + * @rdtgrp: resource group to which the pseudo-locked region belongs > + * @sel: cache level selector This is not correct. A more accurate description could be: "select which measurement to perform on pseudo-locked region" > * > * The measurement of latency to access a pseudo-locked region should be > * done from a cpu that is associated with that pseudo-locked region. > Reinette