diff options
| author | Anshuman Khandual <[email protected]> | 2019-07-16 23:27:33 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-07-17 02:23:22 +0000 |
| commit | 0f472d04f59ff89d15b2a1c4eafde7317ddd67a2 (patch) | |
| tree | 20786684171109ec50859a88c6a354e12e2a8390 /lib/string_helpers.c | |
| parent | mm/ioremap: check virtual address alignment while creating huge mappings (diff) | |
| download | kernel-0f472d04f59ff89d15b2a1c4eafde7317ddd67a2.tar.gz kernel-0f472d04f59ff89d15b2a1c4eafde7317ddd67a2.zip | |
mm/ioremap: probe platform for p4d huge map support
Finish up what commit c2febafc6773 ("mm: convert generic code to 5-level
paging") started while levelling up P4D huge mapping support at par with
PUD and PMD. A new arch call back arch_ioremap_p4d_supported() is added
which just maintains status quo (P4D huge map not supported) on x86,
arm64 and powerpc.
When HAVE_ARCH_HUGE_VMAP is enabled its just a simple check from the
arch about the support, hence runtime effects are minimal.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Acked-by: Michael Ellerman <[email protected]> (powerpc)
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
