From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web09.5673.1655126400661314844 for ; Mon, 13 Jun 2022 06:20:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=jkpTZyRd; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: maciej.czajkowski@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655126400; x=1686662400; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version:content-transfer-encoding; bh=CIlXD73NSEofkd4mT8UUXGQjl98kS3fk0ooufp6bRqs=; b=jkpTZyRdom0UqIIpY4q9O2/6GPm36pk/wqK5W91HFI44riuunvoRVhwM zqp4A0iPWssu/EJrMAI7f/46JrgSxdncO1T8upNNJWc8jj+3HqCucZMZO EM8pg52IslNsis3IXWablJo3L6MMBFYW6BDZwqVuktQn60hVxkA1r6lMF muTSYt4dW0NHY5FPhAa1JvNmQems19908cy31cO7OLRKiI7ptgG4IWNQe /y0PxxiQXfM3WipQivioSFhjc2Arxbk6Fg44cjEY1bZ//48fQJtZdR/w/ 9hTo9R/QETReU/8CoZeZ3FCvMcEk+MBu2WJ67FsWKx/rym/e99YF1bUgT A==; X-IronPort-AV: E=McAfee;i="6400,9594,10376"; a="261316227" X-IronPort-AV: E=Sophos;i="5.91,297,1647327600"; d="scan'208";a="261316227" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jun 2022 06:20:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,297,1647327600"; d="scan'208";a="639733418" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga008.fm.intel.com with ESMTP; 13 Jun 2022 06:19:59 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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 06:19:59 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2308.27 via Frontend Transport; Mon, 13 Jun 2022 06:19:59 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (192.55.55.71) 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 06:19:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fc0/OwjSbHMoba4kIL6Caran72DqgkGfalcg8qMKILPANTnRs0j7/nzuX6eeKiHbPiO8vpfxzr9UZgKaYSJ9+tR4C31HNFszUWSTQfd1oipoy+VrCrTIcWNFZQ9LgGVJnAbGw+ELT6RqF3ajgzJu47EI0gzgoxbLmrQiwe5vjzpwPwHhtP7hCvxtJRUe4y7z3Jg9HQ9ZKNnd05hGLXqATWXAHPwlu5OnKnadUGudw3+sHpuPrBrZ1kkuihbxW0w0CR6J/F0cmPHVPviPekPEIcmShDa2wwaXvdNDs5sSKKBEcyjfc8//by3khfqncit9EP0gRbV8u5srt68jRuoGlg== 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=YoI3TVDDuih6Yp5t1Z31O8XIXUHaTx/SyOcFRqKlxc8=; b=GyxfIhDct/fNh3YuWvl7aLysM1d1GY8FtuV+Y803pVY49QrBHOI3jDT2nEgqQp+hygU4cH8qfAnLoithkpZfPkB+fQVFeE0PCpZC+10/w/gi8/fOBA3+WZwFflzkD5UZ94HFzPg5zs/jehP6FDSzxdQyBndA+WJpklAMtmHQD8jlJjc31dp8pLQKhyJjlFiqAq0rbbQbEs8ZOHC4mL07t7se0ygvOCJXRqhwF20uEHEc/ppe0bHyVFh0Spg9vdAf5na91orkuCvH7JfxiH6knDM/g3/81o/QJCZW5IRevNZ9x+lIu8nAxsy8qzAf6VwphIhmcUt/Fsh+VGTpk4RWkg== 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 BYAPR11MB3047.namprd11.prod.outlook.com (2603:10b6:a03:8b::32) by BN6PR11MB4162.namprd11.prod.outlook.com (2603:10b6:405:84::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.15; Mon, 13 Jun 2022 13:19:56 +0000 Received: from BYAPR11MB3047.namprd11.prod.outlook.com ([fe80::989a:5ac5:3970:6d5e]) by BYAPR11MB3047.namprd11.prod.outlook.com ([fe80::989a:5ac5:3970:6d5e%6]) with mapi id 15.20.5332.021; Mon, 13 Jun 2022 13:19:56 +0000 From: "Maciej Czajkowski" 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 Thread-Topic: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support to EDK2 Thread-Index: AQHYeaNXP5Y4C4midUijTO6pznPC7q1GVVjggAcA9EA= Date: Mon, 13 Jun 2022 13:19:56 +0000 Message-ID: References: <20220606124529.2152-1-maciej.czajkowski@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action 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: 6649e00d-d617-46df-fee4-08da4d3f6921 x-ms-traffictypediagnostic: BN6PR11MB4162: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: SBKNAzsdRNF1/VIRzQQiInTvQ5K2bAKurwZ6J3lT/hP17KZ4/lZvckApS7P9B+7VNyBax3uc2gsZiuqw3g7oLQj4l7cwyXtpAOLUO7tNHpd9Jcf8B2ONlfUlYj4vklZJ7QX9NPIAhEz8PKofIoIuDyEG3I/n0Ot3xKo0WhPUUMI+NWEnutdNKsk78HQbH5GS46IVw41US1QdTP8f38HlX2Hg3XTtkk5J5OEQ3fPc2I7PIrb0G6l9SLF6A3e4efSv1YB+ROR+xzBTClrUxjtA5bOEevyA5ipJk2usvug0UH2ieZxuaN4aY/ufAJq/9xyLNDXdLHVh4BOvdWfYw6bWKy2Of6pC7zOAaxuqDxbjpXDAzqlmfEzQp8p0ehtRcb44REnTdjPW4uHBBEyudluLDKtiiWFTeyYcMI/45OaRqy6wQWqPZQBcdCDo/iOt8qAnaWrdijLOQ4skFQ4GOfoUwgLy8tDW4P9nauM2tV45eZp/mVXZvgBDD5jGyHAjzJAPt0KfY7yXSmgnbsk1AmiSb1Fbw955drb5UXSr9H0MEb78ERD762y88EQQ6QNrZazgcigHkfEL2swUmVyGosW9uKsFSb1r56xaJ+wi/32Y6FQRQtynj0qU/P7JH63431HFtLkjrgBdRu74ECZF2/PsiDQrLCZ1gU5gVQLzSMFUdTpEJTnDNuoP1eb68nM1WQKFwPnikzNMCjuORIiotnmljf45ovhQcSyXHSQE2tkiGTZ9CSr0/g/oB5fVNn5K/bIThBHXAbgP+VcIUO2hMKRlpW6q8g2Au6d00H3cPp8G9xFtm52fJqFmM9Rw0buG/COaBjF1a6F7elEu90zmAqqxEg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3047.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(366004)(966005)(122000001)(71200400001)(38070700005)(82960400001)(76116006)(508600001)(8676002)(66946007)(2906002)(86362001)(8936002)(110136005)(54906003)(66446008)(4326008)(316002)(9686003)(186003)(26005)(66476007)(66556008)(64756008)(6506007)(53546011)(7696005)(38100700002)(83380400001)(5660300002)(33656002)(55016003)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3hjY3vCyF1nCiWN5V9k5JwvITy50CSc9f/tn+dMcXxeiMlBJyoOexq1lc6d+?= =?us-ascii?Q?wHVMu3+uAeCyG7UZImsu0LyQZBozWw3rxnWTVSlwl7y4jRnxQKcriWBlPkDy?= =?us-ascii?Q?PZwVfoeCMn6IycI8LB1MR/4WBDxliy0J+v3dkEV6cC2dm88VOMyZhC3sBxCY?= =?us-ascii?Q?73itunDBAEiHJm7SX08EhmgAdxISYd85n7qU2Pn7i1Ex56qSVp5JrrOI310x?= =?us-ascii?Q?5+KT/Sc09siLLkoWngzPgG6duy3nxh55MXggRWGj1W4HYLSlffzQYEthGlzD?= =?us-ascii?Q?unjW9lyFXdTUO137LA62WHNjwUl2HauI010jyaYQudzrubijuD0ngEF2JaC5?= =?us-ascii?Q?6+YLcEx9I/KX6L/4xJeOuOXJ5giogwP7x7IBquOq4GaNkfmUijlhnaHN/Oz0?= =?us-ascii?Q?ybTW/Eb71phtArQjYHjlAiqukYa4heJwvNk3AIZpVNxVdjD7+fyPFtK0wRWw?= =?us-ascii?Q?7x+M7MijHjxxw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+7J3tkmbCc6YfPN3eEl?= =?us-ascii?Q?VB3Z7HwA0BC/RcGQAhD/QrW38jAzVAi7YweFLJZ2ih8zKxrcVNPy05hYPpKq?= =?us-ascii?Q?ArEimMEsLTIDL8lS5hnaFH5wxyzMERv56zjP4AjEHuoftshabOFlWEJnLkCt?= =?us-ascii?Q?vZdwb/gT7zjgJ/l+ZrHMovqvbBZygzftVEeMx27qpsvOVW9kFtxS6BOC2Xdb?= =?us-ascii?Q?JW/e4Di3bp1MS7gf1ehTYrjxvgIsDgCmEKhG7YhrqZ4GWd4bR4XuA+sQXeKZ?= =?us-ascii?Q?A6sosRs7DKGU6Wo9wgW/vgLhDqMCliaKjbiv5yM0Jg5Tco1DylDYZ2KnCyma?= =?us-ascii?Q?TuJhKN68rrMSxazDOUMpzWwpyhfLt5KqfeSUR/6OEyWZmmBsV0nYLg4UwSwK?= =?us-ascii?Q?mRhl9vPpDp2PgWx8Etx1e7Afae4f/q8=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3047.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6649e00d-d617-46df-fee4-08da4d3f6921 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2022 13:19:56.7835 (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: 26mNx5iwU4SvRSS8X5y34BKQhLYuO5lMEl2bvhKvza5cYrYnIztFX3rFqs/JFnAH9Bqn5GCVb0l89P6dIFKBGi0lqiof+E+p8VFMKgf6J3s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4162 Return-Path: maciej.czajkowski@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable For now, the priority will be to add the support for AHCI and NVMe. However= , in the future the plan is to have support in all of these drivers. Regards, Maciej -----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 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) Best Regards, Hao Wu > -----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 --------------------------------------------------------------------- Intel Technology Poland sp. z o.o. ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydz= ial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-31= 6 | Kapital zakladowy 200.000 PLN. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata= i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wi= adomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiek= olwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). If you are not the intended recipient= , please contact the sender and delete all copies; any review or distributi= on by others is strictly prohibited.