On 17/11/2023 9:47 am, Roger Pau Monne wrote: > No functional change intended. > > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
There may only be one caller (after dropping some bogus tboot logic recently IIRC), but this isn't an IOMMU-specific helper. See the comment in the middle which shows the other opencoded things this needs to be kept up to date. (And I'd hoped to make this common because every architecture seems to have different bugs opencoding this calculation.) Switching to rangesets is fine, but the result still wants to be something generic, rather than IOMMU-specific. ~Andrew