Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp13698pxv; Thu, 24 Jun 2021 01:27:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8d/EOk5m0CU5GGJ5u1CcDWxrP/QM+JJZYLje7l3gdMRoUZhXxipW1kBFvne79P6T+DTW4 X-Received: by 2002:a6b:6d0b:: with SMTP id a11mr3139228iod.73.1624523236334; Thu, 24 Jun 2021 01:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624523236; cv=none; d=google.com; s=arc-20160816; b=0f8B56OUGkeiCW1aksQUpU5qdm0ll4dqOyaGopILFdwKPW6t2WOOyMd8tE54Vq81MP 350G0jmfilWjKir/J+rjb5Gn+GOx/chf18OLHItiw60ORvxIy31EayilCaGZp7GbWTtq uUctGDTpEaTaTW84n1YpxMT5NcIukO0BvpUS4VU1Sf5ArB2qUuo2QGOwMzxxwGXKE2Sc avLiCku0pgHio6TwArui/Yjgk47p+QQx0xJsXokL4u1xa3IW3h7Uh75GbJ2yBb8ujTaw 7KRv3OZPJn0raXXvCvJ09KBNSL+z5jJl4Zed39qCWvbXg6qOtLA9lkC8EWc037URv795 6EgQ== 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=k/DlKiyMx9S/FygcFbg2Yj/n7fxWGQTCdIx0H+jZnh8=; b=bI3G+p32UFv2KSe9aLKQQ+rpF1zi/8wcSXxo7H12EKAWb3I2sjFNzuMuiMnG0DMRna z9/orIUQKpNr8VWrKozAZUHkhdmYHmv/Pkb7lWARmO2EyDZkJ442M0Vwl+BvmYU4dkYW vs1DM68JT3t6IBEoExv/MpKEYeX9Y9/xud9yny6+m01UXiT1Rms/BOxLBgKRj3c/oTH1 H5xEhq3qjiZc94uFTRRUH/82phA+OViJ9i4c3eBL70KvhqT7Acpy03Bltrtbc9RN0WYt R20ckIpEJ4AUq9Y8uLKD1brZDisJF9SeKl9R/hGg55Gf435fuiEd5a9jTtVzGb8kjK7K UhVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="k5dvL/MS"; 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 r24si1656333iog.39.2021.06.24.01.27.02; Thu, 24 Jun 2021 01:27:16 -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="k5dvL/MS"; 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 S231925AbhFXI2m (ORCPT + 99 others); Thu, 24 Jun 2021 04:28:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231835AbhFXI2h (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 33DD5C061756; 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=k/DlKiyMx9S/FygcFbg2Yj/n7fxWGQTCdIx0H+jZnh8=; b=k5dvL/MSdN8CYCL0xYaf9W2MjllCvVY3oRQ7BcC0WbETG69b6OYQYN5Igk4bE1f2+PBFPI KRwSL7rJtdg14LTzP1lF7Bw429eVthcguqr8rGMYi9tSkydH4jW75lxR3GSVSml7ifty1d k3vKL2KHar8Cot151O82+RYeyTmwN4gVk3bKL9aKsJQ0XruccFxTa9rTWGJj3kR8bdl+e+ M60fHR6dZ4R5LsE5bOhN316X7btPQSOryU+VVFguoIVDIL/MuTxJAVDVfy9xf8fgVo2JJ2 S/FtNsNfUqcEiMEORwnblazugRczk4bcXJC6TXra/2xQr+PMUNHgeEjYOHeBKw== 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=k/DlKiyMx9S/FygcFbg2Yj/n7fxWGQTCdIx0H+jZnh8=; b=B1EQJRgGiJMDVOtgHilTOiIX0WK+Gc187hFuRRZvCOHmXprJb5Je188Wc7smtD3+Su2/JK wFw/uc8+BRYoO9Aw== 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 pseudo_lock.c Cc: "Fabio M. De Francesco" , Borislav Petkov , Reinette Chatre , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20210616181530.4094-1-fmdefrancesco@gmail.com> References: <20210616181530.4094-1-fmdefrancesco@gmail.com> MIME-Version: 1.0 Message-ID: <162452317495.395.16784005187722946009.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: f9b871c89ae61d5a4c0b81659fa6819c50d4ced2 Gitweb: https://git.kernel.org/tip/f9b871c89ae61d5a4c0b81659fa6819c50d4ced2 Author: Fabio M. De Francesco AuthorDate: Wed, 16 Jun 2021 20:15:30 +02:00 Committer: Borislav Petkov CommitterDate: Thu, 24 Jun 2021 10:21:05 +02:00 x86/resctrl: Fix kernel-doc in pseudo_lock.c Add undocumented parameters 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/20210616181530.4094-1-fmdefrancesco@gmail.com --- arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c index 05a89e3..2207916 100644 --- a/arch/x86/kernel/cpu/resctrl/pseudo_lock.c +++ b/arch/x86/kernel/cpu/resctrl/pseudo_lock.c @@ -49,6 +49,7 @@ static struct class *pseudo_lock_class; /** * get_prefetch_disable_bits - prefetch disable bits of supported platforms + * @void: It takes no parameters. * * Capture the list of platforms that have been validated to support * pseudo-locking. This includes testing to ensure pseudo-locked regions @@ -162,7 +163,7 @@ static struct rdtgroup *region_find_by_minor(unsigned int minor) } /** - * pseudo_lock_pm_req - A power management QoS request list entry + * struct pseudo_lock_pm_req - A power management QoS request list entry * @list: Entry within the @pm_reqs list for a pseudo-locked region * @req: PM QoS request */ @@ -184,6 +185,7 @@ static void pseudo_lock_cstates_relax(struct pseudo_lock_region *plr) /** * pseudo_lock_cstates_constrain - Restrict cores from entering C6 + * @plr: Pseudo-locked region * * To prevent the cache from being affected by power management entering * C6 has to be avoided. This is accomplished by requesting a latency @@ -196,6 +198,8 @@ static void pseudo_lock_cstates_relax(struct pseudo_lock_region *plr) * the ACPI latencies need to be considered while keeping in mind that C2 * may be set to map to deeper sleep states. In this case the latency * requirement needs to prevent entering C2 also. + * + * Return: 0 on success, <0 on failure */ static int pseudo_lock_cstates_constrain(struct pseudo_lock_region *plr) { @@ -520,7 +524,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 +1144,8 @@ out: /** * pseudo_lock_measure_cycles - Trigger latency measure to pseudo-locked region + * @rdtgrp: Resource group to which the pseudo-locked region belongs. + * @sel: Selector of which measurement to perform on a 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.