Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1438281rdb; Wed, 6 Dec 2023 21:11:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+R0tllPo9NxO2eB48WRPlb0jPqs+Lgy40PbgkudzdHtnzop4LF+sTY2WNcAn1iW+xDAW+ X-Received: by 2002:a17:902:8484:b0:1d0:6ffd:8376 with SMTP id c4-20020a170902848400b001d06ffd8376mr1296907plo.129.1701925871076; Wed, 06 Dec 2023 21:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701925871; cv=none; d=google.com; s=arc-20160816; b=ri9Go+c6gEEtixFMN4B1s6D8g17Ig+d4WRSY6S2Od4aKWEWAoI0tF6F1my+HohUteL sSk3QdIDj9/sZM77XrmvNZAiml29DmbnFs9kwg1Sl/RUsyScaSct3R0DAUJUuqww+mt5 UL9KJYdI9VEmgsODgVrRj+4Kqz2JDQTiZ/pnwML6PRqptR4IHypH4XyLO2w8+wgEjf++ teeX1FTOtvxCPvy8bPXTtM/v2YhM7Nq4GC043pOCbtXZTQvcDWKG02TevNVWR1Qq4QrX bH9JeX1+C1sZHszZR8cOhraVJcsh7+xhyq2n9YxVRg6T5BXnv2jnK+JG0z7WiinNPyXV fbMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=Z3Xli2pOVHMbO4d5HDdfaRwqVwxvsQsrbmuGcEpy9xI=; fh=CV59mTgVxAOOI7rog9Q+rorQPOcJSnlUzqgQE6dFPJA=; b=m8CuPj+bVMP3q6kscpMwCu7PDW7lW+MNTPiKap5e2FZgBq7HNAXsiAM+Mls12I/Zm7 1KaIRq/t3J53i4Qg0K4NVqUwo4n94dHv6XiDXeL5ZFK6rGxf6Ru6abcC6++Mcyf036xn BRGX2W6cim/jUv1Y6uOu9rEj3lDTtatggXIxull9dKmuHxDHtWMOc1nD4LbuJ4yp+3o7 hBqSHDvAWaujfze/4RIIihh5E96H0ypOEymgjeXdExDP7tmi47eclddfsxUCSmedBTOf yo4xUJd/lsySQu01kTCd3cNEqpyB8uqOPod01gSaiczTeGeuwXL/RvNE9FyqE2FwgEvS dYJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=gwK4x++V; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=3eGwlA49; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=anarazel.de Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id d18-20020a170902ced200b001d0c5037ef3si469032plg.336.2023.12.06.21.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 21:11:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=gwK4x++V; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=3eGwlA49; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=anarazel.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9155D8061371; Wed, 6 Dec 2023 21:11:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbjLGFKv (ORCPT + 99 others); Thu, 7 Dec 2023 00:10:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbjLGFKn (ORCPT ); Thu, 7 Dec 2023 00:10:43 -0500 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 287E3D53; Wed, 6 Dec 2023 21:10:41 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7F6CA5C0212; Thu, 7 Dec 2023 00:10:38 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 07 Dec 2023 00:10:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1701925838; x=1702012238; bh=Z3Xli2pOVHMbO4d5HDdfaRwqVwxvsQsrbmu GcEpy9xI=; b=gwK4x++VCHNA3TzbdtOAHjyugPMqyAupkJnWbkrbilgAV3Lf5P7 05722qsMcPKgmZ1dUn1e+H2mNub8rr7EfkWIBFRGNQaK1EMYY2SdAa1hGLyxwYMO Svp+fQCpxmvJGv4dB4Z0ywFOCKSrQJTlLMcVOl4zpHvJj5Eu3W4oXI6dnpChiiNJ eIsG42/7NYb8LyCQZCyoVIADFuNax00gBT4MgT9y3c2gLBlIMgcFFcvIVBKWeHUX gh7baREcyi6M9UK+4bSLw687PD6Cllz43nqhT/9SIJjC+da2SgH679XIBDmkrRRe Rw1bkG+cWWEd+N7IN86R7ApX3UUezts5dHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1701925838; x=1702012238; bh=Z3Xli2pOVHMbO4d5HDdfaRwqVwxvsQsrbmu GcEpy9xI=; b=3eGwlA49VGICR5s3rPrh6zPKV11Y+Lmas/r7XLUalIBU6dr3an3 k31TNCFFDOMYsUxTVzM0C32i8vp9DFBPa7npJAuEsh6hZcvkAG4m6efyEWNybtfW ZiZV46PCgpqn2D5XuHuIuXGyPdihyZYJ5oBkjkAtJSQpXqfBURmb617fTbtS9+gr VDrDY8TEunBtBdkO26LvA/m8ZFWqkocpLA9GdOfi6lXuHNu4/qcnp+RU+F+Lr9i5 KUeSsfQMDgSCOp+zwV5TpKOwT4/8ae9vv88UZALoSwn6DArFejKoIzbuwVy5uUbx AnBsSvz6H/hYrhtFkK0dNxLImHRnpnGkIjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggugfgjsehtkeertddttddunecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpeehkefhtefhiefhtdegieeifeevfefhgeekvdevieeltedvieeuhfdv ledtleejhfenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigv lhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 7 Dec 2023 00:10:36 -0500 (EST) Date: Wed, 6 Dec 2023 21:10:35 -0800 From: Andres Freund To: "Zhang, Rui" Cc: "linux-tip-commits@vger.kernel.org" , "x86@kernel.org" , "bp@alien8.de" , "peterz@infradead.org" , "jsperbeck@google.com" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "stable@vger.kernel.org" , "sashal@kernel.org" , "tip-bot2@linutronix.de" Subject: Re: [tip: x86/urgent] x86/acpi: Ignore invalid x2APIC entries Message-ID: <20231207051035.yef3jix44uo6jlav@awork3.anarazel.de> References: <169953729188.3135.6804572126118798018.tip-bot2@tip-bot2> <20231122221947.781812-1-jsperbeck@google.com> <1e565bb08ebdd03897580a5905d1d2de01e15add.camel@intel.com> <904ce2b870b8a7f34114f93adc7c8170420869d1.camel@intel.com> <20231206065850.hs7k554v6wym7gw5@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 21:11:07 -0800 (PST) Hi, On 2023-12-07 02:41:34 +0000, Zhang, Rui wrote: > On Tue, 2023-12-05 at 22:58 -0800, Andres Freund wrote: > > Hi, > > > > On 2023-12-01 08:31:48 +0000, Zhang, Rui wrote: > > > As a quick fix, I'm not going to fix the "potential issue" > > > describes > > > above because we have not seen a real problem caused by this yet. > > > > > > Can you please try the below patch to confirm if the problem is > > > gone on > > > your system? > > > This patch falls back to the previous way as sent at > > > https://lore.kernel.org/lkml/87pm4bp54z.ffs@tglx/T/ > > > > > > I've just spent a couple hours bisecting why upgrading to 6.7-rc4 > > left me with > > just a single CPU core on my dual socket workstation. > > > > > > before: > > [??? 0.000000] Linux version 6.6.0-andres-00003-g31255e072b2e ... > > ... > > [??? 0.022960] ACPI: Using ACPI (MADT) for SMP configuration > > information > > ... > > [??? 0.022968] smpboot: Allowing 40 CPUs, 0 hotplug CPUs > > ... > > [??? 0.345921] smpboot: CPU0: Intel(R) Xeon(R) Gold 5215 CPU @ > > 2.50GHz (family: 0x6, model: 0x55, stepping: 0x7) > > ... > > [??? 0.347229] .... node? #0, CPUs:??????? #1? #2? #3? #4? #5? #6? > > #7? #8? #9 > > [??? 0.349082] .... node? #1, CPUs:?? #10 #11 #12 #13 #14 #15 #16 #17 > > #18 #19 > > [??? 0.003190] smpboot: CPU 10 Converting physical 0 to logical die 1 > > > > [??? 0.361053] .... node? #0, CPUs:?? #20 #21 #22 #23 #24 #25 #26 #27 > > #28 #29 > > [??? 0.363990] .... node? #1, CPUs:?? #30 #31 #32 #33 #34 #35 #36 #37 > > #38 #39 > > ... > > [??? 0.370886] smp: Brought up 2 nodes, 40 CPUs > > [??? 0.370891] smpboot: Max logical packages: 2 > > [??? 0.370896] smpboot: Total of 40 processors activated (200000.00 > > BogoMIPS) > > [??? 0.403905] node 0 deferred pages initialised in 32ms > > [??? 0.408865] node 1 deferred pages initialised in 37ms > > > > > > after: > > [??? 0.000000] Linux version 6.6.0-andres-00004-gec9aedb2aa1a ... > > ... > > [??? 0.022935] ACPI: Using ACPI (MADT) for SMP configuration > > information > > ... > > [??? 0.022942] smpboot: Allowing 1 CPUs, 0 hotplug CPUs > > ... > > [??? 0.356424] smpboot: CPU0: Intel(R) Xeon(R) Gold 5215 CPU @ > > 2.50GHz (family: 0x6, model: 0x55, stepping: 0x7) > > ... > > [??? 0.357098] smp: Bringing up secondary CPUs ... > > [??? 0.357107] smp: Brought up 2 nodes, 1 CPU > > [??? 0.357108] smpboot: Max logical packages: 1 > > [??? 0.357110] smpboot: Total of 1 processors activated (5000.00 > > BogoMIPS) > > [??? 0.726283] node 0 deferred pages initialised in 368ms > > [??? 0.774704] node 1 deferred pages initialised in 418ms > > > > > > There does seem to be something off with the ACPI data, when booting > > without > > the patch, > > which patch are you referring to? the original patch in this thread? Yes, the the original patch / the state in 6.7-rc4. > Does the second patch fixes the problem? I mean the patch at > https://lore.kernel.org/all/904ce2b870b8a7f34114f93adc7c8170420869d1.camel@intel.com/ Yes. Greetings, Andres Freund