Re: [PATCH 08/22] x86/srso: Downgrade retbleed IBPB warning to informational message

From: Borislav Petkov
Date: Thu Aug 24 2023 - 00:43:49 EST


On Sun, Aug 20, 2023 at 06:19:05PM -0700, Josh Poimboeuf wrote:
> This warning is nothing to get excited over. Downgrade to pr_info().
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> ---
> arch/x86/kernel/cpu/bugs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
> index cda4b5e6a362..e59e09babf8f 100644
> --- a/arch/x86/kernel/cpu/bugs.c
> +++ b/arch/x86/kernel/cpu/bugs.c
> @@ -2425,7 +2425,7 @@ static void __init srso_select_mitigation(void)
>
> if (retbleed_mitigation == RETBLEED_MITIGATION_IBPB) {
> if (has_microcode) {
> - pr_err("Retbleed IBPB mitigation enabled, using same for SRSO\n");
> + pr_info("Retbleed IBPB mitigation enabled, using same for SRSO\n");
> srso_mitigation = SRSO_MITIGATION_IBPB;
> goto pred_cmd;
> }
> --

Reviewed-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>

--
Regards/Gruss,
Boris.

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