Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2692673rwl; Fri, 6 Jan 2023 09:41:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsIvpDdZrugy0+AhPpIFhdJv7rfrhiUHolmRGDFnDInjzVFa1E62SIBH3ovfqsb5LGTadOE X-Received: by 2002:a17:907:a407:b0:84c:7974:8a73 with SMTP id sg7-20020a170907a40700b0084c79748a73mr36722097ejc.57.1673026885996; Fri, 06 Jan 2023 09:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673026885; cv=none; d=google.com; s=arc-20160816; b=0XFQmJNAKlKpiQM5K8FPc3NQc44yXWx6o9Nu0SHCYi5stq5opKU+7iiXH2cjfXAFZK UddWDUzrSyxcvtd5MlerHoKd00jwn63d1ZW9oJXHoFPRV3eZbBGwsWVyaklZVw8EXyir xiodDmB+30wkDTXTPKLzc44VGYva87JS9HB53tux0Ivt+sTULAqUlN8XgdOwDT14Sx25 wMj1i4xeWiBV64KzzFcZH4PNIFFfOOY9UynePa9iHV5+nL3J+rny/I5ZAs5/F4/+9KYT Li4d2m3Ph9KdLSi7P4E2h8vFzhb5ZxdSgl41u6JHZR9WPY+fhpPZ5OIflcPzRaVVLlxp H8EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=GuJE7qXXr/Y3SS2LaJmpeDpA0XwL2kZOnUVkZspeJ00=; b=heyyCcAGfm6XjPIiaiSKda3sxiUGZ4cx5S3BOqTxXFukx0158+t4gX799z0Efo7XDC j0fpwWX+O9CiKzxwjCsjzjfgih4Hf99hldQjl0jEdEvdWF/ot1VgTNxKeUZsQVbivUFp RfDFYiS3G44yzLCx47lDr3mOcdsLw6yRDXKAd3bCBEin8Hta9i8oYN+7JqfinZW7XPLB t7hmg1Nc1tJyBwrdj0TevQteJRH7fWb1c3QkjRl8VRUA/Dt3ayi4O1O3LkFSSGFS7LX2 D7EfhpeeZT4LCUZt7ZK5UzGMdgHzdZcmHzpv8Ri7MyIET6uq7PT2GZZS+3U0D/H3BtUR e13Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j7qy6DKR; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn25-20020a1709070d1900b0078d112eaf80si2229319ejc.86.2023.01.06.09.41.13; Fri, 06 Jan 2023 09:41:25 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=j7qy6DKR; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235599AbjAFRdu (ORCPT + 54 others); Fri, 6 Jan 2023 12:33:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235039AbjAFRdq (ORCPT ); Fri, 6 Jan 2023 12:33:46 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5C8BC01; Fri, 6 Jan 2023 09:33:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7BFF961DA3; Fri, 6 Jan 2023 17:33:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA690C433EF; Fri, 6 Jan 2023 17:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673026422; bh=GOJUwq8EqcG8L01e1DER1N6UxlUAS+PeczRwJOfMKv4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=j7qy6DKRFIQeNtVNjHN1UrI5L6ioL6SgpSAgEoH0IwFRD5z/HsZRN74JEQyEGiDBb EpNqbINPNI7MLSU+5FkS1MD6QqY3M4/j19SpsBXfkf8z69Rfd8CIQz9r/hqpwNUdQd ER1TXyhFbOzZxrpdfsscVquVTsHalOb1BMf5an93RsmfUAyYNOJWfM5tU+wtC+kKEz YlalTIN706+44kDdh21KV0A9tVa6VwcSOkkROq0Pu/moue1JZDQXOGTRl9zXiEy+jw g0Ebp8bryTsgYfGKqHyHfeMOiYzosu5fqH0ZNn0bXdwuNOn4iH4NwuTtQTfF3BjuVv aF9r94bHKWXcA== Date: Fri, 6 Jan 2023 11:33:41 -0600 From: Bjorn Helgaas To: "Luck, Tony" Cc: "Williams, Dan J" , "Liang, Kan" , "bhelgaas@google.com" , "hdegoede@redhat.com" , "kernelorg@undead.fr" , "kjhambrick@gmail.com" , "2lprbe78@duck.com" <2lprbe78@duck.com>, "nicholas.johnson-opensource@outlook.com.au" , "benoitg@coeus.ca" , "mika.westerberg@linux.intel.com" , "wse@tuxedocomputers.com" , "mumblingdrunkard@protonmail.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Box, David E" , "Sun, Yunying" , "Jiang, Dave" Subject: Re: Bug report: the extended PCI config space is missed with 6.2-rc2 Message-ID: <20230106173341.GA1234930@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230106004744.GA1186792@bhelgaas> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Thu, Jan 05, 2023 at 06:47:44PM -0600, Bjorn Helgaas wrote: > On Fri, Jan 06, 2023 at 12:22:09AM +0000, Luck, Tony wrote: > > > ...and Dave, who reported that CXL enumeration was busted in -rc2, says > > > this patch fixes that. So you can also add: > > > > > > Tested-by: Dave Jiang > > > > Also seems good for my Broadwell/EDAC system. > > > > Boot messages mentioning MMCONFIG are: > > > > $ dmesg | grep MMCONFIG > > PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0x80000000-0x8fffffff] (base 0x80000000) > > PCI: not using MMCONFIG > > PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0x80000000-0x8fffffff] (base 0x80000000) > > PCI: MMCONFIG at [mem 0x80000000-0x8fffffff] reserved in ACPI motherboard resources or EFI > > This part looks ok. > > > PCI: MMCONFIG for 0000 [bus00-7f] at [mem 0x80000000-0x87ffffff] (base 0x80000000) (size reduced!) > > acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge > > acpi PNP0A03:01: fail to add MMCONFIG information, can't access extended configuration space under this bridge > > acpi PNP0A08:02: fail to add MMCONFIG information, can't access extended configuration space under this bridge > > acpi PNP0A08:03: fail to add MMCONFIG information, can't access extended configuration space under this bridge > > But the rest of this still looks like a regression. From your > previous dmesg log: > > PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0x80000000-0x8fffffff] (base 0x80000000) > PNP0A03:00: host bridge to domain 0000 [bus ff] > PNP0A03:01: host bridge to domain 0000 [bus bf] > PNP0A03:02: host bridge to domain 0000 [bus 7f] > PNP0A03:03: host bridge to domain 0000 [bus 3f] > PNP0A08:00: host bridge to domain 0000 [bus 00-3e] > PNP0A08:01: host bridge to domain 0000 [bus 40-7e] > PNP0A08:02: host bridge to domain 0000 [bus 80-be] > PNP0A08:03: host bridge to domain 0000 [bus c0-fe] > > That MMCONFIG space should cover all those buses, but something is > going wrong. Tony, would you mind collecting a dmesg log with "efi=debug"? I want to see the EFI_MEMORY_MAPPED_IO size and what we remove from E820. Bjorn