Re: [PATCH v3 5/7] x86/iommu: remove regions not to be mapped

2023-12-20 Thread Roger Pau Monné
On Tue, Dec 19, 2023 at 05:18:39PM +0100, Jan Beulich wrote: > On 15.12.2023 15:18, Roger Pau Monne wrote: > > Introduce the code to remove regions not to be mapped from the rangeset > > that will be used to setup the IOMMU page tables for the hardware domain. > > > > This change also introduces t

Re: [PATCH v3 5/7] x86/iommu: remove regions not to be mapped

2023-12-19 Thread Jan Beulich
On 15.12.2023 15:18, Roger Pau Monne wrote: > Introduce the code to remove regions not to be mapped from the rangeset > that will be used to setup the IOMMU page tables for the hardware domain. > > This change also introduces two new functions: remove_xen_ranges() and > vpci_subtract_mmcfg() that

[PATCH v3 5/7] x86/iommu: remove regions not to be mapped

2023-12-15 Thread Roger Pau Monne
Introduce the code to remove regions not to be mapped from the rangeset that will be used to setup the IOMMU page tables for the hardware domain. This change also introduces two new functions: remove_xen_ranges() and vpci_subtract_mmcfg() that copy the logic in xen_in_range() and vpci_is_mmcfg_add