linux_dsm_epyc7002/arch/powerpc
Christophe Leroy 4a45b7460c powerpc/mm: refactor ioremap vm area setup.
PPC32 and PPC64 are doing the same once SLAB is available.
Create a do_ioremap() function that calls get_vm_area and
do the mapping.

For PPC64, we add the 4K PFN hack sanity check to __ioremap_caller()
in order to avoid using __ioremap_at(). Other checks in __ioremap_at()
are irrelevant for __ioremap_caller().

On PPC64, VM area is allocated in the range [ioremap_bot ; IOREMAP_END]
On PPC32, VM area is allocated in the range [VMALLOC_START ; VMALLOC_END]

Lets define IOREMAP_START is ioremap_bot for PPC64, and alias
IOREMAP_START/END to VMALLOC_START/END on PPC32

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/42e7e36ad32e0fdf76692426cc642799c9f689b8.1566309263.git.christophe.leroy@c-s.fr
2019-08-27 13:03:35 +10:00
..
boot
configs powerpc: remove the ppc44x ocm.c file 2019-08-27 13:03:33 +10:00
crypto
include powerpc/mm: refactor ioremap vm area setup. 2019-08-27 13:03:35 +10:00
kernel powerpc/mm: rework io-workaround invocation. 2019-08-27 13:03:34 +10:00
kvm Merge branch 'topic/ppc-kvm' into next 2019-08-19 13:19:43 +10:00
lib powerpc/memcpy: Add memcpy_mcsafe for pmem 2019-08-21 22:23:48 +10:00
math-emu
mm powerpc/mm: refactor ioremap vm area setup. 2019-08-27 13:03:35 +10:00
net
oprofile
perf powerpc/perf: fix imc allocation failure handling 2019-08-20 21:22:20 +10:00
platforms powerpc/ps3: replace __ioremap() by ioremap_prot() 2019-08-27 13:03:33 +10:00
purgatory
sysdev powerpc/xive: Fix dump of XIVE interrupt under pseries 2019-08-19 13:20:24 +10:00
tools
xmon powerpc/xmon: Add a dump of all XIVE interrupts 2019-08-19 13:20:24 +10:00
Kbuild
Kconfig powerpc/64: don't select ARCH_HAS_SCALED_CPUTIME on book3E 2019-08-27 13:03:32 +10:00
Kconfig.debug
Makefile powerpc: remove meaningless KBUILD_ARFLAGS addition 2019-08-22 23:11:48 +10:00
Makefile.postlink