Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1349491rwl; Thu, 5 Jan 2023 12:14:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvg3fV6D4CkY1+4q7aoeEi2w7OgLH5HwZpWHoCsiH+q9zZUS/Hc/OTkbkjyk90lcjxtzcy9 X-Received: by 2002:a17:906:57c4:b0:844:436f:8f01 with SMTP id u4-20020a17090657c400b00844436f8f01mr39194870ejr.17.1672949650032; Thu, 05 Jan 2023 12:14:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1672949650; cv=pass; d=google.com; s=arc-20160816; b=VMOxQ1gvoW+dbKsf7QEI/Alk0kY09zgniqCzlH0A6ihJBxeV4bbezLiuR4skUl4g4z 1uFHWa62IXRbGIF5LZTfTM7wW5ocwAarfWyZC7zIxw0owC+bqYF6P6W2Pp5SgA+WvcTI 0i/2AH92GOVZPL9OJgugz8E+Ip+X1YgLZ/zOZ/Ii1HwBO4lrv8dY6BcRawUq697NdC5m DxYUYmTmIdzZx9ejEAWfp3eL+2R/apdy3rW96HLa6wM6pOpPD8ka9jx5es2Pz3/pmjOq FUMn5etacZif346dfHqKeMm2nMzu0bcx2fpEKdZeAvagz1zCzJSOYLaz1KQstf9AXQ76 9KZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=1OsxlTHvV+XntyRBIk8xVWGNI3po/asY0ooi3KXef8c=; b=YeMYsp+1QC941mWGwc+sXLW7RFwPrQJkARi7hWFTubx/cpWMOBMXY5uSoqGyUcnuM3 9tnxnYqLSVzpN4j/6+OcfA4E/QT3TUW38IwTOOxgT9PfEcgs9DhDar71H0pa9Xh+MdGl fvh+AqcUNxXfvMsuGrbICMj+yN49m2depUHkxAChZ89IABNGgmbwjzMr2o6WF/hWGJYo IZzrnjUwv2zg4Tn6TYgYS7VOHJme+//7Q9EuATPZlwtN+l22wje16B2EsyAjvXnpmbFY fLL6jiA2FO2Ev4+Kg7HKv1tbbgwWyrIMYiNVRc6lDaT+OWEJKWrcYDmHmHTajIGQHhgv LxcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AmqyjGLZ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 hw20-20020a170907a0d400b007ae1052554esi25365237ejc.898.2023.01.05.12.13.56; Thu, 05 Jan 2023 12:14:10 -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=AmqyjGLZ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S235176AbjAET66 (ORCPT + 55 others); Thu, 5 Jan 2023 14:58:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232222AbjAET6y (ORCPT ); Thu, 5 Jan 2023 14:58:54 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A77AA186CE; Thu, 5 Jan 2023 11:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672948732; x=1704484732; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=cg/ngkdwTjUcY3EKp3A2rQ8pPgEdV+nrKoGMhncOxTM=; b=AmqyjGLZk1NxrBnUAkrmWXganOcg0X9kde4R3d4vgXnAI6yZImIqPNcW PJb9h4BIoxw2nzNWBfmNdBzN0m6dQ4O8kO91rQ6rhunZbZL2j9ULrncYS ibgywSYRXVtYuC/b/v8Z/UnJXb810AarfbrS4zgOr2I77Bdiob2Zn/WXP H0SUFbZV6wiJYtgrV8BDQH0uOxcPa6+jODFRD8ka2uoFGliMXGju6yVOP eTE37dTD2zfdX2LcR+sAzQASksSwQoYk3Np2vTffq4l+Hltr6AekjwEx5 V07IjYNA7phzqi39tlr7dE8rE5Nv5vQCuVBh6hstrwa0xgFTcr9YesPf4 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="302677608" X-IronPort-AV: E=Sophos;i="5.96,303,1665471600"; d="scan'208";a="302677608" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jan 2023 11:58:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10581"; a="605663709" X-IronPort-AV: E=Sophos;i="5.96,303,1665471600"; d="scan'208";a="605663709" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga003.jf.intel.com with ESMTP; 05 Jan 2023 11:58:51 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 5 Jan 2023 11:58:51 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 5 Jan 2023 11:58:50 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 5 Jan 2023 11:58:50 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.49) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 5 Jan 2023 11:58:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hvm+/FA/Agg27ZCU6GHQNIVkh9z1As37t8BhwNe29X+xK/tBv4hLumJrE9MGYkiLA1qMbYWww6GuZGVmbk99u151wi7zPmwrCp1xKNvExIikUuyGSa/XvODWOhoE8uJZnLaVQEYXjcj5PhPRAABIotzCei5x6fdw8obVTr2+lzMBptWhuxe4SNEpOp4OwGUhfJq0sh520/2utPqT/zCa1vjj+kwPnyV6wo3LjE0Tp3A7rMJnXzx45bsWP3XGDKJ4gxExnZ4iJvGCosqSACLuetLjCCHrcqukZpFnWe7AmF0LTeFIw4/awwVs+hX0WvcDh79qe61wc+owp091H3Co/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1OsxlTHvV+XntyRBIk8xVWGNI3po/asY0ooi3KXef8c=; b=K7EEmbkYhI3d/CHPcWwO8pfowBfrWPR6W/Lohy6lAo1MVxDpp5WZ/o+9t/beA8j8joF4Vv6hyqXg8DKFspTdtcpmjajFsxrW77+BerZ6p5Mn2tlRmh9Q/OL+iW6SMppEwj+skNglK0SBIfyVnPLxijpfk8jd/J8LIPb/kK4P/yOykC6+/15nzdBgFcLo2M/R0+vNPChKzq+nZ8HUf29O0c1QeuBk0/ZcWOauEqUb7wfiaojoWkUZ9NWd2VbREVtN8g0IDT05qWyWnOaT42c+9rO+e4ejN+mJk0xhhJbGAkkXs84zdNf9EdB9+ZxIrO0aaD0fPNXv2Adoj/IK/RKuig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SJ1PR11MB6083.namprd11.prod.outlook.com (2603:10b6:a03:48a::9) by DM4PR11MB6213.namprd11.prod.outlook.com (2603:10b6:8:ae::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 19:58:48 +0000 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::3c14:aeca:37e2:c679]) by SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::3c14:aeca:37e2:c679%7]) with mapi id 15.20.5944.019; Thu, 5 Jan 2023 19:58:47 +0000 From: "Luck, Tony" To: "Williams, Dan J" , Bjorn Helgaas CC: "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" Subject: RE: Bug report: the extended PCI config space is missed with 6.2-rc2 Thread-Topic: Bug report: the extended PCI config space is missed with 6.2-rc2 Thread-Index: AQHZIS5W8o9BItAAdUOkB8l+e5XlU66QHQ6QgAAH+QCAABTaAIAAAkWA Date: Thu, 5 Jan 2023 19:58:47 +0000 Message-ID: References: <20230105182950.GA1158496@bhelgaas> <63b7289cb7439_5174129445@dwillia2-xfh.jf.intel.com.notmuch> In-Reply-To: <63b7289cb7439_5174129445@dwillia2-xfh.jf.intel.com.notmuch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6083:EE_|DM4PR11MB6213:EE_ x-ms-office365-filtering-correlation-id: 192ff7f3-6f10-4eee-741e-08daef574201 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bTm6DTbJV9YR9wxdRfJwuk5yjaJrhao25oGzKB+Dyo7l46AWf8lOA5C2cVzihhzIW4T0ASgqz7xKKKme0BciexLOFmdLHmaG7PP1cldN0uw7gtvMOqzw9qQB7cvwAbJT9uBTviN3b5JqT/D2RghFIRHDKgk9qmHqGRpvymf/MYMYVVo0RgjN8smBnPC1s1NTN+mPWGia2g4dF9cMFMMN3OAypYILxTKAVf0xcqCJquxsfoHLcDM6+W7Zt9YTmTawffDaZN1kMxTGlvvtfbW6suoT7eX+oYSFdyARXvbDrl+QnStqoY+wgBM74Eb5uZkFChXa9/MyUNdHz0vvUGqaJGos4ZsiiHm1JENEcwWQHFuUi9nhJlzSmh/QAuFws4Y6M0IngIWdEVLORHTnMwVWIY0IjfcHpm0yhG2vh7nQJ4zHpeEf4+wFkw2Ks9lPM1ly0SrKOh39tbnLbTW14JF9I4TTGzKcFTtnfwETMEZ5EPWKZd4SZLnzyNTsA/do1d0t1CkSL1tmT2ZehVZ6E0Vux469c11Rh844tSVQrVJparWvOzZE+w28ggi6pvMGRKqLutNfwil7H9F4lTLPz2FOpKo7LVQV+PZYSgxPshNkx0BfR6Ek/z0VXC1Q1CxDwjP6GMS07ksCHOzUqxzJRCbsNW6z7Ex3QOtiOwDTpQrQpnK3yOi/jBk+r9v+Lq0Kb420qcfEdUalzkC4isNOJQnKlQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6083.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(136003)(39860400002)(376002)(346002)(396003)(451199015)(26005)(9686003)(186003)(38070700005)(38100700002)(82960400001)(86362001)(4744005)(122000001)(55016003)(52536014)(316002)(8936002)(41300700001)(7416002)(66476007)(64756008)(8676002)(4326008)(5660300002)(66446008)(76116006)(66556008)(66946007)(6506007)(478600001)(7696005)(71200400001)(54906003)(110136005)(2906002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?eoUynHebrSSdLz4IOEVo4jhIhQBNCuBUsPrXq1uL0D7pBQwCrPMjXnhqL2KT?= =?us-ascii?Q?hDGl/8U9gudn4lqmFMgzrWHf889q/plwkKwuMY3SYqO2bumul2Ehhat/pgwW?= =?us-ascii?Q?gOfsk0vEE9YtyTfeS/agHktxzkgg5fxDkJmgmIhbY8zJy71MKBzFqDZ4m6KF?= =?us-ascii?Q?0Q1DZSVGltz7xkieN52VNCL4MMuLJnJZcjztdW35UWFsxFDbCeOHkBgd/U0H?= =?us-ascii?Q?zvON7cqp1cYu56vDFad+bSo+T+YvPN2jGFf7CbcAcYb1Zdn2s/P6/HIFcFYw?= =?us-ascii?Q?7LE2UXN3A5BgzqEXFx5nPBTnkn437vH/wi/ZD9EzQPDkxWspP7LYHxi5Nbd1?= =?us-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7e1N09FhqU2tJGSHQqwdyjxfMp1Kj4udP?= =?us-ascii?Q?gT3f4/V5/H6vMFxK69QN1M6Nlwwh8Iphyjh2mwf/0LNO1z47FVPWUE5mBfHR?= =?us-ascii?Q?kIkaYFLDqmYYFCY+PemAtPu5xgMwgfgh4VueEb+RAZhaPujOgXiA5quT+bpe?= =?us-ascii?Q?CQMjSlUL+YFczwxYv2HXIQ9RjMO5pWBpVQCWN+tV3hlG3T9jjDw6rKtu4fCj?= =?us-ascii?Q?Xcv6j3n/vTAHC21AyTG9ifH4NpMiWiyTQxf8DCxUKCHrgnzWtBoNuSYNNhCn?= =?us-ascii?Q?Z9l2pLHzUG2nRFGeTgh5pEUnlhGpJ66GkJyxBS3v0d9LkevivbUsHeZZ/tzu?= =?us-ascii?Q?W/SH+AZNhQjQk9X7KUc=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6083.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 192ff7f3-6f10-4eee-741e-08daef574201 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2023 19:58:47.4306 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ET/wDxS9yidgRAHgquCirUDtn2Hf/cXLnZVg0lOvx4eUeSm6sDX5Rj6DBrMmbWXFQ34IfU3pTgaBjK3gi9dLQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6213 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 > Definitely an ambiguity / conflict, but not sure it is a bug when you > look at from the perspective of how would an EFI runtime service use > ECAM/MMCONFIG space?=20 > > Would it be enough to add this clarification in "EFI 2.9 Table 7-6 > Memory Type Usage after ExitBootServices()"? > > s/This memory is not used by the OS./This memory is not used by the OS, > unless ACPI declares it for another purpose./ In the case of the EDAC driver there isn't any ACPI declaration. It just d= oes pci_get_device() to find the devices it needs to use with a lookup based on vendor-id and device-id. and then uses pci_read_config_dword() to read various offsets from config space, some of which are in PCIe extended config space. -Tony