[PATCH] <sys/platform/x86.h>: Add Intel LAM support
H.J. Lu
hjl.tools@gmail.com
Tue Dec 22 11:45:18 GMT 2020
On Tue, Dec 22, 2020 at 1:05 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu via Libc-alpha:
>
> > Add Intel Linear Address Masking (LAM) support to <sys/platform/x86.h>.
> > ---
> > manual/platform.texi | 3 +++
> > sysdeps/x86/sys/platform/x86.h | 3 +++
> > sysdeps/x86/tst-get-cpu-features.c | 1 +
> > 3 files changed, 7 insertions(+)
>
> Looks okay to me.
>
I checked it with the updated commit message:
Add Intel Linear Address Masking (LAM) support to <sys/platform/x86.h>.
HAS_CPU_FEATURE (LAM) can be used to detect if LAM is enabled in CPU.
LAM modifies the checking that is applied to 64-bit linear addresses,
allowing software to use of the untranslated address bits for metadata.
--
H.J.
More information about the Libc-alpha
mailing list