Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp197299lqt; Thu, 18 Apr 2024 12:13:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVdHm4/Ni1kSCxXQNUdQMvaCn48GRk0XItdgyirzJP0iPy+OM/d8USfsGFO1ezVBbIyeKR8b0ocwxKm1Y8wOD9ll3Ah04MWuAJ2Ej4iWw== X-Google-Smtp-Source: AGHT+IGjL3Zph23AqrzbPzYXv8m+OK9E5rcdwu0ehbUdx6hwNQtTC7O+Ww9VYAr4Z7GnQx048eoj X-Received: by 2002:a17:906:fb0c:b0:a52:5aa4:6ef2 with SMTP id lz12-20020a170906fb0c00b00a525aa46ef2mr30965ejb.71.1713467629959; Thu, 18 Apr 2024 12:13:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713467629; cv=pass; d=google.com; s=arc-20160816; b=zTb7dUr/J2rlTq5GrAI1qpxiAmiETGbnteyyA6UtqEkApwlKWBoSSLaoJa9KSGm7Ci D8nvCaNQ/M9lVEQI14A9mgfA0bTrgpcl9O7Jt66nS/XSxXxa9zpwyYFoS1ZfJHpv0iex FGM5k6SphNZ0vM3sp9udm0BiCDj+WkEkyYIsL/IzMyMmwZdhN5Tn7LMlcdFOO8GnqlXc keCSQRDQo8Whm0MgHBfS7CgDbqKcYLmrLU9lijw/Wt4dNBjSlsgJhBtZtOhFctB2NTqT uQkCqSRSf044GWc6rEztdVxg3UgIDY++iyCbewQsL46baQZkKtO+1askJ/NORrLtigrN pURg== 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=j9rMqMzziPBG66zzSo6AyqknRc91sFEhQHJFsmE6nzg=; fh=Yq9XNnTVecDx9sqhC0GBlFd0uGzJi6MUaKyn94/j9a8=; b=OIiUkFQsSgbnzEWGNHES8GxOVjzqaCQGjmadCeMVRn654/8RKVw8PuOGpvlLYJJxGO cGo8scMeBqByn8TAhTk/Ke1wuKl5uJoUXgBlP69Edp+4aIxGXjlBROtZOQn8uLgoJzyM 3HKI2CXa8wOjuFJ6EKE9EEKu+EGRwNdI4o46SCp53c54/f7vjSFAdDzBUSENSEyWNajd ke+zMu4ZFQjmatzXGAFgkskVA8sHqwAd9l7t4cS6cc7GcjBWWCILAmAXxrwlTg+uzZ3/ py+yBDUMysTMLE0rHbIBTtg5i5suZkuzX2pd9WYQMMN2eD/WQiMTSjwH9RVqFPZkEYdA 0vOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Ffd2ya2d; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=762nyUUU; 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-150664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150664-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 jo5-20020a170906f6c500b00a5210b288fbsi1184783ejb.785.2024.04.18.12.13.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 12:13:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150664-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=Ffd2ya2d; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=762nyUUU; 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-150664-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150664-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 ADD191F21D18 for ; Thu, 18 Apr 2024 19:13:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15B0A17B4E0; Thu, 18 Apr 2024 19:13:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Ffd2ya2d"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="762nyUUU" 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 A405A17A93E for ; Thu, 18 Apr 2024 19:13:41 +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=1713467623; cv=none; b=WCktE7czn6TQ1wFFI4z2fkCwKlsBy6rVGHw5MdrkI9IIPVg3MFbXMMbnRisjlN2V17mWCFAUhovf7Da/xdUlaLloCjJxNCGeyA44ipvFt37wv8f+pCSPkseTSAG68SeyjyytgWaPrzl5nDsyMGQA40RAJusFaE0u8PXfCgFCE4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713467623; c=relaxed/simple; bh=Iz678KAmXfBm/mZt3v+X1aeipm5kBNZsPm3UhrqtPf4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Zvn1Y0NQU+utlwnB1K2fGvoUqUKJpekW101jUC6AvnqEFPlvb31XpD0xPWjdYyknD574DA4GAWPf5+2TUNgbz+0UzFo3TgTqTVqeX3MB5oFsgUnJzf4JnytFpOVSGwUVNK8OyIVFR6drQSPV5h4z8Ye0e+cDfUpTmaTTfkcEtTE= 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=Ffd2ya2d; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=762nyUUU; 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=1713467619; 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=j9rMqMzziPBG66zzSo6AyqknRc91sFEhQHJFsmE6nzg=; b=Ffd2ya2doIEt7x3rnqzKbBOJK2Fz1s6IYUY7CduKWzuTopfZzIDlTe2xyeFpFjbKYPNsXb VvBO/WNbKFb3xHW8MBlieiz4HX4Qx0LLbP/nkwNOFcAyucKy3cRe0uY14vLExD33Ssm51t uKuEAn3M5XF5WRNSveCHiwspacH9Xu7RG5d24hDDaCCY93c+qDpOqWqyMzdOpmwG+uZYuv pNHBXmCP2DGqsS5nbWAxFwXXXZf6Ba/lCORs56rpccQ3ZFTNcRB32VeoakHrqv5M8xmrXB idoybO+j3Ic20KugPSoFeTG8qX9f8m3G9XzNepSs71mvq15m192pGSs6K2XNMw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713467619; 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=j9rMqMzziPBG66zzSo6AyqknRc91sFEhQHJFsmE6nzg=; b=762nyUUUP9eTxaItKAik/TRrsj62zTb2lQlaflWMsqPAFYqhiNIc5NZ95f8t9VN9gj89Ln B/RWEIasyvfYYdDw== To: Lyude Paul , Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: Early boot regression from f0551af0213 ("x86/topology: Ignore non-present APIC IDs in a present package") In-Reply-To: References: <3d77cb89857ee43a9c31249f4eab7196013bc4b4.camel@redhat.com> <20240418082703.GCZiDZVyra7qOQbyqn@fat_crate.local> Date: Thu, 18 Apr 2024 21:13:34 +0200 Message-ID: <87plumxz4x.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, Apr 18 2024 at 13:20, Lyude Paul wrote: > Just gave it a try, unfortunately I'm still seeing the same result on > that branch. > > One more piece of information I apparently missed when reporting this > yesterday btw: I noticed one more kernel message that comes before the > panic that's probably relevant: > > ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 Can you please apply the debug patch below which should make it boot again. Please also provide the output of the files underneath of /sys/kernel/debug/x86/topo/ Thanks, tglx --- arch/x86/kernel/cpu/topology.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- a/arch/x86/kernel/cpu/topology.c +++ b/arch/x86/kernel/cpu/topology.c @@ -176,6 +176,8 @@ static __init void topo_register_apic(u3 { int cpu, dom; + pr_info("APIC ID %x present %d\n", apic_id, present); + if (present) { set_bit(apic_id, phys_cpu_present_map); @@ -201,10 +203,7 @@ static __init void topo_register_apic(u3 */ if (hypervisor_is_type(X86_HYPER_NATIVE) && topo_unit_count(pkgid, TOPO_PKG_DOMAIN, phys_cpu_present_map)) { - pr_info_once("Ignoring hot-pluggable APIC ID %x in present package.\n", - apic_id); - topo_info.nr_rejected_cpus++; - return; + pr_info("Hot-pluggable APIC ID %x in present package.\n", apic_id); } topo_info.nr_disabled_cpus++;