Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

From: Borislav Petkov
Date: Tue May 10 2016 - 09:58:12 EST


On Tue, May 10, 2016 at 02:43:58PM +0100, Matt Fleming wrote:
> Is it not possible to maintain some kind of kernel virtual address
> mapping so memremap*() and friends can figure out when to twiddle the
> mapping attributes and map with/without encryption?

I guess we can move the sme_* specific stuff one indirection layer
below, i.e., in the *memremap() routines so that callers don't have to
care... That should keep the churn down...

--
Regards/Gruss,
Boris.

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