Re: [PATCH v4 02/14] x86/iommu: add common page-table allocator

2020-08-05 Thread Jan Beulich
On 04.08.2020 15:41, Paul Durrant wrote: > From: Paul Durrant > > Instead of having separate page table allocation functions in VT-d and AMD > IOMMU code, we could use a common allocation function in the general x86 code. > > This patch adds a new allocation function, iommu_alloc_pgtable(), for

[PATCH v4 02/14] x86/iommu: add common page-table allocator

2020-08-04 Thread Paul Durrant
From: Paul Durrant Instead of having separate page table allocation functions in VT-d and AMD IOMMU code, we could use a common allocation function in the general x86 code. This patch adds a new allocation function, iommu_alloc_pgtable(), for this purpose. The function adds the page table pages