Re: [PATCH] vfio-pci: Mask cap zero

2020-05-05 Thread Neo Jia
On Tue, May 05, 2020 at 08:09:39AM +0200, Cornelia Huck wrote: > External email: Use caution opening links or attachments > > > On Mon, 4 May 2020 17:03:54 -0600 > Alex Williamson wrote: > > > On Mon, 4 May 2020 15:08:08 -0700 > > Neo Jia wrote: > > > > > On Mon, May 04, 2020 at 12:52:53PM -06

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-04 Thread Cornelia Huck
On Mon, 4 May 2020 17:03:54 -0600 Alex Williamson wrote: > On Mon, 4 May 2020 15:08:08 -0700 > Neo Jia wrote: > > > On Mon, May 04, 2020 at 12:52:53PM -0600, Alex Williamson wrote: > > > External email: Use caution opening links or attachments > > > > > > > > > On Mon, 4 May 2020 18:09:16 +

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-04 Thread Alex Williamson
On Mon, 4 May 2020 15:08:08 -0700 Neo Jia wrote: > On Mon, May 04, 2020 at 12:52:53PM -0600, Alex Williamson wrote: > > External email: Use caution opening links or attachments > > > > > > On Mon, 4 May 2020 18:09:16 +0200 > > Cornelia Huck wrote: > > > > > On Fri, 01 May 2020 15:41:24 -060

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-04 Thread Neo Jia
On Mon, May 04, 2020 at 12:52:53PM -0600, Alex Williamson wrote: > External email: Use caution opening links or attachments > > > On Mon, 4 May 2020 18:09:16 +0200 > Cornelia Huck wrote: > > > On Fri, 01 May 2020 15:41:24 -0600 > > Alex Williamson wrote: > > > > > There is no PCI spec defined

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-04 Thread Alex Williamson
On Mon, 4 May 2020 18:09:16 +0200 Cornelia Huck wrote: > On Fri, 01 May 2020 15:41:24 -0600 > Alex Williamson wrote: > > > There is no PCI spec defined capability with ID 0, therefore we don't > > expect to find it in a capability chain and we use this index in an > > internal array for trackin

Re: [PATCH] vfio-pci: Mask cap zero

2020-05-04 Thread Cornelia Huck
On Fri, 01 May 2020 15:41:24 -0600 Alex Williamson wrote: > There is no PCI spec defined capability with ID 0, therefore we don't > expect to find it in a capability chain and we use this index in an > internal array for tracking the sizes of various capabilities to handle > standard config space

[PATCH] vfio-pci: Mask cap zero

2020-05-01 Thread Alex Williamson
There is no PCI spec defined capability with ID 0, therefore we don't expect to find it in a capability chain and we use this index in an internal array for tracking the sizes of various capabilities to handle standard config space. Therefore if a device does present us with a capability ID 0, we