[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABeXuvpYE9FCdX-FXTEg-rN_dtoxVn5+2psgU_AxPUPk38fQEw@mail.gmail.com>
Date: Thu, 7 Nov 2019 13:27:35 -0800
From: Deepa Dinamani <deepa.kernel@...il.com>
To: joro@...tes.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: David Woodhouse <dwmw2@...radead.org>,
iommu@...ts.linux-foundation.org
Subject: Re: [PATCH] intel-iommu: Turn off translations at shutdown
On Thu, Nov 7, 2019 at 12:59 PM Deepa Dinamani <deepa.kernel@...il.com> 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
Powered by blists - more mailing lists