From nobody Sat Jun 13 08:35:49 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD06430BB8C; Fri, 8 May 2026 10:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778237797; cv=none; b=s2inNO/oJ9B6YT/+1WWLpgMfO9H6q1xYnxDbfok9lNPv4PopqbMQrt45sCPInYBXKf7/fo5uHsBweabpcxD51sh7cQ+ob7fS4ZyXCPqRCLErjuJbR/XT/PBRFuaJ2r5sAXIQHTsCwMF66mxIS6IcbEQXvb/l36sMOj0XC9RKkgs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778237797; c=relaxed/simple; bh=ADUz0HfmRHY/lPvzcN19LY5ibcGtPvXqpALZWLW9fWk=; h=Date:From:To:Subject:Cc:MIME-Version:Message-ID:Content-Type; b=ltVZUNSAgVNW6vVlodBZJGrpwxvuLKQ7JVkzNxVuwCjgpo4RjAqZY9iTZgUzP4y1s0QBXt+kIx3ImJYBNfwU/Vge5qb7wt+8frf7UQRtZ9ASF8Fvb27fd5lVfkWTtZg2wcxIYCyN+5w5xQYbnZ78oI3Iqn1AAmupKAnNdDW2EGs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=iv63cUgb; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=blxEv4mE; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="iv63cUgb"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="blxEv4mE" Date: Fri, 08 May 2026 10:56:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1778237794; 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; bh=WPJfuEts2ZzdZlysR2COO2nFBaULx3bQ+kAGm523lG8=; b=iv63cUgbOoAPxjUGFTu0FARmtnrCczq+OXJ1Z0pdEFkZ2cWI6lDhnTWi7r+57f+JTqGI3f NIEmbqVaCcXplDp247S7Q04/P2wJ+DX49UzJtdhKDi149JzB+AELUcgmi9npuhIdRL6XeS e9QxRylzHQ/lkt1XmpgEay2XCRjmvztQgYiz5HuVsgTGt61iVVVfQ0AoM7RwfCvyV0/G63 OHGnahbmIcfflxyM5gavXbta8KDcYW41mJHZiLXf90eAMcuI8pdX9EPwK2ne0Ywlat+OE3 GaijHWQrmcJ5eKunAE3VkGSKA0pk8lArCPrhp3YSMMmvInGm4yI8hXY1S6zn3A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1778237794; 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; bh=WPJfuEts2ZzdZlysR2COO2nFBaULx3bQ+kAGm523lG8=; b=blxEv4mERRSV/A3UcP2kmjuPbUWd28W5pRk5XO7CY5m2rxw2WOB3SJAm8WsrTm6yPMNBR3 OgG3Upvpa7Tj3oDA== From: "tip-bot2 for Ben Horgan" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cache] fs/resctrl: Document that automatic counter assignment is best effort Cc: Reinette Chatre , Ben Horgan , "Borislav Petkov (AMD)" , Babu Moger , x86@kernel.org, linux-kernel@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177823779279.864.13797782966578669901.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/cache branch of tip: Commit-ID: 9a1646211f8c67c7c98f8109607e3b962aea13eb Gitweb: https://git.kernel.org/tip/9a1646211f8c67c7c98f8109607e3b962= aea13eb Author: Ben Horgan AuthorDate: Wed, 06 May 2026 09:28:54 +01:00 Committer: Borislav Petkov (AMD) CommitterDate: Fri, 08 May 2026 12:25:22 +02:00 fs/resctrl: Document that automatic counter assignment is best effort When using automatic counter assignment it's useful for a user to know which counters they can expect to be assigned on group creation. Document that automatic counter assignment is best effort and how to discover any assignment failures. Suggested-by: Reinette Chatre Signed-off-by: Ben Horgan Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Babu Moger Reviewed-by: Reinette Chatre Tested-by: Babu Moger Link: https://lore.kernel.org/20260506082855.3694761-1-ben.horgan@arm.com --- Documentation/filesystems/resctrl.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/filesystems/resctrl.rst b/Documentation/filesyst= ems/resctrl.rst index 2898a51..b388e91 100644 --- a/Documentation/filesystems/resctrl.rst +++ b/Documentation/filesystems/resctrl.rst @@ -479,6 +479,12 @@ with the following files: "1": Auto assignment is enabled. =20 + Automatic counter assignment is done with best effort. If auto + assignment is enabled but there are not enough available counters then + monitor group creation could succeed while one or more events belonging + to the group may not have a counter assigned in all domains. Consult + mbm_L3_assignments for counter assignment states of the new groups. + Example:: =20 # echo 0 > /sys/fs/resctrl/info/L3_MON/mbm_assign_on_mkdir