Re: [PATCH] x86/xen: disable Firmware First mode for correctable memory errors
From: boris . ostrovsky
Date: Fri Sep 25 2020 - 09:47:56 EST
On 9/25/20 6:11 AM, Juergen Gross wrote:
> @@ -1296,6 +1296,14 @@ asmlinkage __visible void __init xen_start_kernel(void)
>
> xen_smp_init();
>
> +#ifdef CONFIG_ACPI
> + /*
> + * Disable selecting "Firmware First mode" for correctable memory
> + * errors, as this is the duty of the hypervisor to decide.
> + */
> + acpi_disable_cmcff = 1;
> +#endif
Not that it matters greatly but should this go under if (xen_initial_domain()) clause a bit further down?
Either way:
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>