From patchwork Tue Dec 17 14:21:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 11297725 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 857FF112B for ; Tue, 17 Dec 2019 14:21:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 51D0321D7D for ; Tue, 17 Dec 2019 14:21:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vXqu8GIY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51D0321D7D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8993D8E006F; Tue, 17 Dec 2019 09:21:58 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 84AA58E0040; Tue, 17 Dec 2019 09:21:58 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 787EB8E006F; Tue, 17 Dec 2019 09:21:58 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0050.hostedemail.com [216.40.44.50]) by kanga.kvack.org (Postfix) with ESMTP id 64F148E0040 for ; Tue, 17 Dec 2019 09:21:58 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id F21E9180AD811 for ; Tue, 17 Dec 2019 14:21:57 +0000 (UTC) X-FDA: 76274847516.23.sky97_4b523b9a56a31 X-Spam-Summary: 2,0,0,f384b385f471f586,d41d8cd98f00b204,rppt@kernel.org,:linux-sh@vger.kernel.org:ysato@users.sourceforge.jp:dalias@libc.org::linux-kernel@vger.kernel.org:rppt@kernel.org:rppt@linux.ibm.com,RULES_HIT:41:69:355:379:541:800:960:973:988:989:1260:1311:1314:1345:1437:1515:1534:1541:1711:1714:1730:1747:1777:1792:1801:2198:2199:2393:2559:2562:2890:2895:3138:3139:3140:3141:3142:3351:3865:3867:3874:4042:4184:4605:5007:6261:6653:7576:10004:11657:11658:11914:12043:12114:12291:12297:12517:12519:12679:12895:13069:13161:13227:13229:13311:13357:13894:14096:14180:14181:14384:14394:14581:14721:21060:21080:21450:21627:30001:30054:30070,0,RBL:198.145.29.99:@kernel.org:.lbl8.mailshell.net-62.14.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: sky97_4b523b9a56a31 X-Filterd-Recvd-Size: 2404 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf41.hostedemail.com (Postfix) with ESMTP for ; Tue, 17 Dec 2019 14:21:57 +0000 (UTC) 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 A21DE21739; Tue, 17 Dec 2019 14:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576592516; bh=ueGS3iFnbRD2iFw8cOWQhfJY1+W3N8aPfHC9xXQTM3k=; h=From:To:Cc:Subject:Date:From; b=vXqu8GIYA+hYaUmgXRVbbmFskLdI7UcMHOrLuCJ5+ZIGvhrrT78TzXFmu5Kg6KEHz l6TeEGPx+2TBBo90EMku8XRyTGbrcQ6ftVeaW8AmwU+osMK7PklMv4u8UxQmD8Inir rvo0iiYhHA6uC+5q19TNAd9ZGKG71sh+gBkKD53k= From: Mike Rapoport To: linux-sh@vger.kernel.org Cc: Yoshinori Sato , Rich Felker , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport , Mike Rapoport Subject: [PATCH 0/2] sh: get rid of __ARCH_USE_5LEVEL_HACK Date: Tue, 17 Dec 2019 16:21:48 +0200 Message-Id: <20191217142150.10392-1-rppt@kernel.org> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000585, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Mike Rapoport Hi, These patches update the SuperH page table folding/unfolding to take into account the 5th level. Mike Rapoport (2): sh: drop __pXd_offset() macros that duplicate pXd_index() ones sh: add support for folded p4d page tables arch/sh/include/asm/pgtable-2level.h | 1 - arch/sh/include/asm/pgtable-3level.h | 1 - arch/sh/include/asm/pgtable_32.h | 5 ++--- arch/sh/include/asm/pgtable_64.h | 5 ++--- arch/sh/kernel/io_trapped.c | 7 ++++++- arch/sh/mm/cache-sh4.c | 4 +++- arch/sh/mm/cache-sh5.c | 7 ++++++- arch/sh/mm/fault.c | 26 +++++++++++++++++++++++--- arch/sh/mm/hugetlbpage.c | 28 ++++++++++++++++++---------- arch/sh/mm/init.c | 15 +++++++++++---- arch/sh/mm/kmap.c | 2 +- arch/sh/mm/tlbex_32.c | 6 +++++- arch/sh/mm/tlbex_64.c | 7 ++++++- 13 files changed, 83 insertions(+), 31 deletions(-)