x86/mm/pat: Replace Intel x86_model checks with VFM ones
authorSohil Mehta <sohil.mehta@intel.com>
Wed, 19 Feb 2025 18:41:30 +0000 (18:41 +0000)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Mar 2025 10:19:53 +0000 (11:19 +0100)
commit05d234d3c79e16ee5329dbbc611d1dde6c8c5ab3
tree47f5a42002458c09000517b00e527f4f8b8bbc9c
parent15b7ddcf66fb7ac371279be23b3b6008dad3e36c
x86/mm/pat: Replace Intel x86_model checks with VFM ones

Introduce markers and names for some Family 6 and Family 15 models and
replace x86_model checks with VFM ones.

Since the VFM checks are closed ended and only applicable to Intel, get
rid of the explicit Intel vendor check as well.

Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20250219184133.816753-13-sohil.mehta@intel.com
arch/x86/include/asm/intel-family.h
arch/x86/mm/pat/memtype.c