Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13329547rwl; Wed, 4 Jan 2023 06:47:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXuxKjJ/fT9IIxypdG+3KciSEHfrj6TAmy4FsQVHvLC943UUpgOKgGmtdDhVC6l2HZzXXp4J X-Received: by 2002:a05:6a20:4c92:b0:af:8e92:8540 with SMTP id fq18-20020a056a204c9200b000af8e928540mr49471779pzb.1.1672843656705; Wed, 04 Jan 2023 06:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672843656; cv=none; d=google.com; s=arc-20160816; b=Q51Afsx7aFRUnMAmXnJyXuwM1c4MV6xdeyxUXctDg8k5lpDmUpVABR6FOwPJxzC3Fy rIH44OAhH0GmsuyWmfEwG/B+c4l3Awt5iYzIZgwlSVT2bkuF4mEUbbDYqIU3LJMK6PLa 5Ps18RmDP7ibqEmOCEed5LYuH/8JLFpJPVLf0wvcU311E7xd2Zyim4iATXTwvjtKFgns nKAH2TW9HVMFsnCpMva0OK0YS+7jqTJTAmfCJwYtTpDvS4mpLzWKjeG7HmEiMG1W9D1z 4H/E0F8N0cbq4k4fZzLeLnwWhTMw58gcdS+zKWLBHciz9Lr0+OZubNBG9TI3Uv40wwcc 5eDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject:from :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=6ZofUMm+cxxUEzHHPkg7Pjvp3X9FLpspJ38PZ2T64bE=; b=p6elgfyvcccsFV/CnGiik3w0CmAuO0SSgg2VTvh27egdbjRapweNJPr2rw2LqacXiD sGlqbauB38kvan+ODFTAQqaIwJz76Ai/0svLLuQ+yPb9uQ5pV5v5q9v/JwlZD0AMTiIM b8XYow/9jZYmAeRUG5PZQ4uFziZDMT5Eicz3ep6VVmxVHCJD7JaGhDF4rrt9cmduQJK/ Qr0sAeHUBA2ohm31ERch3o38NgVEqJACGi4j8GJN8yiaEh7Wog3edrTdcrfE2yCyO/ic fZ9XroP96qsWXyvFYf6IitTCevS1ScBsuSoTZy2hEdx8fcvEiK9mFrpV1Q70+pjpveIU +q2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d7+jhHiN; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a056a00168400b005806cbac6d1si37674073pfc.71.2023.01.04.06.47.29; Wed, 04 Jan 2023 06:47:36 -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=@intel.com header.s=Intel header.b=d7+jhHiN; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239489AbjADOko (ORCPT + 58 others); Wed, 4 Jan 2023 09:40:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239730AbjADOkD (ORCPT ); Wed, 4 Jan 2023 09:40:03 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6FC4FCEF; Wed, 4 Jan 2023 06:40:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672843201; x=1704379201; h=message-id:date:mime-version:from:subject:to:cc: content-transfer-encoding; bh=6ZofUMm+cxxUEzHHPkg7Pjvp3X9FLpspJ38PZ2T64bE=; b=d7+jhHiNGseyYNMEicxWdbL3SQW78RCCUCtR5j/YITsihLPyX7ErA1Vo 9bMjVjFlOlvG7tP2j9vS79Z5TmOeCCtfHyLgW0vHolBeqgIjJoJHYwzvU IgElgIaZFDr2L93z45qFOgUiK26PyKUgAu2+McTK3M9unGhBNHGDeofGj iGlrtFv9XkU84josEzp86dT2lxZpdTKZxTATB5/M4e0tJieY9eV2cjrPi Ad1hwM3a84vFDdRE8lrF+6oKJWsWHaEdrxT+P0HgtLqFD24lmYUJsviCy oIy4Qa34cpCNXHHXElV+0OwB6lcmHxopYSPNQ/ErBHYTqtdfBcjCWNkXy Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="384237996" X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="384237996" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 06:40:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="900574761" X-IronPort-AV: E=Sophos;i="5.96,300,1665471600"; d="scan'208";a="900574761" Received: from linux.intel.com ([10.54.29.200]) by fmsmga006.fm.intel.com with ESMTP; 04 Jan 2023 06:40:00 -0800 Received: from [10.252.212.169] (kliang2-mobl1.ccr.corp.intel.com [10.252.212.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id C36E4580A8B; Wed, 4 Jan 2023 06:39:57 -0800 (PST) Message-ID: Date: Wed, 4 Jan 2023 09:39:56 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US From: "Liang, Kan" Subject: Bug report: the extended PCI config space is missed with 6.2-rc2 To: bhelgaas@google.com Cc: hdegoede@redhat.com, kernelorg@undead.fr, kjhambrick@gmail.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, david.e.box@intel.com, yunying.sun@intel.com, Kan Liang Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 Hi Bjorn, Happy new year! We found some PCI issues with the latest 6.2-rc2. - Using the lspci -xxxx, the extended PCI config space of all PCI devices are missed with the latest 6.2-rc2. The system we used had 932 PCI devices, at least 800 which have extended space as seen when booted into a 5.15 kernel. But none of them appeared in 6.2-rc2. - The drivers which rely on the information in the extended PCI config space don't work anymore. We have confirmed that the perf uncore driver (uncore performance monitoring) and Intel VSEC driver (telemetry) don't work in 6.2-rc2. There could be more drivers which are impacted. After a bisect, we found the regression is caused by the below commit 07eab0901ede ("efi/x86: Remove EfiMemoryMappedIO from E820 map"). After reverting the commit, the issues are gone. Could you please take a look at the issues? Thanks, Kan