Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4955321rwb; Mon, 31 Jul 2023 15:30:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlHljQ8Y37GY/sf+nDqqWuzdbAMAYN/ykORdeHZFQ8SU+c8Th48tSPEKNgwNpbFPbq+4lLAt X-Received: by 2002:a17:90b:1b4f:b0:263:fbe5:2125 with SMTP id nv15-20020a17090b1b4f00b00263fbe52125mr9575580pjb.15.1690842615098; Mon, 31 Jul 2023 15:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690842615; cv=none; d=google.com; s=arc-20160816; b=iidxmEP5JFJrTwb3is+V4ltnB+nQI+itUq3/rDl6Trv90lStSUJes6x985K+BiLVg+ 1PAsOnYQ5GeqBTG06urg8Wb9nrjGPlg0t7XIiNM99D977m5fhBxZpEwuNJBHXlJgcqfy ZaW3bC5J/DKUsAhse5FjYroCPf6SUXn4jYDrI0Q3SphbaunXNfcrKRDjissO7i7H7UZ0 hOTw7O8cJwS6kw+tJHZWIV1nFT8GkfNPqCQfXjvVK62tWKTwQKPeflgFj3wtbeQ/5L7L m4o3ZD58dr6BWuqnN2vRhbZcCJ72Db0Yi5R6kKEx6bLtdMpDj4RNXu74mpBOB+LNWP0U /8tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=BTxPMB3V133cgzwz17m6DmWwRtesGt+jhqpdIH5ALoQ=; fh=5adz2HQnpMCxK4ajp1zPSdYklcnBpfpcHzkKPXo9FXU=; b=d1PbXZAJubTBgI8i04me1tTwt2ghISMZ+ilgvn1aCoPElpf/hLDaF01lIIDApFdeve rSx9ZjKhb03U0v+o8rQ7UDoAqPBzhG+aMFnYKgAfCArvFF84Tc2475SsKVv6SrxxGV7F UVcaE7fiAjjrf2yv3jgkM8IX7BmILBkN9fpvb65CTF7Iemm5ENxCBFMjTNuZjAEBQGSJ 2+VHF8lO3/arUdJQ1c836viYbPFpM580bRHwGENod1E/1hZI4j6O7MIlMtpsw15nWh5J LS0SLFiea60eKcFT3Uhox/r2b+nPZ6swo+LI4ZvhvTVlO2/RNqONNFC8rLS738LBBnfh 39xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0G8BQSRx; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu18-20020a17090b1b1200b002680f4e8969si8129816pjb.95.2023.07.31.15.30.03; Mon, 31 Jul 2023 15:30:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0G8BQSRx; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229583AbjGaUlc (ORCPT + 99 others); Mon, 31 Jul 2023 16:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjGaUla (ORCPT ); Mon, 31 Jul 2023 16:41:30 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FC55E75; Mon, 31 Jul 2023 13:41:29 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690836088; 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=BTxPMB3V133cgzwz17m6DmWwRtesGt+jhqpdIH5ALoQ=; b=0G8BQSRxV7478DeJ/esCuK54evV9NQCPC4ID96ymAA03ofm8kvZ4nsCn+DSgeW8XJsJY8W zq+UbN2szW1PdZUdeqsbf36Zf7VLeoc4xsqb8PJ+iBS2a0D0IbQO+j1XWWCQrDosRG3Ryi IQW4zSl88x4G+daZbw5QVfdTPYrwM9RWEOqrIvQh0cWhcVTsMVZ0lUlJGeNE/chKw4FY9p g65UGbWCbjfotggxaInr71hJBvC1Ny43kpiio468+BQwCCC4rTesKnIlouhjuqAFlcP693 QrvjJtK35uy1mUdxLSDHT3KtzKBMe8hU8Iys9QYd+yqqXpbtMgNCHmo2/8DKCQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690836088; 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=BTxPMB3V133cgzwz17m6DmWwRtesGt+jhqpdIH5ALoQ=; b=/FhSHnIwquFqCkm7XmxX3HCzSElSAB8dpvKfGEw71LcWF5A9ynlFHoO5mKwt/pnm9jEBod QbfR97sGl4l9hnAg== To: "Michael Kelley (LINUX)" , LKML Cc: "x86@kernel.org" , Tom Lendacky , Andrew Cooper , Arjan van de Ven , "James E.J. Bottomley" , Dick Kennedy , James Smart , "Martin K. Petersen" , "linux-scsi@vger.kernel.org" , Guenter Roeck , "linux-hwmon@vger.kernel.org" , Jean Delvare , Huang Rui , Juergen Gross , Steve Wahl , Mike Travis , Dimitri Sivanich , Russ Anderson Subject: RE: [patch v2 21/38] x86/cpu: Provide cpu_init/parse_topology() In-Reply-To: References: <20230728105650.565799744@linutronix.de> <20230728120930.839913695@linutronix.de> <871qgop8dc.ffs@tglx> Date: Mon, 31 Jul 2023 22:41:27 +0200 Message-ID: <87jzufn79k.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 31 2023 at 16:25, Michael Kelley wrote: > From: Thomas Gleixner Sent: Monday, July 31, 2023 5:35 AM >> Define bogus. MADT is the primary source of information because that's >> how we know how many CPUs (APICs) are there and what their APIC ID is >> which we can use to wake them up. So there is a reasonable expectation >> that this information is consistent with the rest of the system. > > Commit d49597fd3bc7 "x86/cpu: Deal with broken firmware (VMWare/Xen)" > mentions VMware and XEN implementations that violate the spec. The > commit is from late 2016. Have these bad systems aged out and no longer > need accommodation? They do, but this commit explicitely uses the MADT/real APIC ID value: c->initial_apicid = apicid; So the new mechanics are accomodating for those, right? Thanks, tglx