x86/cpuid: Fix handling of the CPUID.7[0].eax levelling MSR
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 23 Sep 2019 12:41:37 +0000 (14:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Sep 2019 12:41:37 +0000 (14:41 +0200)
commit37ccdfd545b3441d6a0e2e522dbad5954e474f15
tree80ba49b9aded1efd37ecd570e0699dac8f2126d8
parent8bbb3e900bb65dbb6bedb628ffc22af6bd7665e7
x86/cpuid: Fix handling of the CPUID.7[0].eax levelling MSR

7a0 is an integer field, not a mask - taking the logical and of the hardware
and policy values results in nonsense.  Instead, take the policy value
directly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@cirtrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
master commit: b50d78d0eaffb43d5f5ceeda55fa22c11f47d01b
master date: 2019-09-10 13:33:21 +0100
xen/arch/x86/domctl.c