Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-11 Thread Laszlo Ersek
On 06/04/19 23:44, Laszlo Ersek wrote: > When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may > find that the extended config space is not (fully) implemented. In > LocatePciExpressCapabilityRegBlock(), "CapabilityEntry" may be read as > 0x_ at a given config space

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-11 Thread Ni, Ray
Ersek > > Sent: Wednesday, June 05, 2019 6:15 PM > > To: Ard Biesheuvel; edk2-devel-groups-io > > Cc: Alex Williamson; Wu, Hao A; Wang, Jian J; Ni, Ray; Zeng, Star > > Subject: Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: > > catch unimplemented extended config s

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-10 Thread Wu, Hao A
ao A; Wang, Jian J; Ni, Ray; Zeng, Star > Subject: Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: > catch unimplemented extended config space reads > > On 06/05/19 11:25, Ard Biesheuvel wrote: > > On Tue, 4 Jun 2019 at 23:44, Laszlo Ersek wrote: > >> > >&g

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-05 Thread Ard Biesheuvel
On Wed, 5 Jun 2019 at 12:15, Laszlo Ersek wrote: > > On 06/05/19 11:25, Ard Biesheuvel wrote: > > On Tue, 4 Jun 2019 at 23:44, Laszlo Ersek wrote: > >> > >> When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may > >> find that the extended config space is not (fully)

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-05 Thread Laszlo Ersek
On 06/05/19 11:25, Ard Biesheuvel wrote: > On Tue, 4 Jun 2019 at 23:44, Laszlo Ersek wrote: >> >> When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may >> find that the extended config space is not (fully) implemented. In >> LocatePciExpressCapabilityRegBlock(),

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-05 Thread Ard Biesheuvel
On Tue, 4 Jun 2019 at 23:44, Laszlo Ersek wrote: > > When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may > find that the extended config space is not (fully) implemented. In > LocatePciExpressCapabilityRegBlock(), "CapabilityEntry" may be read as > 0x_ at a given

Re: [edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-05 Thread Philippe Mathieu-Daudé
On 6/4/19 11:44 PM, Laszlo Ersek wrote: > When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may > find that the extended config space is not (fully) implemented. In > LocatePciExpressCapabilityRegBlock(), "CapabilityEntry" may be read as > 0x_ at a given config space

[edk2-devel] [PATCH for-next] MdeModulePkg/PciBusDxe: catch unimplemented extended config space reads

2019-06-04 Thread Laszlo Ersek
When assigning a physical PCIe device to a QEMU/KVM guest, PciBusDxe may find that the extended config space is not (fully) implemented. In LocatePciExpressCapabilityRegBlock(), "CapabilityEntry" may be read as 0x_ at a given config space offset, after which the loop gets stuck spinning on