]> xenbits.xensource.com Git - xen.git/commit
x86/spec-ctrl: Remove opencoded MSR_ARCH_CAPS check
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 15 May 2023 18:15:48 +0000 (19:15 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 May 2023 18:04:41 +0000 (19:04 +0100)
commit511b9f286c3dadd041e0d90beeff7d47c9bf3b7a
tree00b8a2fc1f314c2bda6bff053efa8e8bbc30c80d
parent205a9f970378c31ae3e00b52d59103a2e881b9e0
x86/spec-ctrl: Remove opencoded MSR_ARCH_CAPS check

MSR_ARCH_CAPS data is now included in featureset information.  Replace
opencoded checks with regular feature ones.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/cpufeature.h
xen/arch/x86/spec_ctrl.c