mbox series

[0/3] mips: get rid of __ARCH_USE_5LEVEL_HACK

Message ID 20191121162133.15833-1-rppt@kernel.org (mailing list archive)
Headers show
Series mips: get rid of __ARCH_USE_5LEVEL_HACK | expand

Message

Mike Rapoport Nov. 21, 2019, 4:21 p.m. UTC
From: Mike Rapoport <rppt@linux.ibm.com>

Hi,

These patches update the mips page table folding/unfolding to take into
account the 5th level.

Mike Rapoport (3):
  mips: fix build when "48 bits virtual memory" is enabled
  mips: drop __pXd_offset() macros that duplicate pXd_index() ones
  mips: add support for folded p4d page tables

 arch/mips/include/asm/fixmap.h     |  2 +-
 arch/mips/include/asm/pgalloc.h    |  4 +--
 arch/mips/include/asm/pgtable-32.h |  6 +---
 arch/mips/include/asm/pgtable-64.h | 44 ++++++++++++++++--------------
 arch/mips/kvm/mmu.c                | 40 ++++++++++++++++-----------
 arch/mips/kvm/trap_emul.c          |  4 ++-
 arch/mips/mm/c-r3k.c               |  4 ++-
 arch/mips/mm/c-r4k.c               |  4 ++-
 arch/mips/mm/c-tx39.c              |  4 ++-
 arch/mips/mm/fault.c               | 12 ++++++--
 arch/mips/mm/hugetlbpage.c         | 14 +++++++---
 arch/mips/mm/init.c                |  6 ++--
 arch/mips/mm/ioremap.c             |  6 +++-
 arch/mips/mm/pgtable-32.c          |  6 ++--
 arch/mips/mm/tlb-r4k.c             |  4 ++-
 15 files changed, 97 insertions(+), 63 deletions(-)

Comments

Paul Burton Nov. 22, 2019, 9:54 p.m. UTC | #1
Hello,

Mike Rapoport wrote:
> From: Mike Rapoport <rppt@linux.ibm.com>
> 
> Hi,
> 
> These patches update the mips page table folding/unfolding to take into
> account the 5th level.
> 
> Mike Rapoport (3):
>   mips: fix build when "48 bits virtual memory" is enabled
>   mips: drop __pXd_offset() macros that duplicate pXd_index() ones
>   mips: add support for folded p4d page tables
> 
>  arch/mips/include/asm/fixmap.h     |  2 +-
>  arch/mips/include/asm/pgalloc.h    |  4 +--

Series applied to mips-next.

> mips: fix build when "48 bits virtual memory" is enabled
>   commit 3ed6751bb8fa
>   https://git.kernel.org/mips/c/3ed6751bb8fa
>   
>   Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
>   Signed-off-by: Paul Burton <paulburton@kernel.org>
> 
> mips: drop __pXd_offset() macros that duplicate pXd_index() ones
>   commit 31168f033e37
>   https://git.kernel.org/mips/c/31168f033e37
>   
>   Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
>   Signed-off-by: Paul Burton <paulburton@kernel.org>
> 
> mips: add support for folded p4d page tables
>   commit 2bee1b58484f
>   https://git.kernel.org/mips/c/2bee1b58484f
>   
>   Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
>   Signed-off-by: Paul Burton <paulburton@kernel.org>

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paulburton@kernel.org to report it. ]