Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3442125ybc; Thu, 21 Nov 2019 08:23:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxnQzJSFzlYhJsxvrt02yJkE3XvMZL9AF1/H4MyWUe2+OmWPghtQSD4asmjRGRH9+JIZtZC X-Received: by 2002:a17:906:f10:: with SMTP id z16mr15219190eji.211.1574353396073; Thu, 21 Nov 2019 08:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574353396; cv=none; d=google.com; s=arc-20160816; b=yLR0w/2OyLXFRpsc+/bHPJho3Qj80gw3nVpPR1wLYjTOV1XzWaFsa7QtjTR8ggSoyX c0lZHeRotYbB9K88uLr+QS55OxMIDwatCgag8ts3DcLk3onovuvVwHI459vmdftS2Oax SCnvDr3FHyHLWt7OYUVHYmrjON2g7Ovi5FKcFt5UN2hZMI8Y6LuTMuvVsix8g8aBUv0k CnebZGB4aCJ0LJ7t1kdOnVGtaxnOOOyAp1BXbomMicCiNA0HP04bdicDH0AT9YUrJG/U k842f6aa8Yqit/ViJcINII1UdwcV1sWK3OtrOIIu39s0XcFMY5TV27zwqiVK9hUIJdjc lKWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4Y0IjSfYdmtUuvZ14ZQWixfmzgwDL4NcqVKLjyxTsNA=; b=IJ4QG8TddrIdtpN9zYKN+Xt541NdFkoUCIcvGbyD6fAcJw7hCGi/BKVhqJQS9bMaNP 6HcaH5kZjYQvLkFhpJ6U6nX+VLC9K96CACAu8V8RaBhm5mL0O1CYDGszEd9ZbIsKP520 weAoPd3w5D9cXkrrF9i+NtaMTktRtxV8vZYsnWlLRGnvoHTQ5LQgs2h7algjUtJwcJeg TEedoq740nwiphT6P8o4JOrxEhB/KJxMTBBUIgTIQFigWGQhW1Wc03eb49/k5wdq4moG FP4LKi/ZpiYr/YYpYzfkghnx72jKSMIDJaclv7GqfYoDhArs0eqbATD1xcwIoHRvP7aE AL+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X+XtSni8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si2159612eja.204.2019.11.21.08.22.52; Thu, 21 Nov 2019 08:23:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X+XtSni8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727133AbfKUQVk (ORCPT + 99 others); Thu, 21 Nov 2019 11:21:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:35380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbfKUQVk (ORCPT ); Thu, 21 Nov 2019 11:21:40 -0500 Received: from aquarius.haifa.ibm.com (nesher1.haifa.il.ibm.com [195.110.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9679A20692; Thu, 21 Nov 2019 16:21:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574353299; bh=jRHPUdh/q+ZeknX4bTbCJ4Ve3ahDcrni2zelflzUwfU=; h=From:To:Cc:Subject:Date:From; b=X+XtSni8UQeUXzHhQgLBpzMWbOSS8CDcezExjVyZM+2HukuGKwgWJlHLzo2LJ6NkH 0tbR4mVunKgjwM/eMIExSaRQytbZ8+LPWBzgxO0NCFs/SKNog22waUMeSJTSNCNZc/ NKJTA9eoEVY76IzqJD7YZrs9xWI1EzTDndq4KQr4= From: Mike Rapoport To: Ralf Baechle , Paul Burton , James Hogan Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mike Rapoport , Mike Rapoport 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> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mike Rapoport 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