[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f09d7f4-6c9a-91f1-4618-c196f46870b9@linux.intel.com>
Date: Sat, 9 Nov 2019 08:35:33 +0800
From: Lu Baolu <baolu.lu@...ux.intel.com>
To: Deepa Dinamani <deepa.kernel@...il.com>
Cc: baolu.lu@...ux.intel.com, joro@...tes.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
iommu@...ts.linux-foundation.org,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH] intel-iommu: Turn off translations at shutdown
Hi,
On 11/9/19 6:28 AM, Deepa Dinamani wrote:
>>> + x86_platform.iommu_shutdown = intel_iommu_shutdown;
>>
>> How about moving it to detect_intel_iommu() in drivers/iommu/dmar.c? And
>
> Ok, makes sense to move it along with the init handler.
>
>> make sure that it's included with CONFIG_X86_64.
>
> You mean CONFIG_X86 like the init that is already there?
>
> #ifdef CONFIG_X86
> if (!ret)
> x86_init.iommu.iommu_init = intel_iommu_init;
> #endif
>
Yes.
Also, change the title to "iommu/vt-d: Turn off ..."
Best regards,
baolu
Powered by blists - more mailing lists