Re: [PATCH v2] x86/speculation/srbds: do not try to turn mitigation off when not supported

From: Borislav Petkov
Date: Thu Mar 31 2022 - 11:25:35 EST


On Thu, Mar 31, 2022 at 03:18:42PM +0200, Ricardo Cañuelo wrote:
> Just to clarify, this changes the behavior wrt the hypervisor case:
> currently it just bails out of update_srbds_msr(), with your patch it'd
> clear RNGDS_MITG_DIS from MSR_IA32_MCU_OPT_CTRL. Is that what you
> intended?

Just do the simple thing I pasted earlier - no need to rewrite the whole
function for no good reason.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette