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

From: Joerg Roedel
Date: Mon Nov 14 2016 - 11:32:12 EST


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.


Thanks,

Joerg