Re: [RFC PATCH v2 15/20] iommu/amd: AMD IOMMU support for memory encryption

From: Borislav Petkov
Date: Wed Sep 14 2016 - 10:41:48 EST


On Wed, Sep 14, 2016 at 08:45:44AM -0500, Tom Lendacky wrote:
> Currently, mem_encrypt.h only lives in the arch/x86 directory so it
> wouldn't be able to be included here without breaking other archs.

I'm wondering if it would be simpler to move only sme_me_mask to an
arch-agnostic header just so that we save us all the code duplication.

Hmmm.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--