aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJing Liu <[email protected]>2022-01-05 04:35:14 -0800
committerPaolo Bonzini <[email protected]>2022-01-07 13:33:04 -0500
commitcc04b6a21d431359eceeec0d812b492088b04af5 (patch)
tree39bd997cf64cc983f1efe5553ebd833a8befb501 /tools/perf/scripts/python/export-to-sqlite.py
parent36487e6228c4cb04257c92266a04078a384bc4ec (diff)
kvm: x86: Fix xstate_required_size() to follow XSTATE alignment rule
CPUID.0xD.1.EBX enumerates the size of the XSAVE area (in compacted format) required by XSAVES. If CPUID.0xD.i.ECX[1] is set for a state component (i), this state component should be located on the next 64-bytes boundary following the preceding state component in the compacted layout. Fix xstate_required_size() to follow the alignment rule. AMX is the first state component with 64-bytes alignment to catch this bug. Signed-off-by: Jing Liu <[email protected]> Signed-off-by: Yang Zhong <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions