On Fri, 31 Oct 2025 10:49:52 +0000 Shameer Kolothum <[email protected]> wrote:
> Just before the device gets attached to the SMMUv3, make sure QEMU SMMUv3 > features are compatible with the host SMMUv3. > > Not all fields in the host SMMUv3 IDR registers are meaningful for userspace. > Only the following fields can be used: > > - IDR0: ST_LEVEL, TERM_MODEL, STALL_MODEL, TTENDIAN, CD2L, ASID16, TTF > - IDR1: SIDSIZE, SSIDSIZE > - IDR3: BBML, RIL > - IDR5: VAX, GRAN64K, GRAN16K, GRAN4K > > For now, the check is to make sure the features are in sync to enable > basic accelerated SMMUv3 support. > > Signed-off-by: Shameer Kolothum <[email protected]> LGTM Reviewed-by: Jonathan Cameron <[email protected]>
