Re: [PATCH] intel-iommu: Turn off translations at shutdown

From: Deepa Dinamani
Date: Thu Nov 07 2019 - 16:27:53 EST


On Thu, Nov 7, 2019 at 12:59 PM Deepa Dinamani <deepa.kernel@xxxxxxxxx> wrote:
> +static void intel_iommu_shutdown(void)
> + if (no_iommu || dmar_disabled)
> + return;

This check is actually not required here, as the handler is only
installed after these have been checked in intel_iommu_init.
I can remove this in the next version of the patch, but I'll wait a
few days for comments.

-Deepa