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

Binbin Wu posted 1 patch 10 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230531013250.18311-1-binbin.wu@linux.intel.com
target/i386/cpu.c | 2 +-
target/i386/cpu.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
[PATCH v2 0/1] target/i386: add support for LAM in CPUID enumeration
Posted by Binbin Wu 10 months, 3 weeks ago
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
-- 
2.25.1