From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web11.990.1655170005845347351 for ; Mon, 13 Jun 2022 18:26:46 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=CmbUUvdT; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: hao.a.wu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655170005; x=1686706005; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=1OHVBl36Gg+LFfbEI50Z0dXZiz0BLmGbCqvAGi5NmoQ=; b=CmbUUvdT/pfZeFlk2Hf4h4CAIUa2GddOoDKVXeTZxlZR3jRoTCN2Yifk FPP4sXffdijvX0yfvju31WyNlj1/X+xyFD618DjS+5U0BKcRlqPg+p06k 5dF+lBHfG4yEC/zZH9UrbPQeTt4BR7oDEzrdPQU91mkmzRhwPYaK+Jo+4 Ni5AdQ1h9d7JKVK1BtsXDUtvJCWTPCUtwAiKxLq8mHYpHVyeZZClff5Ku ai/PMiSLysvgoBD6mQZQ1gWLDFrCVuvI9mYYrXJNwGzbZUDdFi3hfOxWc QlM9/McIt3BvSAvxzDhWebkqlUSxN60oGuEN3j/J4upgA4YGm/HLcQHTO w==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="277240430" X-IronPort-AV: E=Sophos;i="5.91,298,1647327600"; d="scan'208";a="277240430" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2022 18:26:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,298,1647327600"; d="scan'208";a="726556247" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga001.fm.intel.com with ESMTP; 13 Jun 2022 18:26:45 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 13 Jun 2022 18:26:44 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 13 Jun 2022 18:26:44 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 13 Jun 2022 18:26:44 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.177) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 13 Jun 2022 18:26:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eLSWjPSMt7vEIlDE3ymt0w7uzI33EIKz20gRSpGIFzbjrlH9JxXENEHPVnVefpMPAdwNWIE5s/q3EA1PiJ4CpXDkeVM8+cjeeWY54AAWsLEdlA8LPCKoCMlwhBaLrmYy5p0I1V/FM89mTWvUhSy3U9dkNVU9qqiUG7EiIyykZMAVgzAFrgjRlT/YVFBCJRUgJjUyvPDr09e1bFzLl9+WJNA04V3Ae35rLHabYDzW4ZJaa8M8DUbLpnKM56jCEgAGivFS4GV11EYZmuHsT9IBmMayRqK5n65sRn0DCEHwYdwFGIlNvTQllpiWqi8748UEGU0z1A0xowZ5bLtEUXjVUQ== 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=lfH7SWjp/pKlZ4Qng6aor1/dQwRZ16SdQBpBJR1QnQI=; b=cAkeeEorXBwKueoiIwXSyEUHGWSJb1hneGcSACQtuWoajmG1WZmQJZdaxwDGTY5nLGEdeFBEK81S8l659PULN5gxAF/3u3RXJobkHKYBMdunXXVMNffz2dBUWVbmU8Q2RVqPFdIJBDEd2MQUGVZXDEvM1CVgXzQKZaWD+suimcA2l9ue4NvgDaimux6gl9s+YF9BjBG0nEHEWW91TIxmHdpUlocvEdZxgCmhWKsCjjwTCsDOiLellVDmLbPDrnz5e2bY9aRfd8JoLhPFgK09QNOXz/YIvqUlY7zJ+YeKxxgNwsHM9RzRxMM61Cq6xN/LM+Pci3wyveNU7r2ta9nxwA== 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 DM6PR11MB4025.namprd11.prod.outlook.com (2603:10b6:5:197::31) by BY5PR11MB4385.namprd11.prod.outlook.com (2603:10b6:a03:1c0::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Tue, 14 Jun 2022 01:26:42 +0000 Received: from DM6PR11MB4025.namprd11.prod.outlook.com ([fe80::c473:f30f:6b1f:c5ec]) by DM6PR11MB4025.namprd11.prod.outlook.com ([fe80::c473:f30f:6b1f:c5ec%5]) with mapi id 15.20.5332.020; Tue, 14 Jun 2022 01:26:42 +0000 From: "Wu, Hao A" To: "Czajkowski, Maciej" , "devel@edk2.groups.io" CC: "Ni, Ray" , "Gao, Liming" Subject: Re: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support to EDK2 Thread-Topic: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support to EDK2 Thread-Index: AQHYeaNXP5Y4C4midUijTO6pznPC7q1GVVjggAcA9ECAAMT+oA== Date: Tue, 14 Jun 2022 01:26:42 +0000 Message-ID: References: <20220606124529.2152-1-maciej.czajkowski@intel.com> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07520bf9-ea42-43df-0bd9-08da4da4effe x-ms-traffictypediagnostic: BY5PR11MB4385:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hdz5NA+2CyA4bTNAdRECVk9oYLO5HPl4Ac0wLv8DI5gw9YX9f9i0dkDf06VmFCpn8tFbL4nI7utbsTM7tqIpj8rGOMNFJgl6lCL8u9yw436UIV2BYViCW51ViK7w/KXk25CLciKkRrkU0R1nNOFYNgAh1lqCYXIRebt3IMX9xXg0+Vuq7JryhhIiLgcRgjnwUUC8BMa3pab54/Jq6VmkLqqlH9ZK0qHO6mpWnnbJG1LbITcoU/yeRu4cyOpuhVsUMUnhPDOgdRsf5D+OtAoSaafozkWyEwQbntO5b7zyGwX2/ULAf6tIA7PbA6C4KPFPHXbh7P2J6lN5Fk9uRtoTfvULyWNeB7p/CtEIZGlZW08QR1nuzLLRODEZI6bsnWXwB0u5KRVbvC03DBIJBRa2ztj1ytW8zm5a6RZk6Yba7732p1PV7kFArOjR+TlcUS1SPE7pdezArAZgMRiicD7dCSB8kMajC3K20nobuUFddCZQGs7oQQXF8Vl7NvMJIUGnyw9iXEfbLUQy5QUaE/I1kMXHsb3eTnQEDv9LwT6K8qwMOoZyPLuJJrvgsQSF++Dfo0hjRUxIyKniR/GDTAzCshT5GoNlUEgmg8KVptx3wxs3Uc7fRCpNE89CeDxRGAQo48AZYcpr1ObrtA4vfhekKDb4Vvclmz1/KTGmmhcXaeN1YrAETZS58BDipRI1V0sM+ohVIGxz5F4Cyr+MkAfa2JZQXtTutZhTKXjxuYEuB1ePwIb0hC7Ef5LFl5plWBTBrj1iikaCdhvJpTL6LIFJ20REo0q7VBN/Gi8ZZUpaWL41dpxNauHsV4sSxxtOMtNtzz5G6dnUavDgiIZJsYyVaw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4025.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(5660300002)(7696005)(52536014)(83380400001)(9686003)(6506007)(53546011)(26005)(966005)(508600001)(33656002)(38100700002)(8936002)(66556008)(64756008)(66476007)(66946007)(86362001)(38070700005)(316002)(186003)(54906003)(110136005)(66446008)(71200400001)(76116006)(4326008)(8676002)(55016003)(2906002)(82960400001)(122000001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9+zDBok9ps8g9xfp8pp6N66G3yzeq0l+eA8s9YNk8VoHK0ksK/NATYJVUO5B?= =?us-ascii?Q?U2EqyJqvKPV1EJPUnrtBTRKKiyVmNgtCYrZ654MhgRXDWog61DVVmsWPNb86?= =?us-ascii?Q?lIYYHZoo9QBAcUQIBfxVMgJiGf5GRwOAG9PVapry3MFUVTpGg015ypgfgCHk?= =?us-ascii?Q?TCaVVxz6m/eKQJ3keCXFht/I4P6KAOx1lYtm+Xa6jX52AIpzowEkQ5JbXWhc?= =?us-ascii?Q?tfFVgFnEBYzgnVAcs/CIN/wrigmyljQE/iQzhVlbZLpvsgTBaKq/LjILoMx+?= =?us-ascii?Q?vBjVLw6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?= =?us-ascii?Q?5eutJI7n/mAcKq7NalCjLQX7Sc6cwFjg5itNv18GlaxB072UFnVa2LB0Rtdt?= =?us-ascii?Q?jmkVeYTsnnt4/9BtTb1wDERAgrMB9tcl/fiIb0C4emnMfeY15btL+bP8unG3?= =?us-ascii?Q?qdF3B3e32G996ao6lqMRs2nKcFpVbNtGB/ux1+FA2YJ/WrOopIN7GC/nZ/Y7?= =?us-ascii?Q?DcimmUa/TBpE42C8wWncHJCNwwG5IZbm80krNfmQ/ZWt6u0GWzFS9yVk0Yt0?= =?us-ascii?Q?7PBXNHIzVhyVDYY1tY6mrx45aCn8n3xAFIA0QrWq1zOz3s9lmt6HPcGwfgGd?= =?us-ascii?Q?NpAJOOeTQFMHCbgRV5uOkGTQq/EeMX6w0ilfZzxWPR95LsFq2oKl4cRMDaad?= =?us-ascii?Q?IvrjicSHpIggmHcQTAr16dzFnrBSheOAeZGmwvmJuU0yxaSIGnBe5JhmeIXY?= =?us-ascii?Q?J+lY/9KCIzV2I13ppjb7uVs+obxk1D10gPCce05rrvpsj/MyJwU4dWCqUQL6?= =?us-ascii?Q?0ktKzQOVTmFh3NQh3mhJ0OjhpxdOkr8XbYc4a2cRbaKgYonBB+335801bvA4?= =?us-ascii?Q?vHHXAQL9MA=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4025.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07520bf9-ea42-43df-0bd9-08da4da4effe X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2022 01:26:42.2256 (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: Mf4yIRnyaXFpXsukrd82JHCvUyHIgQ6tg1COWyCITbp1gUGro4/iUvhW0ZQVEKq7PXaEtXGxJOwOpx3YLdeaMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4385 Return-Path: hao.a.wu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Got it, thanks for the information. I am fine with the plan. Best Regards, Hao Wu > -----Original Message----- > From: Czajkowski, Maciej > Sent: Monday, June 13, 2022 9:20 PM > To: Wu, Hao A ; devel@edk2.groups.io > Cc: Ni, Ray ; Gao, Liming > Subject: RE: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > to EDK2 >=20 > For now, the priority will be to add the support for AHCI and NVMe. Howev= er, > in the future the plan is to have support in all of these drivers. >=20 > Regards, > Maciej >=20 > -----Original Message----- > From: Wu, Hao A > Sent: czwartek, 9 czerwca 2022 04:47 > To: Czajkowski, Maciej ; > devel@edk2.groups.io > Cc: Ni, Ray ; Gao, Liming > Subject: RE: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > to EDK2 >=20 > Sorry for a question, if the EDKII_PCI_DEVICE_PPI were added to edk2, > would there be a plan to add support to: > * NVMe > * UFS > * SD/MMC > * USB (XHCI, EHCI and UHCI) >=20 > Best Regards, > Hao Wu >=20 > > -----Original Message----- > > From: Czajkowski, Maciej > > Sent: Monday, June 6, 2022 8:45 PM > > To: devel@edk2.groups.io > > Cc: Wu, Hao A ; Ni, Ray ; Gao, > > Liming > > Subject: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > > to > > EDK2 > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3907 > > > > The purpose of those changes is to introduce the way to enumerate and > > assign resources in PEI for the systems with more than one PCI root. > > Here is a need to have an interface that will support such a > > mechanizm. > > For now, the part that performs the enumeration will be implemented in > > the silicon code. > > Sample code can be seen here: https://github.com/mczaj/edk2- > > platforms/commit/d443062e58f9fba228869b54f2546d9735b3b506 > > > > Cc: Hao A Wu > > Cc: Ray Ni > > Cc: Liming Gao > > > > Maciej Czajkowski (2): > > MdeModulePkg: Add EDKII_PCI_DEVICE_PPI definition > > MdeModulePkg/AhciPei: Use PCI_DEVICE_PPI to manage AHCI device > > > > MdeModulePkg/Bus/Ata/AhciPei/AhciPei.c | 615 +++++++++++++++---- > - > > MdeModulePkg/Bus/Ata/AhciPei/DevicePath.c | 44 -- > > MdeModulePkg/Bus/Ata/AhciPei/AhciPei.inf | 5 +- > > MdeModulePkg/Include/Ppi/PciDevice.h | 32 + > > MdeModulePkg/MdeModulePkg.dec | 3 + > > 5 files changed, 493 insertions(+), 206 deletions(-) create mode > > 100644 MdeModulePkg/Include/Ppi/PciDevice.h > > > > -- > > 2.27.0.windows.1