Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3385463rdb; Sun, 10 Dec 2023 03:48:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvxN8dvqw6MGSYCMEWwuJ3ahw7O3vDcw/+SSTu+LV0hG5CcCoNYhnzyiXOGhphltDgkbMY X-Received: by 2002:a05:6808:648a:b0:3b8:b6f6:4f6d with SMTP id fh10-20020a056808648a00b003b8b6f64f6dmr3616040oib.5.1702208920241; Sun, 10 Dec 2023 03:48:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702208920; cv=none; d=google.com; s=arc-20160816; b=Y8PKvMyI2jRlG0MQXqnffAN+dxzjH/qcnzK1tIvwJsyPFr6a0NVdT3uCr8f8Kunvhi JKogkn9Xlqp1NN/uNrorwv+qdz7NykJCS01cfo8c1qW3NUArQF77cK3ccmosvSaO6qtQ LcTtnWNIAzqWLE74uFBvrlHsk5iuU7G3GuCrwZF3hC5xfVaYK02KBwbwiR3n4m5x/CU4 FcGMdexkh5wzsEAeaoWPr45qLP/h3KjiM2zJjBi4mxhMCjCA0ESaHvEL2y858h5SOVUH IWhQ3eQT6xKoYQm5aRvXnMRb0SNB+i6r7YToUSlaCS4sAT9XBITYFqnp5dBo1aDfY3lM Wfgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:reply-to:user-agent :mime-version:date:message-id; bh=k3Hp9I3jnuYSduSReFthO5OxXJiADDLiFb3f+vPlkio=; fh=yzv7wwO5ifZtgCmFkMl6y431ASYxF5vx35BLmnnqmFs=; b=OtfCjvnqgU4Zk7TKyKMXtdiFyTL3IJyPuaAEIuFNVIPo9rzMovA4fpdaWEtcPXwQLY 1J5pEiuYfo68uPKIHygiK7mxGidlVEGYuvqyFQp9jRvjJuHh6/wFf+6G3G2Y3BfrKg89 HPr9KdHJjPnO2KAuc0Vu5MhHvZtr1vYpthlIF+YWWY6SZcCXmUDTh8yL2BqrhhAevf2B N3L9VAATUborKXLuGyizYI1uUuU2pZQSf9Bpx3maNUXj9+r7VGztB/9ij7VeRcRagoxi 4QjEB/qtmDu0NHFHKZlI96qBbfAUNj8VHn9YXuJE/G9EoAR650z8tKyc2PD3MzeB6MTJ td6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id u6-20020a17090341c600b001cfb4a3adadsi4586740ple.344.2023.12.10.03.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 03:48:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 955808089E70; Sun, 10 Dec 2023 03:48:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232537AbjLJLrB (ORCPT + 99 others); Sun, 10 Dec 2023 06:47:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232454AbjLJLrA (ORCPT ); Sun, 10 Dec 2023 06:47:00 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D57FF for ; Sun, 10 Dec 2023 03:47:05 -0800 (PST) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1rCIH2-0002L8-9l; Sun, 10 Dec 2023 12:47:04 +0100 Message-ID: Date: Sun, 10 Dec 2023 12:47:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Linux regressions mailing list Subject: Re: [tip: x86/urgent] x86/acpi: Ignore invalid x2APIC entries Content-Language: en-US, de-DE To: Linux kernel regressions list Cc: linux-kernel@vger.kernel.org References: <169953729188.3135.6804572126118798018.tip-bot2@tip-bot2> <20231122221947.781812-1-jsperbeck@google.com> From: "Linux regression tracking (Thorsten Leemhuis)" In-Reply-To: <20231122221947.781812-1-jsperbeck@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1702208826;3acb51af; X-HE-SMSGID: 1rCIH2-0002L8-9l X-Spam-Status: No, score=-0.8 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Sun, 10 Dec 2023 03:48:37 -0800 (PST) [TLDR: I'm adding this report to the list of tracked Linux kernel regressions; the text you find below is based on a few templates paragraphs you might have encountered already in similar form. See link in footer if these mails annoy you.] On 22.11.23 23:19, John Sperbeck wrote: > I have a platform with both LOCAL_APIC and LOCAL_X2APIC entries for > each CPU. However, the ids for the LOCAL_APIC entries are all > invalid ids of 255, so they have always been skipped in acpi_parse_lapic() > by this code from f3bf1dbe64b6 ("x86/acpi: Prevent LAPIC id 0xff from being > accounted"): > > /* Ignore invalid ID */ > if (processor->id == 0xff) > return 0; > > With the change in this thread, the return value of 0 means that the > 'count' variable in acpi_parse_entries_array() is incremented. The > positive return value means that 'has_lapic_cpus' is set, even though > no entries were actually matched. Then, when the MADT is iterated > with acpi_parse_x2apic(), the x2apic entries with ids less than 255 > are skipped and most of my CPUs aren't recognized. > > I think the original version of this change was okay for this case in > https://lore.kernel.org/lkml/87pm4bp54z.ffs@tglx/T/ > > P.S. I could be convinced that the MADT for my platform is somewhat > ill-formed and that I'm relying on pre-existing behavior. I'm not > well-versed enough in the topic to know for sure. To be sure the issue doesn't fall through the cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression tracking bot: #regzbot ^introduced 8e9c42d776d6 #regzbot title x86/acpi: CPU core aren't recognized #regzbot ignore-activity This isn't a regression? This issue or a fix for it are already discussed somewhere else? It was fixed already? You want to clarify when the regression started to happen? Or point out I got the title or something else totally wrong? Then just reply and tell me -- ideally while also telling regzbot about it, as explained by the page listed in the footer of this mail. Developers: When fixing the issue, remember to add 'Link:' tags pointing to the report (the parent of this mail). See page linked in footer for details. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr That page also explains what to do if mails like this annoy you.