acrn-kernel/arch/powerpc/mm
Aneesh Kumar K.V 4e6c406ccb powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
[ Upstream commit c8eebc4a99 ]

Without this fix, the last subsection vmemmap can end up in memory even if
the namespace is created with -M mem and has sufficient space in the altmap
area.

Fixes: cf387d9644 ("libnvdimm/altmap: Track namespace boundaries in altmap")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tested-by: Sachin Sant <sachinp@linux.ibm.com <mailto:sachinp@linux.ibm.com>>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230616110826.344417-6-aneesh.kumar@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:40 +02:00
..
book3s32
book3s64 powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo 2023-07-19 16:21:40 +02:00
kasan
nohash
ptdump
Makefile
cacheflush.c
copro_fault.c powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma() 2023-07-01 13:16:25 +02:00
dma-noncoherent.c
drmem.c
fault.c powerpc/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:16:24 +02:00
hugetlbpage.c
init-common.c
init_32.c
init_64.c powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary 2023-07-19 16:21:40 +02:00
ioremap.c
ioremap_32.c
ioremap_64.c
maccess.c
mem.c
mmu_context.c
mmu_decl.h
numa.c
pageattr.c
pgtable-frag.c
pgtable.c
pgtable_32.c
pgtable_64.c