]> xenbits.xensource.com Git - xen.git/commit
x86/spec-ctrl: Fix up the RSBA/RRSBA bits as appropriate
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 25 May 2023 19:31:22 +0000 (20:31 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 Aug 2023 15:02:54 +0000 (16:02 +0100)
commitd166c8f109b12c51bf854d1d8a0ab061b6b316cd
tree8205a6d6ba5d8191e9f57ab1bae3f68facce1d94
parent1dba8d38cf7f116726877b4cc46eb34b7f8a4b11
x86/spec-ctrl: Fix up the RSBA/RRSBA bits as appropriate

In order to level a VM safely for migration, the toolstack needs to know the
RSBA/RRSBA properties of the CPU, whether or not they happen to be enumerated.

See the code comment for details.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 36525a964fb629d0bd26e5a1c42de467af7a42a7)
xen/arch/x86/spec_ctrl.c
xen/include/asm-x86/cpufeature.h