From patchwork Mon Apr 21 14:13:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 4025231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 400409F319 for ; Mon, 21 Apr 2014 14:17:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 205B0200D5 for ; Mon, 21 Apr 2014 14:17:57 +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 E224A20270 for ; Mon, 21 Apr 2014 14:17:55 +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 1WcF00-0000z4-Mg; Mon, 21 Apr 2014 14:15:08 +0000 Received: from perceval.ideasonboard.com ([95.142.166.194]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WcEzw-0007y2-43 for linux-arm-kernel@lists.infradead.org; Mon, 21 Apr 2014 14:15:04 +0000 Received: from avalon.ideasonboard.com (147.20-200-80.adsl-dyn.isp.belgacom.be [80.200.20.147]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0BAE235A05; Mon, 21 Apr 2014 16:10:56 +0200 (CEST) From: Laurent Pinchart To: iommu@lists.linux-foundation.org Subject: [PATCH 8/9] iommu/ipmmu-vmsa: Remove stage 2 PTE bits definitions Date: Mon, 21 Apr 2014 16:13:08 +0200 Message-Id: <1398089589-9181-9-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398089589-9181-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1398089589-9181-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140421_071504_394998_47FB953C X-CRM114-Status: UNSURE ( 7.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Will Deacon , linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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.5 required=5.0 tests=BAYES_00,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 We don't support stage 2 translation yet. Signed-off-by: Laurent Pinchart --- drivers/iommu/ipmmu-vmsa.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 0e4d145..711e5c4 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -202,14 +202,6 @@ static LIST_HEAD(ipmmu_devices); #define ARM_VMSA_PTE_ATTRINDX_SHIFT 2 #define ARM_VMSA_PTE_nG (((pteval_t)1) << 11) -/* Stage-2 PTE */ -#define ARM_VMSA_PTE_HAP_FAULT (((pteval_t)0) << 6) -#define ARM_VMSA_PTE_HAP_READ (((pteval_t)1) << 6) -#define ARM_VMSA_PTE_HAP_WRITE (((pteval_t)2) << 6) -#define ARM_VMSA_PTE_MEMATTR_OIWB (((pteval_t)0xf) << 2) -#define ARM_VMSA_PTE_MEMATTR_NC (((pteval_t)0x5) << 2) -#define ARM_VMSA_PTE_MEMATTR_DEV (((pteval_t)0x1) << 2) - #define ARM_VMSA_PTE_CONT_ENTRIES 16 #define ARM_VMSA_PTE_CONT_SIZE (PAGE_SIZE * ARM_VMSA_PTE_CONT_ENTRIES)