]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
x86/CPUID: drop INVPCID dependency on PCID
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Sep 2019 13:20:00 +0000 (15:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Sep 2019 13:20:00 +0000 (15:20 +0200)
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 <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/tools/gen-cpuid.py

index f76e80d690a364e56b9df4ae6ac9371218d7da30..434a6ebf04a307cc6b44e2cae9292db86a2ac7d6 100755 (executable)
@@ -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