Message ID | 20180829124543.25314-6-steve.capper@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE9CF17DB for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 29 Aug 2018 12:50:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE1ED2B014 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 29 Aug 2018 12:50:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C23452B017; Wed, 29 Aug 2018 12:50:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2FEB82B014 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 29 Aug 2018 12:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bpmhMKZCMO0oW0/oz0EnDfSbSj9LK6zkwmlEQ1tuoag=; b=s4dTDBQAv0G6Vuy5YF3OUG7Vgh 1yWJSlK3BgCGL8PTYA0j5HN8AkkpVoeZ8NHu/pRX/dnB6oCHqhGvLDGrmwuUykTOrLN0FGtoTHp6s ku8scHI0EnijwlOKPB2bKmWZd9PLnU1ageQ4JSX47DTOuyQo324zsR48LMPbWhL2XxMDjuk+ErqtZ GOF8lVE3WuUhSjN6FZ3FeNAowCRoDZkg7bxHaUxL7yETg5VYVN/WUqZ5e3ADXIfIt2mSoGxj7EVyz yOImJDoNrhI2a4fcoPdoNPzUZWM+PHFHYpY7nttP3tVn85DruL5PVOcb/+0CEq5nDllAjyF4kZMeH tnrqYGaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuzux-0006kD-1B; Wed, 29 Aug 2018 12:49:51 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuzrR-00058m-P9 for linux-arm-kernel@lists.infradead.org; Wed, 29 Aug 2018 12:46:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E153C168F; Wed, 29 Aug 2018 05:45:56 -0700 (PDT) Received: from capper-debian.arm.com (unknown [10.37.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D0F533F5BC; Wed, 29 Aug 2018 05:45:55 -0700 (PDT) From: Steve Capper <steve.capper@arm.com> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/5] arm64: mm: Activate 52-bit userspace VA support Date: Wed, 29 Aug 2018 13:45:43 +0100 Message-Id: <20180829124543.25314-6-steve.capper@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180829124543.25314-1-steve.capper@arm.com> References: <20180829124543.25314-1-steve.capper@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180829_054613_873617_6EFC2E42 X-CRM114-Status: GOOD ( 10.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: catalin.marinas@arm.com, will.deacon@arm.com, ard.biesheuvel@linaro.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
52-bit userspace VAs
|
expand
|
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 29e75b47becd..2561b541c9df 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -691,6 +691,10 @@ config ARM64_PA_BITS_52 endchoice +config ARM64_TRY_52BIT_VA + def_bool y + depends on ARM64_VA_BITS_48 && ARM64_64K_PAGES + config ARM64_PA_BITS int default 48 if ARM64_PA_BITS_48
We have all the pieces in place now to support a 52-bit userspace VA. This patch enables this logic for systems running with a 48-bit VA and a 64KB PAGE_SIZE. Signed-off-by: Steve Capper <steve.capper@arm.com> --- arch/arm64/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)