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
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3907 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 <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> 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 Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | 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 wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90243): https://edk2.groups.io/g/devel/message/90243 Mute This Topic: https://groups.io/mt/91575907/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
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 <maciej.czajkowski@intel.com> > Sent: Monday, June 6, 2022 8:45 PM > To: devel@edk2.groups.io > Cc: Wu, Hao A <hao.a.wu@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, Liming > <gaoliming@byosoft.com.cn> > Subject: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support to > EDK2 > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3907 > > 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 <hao.a.wu@intel.com> > Cc: Ray Ni <ray.ni@intel.com> > Cc: Liming Gao <gaoliming@byosoft.com.cn> > > 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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90346): https://edk2.groups.io/g/devel/message/90346 Mute This Topic: https://groups.io/mt/91575907/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
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 <hao.a.wu@intel.com> Sent: czwartek, 9 czerwca 2022 04:47 To: Czajkowski, Maciej <maciej.czajkowski@intel.com>; devel@edk2.groups.io Cc: Ni, Ray <ray.ni@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn> 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 <maciej.czajkowski@intel.com> > Sent: Monday, June 6, 2022 8:45 PM > To: devel@edk2.groups.io > Cc: Wu, Hao A <hao.a.wu@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, > Liming <gaoliming@byosoft.com.cn> > Subject: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > to > EDK2 > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3907 > > 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 <hao.a.wu@intel.com> > Cc: Ray Ni <ray.ni@intel.com> > Cc: Liming Gao <gaoliming@byosoft.com.cn> > > 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 Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | 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 wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione. This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90487): https://edk2.groups.io/g/devel/message/90487 Mute This Topic: https://groups.io/mt/91575907/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
Got it, thanks for the information. I am fine with the plan. Best Regards, Hao Wu > -----Original Message----- > From: Czajkowski, Maciej <maciej.czajkowski@intel.com> > Sent: Monday, June 13, 2022 9:20 PM > To: Wu, Hao A <hao.a.wu@intel.com>; devel@edk2.groups.io > Cc: Ni, Ray <ray.ni@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn> > Subject: RE: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > to EDK2 > > 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 <hao.a.wu@intel.com> > Sent: czwartek, 9 czerwca 2022 04:47 > To: Czajkowski, Maciej <maciej.czajkowski@intel.com>; > devel@edk2.groups.io > Cc: Ni, Ray <ray.ni@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn> > 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 <maciej.czajkowski@intel.com> > > Sent: Monday, June 6, 2022 8:45 PM > > To: devel@edk2.groups.io > > Cc: Wu, Hao A <hao.a.wu@intel.com>; Ni, Ray <ray.ni@intel.com>; Gao, > > Liming <gaoliming@byosoft.com.cn> > > Subject: [edk2-devel][PATCH v1 0/2] Add EDKII_PCI_DEVICE_PPI support > > to > > EDK2 > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3907 > > > > 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 <hao.a.wu@intel.com> > > Cc: Ray Ni <ray.ni@intel.com> > > Cc: Liming Gao <gaoliming@byosoft.com.cn> > > > > 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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90510): https://edk2.groups.io/g/devel/message/90510 Mute This Topic: https://groups.io/mt/91575907/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.