RE: [PATCH 3/3] iommu/vt-d: Remove scalabe mode in domain_context_clear_one()

Tian, Kevin
2024-03-04T07:54:02Z

> From: Lu Baolu <baolu.lu@linux.intel.com>
> Sent: Thursday, February 29, 2024 5:48 PM
>
> @@ -2175,9 +2175,6 @@ static void domain_context_clear_one(struct
> device_domain_info *info, u8 bus, u8
> struct context_entry *context;
> u16 did_old;
>
> - if (!iommu)
> - return;
> -

is this check only relevant to sm mode or should it be removed for
both legacy/sm? If the latter please add a note in the commit msg.

otherwise,

Reviewed-by: Kevin Tian <kevin.tian@intel.com>