Re: [PATCH v13.3 01/14] vpci: use per-domain PCI lock to protect vpci structure

2024-02-27 Thread Roger Pau Monné
On Mon, Feb 26, 2024 at 03:47:17PM +0100, Jan Beulich wrote: > On 21.02.2024 03:45, Stewart Hildebrand wrote: > > From: Oleksandr Andrushchenko > > > > Use the per-domain PCI read/write lock to protect the presence of the > > pci device vpci field. This lock can be used (and in a few cases is use

Re: [PATCH v13.3 01/14] vpci: use per-domain PCI lock to protect vpci structure

2024-02-27 Thread Roger Pau Monné
On Tue, Feb 20, 2024 at 09:45:03PM -0500, Stewart Hildebrand wrote: > From: Oleksandr Andrushchenko > > Use the per-domain PCI read/write lock to protect the presence of the > pci device vpci field. This lock can be used (and in a few cases is used > right away) so that vpci removal can be perfor

Re: [PATCH v13.3 01/14] vpci: use per-domain PCI lock to protect vpci structure

2024-02-26 Thread Jan Beulich
On 21.02.2024 03:45, Stewart Hildebrand wrote: > From: Oleksandr Andrushchenko > > Use the per-domain PCI read/write lock to protect the presence of the > pci device vpci field. This lock can be used (and in a few cases is used > right away) so that vpci removal can be performed while holding the

[PATCH v13.3 01/14] vpci: use per-domain PCI lock to protect vpci structure

2024-02-20 Thread Stewart Hildebrand
From: Oleksandr Andrushchenko Use the per-domain PCI read/write lock to protect the presence of the pci device vpci field. This lock can be used (and in a few cases is used right away) so that vpci removal can be performed while holding the lock in write mode. Previously such removal could race w