From nobody Mon Jun 8 07:26:02 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 AA43E3F8222; Fri, 5 Jun 2026 09:20:56 +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=1780651259; cv=none; b=J4MDRW6wWWRxSBLLNmu3BEbN2jMzscFKY3cwdn8xFdDmYbrSImOT5VgzitvpweXW996O8Ov4qyRrh6TxuCqpvZRx8/QfClhYFXwVbQVlwfK3/F3UiuDyluuBn676TlW8MLOtht7AXobmF9cR5GuZxTKYkN78OscN9G57zV5L+O8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780651259; c=relaxed/simple; bh=TBH9a6rfPzq5o4ZTIOPJMFak47yVkan/1QH262CrSRM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Q9TH3NAuBb9R9HkVNsyPHEveRSvq/C87p8lbto+uA1jXEMQFVcRK8y1tKbk1sKaWp56KWXE27EStJklWCVgXyNFhRD3uWuRywPgp5i/Ty1Q6bg9DbE3KugkbWus+mxtsgvUv23cY+/qKSy09pR1agxw+zSCwZYDJ/q6Oi8Zw2UU= 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=yd65kZk3; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bvcePAcK; 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="yd65kZk3"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bvcePAcK" Date: Fri, 05 Jun 2026 09:20:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780651249; 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=tKx2YVkkPef4muim7/ddT3kJBrMHZM1TzMN84c275Sw=; b=yd65kZk3qRhahN5rVrAVDivisvb5LmQBz7g2PyIBois0iATSOhZvjQDqHlZyEGPoYXiH0c FrZEYVxRHZ586vR9/uAvjsrHv+aU19mkBzoo6Ab6XzCknckbk8LtAQWzTSlJ7vr2Yi5V6t xWxnqGN7EJ9cwsmVYFroeB8aEJGv4stiMjdwOPjgmusq42s1G5fL/yqzWjr3LvPj/TDMyk TQ9+yn/jsrDYDGVLBG6SG+IxOV/O5a5XWzdbdDaGgZWP2/rqTCRfKLbjS2PUBJq2OwDFxo zo7wCX6NlfSFOGkahIq5pTs9K4eZKOuj/GRZFLJWMAKEmSjglxKWLzKyVpUZFQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780651249; 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=tKx2YVkkPef4muim7/ddT3kJBrMHZM1TzMN84c275Sw=; b=bvcePAcKZlCT11vBa7D77cL8LMLDBdWqmWLFg1TBBxr9+jFFydh9xk6n7+IGsz8adNs9rI DDyJj9H2b10sFABQ== 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/urgent] x86/resctrl: Only check Intel systems for SNC Cc: Babu Moger , Tony Luck , Reinette Chatre , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C9849330f45ac86344cc5ac54df2d313906d70bc4=2E1780634?= =?utf-8?q?584=2Egit=2Ereinette=2Echatre=40intel=2Ecom=3E?= References: =?utf-8?q?=3C9849330f45ac86344cc5ac54df2d313906d70bc4=2E17806345?= =?utf-8?q?84=2Egit=2Ereinette=2Echatre=40intel=2Ecom=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178065124732.710.16386259857909299335.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/urgent branch of tip: Commit-ID: 6f6947b2387e94e405f80d472f8a189bfbf2bd6c Gitweb: https://git.kernel.org/tip/6f6947b2387e94e405f80d472f8a189bf= bf2bd6c Author: Tony Luck AuthorDate: Thu, 04 Jun 2026 21:46:49 -07:00 Committer: Ingo Molnar CommitterDate: Fri, 05 Jun 2026 11:09:34 +02:00 x86/resctrl: Only check Intel systems for SNC topology_num_nodes_per_package() reports values greater than one on certain AMD systems resulting in resctrl's Intel model specific SNC detection printing the confusing message: "CoD enabled system? Resctrl not supported" Add a check for Intel systems before looking at the topology. [ reinette: Add Closes tag, fix tag typos, rework changelog ] Fixes: 59674fc9d0bf ("x86/resctrl: Fix SNC detection") Reported-by: Babu Moger Signed-off-by: Tony Luck Signed-off-by: Reinette Chatre Signed-off-by: Ingo Molnar Tested-by: Babu Moger Link: https://patch.msgid.link/9849330f45ac86344cc5ac54df2d313906d70bc4.178= 0634584.git.reinette.chatre@intel.com Closes: https://lore.kernel.org/lkml/37ac0376-43a3-4283-a3d5-4d57b3bec578@a= md.com/ --- arch/x86/kernel/cpu/resctrl/monitor.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/resctrl/monitor.c b/arch/x86/kernel/cpu/re= sctrl/monitor.c index 9bd87ba..59215fe 100644 --- a/arch/x86/kernel/cpu/resctrl/monitor.c +++ b/arch/x86/kernel/cpu/resctrl/monitor.c @@ -377,7 +377,12 @@ static const struct x86_cpu_id snc_cpu_ids[] __initcon= st =3D { =20 static __init int snc_get_config(void) { - int ret =3D topology_num_nodes_per_package(); + int ret; + + if (boot_cpu_data.x86_vendor !=3D X86_VENDOR_INTEL) + return 1; + + ret =3D topology_num_nodes_per_package(); =20 if (ret > 1 && !x86_match_cpu(snc_cpu_ids)) { pr_warn("CoD enabled system? Resctrl not supported\n");