Re: [PATCH] iommu/vt-d: Fix identity map bounds in si_domain_init()

From: Jon Pan-Doh
Date: Fri Jul 12 2024 - 03:06:08 EST


On Tue, Jul 9, 2024 at 5:49 PM Tian, Kevin <kevin.tian@xxxxxxxxx> wrote:
> s/aas/as/

Ack.

> > Fixes: 5dfe8660a3d7 ("bootmem: Replace work_with_active_regions() with
> > for_each_mem_pfn_range()")
>
> this doesn't appear to be the original commit introducing this bug.
>
> Even the old work_with_active_regions() way used exclusive end_pfn
> while it's not adjusted when calling iommu_domain_identity_map().

Oops. I did not look far enough back. I believe the correct tag is

Fixes: c5395d5c4a82 ("intel-iommu: Clean up iommu_domain_identity_map()")

I'll send out a v2 once Baolu's comments are addressed.

Thanks,
Jon