On 01.02.2024 18:01, Roger Pau Monne wrote: > IVMD and RMRR ranges are functionally equivalent, and as so could use the same > validity checker.
May I suggest s/equivalent/similar/? > Move the IVMD to x86 common IOMMU code and adjust the function to take a pair > of [start, end) mfn parameters. [start,end) ranges generally come with the problem of not allowing to represent the full address space. While that isn't specifically a problem here, seeing that both VT-d and V-i present inclusive ranges, how about making the common function match that? Jan
