[PATCH v9 01/16] pci: introduce per-domain PCI rwlock

2023-08-29 Thread Volodymyr Babchuk
Add per-domain d->pci_lock that protects access to d->pdev_list. Purpose of this lock is to give guarantees to VPCI code that underlying pdev will not disappear under feet. This is a rw-lock, but this patch adds only write_lock()s. There will be read_lock() users in the next patches. This lock sho

Re: [PATCH v9 01/16] pci: introduce per-domain PCI rwlock

2023-09-19 Thread Roger Pau Monné
On Tue, Aug 29, 2023 at 11:19:42PM +, Volodymyr Babchuk wrote: > Add per-domain d->pci_lock that protects access to > d->pdev_list. Purpose of this lock is to give guarantees to VPCI code > that underlying pdev will not disappear under feet. This is a rw-lock, > but this patch adds only write_l

Re: [PATCH v9 01/16] pci: introduce per-domain PCI rwlock

2023-09-25 Thread Volodymyr Babchuk
Hello Roger, Roger Pau Monné writes: > On Tue, Aug 29, 2023 at 11:19:42PM +, Volodymyr Babchuk wrote: >> Add per-domain d->pci_lock that protects access to >> d->pdev_list. Purpose of this lock is to give guarantees to VPCI code >> that underlying pdev will not disappear under feet. This is