Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-13 Thread Jan Beulich
On 10.12.2021 14:51, Roger Pau Monné wrote: > On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: >> For vendor specific code to support superpages we need to be able to >> deal with a superpage mapping replacing an intermediate page table (or >> hierarchy thereof). Consequently an iommu_a

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-10 Thread Roger Pau Monné
On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: > For vendor specific code to support superpages we need to be able to > deal with a superpage mapping replacing an intermediate page table (or > hierarchy thereof). Consequently an iommu_alloc_pgtable() counterpart is > needed to free in

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-03 Thread Jan Beulich
On 03.12.2021 09:30, Roger Pau Monné wrote: > On Thu, Dec 02, 2021 at 05:10:38PM +0100, Jan Beulich wrote: >> On 02.12.2021 17:03, Roger Pau Monné wrote: >>> On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: For vendor specific code to support superpages we need to be able to d

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-03 Thread Roger Pau Monné
On Fri, Dec 03, 2021 at 09:30:00AM +0100, Roger Pau Monné wrote: > On Thu, Dec 02, 2021 at 05:10:38PM +0100, Jan Beulich wrote: > > On 02.12.2021 17:03, Roger Pau Monné wrote: > > > On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: > > >> For vendor specific code to support superpages we

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-03 Thread Roger Pau Monné
On Thu, Dec 02, 2021 at 05:10:38PM +0100, Jan Beulich wrote: > On 02.12.2021 17:03, Roger Pau Monné wrote: > > On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: > >> For vendor specific code to support superpages we need to be able to > >> deal with a superpage mapping replacing an inter

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-02 Thread Jan Beulich
On 02.12.2021 17:03, Roger Pau Monné wrote: > On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: >> For vendor specific code to support superpages we need to be able to >> deal with a superpage mapping replacing an intermediate page table (or >> hierarchy thereof). Consequently an iommu_a

Re: [PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-12-02 Thread Roger Pau Monné
On Fri, Sep 24, 2021 at 11:48:21AM +0200, Jan Beulich wrote: > For vendor specific code to support superpages we need to be able to > deal with a superpage mapping replacing an intermediate page table (or > hierarchy thereof). Consequently an iommu_alloc_pgtable() counterpart is > needed to free in

[PATCH v2 08/18] IOMMU/x86: support freeing of pagetables

2021-09-24 Thread Jan Beulich
For vendor specific code to support superpages we need to be able to deal with a superpage mapping replacing an intermediate page table (or hierarchy thereof). Consequently an iommu_alloc_pgtable() counterpart is needed to free individual page tables while a domain is still alive. Since the freeing