Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3097914lqt; Tue, 23 Apr 2024 10:10:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3CsPVcZ5z28SfNT4bax9VFcx7Oo13Nai0MjTj84IV6XUy4P3fwagoRk+xVBGgg9B0t1hxN5KdDo+Kl2JJqH/avts5Jety1A4IBUJHIA== X-Google-Smtp-Source: AGHT+IHlyK8R+askiklXkcrTSDq36frVxivfwKWPs7nQCnOd/GYxgcGEyqyYdPudG7XSMoyZNJuT X-Received: by 2002:a05:6122:2a42:b0:4c0:24e6:f49d with SMTP id fx2-20020a0561222a4200b004c024e6f49dmr222531vkb.1.1713892256616; Tue, 23 Apr 2024 10:10:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713892256; cv=pass; d=google.com; s=arc-20160816; b=dXlnQXZs12v/7pIvbmwqfQz+X5D6TiwJOr0R5m7kSOJPy0uErdiCwFuBRt7l7lEKhl uTZuoV1adeRAf8JiMnVqN9WvLlOo2qvT8VMbKeEuGWUqqcy1kHythcuZ8ql7UZWyBHu9 2Yc5kM5QSjjzpOhuGs8Rxyg4oSuUAnVs3xlodPZeCpkndLw0tN9T5VPUOdKYzyqQLCWG tvJcQJVoeG3f+FAfzuJgaVcaHYL+XLSLrBHJVw2x/Q/zJP/1ahKbcH80MdefAeMxBcHL QzIsHEYgNXGy68HyU94H4yFfFabeTkTgTz+Ru8R9AKea7v6gOgcCdMTtvjmyB5uxJC2+ l9LA== 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=618gIDoAvrtG832g7Ig9sZLsF6yOlG6yDNEwLvTsJLk=; fh=Yq9XNnTVecDx9sqhC0GBlFd0uGzJi6MUaKyn94/j9a8=; b=eZVFUjObrpIpDWwTIpWR/IzrVLSRvklrMI3jXusXL+jdnXHylGxO/Bf9pv+KKqAImi 1+IldvHXJSVcLzKLXse0Bf0RDrrUfv7YnSTbLp/V/mfFsgMsgfjmmQl/rZI0y+DyMB2k 29N2d+BjdGX/7ddGjVjTbySvyjpNFn5AKjD3mg9rz5WiL8gMGOls1m8+osElIGlf8Zn1 yhWE0CWUeCljzQ6DkK4SyrwgwFVZWt61Pfl9ZjIijYwhA0IfMHxxds5N7wmk+8+4CS19 toCD6uEu+CKmZdAxdl+LgeFDDjLKW83vsOP/R8Y3Yj0XIpN9UTisrZRe0MHmdVAkdeYQ 0M+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eqlPb8Ei; 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-155643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155643-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. [147.75.199.223]) by mx.google.com with ESMTPS id dp1-20020a05612225c100b004d8bbff9d74si1896926vkb.261.2024.04.23.10.10.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eqlPb8Ei; 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-155643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155643-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 544641C2214C for ; Tue, 23 Apr 2024 17:10:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C72F213E032; Tue, 23 Apr 2024 17:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eqlPb8Ei"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Oalr9nNL" 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 5ABDB13D635 for ; Tue, 23 Apr 2024 17:09:58 +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=1713892199; cv=none; b=LkBm5ht3sp4IM4N81kuXn3fkS+FrIi/SofKZzeaq8cNbt8H949kC2bkWfXu896ZazcbjQYb2rXFiXLZvOVDGl+7eZGX9VKjz0u05RzV0Juofbg1EkVylcU1h5ZnFeuFiIk2asOIKtVSJQg0VH/6Bh6P3ttMJB0zeHJfvU0DAXhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713892199; c=relaxed/simple; bh=0wFlof/RuBxq+GgYuTNGHU3YhlLUlaYRUw6ARvWr7to=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=NuG0KwQrMWrn6HZwICOfx8KhR3xsVlCUIB5bn9GdQSKmSBedvRB88ZOAXRON1m0C85P0BxsfoEmxcDofLU6Y1CsxztLlitqwmfr7gdhtmLMlsfP87uDAP4Cb7lGhs8dvGxzALPn1Uvo372FAcKnNRVzu7mi59iLJGrbMQKx8YXw= 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=eqlPb8Ei; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Oalr9nNL; 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=1713892195; 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=618gIDoAvrtG832g7Ig9sZLsF6yOlG6yDNEwLvTsJLk=; b=eqlPb8Ei79c8qSc7YPv9AMEvhUqEB4CF4faKP4luTf16zuCwIJ/7MgnzIn//80KDk/7aRj RXlfh3n3actUJVe6D2AShSysnhm3rFY0JGhqeWIVUZu65bEFo8dpqLaO7V8J3hYb1ZeSnx lFRn9Pl7Fm04MtnnN2HXS89PdWC1g5oAyx1f/hmcxauLWswPs4T6YvSQ5UX5ySIfZdeFV+ LfqJf9Thjo8KCZThkiZ1cZ279huoC/iv8b3dspquH/r+e06cK3GXN+AvwzAWYihdGknOLr Idufn0xBBoL+OdF1Zh+ZsgMjDmsr3bz4UjipuEVyJycK3YrkHL+Y0GWuRr6Kpg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713892195; 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=618gIDoAvrtG832g7Ig9sZLsF6yOlG6yDNEwLvTsJLk=; b=Oalr9nNLNdo2bTcYOVPU2Byw3HRfdGkkQWVB7pyDks4OYRRaFcQB7MXHnNRBa8+VdLUyCK vbmZ1JRM+znXfyCA== 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: <87le59vw1y.ffs@tglx> References: <3d77cb89857ee43a9c31249f4eab7196013bc4b4.camel@redhat.com> <20240418082703.GCZiDZVyra7qOQbyqn@fat_crate.local> <87plumxz4x.ffs@tglx> <87le59vw1y.ffs@tglx> Date: Tue, 23 Apr 2024 19:09:51 +0200 Message-ID: <87y194t38g.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 Sat, Apr 20 2024 at 00:15, Thomas Gleixner wrote: > Paul! > > 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. > > Thanks for providing the data. > > [ 0.089286] CPU topo: APIC ID 0 present 1 > [ 0.089294] CPU topo: APIC ID 0 present 0 > [ 0.089296] CPU topo: Hot-pluggable APIC ID 0 in present package. > > ACPI is really a wonderland. Second thoughts. I just stared at this some more and I really cannot figure out why any of this (including the debug patch) makes a difference or even sense at all. All the commit you bisected to does is to reject the non-present APIC IDs, but that's just an accounting thing. Instead of having them accounted as disabled they are accounted as rejected. So no. None of this makes any sense at all.