Skip to content

target-i386: xsave CPUID handling refactor

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Queued on x86-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7target-i386: Move feature name arrays inside FeatureWordInfotarget-i386/cpu.c+170 -2001 reply
2/7target-i386: Don't try to enable PT State xsave componenttarget-i386/cpu.c+3 -31 reply
3/7target-i386: xsave: Calculate enabled components only oncetarget-i386/cpu.c+16 -101 reply
4/7target-i386: xsave: Simplify CPUID[0xD, 0].{EAX, EDX} calculationtarget-i386/cpu.c+2 -61 reply
5/7target-i386: xsave: Helper function to calculate xsave area sizetarget-i386/cpu.c+15 -71 reply
6/7target-i386: xsave: Calculate set of xsave components on realizetarget-i386/cpu.c target-i386/cpu.h+29 -232 replies
7/7target-i386: Move xsave component mask to features arraytarget-i386/cpu.c target-i386/cpu.h+30 -151 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] target-i386: xsave CPUID handling refactor

This series refactor the xsave CPUID handling so it won't silently disable any XSAVE components on CPUID[0xD] in case the host doesn't support it. It will instead use the exisitng check/enforce logic for filtering the CPUID bits and checking for host-side support.

This series is available on git at:
https://github.com/ehabkost/qemu-hacks.git work/xsave-cpuid-cleanup

The series is based on my x86-next branch, that contains other CPUID-related changes:
https://github.com/ehabkost/qemu.git x8-next

Eduardo Habkost (7):
target-i386: Move feature name arrays inside FeatureWordInfo
target-i386: Don't try to enable PT State xsave component
target-i386: xsave: Calculate enabled components only once
target-i386: xsave: Simplify CPUID[0xD,0].{EAX,EDX} calculation
target-i386: xsave: Helper function to calculate xsave area size
target-i386: xsave: Calculate set of xsave components on realize
target-i386: Move xsave component mask to features array

 target-i386/cpu.c | 457 +++++++++++++++++++++++++++---------------------------
 target-i386/cpu.h |   2 +
 2 files changed, 230 insertions(+), 229 deletions(-)
Signature · 1 line
2.7.4