From patchwork Wed Nov 19 23:29:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Yoder X-Patchwork-Id: 5345001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 609FFC11AC for ; Wed, 19 Nov 2014 23:33:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72786201FB for ; Wed, 19 Nov 2014 23:32:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6F1B7201FA for ; Wed, 19 Nov 2014 23:32:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XrEhP-0002yn-I1; Wed, 19 Nov 2014 23:30:11 +0000 Received: from mail-bn1bbn0103.outbound.protection.outlook.com ([157.56.111.103] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XrEhM-0001rH-KR for linux-arm-kernel@lists.infradead.org; Wed, 19 Nov 2014 23:30:09 +0000 Received: from CY1PR0301MB0748.namprd03.prod.outlook.com (25.160.159.154) by CY1PR0301MB1225.namprd03.prod.outlook.com (25.161.212.147) with Microsoft SMTP Server (TLS) id 15.1.16.15; Wed, 19 Nov 2014 23:29:44 +0000 Received: from CY1PR0301MB0748.namprd03.prod.outlook.com ([25.160.159.154]) by CY1PR0301MB0748.namprd03.prod.outlook.com ([25.160.159.154]) with mapi id 15.01.0016.006; Wed, 19 Nov 2014 23:29:44 +0000 From: Stuart Yoder To: Will Deacon Subject: 48-bit VA support in the SMMU Thread-Topic: 48-bit VA support in the SMMU Thread-Index: AdAEULJ451MKUpo7RZGE2Amg27h4xg== Date: Wed, 19 Nov 2014 23:29:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.88.168.49] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0301MB1225; x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0301MB1225; x-forefront-prvs: 04004D94E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(164054003)(189002)(66066001)(19580405001)(19580395003)(46102003)(20776003)(74316001)(64706001)(2656002)(87936001)(31966008)(101416001)(76576001)(97736003)(4396001)(86362001)(21056001)(99396003)(120916001)(62966003)(77096003)(77156002)(33646002)(54356999)(110136001)(50986999)(122556002)(107046002)(229853001)(92566001)(99286002)(95666004)(106356001)(108616004)(40100003)(105586002)(24736002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0301MB1225; H:CY1PR0301MB0748.namprd03.prod.outlook.com; FPR:; PTR:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141119_153008_874898_F90932F8 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -0.0 (/) Cc: Varun Sethi , Christoffer Dall , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Will, Regarding 48-bit support at the SMMU, this patch is currently in the kernel: commit 04f905a9569ca2b6964a35563f135fabbb2470bc Author: Christoffer Dall Date: Fri Oct 10 11:14:30 2014 +0100 arm64: Allow 48-bits VA space without ARM_SMMU Now when KVM has been reworked to support 48-bits host VA space, we can allow systems to be configured with this option. However, the ARM SMMU driver also needs to be tweaked for 48-bit support so only allow the config option to be set when not including support for theSMMU. Signed-off-by: Christoffer Dall Signed-off-by: Catalin Marinas Do you know the status of any work to remove this limitation? Thanks, Stuart diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ac9afde..b8053be 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -232,7 +232,7 @@ config ARM64_VA_BITS_42 config ARM64_VA_BITS_48 bool "48-bit" - depends on BROKEN + depends on !ARM_SMMU endchoice