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

From: Tian, Kevin
Date: Mon Mar 04 2024 - 02:54:11 EST


> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> 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@xxxxxxxxx>