Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-25 Thread dmkhn
On Thu, Jul 24, 2025 at 09:47:24AM +0200, Jan Beulich wrote: > On 24.07.2025 05:42, dm...@proton.me wrote: > > On Thu, Jul 24, 2025 at 03:00:46AM +, dm...@proton.me wrote: > >> On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: > >>> Introduce vPCI BAR mapping task queue. Decou

Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-25 Thread Roger Pau Monné
On Thu, Jul 24, 2025 at 06:44:32PM +0200, Roger Pau Monné wrote: > On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: > > @@ -283,7 +297,48 @@ static int __init apply_map(struct domain *d, const > > struct pci_dev *pdev, > > return rc; > > } > > > > -static void defer_map(

Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-24 Thread Roger Pau Monné
On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: > Introduce vPCI BAR mapping task queue. Decouple map operation state from > general vPCI state: in particular, move the per-BAR rangeset out of > struct vpci and into the map task struct. > > This is preparatory work for further

Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-24 Thread Jan Beulich
On 24.07.2025 05:42, dm...@proton.me wrote: > On Thu, Jul 24, 2025 at 03:00:46AM +, dm...@proton.me wrote: >> On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: >>> Introduce vPCI BAR mapping task queue. Decouple map operation state from >>> general vPCI state: in particular, m

Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-23 Thread dmkhn
On Thu, Jul 24, 2025 at 03:00:46AM +, dm...@proton.me wrote: > On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: > > Introduce vPCI BAR mapping task queue. Decouple map operation state from > > general vPCI state: in particular, move the per-BAR rangeset out of > > struct vpci

Re: [PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-23 Thread dmkhn
On Wed, Jul 23, 2025 at 12:37:41PM -0400, Stewart Hildebrand wrote: > Introduce vPCI BAR mapping task queue. Decouple map operation state from > general vPCI state: in particular, move the per-BAR rangeset out of > struct vpci and into the map task struct. > > This is preparatory work for further

[PATCH v2 1/3] vpci: allow queueing of mapping operations

2025-07-23 Thread Stewart Hildebrand
Introduce vPCI BAR mapping task queue. Decouple map operation state from general vPCI state: in particular, move the per-BAR rangeset out of struct vpci and into the map task struct. This is preparatory work for further changes that need to perform multiple unmap/map operations before returning to