Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp363557lqj; Wed, 10 Apr 2024 12:45:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwE28foCG/4OY+DT7plM5j118SbeImCg1Qz7lyBwr6lGXnfHQKZRKojIwaHg09p5pCsJrezKljeFHR7apKc2XWPPbAqnvNwzvEtiCQ7w== X-Google-Smtp-Source: AGHT+IH0VvRvbVu0m3OUwrjpAm/FW290Hsu1Q/Io0/YIwXaJKXvpaUbgnkst4fX77Tcj7+VTHsvS X-Received: by 2002:a17:907:94c4:b0:a52:15ff:56b0 with SMTP id dn4-20020a17090794c400b00a5215ff56b0mr1338831ejc.15.1712778335926; Wed, 10 Apr 2024 12:45:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712778335; cv=pass; d=google.com; s=arc-20160816; b=H1qnnF0bz6tcT9Xh7tl7pCU7rMXJy12/g3c50IAmVdnKOvsCssq74afrVOE43dkPb/ 9TVg8lBnaDTl3DbyL+O26tuhotLEmUIeyOE0kkalrNLnD5sdySGleh3fv4sXIHq+2eZi CBwVDQj6r291wu2ogbT/Hlsit1viNFXKDnb9w90Y0eadVLYQs1+MsB2ZgZTzp8OIbuJH Z7NQfSk8d7FovonUKwu3HprHU04AJkOxL/v5d1/6YONl+uQxuBbA5ffIjcTfK23Sb33W bgA25sGvazRvqvEZuD6SPqtmOMTSdv1BI80NDEqCetQJrBK/JUvAQ6lwtKdBGCW02sQj /o7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:date:subject :references:in-reply-to:cc:to:from:dkim-signature:dkim-signature :message-id; bh=zXD3xkQMMp3nyR5N4kNRyu8kBxMNafMgulnNGUSs5NE=; fh=OV7v4Hy2UDGv78UFE568hmcGGM3eYhSpJxQQpDglkrE=; b=lKMb203zHXt5Un9UGGK0hkNQsiFGblfP3H3dHTdRD3EWa8JSbfl6Cdd8PWrPQQNl5R iUSgIzgtoIx6p6eF0ZXSE1q4JLQpqv9rkYIXwR6zUpzbiaTR5/4Z4of8ApT/TisEAdpY 0eRbz28q3x2WY4d+lwEZ8+g0WTFrh7J/zsLlwXu3wvd60KqEqdRxL2NV+hYSz6AgOBhk P1CiPkPvhMu7iQo2WCUvUF/ZtA8UUQYd8g1ACYyp4AUKXraAK5rNaPxkuwG67wUVIj3M Ek/oIQxwsVE7N/Dv47EaObnaXcQKEc+TF6WtwZZUmOITv7KSgVQJfTjXbu86rJiUNL08 9VLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Tp03TWmJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-139271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e18-20020a170906315200b00a51c13876e1si4746914eje.372.2024.04.10.12.45.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 12:45:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Tp03TWmJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-139271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A6BBE1F22D5B for ; Wed, 10 Apr 2024 19:45:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFA3F18133A; Wed, 10 Apr 2024 19:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Tp03TWmJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="JbvzwwGS" 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 865D3180A8A for ; Wed, 10 Apr 2024 19:45:27 +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=1712778328; cv=none; b=el3r6N/izkgouDbDw2fuxzbGY/Z6CRH+krv+7QTJK29ak3oJ1ts9lzr7mNhQI70F9hx6HXLHHDV7cPDjyV/NiTBvT9GGsc597EcAhXbg7UbP+D/kg66FhrfuXVfWoVsOrYlFsIMqdqt/y165NeWQWyrSJ/uaNrIgC4RBeo+rWWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712778328; c=relaxed/simple; bh=BelLXsHnzBcl4pRFkjye7H4NG2rLu4vD1u9pdkB8Bx0=; h=Message-ID:From:To:Cc:In-Reply-To:References:Subject:Date; b=udiTzKu9J8ByWZFY7c5wh/ws24wVDbYNHFRVP5FWOqlcp78vwIbkw7Z7Y3UAuqG/GEOw9BSKu8YejqzqbkNkrp8BIK8Dm6D4Md2V8AgrJPw4NWEnkUccqDrn/jh/l/hSCqk9+doe/8xd0I0qQVwDWlZt7hmHKgyOafz5jeZK/Dk= 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=Tp03TWmJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=JbvzwwGS; 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 Message-ID: <20240410194002.909839385@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712778326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=zXD3xkQMMp3nyR5N4kNRyu8kBxMNafMgulnNGUSs5NE=; b=Tp03TWmJUvWNrl3FCV2Da/FCijNPrcYk8nj4F3zI6okd4P17zroaCyNKL9w8TrnRXzk79L 9EnLSlM9GNOaL2yK1zfjqs3ByALzieRfyo71Yl9wm9NUySc+1wVpDhSjz9erpGYrql4BSh Pj97uYL1BYDSwdqXaQxeuwsPTdK8+Bv2NG0gVrMi98W0P56uu69ANRMHJRDn0uq+ji+IE+ 5dNEi/m7HOkmp6YRfxgpssiEeZY0kC0/UJvgBrmWdIRQaH0V6zqDJVgWfKl8ix6pr5bpRf cQE3WBUXtXdNHt4Eek+Driq40mu7KQPAROmJb4jOfAl8OpaMZKJIDyoSWdoRxA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712778326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=zXD3xkQMMp3nyR5N4kNRyu8kBxMNafMgulnNGUSs5NE=; b=JbvzwwGSfj0D0A2T4hE2Xz9HCTJbhjbWh1dDhZKjEd+Mldgsr31fKlS90A0iKhvSvBmmz3 Uktydcr81dDEoDDA== From: Thomas Gleixner To: LKML Cc: Laura Nao , x86@kernel.org, kernel@collabora.com, regressions@leemhuis.info, regressions@lists.linux.dev In-Reply-To: <87il0p2era.ffs@tglx> References: <20240410161141.261818-1-laura.nao@collabora.com> <87il0p2era.ffs@tglx> Subject: [patch 0/2] x86/cpu/amd: Fixup the topology rework fallout Date: Wed, 10 Apr 2024 21:45:25 +0200 (CEST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Testing at Collabora unearthed two issues in the new AMD topology parser code: 1) The CPUID 0x80000008 parser initializes the wrong topology domain level. 2) The NODEID_MSR parser uses bitfields in a union wrongly which results in reading out the wrong value and finally in a division by zero. Many thanks to Laura for helping to debug this issue. tglx