Re: [edk2-devel] SR-IOV setup in edk2

2021-03-25 Thread Laszlo Ersek
Hi Jon. On 03/25/21 09:02, Jon Nettleton wrote: > I have now implemented a driver connected to gEfiPciPlatformProtocolGuid > and I can get events passed in for the platform setup hooks, is this where > we should be doing the bus specific setup, rather than catching > gEfiPciIoProtocolGuid? Sorry

Re: [edk2-devel] SR-IOV setup in edk2

2021-03-25 Thread Jon Nettleton
On Mon, Mar 22, 2021 at 8:04 PM Laszlo Ersek wrote: > > On 03/21/21 13:46, Jon Nettleton wrote: > > I am looking for some example code, or direction in how SR-IOV > > functions are expected to be picked up by the platform pcie host > > library so it can setup required bits like LUTs. Currently th

Re: [edk2-devel] SR-IOV setup in edk2

2021-03-22 Thread Laszlo Ersek
On 03/21/21 13:46, Jon Nettleton wrote: > I am looking for some example code, or direction in how SR-IOV > functions are expected to be picked up by the platform pcie host > library so it can setup required bits like LUTs. Currently the > HostLib is getting the gEfiPciIoProtocolGuid event and then

[edk2-devel] SR-IOV setup in edk2

2021-03-21 Thread Jon Nettleton
I am looking for some example code, or direction in how SR-IOV functions are expected to be picked up by the platform pcie host library so it can setup required bits like LUTs. Currently the HostLib is getting the gEfiPciIoProtocolGuid event and then setting the controller up based on the BDF. I