qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] target/i386: add support for LAM in CPUID enumeration
@ 2023-05-31  1:32 Binbin Wu
  2023-05-31  1:32 ` [PATCH v2 1/1] " Binbin Wu
  0 siblings, 1 reply; 4+ messages in thread
From: Binbin Wu @ 2023-05-31  1:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, xiaoyao.li, chao.gao, robert.hu, binbin.wu

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-01  3:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-31  1:32 [PATCH v2 0/1] target/i386: add support for LAM in CPUID enumeration Binbin Wu
2023-05-31  1:32 ` [PATCH v2 1/1] " Binbin Wu
2023-05-31  3:45   ` Xiaoyao Li
2023-06-01  3:26     ` Binbin Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).