From: Jan Beulich Date: Wed, 18 Sep 2019 13:20:00 +0000 (+0200) Subject: x86/CPUID: drop INVPCID dependency on PCID X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=36c357817d7c595dd8fa163c908a8c44d9f4ed6e;p=people%2Flarsk%2Fxen.git x86/CPUID: drop INVPCID dependency on PCID PCID validly depends on LM, as it can be enabled in Long Mode only. INVPCID, otoh, can be used not only without PCID enabled, but also outside of Long Mode altogether. In both cases its functionality is simply restricted to PCID 0, which is sort of expected as no other PCID can be activated there. Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné Acked-by: Andrew Cooper --- diff --git a/xen/tools/gen-cpuid.py b/xen/tools/gen-cpuid.py index f76e80d690..434a6ebf04 100755 --- a/xen/tools/gen-cpuid.py +++ b/xen/tools/gen-cpuid.py @@ -218,10 +218,6 @@ def crunch_numbers(state): # # SSE4_2: [POPCNT] - # The INVPCID instruction depends on PCID infrastructure being - # available. - PCID: [INVPCID], - # XSAVE is an extra set of instructions for state management, but # doesn't constitue new state itself. Some of the dependent features # are instructions built on top of base XSAVE, while others are new