Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp689036lqd; Wed, 24 Apr 2024 13:57:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQegF0phFuDT3ThDHk3Ncx74k35Z5NknCIG2d1gOXR7ZeCiUPFsWNAL0A4oN/kBOgXII/9gmkwjXbcJYu8Gfe4wdlnwzx7aOueO9BpiQ== X-Google-Smtp-Source: AGHT+IGwMxhuKfGB1tFhetmx2kyYq6s4y04kWsf7VW22dGoXvdLD8AS+1QsX32nNhc7sGkDXTlzw X-Received: by 2002:a2e:8715:0:b0:2de:573c:26fc with SMTP id m21-20020a2e8715000000b002de573c26fcmr2622385lji.38.1713992226289; Wed, 24 Apr 2024 13:57:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713992226; cv=pass; d=google.com; s=arc-20160816; b=nXKiuzCDaWfrQU2P5RuJZIzfdQRb6Nfl0zJu/fUa8vGde0/bGUbi9qjIjy2Vpgwu/7 J3csQT1noaatRjyFJAPRPbcFJWBspkTjZKAPIcQ99kktNSbf1IXLNNxSHeZP6wM1kIGu EGFUrKpDrRFiXNl9vd0TO0yDu56gZ4CHx3Z54HWUdrPHn2mjE/xJkWCfJC9SGA9sLNyy tGDGianXAw5le9MTcwSmScteqPOW8h2VcVKLaoESudkusbnyu3Kz8lEJw5+xdxSCcpBe /frZzfyXyY5+oB4Di3bDAkTMcM3t2EJ8J0PNxAwXlow60CJ70bX4wqg/9gm/YVQv9hDV iPSw== 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 :user-agent:content-transfer-encoding:organization:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=4BJe6s4RlYV0QRX0OynnrSSs/GB0lHN5umnKIcoZWFU=; fh=7VXGtSzMoPR0t50bCbxYjPH3y0eXODxsRW9NyCE9SAg=; b=MTmVJCnGnGO1GYOB0hSW3SaoJ04f2XEjQ73WhIO41iac8kAMa0qg6noUz3TqUc6IFd LH82MUkNwnqUAJYH+mWUkOdWi4+xHB4Pqzyucxel538iiywmp4t6R3reyYryOWs+/DKY qQyqXKPOPz5SFXot+A4f13HHG2HX4YOyj3Rh/ITAHlDl0O6Zj7widSy2tH8HDl+yKqUp 2alZxgs2sckmBFFtH2E5T2T/UJZKs4Q6cZJyvLEsqgm8lJas4rP4i1d1N4nWU8n/dm6v C/r7UrAgHnXRIsd5+Q1wthNqflIOsn9A7XH75u832Is2wmP5efA5+x84yVQTWQR9ffOI OHMw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NvauBmxk; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-157711-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id d3-20020aa7ce03000000b00570be750af6si8407796edv.54.2024.04.24.13.57.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 13:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157711-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NvauBmxk; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-157711-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 D03471F234AC for ; Wed, 24 Apr 2024 20:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEE2F156975; Wed, 24 Apr 2024 20:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="NvauBmxk" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 3767513A401 for ; Wed, 24 Apr 2024 20:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713992218; cv=none; b=j33rM1/qlY7athhEw2vVT1i3E2CUX6qluz+reNcx+tkBx/sl8talFP63McfAyv/KtVCoMiaDxNTIDSlE+9EvzTDDV1Id5dVCHcyXiUwpImiiB79IlZOENaD/I1kA6GmoGquoGqzq6fe446AXbc42pXefPOnx5ER9+0af9mKES3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713992218; c=relaxed/simple; bh=Q1WIubxiXQAmOvLWWlMyS3BDdZGIILkCqIs6jV7dbU0=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Ht+a+uNCuuQhpDnQxUSyQHxYhgvNamkuGYoQFf0rcituYykBKWo2s+axi17HmsR+ShZ0v9fHCxEbSpYsxCm0xOBUDrsmtxuCjvmkZGMpFrbp00OU6bVhXgUUeR5QdlolW6y1ysfibTMcjFtFGFbIEBl+MPOR7mZTs7Zi85ZTCeo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=NvauBmxk; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713992216; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=4BJe6s4RlYV0QRX0OynnrSSs/GB0lHN5umnKIcoZWFU=; b=NvauBmxkmVaSFrxmXZ5NuRfeD97vLMTQRLWTsxDUmF85uc98qnjTh/PmmLthiZutapI52G DKXwSTmOJhfpKO3inJBPe3ga2P4c62BjOPVIPbWJycvmUzx65dZnppnOIji6O5Fpn4p3te 6MrFwOf3jgwixphAGMH2jB7mpruOTAc= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-503-uSf-wx2_O8ioYkQcX4RF8g-1; Wed, 24 Apr 2024 16:56:54 -0400 X-MC-Unique: uSf-wx2_O8ioYkQcX4RF8g-1 Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-78f08178393so271471085a.1 for ; Wed, 24 Apr 2024 13:56:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713992214; x=1714597014; h=mime-version:user-agent:content-transfer-encoding:organization :autocrypt:references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4BJe6s4RlYV0QRX0OynnrSSs/GB0lHN5umnKIcoZWFU=; b=u6NuKrP3kVZVebqOzXxpRNM+g0KQigSas2jJeSMd4mo1zl57gOPczFS7uB6Ols4jZT SA7rJBIMR6Sk+//yK4Hxt0yon34et/28bji+Ig70E3hHqA8lFQDLmyJh9eDnkuUTuMPj DGkKc+DGeZeZD4B8hhXI/BxAcwbqYQfhYruOwa6hyzFqzbKh24yM1cucQ9JrgjO6wxML JZbuh7T149k+3+xmOBayzCYOtsCnghN3BmgLvlwOHok7eFPxlKTbkiy0zOvZtv8sfqul mUs9e8ZbrkmXFJRzLYH5yHjb2j8v7lAi25Kkm3o1zee2nES4m344cM4n98LNOg05yy79 BHhg== X-Forwarded-Encrypted: i=1; AJvYcCV9PSvE1ixvqJSt90DbHebW8TpKUKvRhmdY27njz9mMVcYQmCWdQsJsFNnMlkWRNxKqPGCWryyNIZVwvdb4ETmBBH3vWkm9OK9EgHhI X-Gm-Message-State: AOJu0YxjNQiG0MnKz2gSawxo2UkYCTZQzJ7kKimHgPAtfCaMVcnHwKCp Ytrg3YYtZNUwFvccyuv5R0nXkc/kDL4eXr57ZCP/OyCTRPlHDIfEpj42QC94BwU3KnwuzXQrO7Q 5Cdlf7LiJXcx7hxZKkcs9EcLbsuXRAW9vyobJuOG+XPIofgzvqaZd+6WihTULbw== X-Received: by 2002:a05:620a:8b0c:b0:790:9796:4363 with SMTP id qw12-20020a05620a8b0c00b0079097964363mr1046112qkn.11.1713992214404; Wed, 24 Apr 2024 13:56:54 -0700 (PDT) X-Received: by 2002:a05:620a:8b0c:b0:790:9796:4363 with SMTP id qw12-20020a05620a8b0c00b0079097964363mr1046093qkn.11.1713992214072; Wed, 24 Apr 2024 13:56:54 -0700 (PDT) Received: from ?IPv6:2600:4040:5c6c:a300::789? ([2600:4040:5c6c:a300::789]) by smtp.gmail.com with ESMTPSA id du30-20020a05620a47de00b0078d65fbde2bsm6430606qkb.86.2024.04.24.13.56.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 13:56:53 -0700 (PDT) Message-ID: <3a0afe545747e5314a9cb6bbaa9ce90b259ddfac.camel@redhat.com> Subject: Re: Early boot regression from f0551af0213 ("x86/topology: Ignore non-present APIC IDs in a present package") From: Lyude Paul To: Thomas Gleixner , Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org Date: Wed, 24 Apr 2024 16:56:52 -0400 In-Reply-To: <87le59vw1y.ffs@tglx> References: <3d77cb89857ee43a9c31249f4eab7196013bc4b4.camel@redhat.com> <20240418082703.GCZiDZVyra7qOQbyqn@fat_crate.local> <87plumxz4x.ffs@tglx> <87le59vw1y.ffs@tglx> Autocrypt: addr=lyude@redhat.com; prefer-encrypt=mutual; keydata=mQINBFfk58MBEADeGfHLiTy6fhMmRMyRFfbUMo5CTzt9yqwmz72SUi1IRX7Qvq7ZTVNDCCDTYKt809dgl4xtUxSJJqgdljHSL5US3G72P9j9O5h0vT+XM9NavEXhNc48WzZt98opuCX23e36saPLkVFY5TrC1PZsc16swjnjUWQdIblh5IOBko9yIvyJlqmApfLYAQoY+srYIFMxGBkcsv5nMrRflFlk5djg6Lyo8ogGCSRyNK4ja3lrX8niyHb90xTZWYEcn9o38xzOjpxEjVWny4QeEZBGGEvqHN5Z2Ek/tXd4qNn44CGlzQk1CWJoE36TRvZAlqoUZ4m2+9YkBxILbgCxIg344OvZTLme+NraMINV014uURN/LO/dyCY14jOzAo3vgCzyNHrS/4XDs3nlE33TG/YL+luwPW85NWtg8N6Lsq46Y6T94lYCY+N7rrdzCQkHWBXPUA8uGkzDO5zShkKt+qQr11Ww4xvYP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U6xT4TDTFmLkzWZ/s1GRvQkJKrL2plgmMbrt0y2kxvbj9YtTUZvZddqQ4itlkM8T04mrbkbyJbWNZ8sq0Lqel+QSpg4diMXDUpQPXzP8 5Ct5iebENRcy5LNvN+7Bbzha2Vh5uBeP9BaqAYd8upg4JhVeDNJFp9bVnGJB 7P4sm8EH5OOoPmUzsY6gKs1R1zE1/EijnBVRIgct6Q7UWmVz+kwAIlpiytxZWf8CWBiZ1EcBk0BKUs7edGPbvsWV82Y+bzdassuxtX3dgXIVLzYemTAVtahoruLZDG66pP5l+p7PhRwh37BWuJ6xUuv2B5Z4Mfen2Qa/sKmB+VcfyCvZSBlbIwjpzt2lhUOns1aJaPIvF4A2YYB6AQpSHnJ9KJw9WdRt42qW82jtNfviiviMoWjsTeCB3bnGbcsd3Dp1+c57O2DpXlvJcmOoN4P8MwFeViWuu43Hxq20JRKUZLdZipO6+4XZm6aT+X9jrw7d599rfWTH53/84hc7kn4nsVsKlW/JAotTtXrmce/jEvujna0hI2l8j7WxcR7q+JOa1o= Organization: Red Hat Inc. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Sat, 2024-04-20 at 00:15 +0200, Thomas Gleixner wrote: > Paul! Lyude is fine BTW :P (I get the confusion though, Paul is usually not a last name lol) Anyway - unfortunately it doesn't seem like this patch helps :s, I'm still not seeing any difference and the backtrace I'm seeing at early boot looks the same. Any more information I can provide? >=20 > On Fri, Apr 19 2024 at 13:38, Lyude Paul wrote: > > Awesome - can confirm the patch does indeed make the machine boot. > > Full > > dmesg from boot attached. >=20 > Thanks for providing the data. >=20 > [=C2=A0=C2=A0=C2=A0 0.089286] CPU topo: APIC ID 0 present 1 > [=C2=A0=C2=A0=C2=A0 0.089294] CPU topo: APIC ID 0 present 0 > [=C2=A0=C2=A0=C2=A0 0.089296] CPU topo: Hot-pluggable APIC ID 0 in presen= t package. >=20 > ACPI is really a wonderland. >=20 > Can you please test the patch below? >=20 > Thanks, >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tglx > --- > Subject: x86/topology: Deal with more broken ACPI tables > From: Thomas Gleixner > Date: Thu, 18 Apr 2024 21:02:39 +0200 >=20 > Paul reported a regression which waas caused by the handling of non- > present > CPUs in a present package. It's caused by the ACPI table on the > system > which advertises APICs twice, present and non-present: >=20 > =C2=A0 CPU topo: APIC ID 0 present 1 > =C2=A0 CPU topo: APIC ID 0 present 0 > =C2=A0 CPU topo: Hot-pluggable APIC ID 0 in present > package.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=20 > Which causes the topology to get confused to the point that it fails > to > bring the system up because the target APIC for the IOAPIC is not > available. >=20 > Prevent this by checking whether a non-present CPU has been already > registered as present before. If so emit a firmware warning and > ignore the > registration request. >=20 > Fixes: f0551af0213 ("x86/topology: Ignore non-present APIC IDs in a > present package") > Reported-by: Lyude Paul > Signed-off-by: Thomas Gleixner > --- > =C2=A0arch/x86/kernel/cpu/topology.c |=C2=A0=C2=A0=C2=A0 6 ++++++ > =C2=A01 file changed, 6 insertions(+) >=20 > --- a/arch/x86/kernel/cpu/topology.c > +++ b/arch/x86/kernel/cpu/topology.c > @@ -195,6 +195,12 @@ static __init void topo_register_apic(u3 > =C2=A0 } else { > =C2=A0 u32 pkgid =3D topo_apicid(apic_id, TOPO_PKG_DOMAIN); > =C2=A0 > + if (test_bit(apic_id, phys_cpu_present_map)) { > + pr_warn_once(FW_BUG "Already present APIC ID > %x registered again as non-present\n", > + =C2=A0=C2=A0=C2=A0=C2=A0 apic_id); > + return; > + } > + > =C2=A0 /* > =C2=A0 * Check for present APICs in the same package when > running > =C2=A0 * on bare metal. Allow the bogosity in a guest. >=20 --=20 Cheers, Lyude Paul (she/her) Software Engineer at Red Hat