Re: [RFC PATCH v2 04/20] x86: Secure Memory Encryption (SME) support

From: Thomas Gleixner
Date: Thu Aug 25 2016 - 09:06:35 EST


On Mon, 22 Aug 2016, Tom Lendacky wrote:

> Provide support for Secure Memory Encryption (SME). This initial support
> defines the memory encryption mask as a variable for quick access and an
> accessor for retrieving the number of physical addressing bits lost if
> SME is enabled.

What is the reason that this needs to live in assembly code?

Thanks,

tglx