From: Jan Beulich Date: Mon, 9 Dec 2019 13:00:15 +0000 (+0100) Subject: x86/CPUID: RSTR_FP_ERR_PTRS depends on FPU X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1081 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b813ce366a4313a28b2ac26e92da0cb8d6a01a75;p=xen.git x86/CPUID: RSTR_FP_ERR_PTRS depends on FPU There's nothing to restore here if there's no FPU in the first place. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- diff --git a/xen/tools/gen-cpuid.py b/xen/tools/gen-cpuid.py index 2e76f9abc0..362cdb5306 100755 --- a/xen/tools/gen-cpuid.py +++ b/xen/tools/gen-cpuid.py @@ -168,8 +168,9 @@ def crunch_numbers(state): deps = { # FPU is taken to mean support for the x87 regisers as well as the # instructions. MMX is documented to alias the %MM registers over the - # x87 %ST registers in hardware. - FPU: [MMX], + # x87 %ST registers in hardware. Correct restoring of error pointers + # of course makes no sense without there being anything to restore. + FPU: [MMX, RSTR_FP_ERR_PTRS], # The PSE36 feature indicates that reserved bits in a PSE superpage # may be used as extra physical address bits.