From nobody Sun Nov 24 08:51:28 2024 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 73A61173; Wed, 6 Nov 2024 10:03:32 +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=1730887414; cv=none; b=IxPXeWUeNiFef93WhMtOPuq5D0B4DnrPyd85zxNllFgQpnXyHOxSS2vhE7ypbIXDaM20r5TT6CSvpn+gejjhOa9aQCxyyPawW+URGM3xjkA5xV36J4UNaO9anv+Dq1LhDC0up1YGMuAPxRqbSDXONHoXiv8DreqIKaZJnJwja7I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730887414; c=relaxed/simple; bh=JHyf9+2zTSqXYnZidLwgsjg1gFC03EvB2S46na4dU/A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=BWSC/YJABhp8WDNKO3L8GQEJ74UrUgMtvP7k/FldfdkSO0GzRxZ35GZ8pFWbVtfyBB01tA37f2JZThV2sSHi6a4XBEv2Ih/2IjZVUwRyrAh4b8NupkE0Ll+6ica3tbtpf8hdk26zPU5fQVoYTIo2U4Ja1G8txSKyMSctE9LVC3s= 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=j8V54h4/; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=b0iUhs8h; 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="j8V54h4/"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="b0iUhs8h" Date: Wed, 06 Nov 2024 10:03:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1730887410; 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=BJ9PZNIg7tYPkzPPeLyue4W3XRMtt8sYGNM24FEQF5A=; b=j8V54h4/i7cIcmP+p4Z2jnlRo4ZrVeZ/YWoWgZ4XB8qBLYqpHQ2FBEluyXdFDOd5hjFCpi wyWInyquiaiZUqObfdn6ykY+m8HE6LtiS3k1hZY2bBUlR4j+bRutGR0JWdNZZAGJLKyIC+ xvWpW9iT+00r3Q2bYMV4F3RMojfvJLvxtBZqWi+1NA+kGr95lRbSKO7mcyiPKMQt9PNGug 9Qlvyhl2SZfxAurkDXQGmw7sET9XmQo2RxSk74toom0qJ49Uygq5cpet9mcOoZjlvO93BV PdAnkl/pZyXBEAf/b4A0cJYZIDoGAFKlnHpKuTI6KVJooDoyiqfngeYYSOqSCw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1730887410; 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=BJ9PZNIg7tYPkzPPeLyue4W3XRMtt8sYGNM24FEQF5A=; b=b0iUhs8h0kz46m9oWylCF1KryJY+ACQT/oH+kRBvjP3Q9W6Ee8GaVwtIp0BXmf/n9ivCXP 12Y1qqVX7KpKmtCg== From: "tip-bot2 for Tony Luck" 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: Support Sub-NUMA cluster mode SNC6 Cc: Tony Luck , "Borislav Petkov (AMD)" , Reinette Chatre , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20241031220213.17991-1-tony.luck@intel.com> References: <20241031220213.17991-1-tony.luck@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <173088740941.32228.14785978598357685.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: 9bce6e94c4b39b6baa649784d92f908aa9168a45 Gitweb: https://git.kernel.org/tip/9bce6e94c4b39b6baa649784d92f908aa= 9168a45 Author: Tony Luck AuthorDate: Thu, 31 Oct 2024 15:02:13 -07:00 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 06 Nov 2024 10:49:04 +01:00 x86/resctrl: Support Sub-NUMA cluster mode SNC6 Support Sub-NUMA cluster mode with 6 nodes per L3 cache (SNC6) on some Intel platforms. Signed-off-by: Tony Luck Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Reinette Chatre Link: https://lore.kernel.org/r/20241031220213.17991-1-tony.luck@intel.com --- arch/x86/kernel/cpu/resctrl/monitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/resctrl/monitor.c b/arch/x86/kernel/cpu/re= sctrl/monitor.c index 851b561..5fcb3d6 100644 --- a/arch/x86/kernel/cpu/resctrl/monitor.c +++ b/arch/x86/kernel/cpu/resctrl/monitor.c @@ -1158,11 +1158,12 @@ static __init int snc_get_config(void) =20 ret =3D cpus_per_l3 / cpus_per_node; =20 - /* sanity check: Only valid results are 1, 2, 3, 4 */ + /* sanity check: Only valid results are 1, 2, 3, 4, 6 */ switch (ret) { case 1: break; case 2 ... 4: + case 6: pr_info("Sub-NUMA Cluster mode detected with %d nodes per L3 cache\n", r= et); rdt_resources_all[RDT_RESOURCE_L3].r_resctrl.mon_scope =3D RESCTRL_L3_NO= DE; break;