Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp457779lqh; Fri, 31 May 2024 06:44:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVApzcnabJbjjxVUs2/UuHVgUNXk56zGpOx3EXEUhfdEhFZK2FgcuKEVuC9JTwbGyr4Qxjp4eMNFNGoeM3f2cTaIdpGUcdVcHMA4x2HUA== X-Google-Smtp-Source: AGHT+IEdO7uK393nsXYI8qWi1b7AEItMN9futU7wPVTcV2gcyMFUNUtYXcVhoxcM68yKDGEF72H9 X-Received: by 2002:a05:6214:5342:b0:6aa:7049:2890 with SMTP id 6a1803df08f44-6aecd4c04a7mr31516276d6.20.1717163044191; Fri, 31 May 2024 06:44:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717163044; cv=pass; d=google.com; s=arc-20160816; b=D4/7s5TJI2T/4cGLShPxXJId6XRcxZL83qEoZClKJtIWyIiMbTFRoZ4SYTxDdSMbgj QdikWR4hj6pzYTkDWYSrdk54eHjKH1IX2AriEw3uTuIl89YOJaEUVrolxEfsYSQg0PMN 5DWnyt8ZZ32EBP+lGwjcuLj5IvZlQ7EmlLUIVMZDrdo3UyPbRF/M1QlxoHZp2ZxLfD2g 0X3YtneA1aXSwUYJQg7LTQNCz6/kuDrV/X+lo9tks/XoHaaUnYn3myA9WRT5XqOAKYbt 0SVGeruArMNb5UqZBl/35BuZ3JEfZBNGwZ3Y8TcystbGQJybw0STrnAhUlxliwdoGlEH Mjhg== 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=Vnvx/b3YBPJGdrGkvIGOzq//fKgTkTsLUSK9I8zckqM=; fh=xJbb4hQYZWKxbWD4udT/t4l0Ukv9iGnG7+6IgRSeF/I=; b=orn3Aal4moas3rKN0hf2zq1qFR0Nj1HHeOE8ptfBtYQ9JNtyQcm43lJyJK4V1xILpm O8fu7cRY5J7GE29Ntzm1Kcr9NJaDXLEXcJ4pz/RdeAdjpyxgS+1FW8Q8f0PO8CCIfpio jJbcXuKc3qc+8ex56/1QZsav1DC5GWBKY5J+cp1sYY6vkAMT3he2qt3S/IxR02lFBjYy xRDuJcFJ/c+M0yhy+CxhUXvxrnTuGPcrJ9q5vn73pDDl+J3GrEk00Ivyt1u4du87QhYI NeIQqnttYASIurUwU55JTcg1BMo4Jlrf2hIAkip7E4YIDNT4TaUNXTKT4P2QlXAOpePi zvww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PEDp8uNJ; 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-196903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196903-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a733c59si21082966d6.81.2024.05.31.06.44.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=PEDp8uNJ; 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-196903-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196903-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 87A5A1C22E9B for ; Fri, 31 May 2024 13:42:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01DFF158DCA; Fri, 31 May 2024 13:42:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PEDp8uNJ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hZlGhLIf" 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 A9A45158D69; Fri, 31 May 2024 13:42:36 +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=1717162958; cv=none; b=fDHxZg0Y9cLjy490hENRU8Xl03oRKFvfC7Ib5FQOh2CUWXJa3krYdYXfH0EqXyuKUX4l9lo5g1dlpZ8vQO3Wai1K1RE0PdE4T0j9xOKn4U8XzUcYI1V8eBH17if6L7BRjLnXGjPpfCIH6u8/s/3jGOdhUYBd6pnrolc1v/nU7hs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717162958; c=relaxed/simple; bh=eY2qkBo8TuMtICupkOTJ+jXO0M+B2a1HCHXG4Y9V598=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=mqikTMnkgyyq36YdKhPSrweYKiyCCpYLE63cI1aVnOUEM8H+RNL6VflxDhlvra1pP59PXFMuLkzR39zIEM+WOuey2jKdPK+eXg1NxuP7rLaZhR5AJYyAsgp1jN7Fusaw/KL6wk4raiZyYAS6uPNtXL4GoyVBdYwAY56hP5RuShs= 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=PEDp8uNJ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hZlGhLIf; 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=1717162949; 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=Vnvx/b3YBPJGdrGkvIGOzq//fKgTkTsLUSK9I8zckqM=; b=PEDp8uNJNYaj3NgyjQbG9GhoP2raHs3KNUeUNthy8WjQ6bJq3ogRxiu0V+vdKgIxt1E7Ab nj3LACMTyTj7AJ/LEZ1n0da4T5mqV6N0sRcDwxcHL5PJcjgWb5z5inQj7ouQ2nGljrN8s1 VRbM5XRj8OGNsxWDKnrd2sW6rzMP0L2uLykiOsEOz0o/p1sl9+o4wXEmlEsCmNG52RiRKC Nhg7UDVl9yzW7vJQAMwqF3KD7ydfpSyftTmdKULog0RciygSa0x7UE64KFrpBo6NLrhPWZ 0cvhkPfaSRApwNFpVePymtjetVLQinl0Ti1qG5qcjvYcXbR+GDcV34mAUPJxmg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717162949; 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=Vnvx/b3YBPJGdrGkvIGOzq//fKgTkTsLUSK9I8zckqM=; b=hZlGhLIfpFoIcILmDCyged3NbGZSVUrewqV1qVXiggb+rPnVMLjeJqbb4XEGJmFGEDmtVC 1QjuloI/vJYNzCCA== To: Christian Heusel Cc: Peter Schneider , 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: References: <87zfs78zxq.ffs@tglx> <76b1e0b9-26ae-4915-920d-9093f057796b@googlemail.com> <87r0dj8ls4.ffs@tglx> <87o78n8fe2.ffs@tglx> <87le3r8dyw.ffs@tglx> <4171899b-78cb-4fe2-a0b6-e06844554ed5@heusel.eu> <20ec1c1a-b804-408f-b279-853579bffc24@heusel.eu> <87cyp28j0b.ffs@tglx> <875xuu8hx0.ffs@tglx> Date: Fri, 31 May 2024 15:42:26 +0200 Message-ID: <87sexy6qt9.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 Fri, May 31 2024 at 15:08, Christian Heusel wrote: > On 24/05/31 11:11AM, Thomas Gleixner wrote: >> On Fri, May 31 2024 at 10:48, Thomas Gleixner wrote: >> >> It seems there are two different issues here. The dmesg you provided is >> from a i7-1255U, which is a hybrid CPU. The i7-7700k has 4 cores (8 >> threads) and there is not necessarily the same root cause. > > It seems like I was also below my needed caffeine levels :p The person > reporting (in the same thread) with the i7-7700k reports the problem > fixed[1] as well, so this is in line with Peters observerations! Cool! > The other person with the i7-1255U in the meantime got back to me with > the needed outputs: >> - output of cpuid -r > 0x0000000b: subleafs: > 0: EAX=0x00000001, EBX=0x00000001, ECX=0x00000100, EDX=0x00000012 > 1: EAX=0x00000006, EBX=0x0000000c, ECX=0x00000201, EDX=0x00000012 > 0x0000001f: subleafs: > 0: EAX=0x00000001, EBX=0x00000001, ECX=0x00000100, EDX=0x00000012 > 1: EAX=0x00000007, EBX=0x0000000c, ECX=0x00000201, EDX=0x00000012 So this is inconsistent already. Both leafs should describe the same topology. See the differing EAX values (6/7) in subleaf 1, which are exactly the values the kernel complains about :) But that should not be an issue because the kernel preferres 0x1f over 0xb and will never evaluate both, but this is just from one randomly picked CPU. I wonder which variant of the cpuid tool that is. cpuid -r gives you usually just the plain values and collects them for all CPUs. I really need to have the values for all CPUs to see whether there are differences at the relevant places. The above is probably from one of the E-Cores. Thanks, tglx