From patchwork Thu Jun 2 15:56:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9150839 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E91D960221 for ; Thu, 2 Jun 2016 16:07:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA32B22473 for ; Thu, 2 Jun 2016 16:07:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEF5128319; Thu, 2 Jun 2016 16:07:07 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBA6422473 for ; Thu, 2 Jun 2016 16:07:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161391AbcFBQGr (ORCPT ); Thu, 2 Jun 2016 12:06:47 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:36334 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932881AbcFBQGp (ORCPT ); Thu, 2 Jun 2016 12:06:45 -0400 Received: by mail-pa0-f65.google.com with SMTP id fg1so3655296pad.3; Thu, 02 Jun 2016 09:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=s4Y5CteMFuBqUsB/wJK1oT5Et+gmPPEHQIXrliCCWyU=; b=N6IQCAi5gpwXVMCNxevrXwf7J8WFkIGVoPEC2Ip4uLjU7UJPtbjMk6Ncc5Vf1a10RG dDoF1iE4KjNCTMiGijnEZPrpo23Q54X5cBuB743TmUSjPVLBQMLO+KqGjr3qPaxxZw2Z H443ycd7miROU9C/O+DKZmlfxELDltyzuz5qXa+TrLtv7/tKw/tMUghx+rafXjv5AQUU LAgt17g6k6sI2Uc7x81oKuHdkte5HNj5s3HuoC1q5XCMAKDjCxRW/QFhsyjGkvYsPOkV FUwCaRXS9MzWdDwd3iR5aITB7uVJjwa3YEum2BenUoH95AAenlL1KUUSiLeit6KPhaiM eZww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=s4Y5CteMFuBqUsB/wJK1oT5Et+gmPPEHQIXrliCCWyU=; b=P6sKKRICKrb8SQuAW8JzpBuVyQmq3nvRDtIIsYWltJ6kwH4001mg7VRzDcOZRJz/4X 7zsraWYFNj5m8W9d0FJHvHsGdv+JW6+UhypE2DTsT4+A+rDqVYZxC/LgQ37kwHQ/yLXh XyfwPKYWLMjelBFq7IBpdL2lVdiyrT9TPxx+5tLG+2+GYnT8qvkx+KnPC0AFtH9SU8GX v1J77ft9Vtm9BtvkLz5GX2yfAZGnxdDqkn93KCly5zPF7MLbfb1YX7YeGbse39oRnY8x T1xQmD6w5rGI7W55BGK4MnlxfFf0b3E0s1vRUz/r2fkoWMvnVY/Sm6drTubWVCvRjhnw t3zQ== X-Gm-Message-State: ALyK8tKqzon6WqovGGhq12f3IXmdNVzHc8smIKuyK5CEjB0WPzb3/fsgGYzXEvDpzv4fFA== X-Received: by 10.66.167.168 with SMTP id zp8mr6652610pab.20.1464883604189; Thu, 02 Jun 2016 09:06:44 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id 8sm1951624pfq.11.2016.06.02.09.06.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jun 2016 09:06:42 -0700 (PDT) From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, joro@8bytes.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm , robin.murphy@arm.com, m.szyprowski@samsung.com Date: Fri, 03 Jun 2016 00:56:18 +0900 Message-Id: <20160602155618.31018.67078.sendpatchset@little-apple> In-Reply-To: <20160602155519.31018.59925.sendpatchset@little-apple> References: <20160602155519.31018.59925.sendpatchset@little-apple> Subject: [PATCH v3 06/06] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart --- Changes since V2: - None Changes since V1: - Rebased on top of ARCH_RENESAS change - Added Acked-by from Laurent drivers/iommu/Kconfig | 1 - 1 file changed, 1 deletion(-) --- 0001/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2016-06-02 22:17:14.950607110 +0900 @@ -273,7 +273,6 @@ config EXYNOS_IOMMU_DEBUG config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" - depends on ARM_LPAE depends on ARCH_RENESAS || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_LPAE