x86-numa_emu-use-a-helper-function-to-get-max_dma32_pfn.patch removed from -mm tree
The quilt patch titled
Subject: x86/numa_emu: use a helper function to get MAX_DMA32_PFN
has been removed from the -mm tree. Its filename was
x86-numa_emu-use-a-helper-function-to-get-max_dma32_pfn.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Mike Rapoport (Microsoft)" <[email protected]>
Subject: x86/numa_emu: use a helper function to get MAX_DMA32_PFN
Date: Wed, 7 Aug 2024 09:40:59 +0300
This is required to make numa emulation code architecture independent so that it can be moved to generic code in following commits.
Signed-off-by Mike Rapoport (Microsoft) <[email protected]>
Reviewed-by Jonathan Cameron <[email protected]>
Acked-by Dan Williams <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Andreas Larsson <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc David S. Miller <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Huacai Chen <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jiaxun Yang <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Rafael J. Wysocki <[email protected]>
Cc Rob Herring (Arm) <[email protected]>
Cc Samuel Holland <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/x86/include/asm/numa.h | 1 + arch/x86/mm/numa.c | 5 +++++ arch/x86/mm/numa_emulation.c | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-)
arch/x86/include/asm/numa.h renamed from arch/x86/include/asm/numa.h~x86-numa_emu-use-a-helper-function-to-get-max_dma32_pfn +1 -0
@@ -74,6 +74,7 @@ void debug_cpumask_set_cpu(int cpu, intint numa_emu_cmdline (char *str);void __init numa_emu_update_cpu_to_node (int *emu_nid_to_phys,unsigned int nr_emu_nids); +u64 __init numa_emu_dma_end (void );#else /* CONFIG_NUMA_EMU */ static inline int numa_emu_cmdline (char *str) {
arch/x86/mm/numa.c renamed from arch/x86/mm/numa.c~x86-numa_emu-use-a-helper-function-to-get-max_dma32_pfn +5 -0
@@ -872,6 +872,11 @@ void __init numa_emu_update_cpu_to_node( __apicid_to_node[i] = j < nr_emu_nids ? j : 0; } } + +u64 __init numa_emu_dma_end (void ) +{ +return PFN_PHYS (MAX_DMA32_PFN ); +}#endif /* CONFIG_NUMA_EMU */ #ifdef CONFIG_NUMA_KEEP_MEMINFO
arch/x86/mm/numa_emulation.c renamed from arch/x86/mm/numa_emulation.c~x86-numa_emu-use-a-helper-function-to-get-max_dma32_pfn +2 -2
@@ -128,7 +128,7 @@ static int __init split_nodes_interleave*/ while (!nodes_empty (physnode_mask)) {for_each_node_mask (i, physnode_mask) { -u64 dma32_end =PFN_PHYS (MAX_DMA32_PFN ); +u64 dma32_end =numa_emu_dma_end ();u64 start, limit, end;int phys_blk;
@@ -275,7 +275,7 @@ static int __init split_nodes_size_inter*/ while (!nodes_empty (physnode_mask)) {for_each_node_mask (i, physnode_mask) { -u64 dma32_end =PFN_PHYS (MAX_DMA32_PFN ); +u64 dma32_end =numa_emu_dma_end ();u64 start, limit, end;int phys_blk;
_
Patches currently in -mm which might be from [email protected] are