Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp13896pxv; Thu, 24 Jun 2021 01:27:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1Db9Epd8gYQ+F/FgzLqk3V3xdzcjataS9I+It7Ut+VUrf52sf4D0s7q5TOhAnzuactiOX X-Received: by 2002:a05:6402:50d2:: with SMTP id h18mr5493401edb.384.1624523254768; Thu, 24 Jun 2021 01:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624523254; cv=none; d=google.com; s=arc-20160816; b=KiK8B5q6izahpHgR5G2ixZ3WP6vV3n85pvWVpian2RvJkQcjxGSBSODzfTm/Di14v5 6G+c/YvA4nTITt8wzKVpGnjaKU5ALGY0vq85QJQJv2k4/Dj9+eAmvrJ6gebtVEvyp38c VvQVYrLI4QUZZw8kCN1xOUQSfsawL7EA+MwAbHpVPK3lOriAPMy66LwhFzLnaRB1RD01 opfnencSG54unsNinWnJSWRhNRaKrFl8ih5ZEJEHLhTfWjmRHDfCAQr4ExRR9ntiiwrA wJ9fvvSQmj75CW8GYVzNPOHebfqpze5k1f0SNJzQELSA+CPe+kVE23AW45rgiqDGVIf2 EwwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=nMPQiwJHr7h6YPCaRxs8HKph9mp0KW/330q30rR8Upc=; b=WETsRq8MbvDRxIlIkS7E4KyHb1I90awsljkYG793CCO699L/9l7/rFp98oFlYxPS1O mq8c636DFdZzbBL7G5Hdp4ydrONF2gQ1BFBU935XRktm5SD45z2k4MmiPzQUcrV5REpk 0QyOPdbF2z55YWS3OjKZn7fnqLMyxvaoR0XHfZ/uniIWyyA3jw8z9FSmW+XSDAXTKlUZ HWseeFdDpAZUb4143VteotUzvIXzFt6U9wqCu31gfW0Z8MsIg09eyLFxSne1yW1KRr6f Gs/eyHa8nwmSudnvowHAFwHxm2mbcZTQq0cmDnOIOB1C9RehoWw0wtRs5l+WnRdyKdvm SrXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=M2AnQ7Xy; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bh4si2802636ejb.358.2021.06.24.01.27.12; Thu, 24 Jun 2021 01:27:34 -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; dkim=pass header.i=@linutronix.de header.s=2020 header.b=M2AnQ7Xy; dkim=neutral (no key) header.i=@linutronix.de; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231865AbhFXI2k (ORCPT + 99 others); Thu, 24 Jun 2021 04:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231713AbhFXI2h (ORCPT ); Thu, 24 Jun 2021 04:28:37 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D23CC061574; Thu, 24 Jun 2021 01:26:18 -0700 (PDT) Date: Thu, 24 Jun 2021 08:26:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1624523175; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nMPQiwJHr7h6YPCaRxs8HKph9mp0KW/330q30rR8Upc=; b=M2AnQ7Xyl76ENc4tNHn1p3FPqElzK8lWztWoqdEkJOxGsBfLTWZm11s6JUYIcfztc5O74q XyMjS56k5c18wGzXZDZHtoX0RHng8o1bGPTxYp9djp4wQZ1cnFONFRtfSdO6JZOsjVn2BD UqO1kzqG3OzHxryH81Sv8e+ybKSUsBb0mu/+2cLzFd6bXTa+Cbn0njye+ihESq0meSzTDX 12eK/PYaecbl7Q8/TqiNAvZJH878YXlKhK/rj8EBf1/PWKrlNcpuYgKZnBXBNskgUUz6IZ KqxJqC5DycFNQOrh2KOTBfLW3b8iZmcNt3HG7L5J0xVdS6gN08b3vNPA6gMA5A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1624523175; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nMPQiwJHr7h6YPCaRxs8HKph9mp0KW/330q30rR8Upc=; b=z+2PQpru56FbUr5MsbqbJUcCSE6xPUG65a40vaARPy9ZIvVzu383aLGshv1dYJjzQ94Pmq CFEuui/QvqPDzSCw== From: "tip-bot2 for Fabio M. De Francesco" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cache] x86/resctrl: Fix kernel-doc in internal.h Cc: "Fabio M. De Francesco" , Borislav Petkov , Reinette Chatre , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210618223206.29539-1-fmdefrancesco@gmail.com> References: <20210618223206.29539-1-fmdefrancesco@gmail.com> MIME-Version: 1.0 Message-ID: <162452317423.395.6795057128472550443.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/cache branch of tip: Commit-ID: fd2afa70eff057fab57c9e06708b68677b261a0c Gitweb: https://git.kernel.org/tip/fd2afa70eff057fab57c9e06708b68677b261a0c Author: Fabio M. De Francesco AuthorDate: Sat, 19 Jun 2021 00:32:06 +02:00 Committer: Borislav Petkov CommitterDate: Thu, 24 Jun 2021 10:23:57 +02:00 x86/resctrl: Fix kernel-doc in internal.h Add description of undocumented parameters. Issues detected by scripts/kernel-doc. Signed-off-by: Fabio M. De Francesco Signed-off-by: Borislav Petkov Reviewed-by: Reinette Chatre Link: https://lkml.kernel.org/r/20210618223206.29539-1-fmdefrancesco@gmail.com --- arch/x86/kernel/cpu/resctrl/internal.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/internal.h b/arch/x86/kernel/cpu/resctrl/internal.h index c4d320d..6a5f60a 100644 --- a/arch/x86/kernel/cpu/resctrl/internal.h +++ b/arch/x86/kernel/cpu/resctrl/internal.h @@ -70,6 +70,7 @@ DECLARE_STATIC_KEY_FALSE(rdt_mon_enable_key); * struct mon_evt - Entry in the event list of a resource * @evtid: event id * @name: name of the event + * @list: entry in &rdt_resource->evt_list */ struct mon_evt { u32 evtid; @@ -78,10 +79,13 @@ struct mon_evt { }; /** - * struct mon_data_bits - Monitoring details for each event file - * @rid: Resource id associated with the event file. + * union mon_data_bits - Monitoring details for each event file + * @priv: Used to store monitoring event data in @u + * as kernfs private data + * @rid: Resource id associated with the event file * @evtid: Event id associated with the event file * @domid: The domain to which the event file belongs + * @u: Name of the bit fields struct */ union mon_data_bits { void *priv; @@ -119,6 +123,7 @@ enum rdt_group_type { * @RDT_MODE_PSEUDO_LOCKSETUP: Resource group will be used for Pseudo-Locking * @RDT_MODE_PSEUDO_LOCKED: No sharing of this resource group's allocations * allowed AND the allocations are Cache Pseudo-Locked + * @RDT_NUM_MODES: Total number of modes * * The mode of a resource group enables control over the allowed overlap * between allocations associated with different resource groups (classes @@ -142,7 +147,7 @@ enum rdtgrp_mode { /** * struct mongroup - store mon group's data in resctrl fs. - * @mon_data_kn kernlfs node for the mon_data directory + * @mon_data_kn: kernfs node for the mon_data directory * @parent: parent rdtgrp * @crdtgrp_list: child rdtgroup node list * @rmid: rmid for this rdtgroup @@ -282,11 +287,11 @@ struct rftype { /** * struct mbm_state - status for each MBM counter in each domain * @chunks: Total data moved (multiply by rdt_group.mon_scale to get bytes) - * @prev_msr Value of IA32_QM_CTR for this RMID last time we read it + * @prev_msr: Value of IA32_QM_CTR for this RMID last time we read it * @prev_bw_msr:Value of previous IA32_QM_CTR for bandwidth counting - * @prev_bw The most recent bandwidth in MBps - * @delta_bw Difference between the current and previous bandwidth - * @delta_comp Indicates whether to compute the delta_bw + * @prev_bw: The most recent bandwidth in MBps + * @delta_bw: Difference between the current and previous bandwidth + * @delta_comp: Indicates whether to compute the delta_bw */ struct mbm_state { u64 chunks; @@ -456,11 +461,13 @@ struct rdt_parse_data { * @data_width: Character width of data when displaying * @domains: All domains for this resource * @cache: Cache allocation related data + * @membw: If the component has bandwidth controls, their properties. * @format_str: Per resource format string to show domain value * @parse_ctrlval: Per resource function pointer to parse control values * @evt_list: List of monitoring events * @num_rmid: Number of RMIDs available * @mon_scale: cqm counter * mon_scale = occupancy in bytes + * @mbm_width: Monitor width, to detect and correct for overflow. * @fflags: flags to choose base and info files */ struct rdt_resource {