mbox series

[v2,0/1] target/i386: add support for LAM in CPUID enumeration

Message ID 20230531013250.18311-1-binbin.wu@linux.intel.com (mailing list archive)
Headers show
Series target/i386: add support for LAM in CPUID enumeration | expand

Message

Binbin Wu May 31, 2023, 1:32 a.m. UTC
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
v2:
- Add macro of CPUID definition for LAM bit

v1:
- https://lists.gnu.org/archive/html/qemu-devel/2023-02/msg08036.html


Robert Hoo (1):
  target/i386: add support for LAM in CPUID enumeration

 target/i386/cpu.c | 2 +-
 target/i386/cpu.h | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)


base-commit: 51bdb0b57a2d9e84d6915fbae7b5d76c8820cf3c