linux-stable/arch/powerpc
Aneesh Kumar K.V bf945eb7a3 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-11 19:39:48 +02:00
..
boot powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU 2023-05-11 23:16:47 +09:00
configs eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00
crypto crypto: powerpc - Use address generation helper for asm 2023-02-10 22:17:36 +11:00
include powerpc/perf: Properly detect mpc7450 family 2023-05-11 23:17:28 +09:00
kernel powerpc: update ppc_save_regs to save current r1 in pt_regs 2023-07-11 19:39:48 +02:00
kexec powerpc/kexec_file: print error string on usable memory property update failure 2023-02-15 23:14:06 +11:00
kvm KVM: PPC: Make KVM_CAP_IRQFD_RESAMPLE platform dependent 2023-03-31 11:19:05 -04:00
lib powerpc/kcsan: Add exclusions from instrumentation 2023-02-10 22:19:56 +11:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary 2023-07-11 19:39:48 +02:00
net powerpc/bpf: populate extable entries only during the last pass 2023-05-24 17:30:23 +01:00
perf powerpc/perf: Properly detect mpc7450 family 2023-05-11 23:17:28 +09:00
platforms powerpc/powernv/sriov: perform null check on iov before dereferencing iov 2023-07-11 19:39:48 +02:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-21 16:02:09 +02:00
sysdev powerpc: Use of_property_present() for testing DT property presence 2023-05-24 17:30:10 +01:00
tools
xmon powerpc/xmon: Use KSYM_NAME_LEN in array size 2023-06-09 10:48:23 +02:00
Kbuild
Kconfig powerpc/mm: Convert to using lock_mm_and_find_vma() 2023-07-01 13:14:45 +02:00
Kconfig.debug powerpc: Add support for early debugging via Serial 16550 console 2022-09-28 19:22:09 +10:00
Makefile Kbuild updates for v6.3 2023-02-26 11:53:25 -08:00
Makefile.postlink kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00