Skip to content

target/i386: Add the immediate form MSR access instruction support

Xin Li (Intel) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target/i386: Remove FRED dependency on WRMSRNStarget/i386/cpu.c+0 -41 reply
2/3target/i386: Add a new CPU feature word for CPUID.7.1.ECXtarget/i386/cpu.c target/i386/cpu.h+23 -15 replies
3/3target/i386: Add the immediate form MSR access instruction supporttarget/i386/cpu.c target/i386/cpu.h+4 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchXiaoyao Li
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/3] target/i386: Add the immediate form MSR access instruction support

The immediate form of MSR access instructions are primarily motivated by performance, not code size: by having the MSR number in an immediate, it is available *much* earlier in the pipeline, which allows the hardware much more leeway about how a particular MSR is handled.

This new CPU feature is advertised through bit 5 of CPUID.7.1.ECX, which needs to be added as a new CPU feature word.

WRMSRNS doesn't become a required feature for FERD, and Linux has removed the dependency, as such remove the dependency from Qemu.

Xin Li (Intel) (3):
target/i386: Remove FRED dependency on WRMSRNS target/i386: Add a new CPU feature word for CPUID.7.1.ECX target/i386: Add the immediate form MSR access instruction support

 target/i386/cpu.c | 27 ++++++++++++++++++++++-----
 target/i386/cpu.h |  4 ++++
 2 files changed, 26 insertions(+), 5 deletions(-)

base-commit: 1ada452efc7d8f8bf42cd5e8a2af1b4ac9167a1f

Signature · 1 line
2.47.1