Linux-MIPS Archive on lore.kernel.org
 help / color / Atom feed
From: Mike Rapoport <rppt@kernel.org>
To: Ralf Baechle <ralf@linux-mips.org>,
	Paul Burton <paulburton@kernel.org>,
	James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, Mike Rapoport <rppt@kernel.org>,
	Mike Rapoport <rppt@linux.ibm.com>
Subject: [PATCH 0/3] mips: get rid of __ARCH_USE_5LEVEL_HACK
Date: Thu, 21 Nov 2019 18:21:30 +0200
Message-ID: <20191121162133.15833-1-rppt@kernel.org> (raw)

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(-)

-- 
2.24.0


             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21 16:21 Mike Rapoport [this message]
2019-11-21 16:21 ` [PATCH 1/3] mips: fix build when "48 bits virtual memory" is enabled Mike Rapoport
2019-11-21 16:21 ` [PATCH 2/3] mips: drop __pXd_offset() macros that duplicate pXd_index() ones Mike Rapoport
2019-11-21 16:21 ` [PATCH 3/3] mips: add support for folded p4d page tables Mike Rapoport
2019-11-22 21:54 ` [PATCH 0/3] mips: get rid of __ARCH_USE_5LEVEL_HACK Paul Burton

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191121162133.15833-1-rppt@kernel.org \
    --to=rppt@kernel.org \
    --cc=jhogan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=paulburton@kernel.org \
    --cc=ralf@linux-mips.org \
    --cc=rppt@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-MIPS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mips/0 linux-mips/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mips linux-mips/ https://lore.kernel.org/linux-mips \
		linux-mips@vger.kernel.org
	public-inbox-index linux-mips

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mips


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git