-----Original Message-----
From: Liu, Yi L <yi.l.liu@intel.com>
Sent: Monday, November 4, 2024 11:16 AM
Subject: Re: [PATCH v4 14/17] intel_iommu: Set default aw_bits to 48 in scalable
modern mode
On 2024/9/30 17:26, Zhenzhong Duan wrote:
According to VTD spec, stage-1 page table could support 4-level and
5-level paging.
However, 5-level paging translation emulation is unsupported yet.
That means the only supported value for aw_bits is 48.
So default aw_bits to 48 in scalable modern mode. In other cases,
it is still default to 39 for backward compatibility.
Add a check to ensure user specified value is 48 in modern mode
for now.
this is not a simple check. I think your patch makes an auto selection
of aw_bits.