]> xenbits.xensource.com Git - people/jgross/xen.git/commitdiff
x86emul: increase FPU save area in test harness/fuzzer
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Oct 2020 08:13:53 +0000 (10:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Oct 2020 08:13:53 +0000 (10:13 +0200)
Running them on a system (or emulator) with AMX support requires this
to be quite a bit larger than 8k, to avoid triggering the assert() in
emul_test_init(). Bump all the way up to 16k right away.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/x86-emulate.c

index 572989078a64d53a7850d8c456040189a185ed3d..fb34933e8291e11e110535e4767f831ca634fbff 100644 (file)
@@ -33,7 +33,7 @@
 uint32_t mxcsr_mask = 0x0000ffbf;
 struct cpuid_policy cp;
 
-static char fpu_save_area[4096] __attribute__((__aligned__((64))));
+static char fpu_save_area[0x4000] __attribute__((__aligned__((64))));
 static bool use_xsave;
 
 /*