Re: [RFC PATCH v3 14/20] iommu/amd: Disable AMD IOMMU if memory encryption is active

From: Tom Lendacky
Date: Mon Nov 14 2016 - 11:49:18 EST


On 11/14/2016 10:32 AM, Joerg Roedel wrote:
> On Wed, Nov 09, 2016 at 06:37:32PM -0600, Tom Lendacky wrote:
>> + /* For now, disable the IOMMU if SME is active */
>> + if (sme_me_mask)
>> + return -ENODEV;
>> +
>
> Please print a message here telling the user why the IOMMU got disabled.

Will do.

Thanks,
Tom

>
>
> Thanks,
>
> Joerg
>