Pawan Gupta 2a0180129d KVM/x86: Export RFDS_NO and RFDS_CLEAR to guests
Mitigation for RFDS requires RFDS_CLEAR capability which is enumerated
by MSR_IA32_ARCH_CAPABILITIES bit 27. If the host has it set, export it
to guests so that they can deploy the mitigation.

RFDS_NO indicates that the system is not vulnerable to RFDS, export it
to guests so that they don't deploy the mitigation unnecessarily. When
the host is not affected by X86_BUG_RFDS, but has RFDS_NO=0, synthesize
RFDS_NO to the guest.

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
2024-03-11 13:13:50 -07:00
..
2024-01-18 17:25:39 -08:00
2024-02-23 13:54:37 +01:00
2024-01-10 18:13:44 -08:00
2024-01-17 11:27:23 -08:00
2024-01-18 15:01:28 -08:00
2024-03-03 09:47:19 -08:00
2024-03-01 12:44:33 -08:00
2024-02-23 09:54:13 -08:00
2024-01-20 09:24:06 -08:00