Re: [PATCH v5 13/15] iommu/amd: Use the generic iommu page table

Ankit Soni
2025-09-25T12:39:35Z

On Thu, Sep 25, 2025 at 09:32:27AM -0300, Jason Gunthorpe wrote:
> On Thu, Sep 25, 2025 at 12:07:04PM +0000, Ankit Soni wrote:
> > > +
> > > + cfg.common.hw_max_vasz_lg2 =
> > > + max(64, (amd_iommu_hpt_level - 1) * 9 + 21);
>
> > s/max/min
> > with 6 level page table max will be 66 and i am seeing boot failure with
> > this. Please refer below fail log.
>
> Oops, I added this when rebasing, thanks. Just to be clear the max/min
> fixes the oops?

Yes, System is booting fine with this change.

-Ankit