3
0
Fork 0
forked from mirrors/linux
kernel/arch/x86
David Hildenbrand 99e27b047c x86/mm/pat: inline memtype_match() into memtype_erase()
Let's just have it in a single function.  The resulting function is
certainly small enough and readable.

Link: https://lkml.kernel.org/r/20250512123424.637989-10-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Betkov <bp@alien8.de>
Cc: Dave Airlie <airlied@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Jann Horn <jannh@google.com>
Cc: Jonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleinxer <tglx@linutronix.de>
Cc: Tvrtko Ursulin <tursulin@ursulin.net>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-05-22 14:55:37 -07:00
..
boot x86/boot: make sure KASLR does not step over KHO preserved memory 2025-05-12 23:50:41 -07:00
coco x86/tdx: Emit warning if IRQs are enabled during HLT #VE handling 2025-03-26 08:52:10 +01:00
configs
crypto This update includes the following changes: 2025-03-29 10:01:55 -07:00
entry x86/bugs: Use SBPB in write_ibpb() if applicable 2025-04-09 12:41:30 +02:00
events perf/x86/intel: KVM: Mask PEBS_ENABLE loaded for guest with vCPU's value. 2025-04-30 13:58:29 +02:00
hyperv hyperv-next for 6.15 2025-03-25 14:47:04 -07:00
ia32
include x86/kexec: add support for passing kexec handover (KHO) data 2025-05-12 23:50:41 -07:00
kernel x86/e820: temporarily enable KHO scratch for memory below 1M 2025-05-12 23:50:41 -07:00
kvm KVM: SVM: Set/clear SRSO's BP_SPEC_REDUCE on 0 <=> 1 VM count transitions 2025-05-08 07:17:10 -07:00
lib x86/insn: Fix CTEST instruction decoding 2025-04-24 20:19:17 +02:00
math-emu x86/headers: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-UAPI headers 2025-03-19 11:47:30 +01:00
mm x86/mm/pat: inline memtype_match() into memtype_erase() 2025-05-22 14:55:37 -07:00
net bpf-next-6.15 2025-03-30 12:43:03 -07:00
pci xen: branch for v6.15-rc1 2025-03-25 14:33:32 -07:00
platform x86/mm: Fix _pgd_alloc() for Xen PV mode 2025-04-23 07:49:14 -07:00
power x86/ibt: Fix hibernate 2025-04-09 21:29:11 +02:00
purgatory
ras
realmode x86/e820: temporarily enable KHO scratch for memory below 1M 2025-05-12 23:50:41 -07:00
tools x86/tools: Drop duplicate unlikely() definition in insn_decoder_test.c 2025-03-28 22:57:44 +01:00
um um: fix _nofault accesses 2025-05-05 10:06:51 +02:00
video
virt
xen Miscellaneous x86 fixes: 2025-04-18 14:04:57 -07:00
.gitignore
Kbuild tracing: Disable branch profiling in noinstr code 2025-03-22 09:49:26 +01:00
Kconfig x86/Kconfig: enable kexec handover for 64 bits 2025-05-12 23:50:42 -07:00
Kconfig.assembler
Kconfig.cpu x86/mm: Add INVLPGB feature and Kconfig entry 2025-03-19 11:08:52 +01:00
Kconfig.cpufeatures x86/cpufeatures: Add {REQUIRED,DISABLED} feature configs 2025-03-19 11:15:11 +01:00
Kconfig.debug
Makefile Kbuild updates for v6.15 2025-04-05 15:46:50 -07:00
Makefile.um um: Pass the correct Rust target and options with gcc 2025-03-18 11:01:02 +01:00
Makefile_32.cpu