Message ID | 20250311141045.66620-15-shameerali.kolothum.thodi@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | hw/arm/virt: Add support for user-creatable accelerated SMMUv3 | expand |
diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c index ea63731d61..83159db1d4 100644 --- a/hw/arm/smmuv3.c +++ b/hw/arm/smmuv3.c @@ -1286,6 +1286,7 @@ smmuv3_invalidate_ste(gpointer key, gpointer value, gpointer user_data) if (sid < sid_range->start || sid > sid_range->end) { return false; } + smmuv3_accel_install_nested_ste(sdev, sid); trace_smmuv3_config_cache_inv(sid); return true; } @@ -1353,6 +1354,7 @@ static int smmuv3_cmdq_consume(SMMUv3State *s) trace_smmuv3_cmdq_cfgi_ste(sid); smmuv3_flush_config(sdev); + smmuv3_accel_install_nested_ste(sdev, sid); break; }
Make use of smmuv3_accel provided _install_nested_ste() for CFGI_STE. Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> --- hw/arm/smmuv3.c | 2 ++ 1 file changed, 2 insertions(+)