Re: [PATCH v9 2/7] x86/mce: relocate set{clear}_mce_nospec() functions

From: Borislav Petkov
Date: Thu Apr 28 2022 - 09:09:40 EST


On Fri, Apr 22, 2022 at 04:45:03PM -0600, Jane Chu wrote:
> Relocate the twin mce functions to arch/x86/mm/pat/set_memory.c
> file where they belong.
>
> While at it, fixup a function name in a comment.
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> Signed-off-by: Jane Chu <jane.chu@xxxxxxxxxx>
> ---
> arch/x86/include/asm/set_memory.h | 52 -------------------------------
> arch/x86/mm/pat/set_memory.c | 49 ++++++++++++++++++++++++++++-
> include/linux/set_memory.h | 8 ++---
> 3 files changed, 52 insertions(+), 57 deletions(-)

Acked-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

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