Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1409481lqb; Thu, 30 May 2024 09:17:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUV4uDdPwhHlBqcheSqVeHxE/ls/AoHK8MtAxSPtgnrkudsmkCgK67atzI0nVifkiWbmKggumqiMwBtVPFaSAfO7X8zjOo86aXESLWQzg== X-Google-Smtp-Source: AGHT+IFmVjU0aXRqf771ijZHYDSNv2/O+ybVFjISwwdqPqyRxjBisoSzOrguK/fQcRP/DrfMuGBy X-Received: by 2002:a17:902:ce82:b0:1f4:5685:b159 with SMTP id d9443c01a7336-1f6195fccd9mr26177075ad.31.1717085867368; Thu, 30 May 2024 09:17:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717085867; cv=pass; d=google.com; s=arc-20160816; b=Wpb6vQ39KQCXtztSje/6WaT6bKD/1UskPOXIhwBdtazd17E4U7J2C6cKUY1l7nJlyb L8IZIouW6mdtKGtYagwOaNN3rWv0ZBjqt/EKK/8rFXbfttMEgvmhITRrFl8aZCt9s9HH RwiO/pvGrK9XxUd5B2xRD+3gChjQWxyDxXfQcFADbyweVArefFMoZMS8lFVQDHojDcit c/4YGtxnWYnoXaV3+HZvqj4mV2a8UNNBO4IV/0UyXMXvs4st1vnSCUugVD7sAyVtna9+ 0LZ+3o2mZpH+uKH6TQIVnHc+qk7guFJyD2Ee2MfMUtzwJdBnbu1hXbeHyDD6zkwo85oD XBQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=0ox6TcwsfqOasr2+SZmfSYOAcvDO9ex7bbe4NVHqmo8=; fh=BcVcGina2nBMs11Vn/xTZYZTdWbDfuFQHT71XvA50qw=; b=ZH/2FkYoGZoAa29SfersYc+23/aOIIfNj0MarZo8sA54aayk0sZppoDB+9fX+oL3Ab J+Rk4R/tWUJ8lB+bQSbzrW1H+uf84R3ly6gZraOqR2Bb6PaHAbeG7j3bNJpOnfH7AZU3 usXusVbaX92OdjhpW95Pnm6dZoTC8T+DDwaymkxyUQ6qMIsXNVECsIybhf8b7ip02EqH HV7d1GOuHU6NVgQAmVIm87J2EMonDJNfDw0G0fHN/2oXQpTX81NcTuH+aUyUpAgEWjgO r5cQ+vR7x3S+mqt6QGlUVNjlBUfgE6usNr2FrG8wG6U6aurm3G/WrYa7Is3AbBoY3hmk WfMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="NLV/EBIK"; 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-195627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195627-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9e4cc1si120148225ad.550.2024.05.30.09.17.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 09:17:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="NLV/EBIK"; 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-195627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195627-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5BACEB24341 for ; Thu, 30 May 2024 15:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A82F20B3E; Thu, 30 May 2024 15:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NLV/EBIK"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zmEMXyMy" 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 10CAB2032B; Thu, 30 May 2024 15:54:00 +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=1717084442; cv=none; b=D7nbYX7TIhA9HNJ5+oRr0QfoefrULYtzfyXFC6fWJ5kdPp8hF/IJ6VQP+ahblZWYTjoZPYuUStT6hCb8M1DGaagGgDMvugPJjzgEb+BRaurA9IPwlLDiBgWUC1VZnsEE6ssVA8a95iXe8qOrJFULyH1vf8hfWbB98erCEn6c8OA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717084442; c=relaxed/simple; bh=U7VSdvkRppI4+5gQVYR0PivyY7OcaLt0GbifZweu8Po=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=tuVUJ/+zJW9xXGMzJiv2JoUX/wcRHYnoa7jAO0EotZD+pdIDhdYcP15GR2BvZGb8pg1Y/8m8NSH0mWxhNoyYZF1Z27N2ErBsbjcRw8we1gE38E34WoGXOrnbO3v8ENgOyezKgpHEzP0kKzbpicdIALTS0x0BeiGeYRsWMcLdFqo= 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=NLV/EBIK; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zmEMXyMy; 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 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717084439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0ox6TcwsfqOasr2+SZmfSYOAcvDO9ex7bbe4NVHqmo8=; b=NLV/EBIKCGXQYzIMmA01GDSfafV6osmQbm8rD15QiOg0goVbFWny2wdyVfLQqwaR4otTFV rfBgUY4ji7zNVOnPZkm82FrK0SuoF7DnpaVyGSfzwRnDhzeLft914L8JCQHr16I2ClyZ/e fEkrGzBuAR+O5Qod3S5fTO4U8WgV+LgYc2zSwwOC6hvMbYEcOAezsdFKnL8hywdR0Wl4mL yTfkeMhcoRvx/Uz2hzRqutRaJQXV75RWUAJ5sj7ZpY5IuT7/zbqYUAxdpm0iV01OLHgzAH gmxQSN9oqfAGl5zmmzshmWpY0VcKx3AW2w0pMRpogoNFmGscsL5xJGRkEkY7GA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717084439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0ox6TcwsfqOasr2+SZmfSYOAcvDO9ex7bbe4NVHqmo8=; b=zmEMXyMyHlCHGOGxsvilmvTf0fyJS4CjpCAaLVxI8KtCHx4yiqeUffVLiG/jMvGx7/5fJQ suJqIfVMosgQ6qCg== To: Peter Schneider Cc: LKML , x86@kernel.org, stable@vger.kernel.org, regressions@lists.linux.dev Subject: Re: Kernel 6.9 regression: X86: Bogus messages from topology detection In-Reply-To: <87r0dj8ls4.ffs@tglx> References: <877cffcs7h.ffs@tglx> <16cd76b1-a512-4a7b-a304-5e4e31af3c8a@googlemail.com> <87zfs78zxq.ffs@tglx> <76b1e0b9-26ae-4915-920d-9093f057796b@googlemail.com> <87r0dj8ls4.ffs@tglx> Date: Thu, 30 May 2024 17:53:57 +0200 Message-ID: <87o78n8fe2.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, May 30 2024 at 15:35, Thomas Gleixner wrote: > On Thu, May 30 2024 at 12:06, Peter Schneider wrote: > Now the million-dollar question is what unlocks CPUID to read the proper > value of EAX of leaf 0. All I could come up with is to sprinkle a dozen > of printks into that code. Updated debug patch below. Don't bother. Dave pointed out to me that this is unlocked in early_init_intel() via MSR_IA32_MISC_ENABLE_LIMIT_CPUID... Let me figure out how to fix that sanely. Thanks, tglx