Re: [PATCH v4 08/16] x86/mtrr: remove set_all callback from struct mtrr_ops

From: Borislav Petkov
Date: Thu Oct 27 2022 - 05:18:23 EST


On Tue, Oct 04, 2022 at 10:10:15AM +0200, Juergen Gross wrote:
> diff --git a/arch/x86/kernel/cpu/mtrr/mtrr.c b/arch/x86/kernel/cpu/mtrr/mtrr.c
> index dacb537da126..501ca1747d55 100644
> --- a/arch/x86/kernel/cpu/mtrr/mtrr.c
> +++ b/arch/x86/kernel/cpu/mtrr/mtrr.c
> @@ -165,15 +165,15 @@ static int mtrr_rendezvous_handler(void *info)
> * saved, and we want to replicate that across all the cpus that come
> * online (either at the end of boot or resume or during a runtime cpu
> * online). If we're doing that, @reg is set to something special and on
> - * all the cpu's we do mtrr_if->set_all() (On the logical cpu that
> + * all the cpu's we do cache_cpu_init() (On the logical cpu that

s/cpu's/CPUs/
s/cpu/CPU/

while at it.

--
Regards/Gruss,
Boris.

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