On 5/28/26 12:16 AM, Nathan Chen wrote: > From: Nathan Chen <[email protected]> > > Use smmuv3_ats_enabled() to determine whether ATS is enabled for the > guest when handling an ATC invalidation command, as setting the ATS > property value to 'auto' will resolve to ATS being detected as > enabled in the ATC invalidation check otherwise. > > Fixes: f7f5013a55a3 ("hw/arm/smmuv3-accel: Add support for ATS") > Suggested-by: Shameer Kolothum <[email protected]> nit: Reported-by whould have been more suited > Signed-off-by: Nathan Chen <[email protected]> > --- > hw/arm/smmuv3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c > index 5c2855c377..0c65dc8c91 100644 > --- a/hw/arm/smmuv3.c > +++ b/hw/arm/smmuv3.c > @@ -1528,7 +1528,7 @@ static int smmuv3_cmdq_consume(SMMUv3State *s, Error > **errp) > { > SMMUDevice *sdev = smmu_find_sdev(bs, CMD_SID(&cmd)); > > - if (!sdev || !s->ats) { > + if (!sdev || !smmuv3_ats_enabled(s)) { > trace_smmuv3_unhandled_cmd(type); > break; > } Reviewed-by: Eric Auger <[email protected]> Eric
- [PATCH v4 0/9] hw/arm/smmuv3-accel: Resolve AUTO pr... Nathan Chen
- [PATCH v4 5/9] hw/arm/smmuv3-accel: Implement ... Nathan Chen
- [PATCH v4 2/9] hw/arm/smmuv3: Improve accel SM... Nathan Chen
- Re: [PATCH v4 2/9] hw/arm/smmuv3: Improve ... Eric Auger
- RE: [PATCH v4 2/9] hw/arm/smmuv3: Impr... Shameer Kolothum Thodi
- Re: [PATCH v4 2/9] hw/arm/smmuv3: ... Eric Auger
- Re: [PATCH v4 2/9] hw/arm/smmuv3: Impr... Nathan Chen
- [PATCH v4 1/9] hw/arm/smmuv3: Update ATC inval... Nathan Chen
- Re: [PATCH v4 1/9] hw/arm/smmuv3: Update A... Eric Auger
- Re: [PATCH v4 1/9] hw/arm/smmuv3: Upda... Nathan Chen
- RE: [PATCH v4 1/9] hw/arm/smmuv3: Update A... Shameer Kolothum Thodi
- [PATCH v4 3/9] hw/arm/smmuv3-accel: Add helper... Nathan Chen
- [PATCH v4 7/9] hw/arm/smmuv3-accel: Implement ... Nathan Chen
- [PATCH v4 4/9] hw/arm/smmuv3-accel: Implement ... Nathan Chen
- RE: [PATCH v4 4/9] hw/arm/smmuv3-accel: Im... Shameer Kolothum Thodi
- [PATCH v4 6/9] hw/arm/smmuv3-accel: Implement ... Nathan Chen
- [PATCH v4 9/9] qemu-options.hx: Support "... Nathan Chen
- RE: [PATCH v4 9/9] qemu-options.hx: Suppor... Shameer Kolothum Thodi
- [PATCH v4 8/9] hw/arm/smmuv3: Set default ats,... Nathan Chen
