[PATCH v4 0/5] Clean up huge vmap and ioremap code

From: Will Deacon
Date: Mon Nov 26 2018 - 12:08:07 EST


Hi all,

This is version four of the patches I previously posted here:

v1: http://lkml.kernel.org/r/1536747974-25875-1-git-send-email-will.deacon@xxxxxxx
v2: http://lkml.kernel.org/r/1538478363-16255-1-git-send-email-will.deacon@xxxxxxx
v3: http://lkml.kernel.org/r/1539188584-15819-1-git-send-email-will.deacon@xxxxxxx

The only change since v3 is a rebase onto v4.20-rc3, which was automatic.

I would appreciate a review of patch 4. Sean, please could you take a
quick look?

Thanks,

Will

--->8

Will Deacon (5):
ioremap: Rework pXd_free_pYd_page() API
arm64: mmu: Drop pXd_present() checks from pXd_free_pYd_table()
x86/pgtable: Drop pXd_none() checks from pXd_free_pYd_table()
lib/ioremap: Ensure phys_addr actually corresponds to a physical
address
lib/ioremap: Ensure break-before-make is used for huge p4d mappings

arch/arm64/mm/mmu.c | 13 +++---
arch/x86/mm/pgtable.c | 14 +++---
include/asm-generic/pgtable.h | 5 ++
lib/ioremap.c | 103 +++++++++++++++++++++++++++++-------------
4 files changed, 91 insertions(+), 44 deletions(-)

--
2.1.4