Linear-address masking (LAM) [1], modifies the checking that is applied to
*64-bit* linear addresses, allowing software to use of the untranslated address
bits for metadata and masks the metadata bits before using them as linear
addresses to access memory.
When the feature is virtualized and exposed to guest, it can be used for
efficient
address sanitizers (ASAN) implementation and for optimizations in JITs and
virtual
machines.
[1] Intel ISE https://cdrdv2.intel.com/v1/dl/getContent/671368
Chapter Linear Address Masking (LAM)
---
Changelog
v3:
- Some change in commit message.
- Add handling of LAM control bits. (Xiaoyao)
v2:
- https://lists.gnu.org/archive/html/qemu-devel/2023-05/msg07842.html
Binbin Wu (1):
target/i386: add control bits support for LAM
Robert Hoo (1):
target/i386: add support for LAM in CPUID enumeration
target/i386/cpu.c | 2 +-
target/i386/cpu.h | 9 ++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
--
2.25.1