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

From: Borislav Petkov
Date: Fri Sep 16 2016 - 03:08:39 EST


On Thu, Sep 15, 2016 at 11:57:41AM -0500, Tom Lendacky wrote:
> If I do that, then I could put an #ifdef in the header to include the
> asm/mem_encrypt.h if the memory encryption is configured, else set the
> value to zero.

Yeah, something along those lines...

> I'll look into this. One immediate question becomes do we keep the
> name very specific vs. making it more generic, sme_me_mask vs me_mask,
> etc.

No strong opinion either way from me. My angle is that whatever it is,
we can always rename it later if we decide to.

--
Regards/Gruss,
Boris.

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