From patchwork Tue Mar 15 04:22:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 8585241 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CC02FC0553 for ; Tue, 15 Mar 2016 04:19:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 079A720219 for ; Tue, 15 Mar 2016 04:19:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9BF920251 for ; Tue, 15 Mar 2016 04:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933428AbcCOES4 (ORCPT ); Tue, 15 Mar 2016 00:18:56 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:35482 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933960AbcCOESy (ORCPT ); Tue, 15 Mar 2016 00:18:54 -0400 Received: by mail-pf0-f180.google.com with SMTP id n5so10391766pfn.2; Mon, 14 Mar 2016 21:18:53 -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=I1DFrfPfEw0Iu21Ce7HfT9G3Az6lsw5hiZQqK8iSmh0=; b=wAybnVkvtv57dAFPlKY1yzReUpg15CuJrgf/xd/G8vu35lYrNmtjXsRVClEBTqlAnW RP+ki2p+/TYkbc0FWczUhmDsPjFtrEI2ECE9Gt8Kjar6ez2VQQokzaXOP89BVNspETba cGu9TG1qLoGeKIOboRAQm2OceFCUoAIFzpdOeqfy1cKtBNmWhTXu+q1980bD09g1IpMQ zbAwizdAtpeiiGV9/e7E9omJ0OVr5Au5uresq7+TiCA52e/VqT/duIpyeXHqyQvWd3mC 4PcVlPm7/eE4n5jG9V0JGgxAOwad0fuhGtcN3fJddSPi89Nu/3zAYscA/7G0W87EKnX1 Mucw== 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=I1DFrfPfEw0Iu21Ce7HfT9G3Az6lsw5hiZQqK8iSmh0=; b=HPXz6D5j6x3+STx9492Has0+aWwTe051VGYiwSXT5qZRnVfD3PA7/4uIK4JN65PtPL mZDjEskS6cCauvFV+kXnJW1WugZAOxzJJ3r/phJsf4ZbNHF919WUlfYJj0aYsnrFkVvN mwRAlCtS357ri7N+0Q/U18bnZVXTLw7majQZq3j8m9bUmag7lj/LgHdRbnJS6y5nP+nc Z5HQZtsj6/61WNFLzUux1Q2VlLzODEzIt7c1p6KUpxwDn3rPTWla0sm5qkhUtbfWu4ZA HFyUecaOpm6C07vp78zGKdA5zzwakcouJA2AHwfzT8Ktu4w3olg+JdLQCcN9nTd524i0 Piaw== X-Gm-Message-State: AD7BkJJFrGw9wjPjcGsZE61bkNSIyMTl+kZANTKmzIBapdwK9yjFfNHPL6SmBpkpIKxCLw== X-Received: by 10.66.171.169 with SMTP id av9mr43415729pac.36.1458015533347; Mon, 14 Mar 2016 21:18:53 -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 q85sm35510213pfq.81.2016.03.14.21.18.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Mar 2016 21:18:52 -0700 (PDT) From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, linux-sh@vger.kernel.org, joro@8bytes.org, linux-kernel@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm Date: Tue, 15 Mar 2016 13:22:13 +0900 Message-Id: <20160315042213.22103.15860.sendpatchset@little-apple> In-Reply-To: <20160315042136.22103.26570.sendpatchset@little-apple> References: <20160315042136.22103.26570.sendpatchset@little-apple> Subject: [PATCH v2 04/04] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 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 V1: - Rebased on top of ARCH_RENESAS change - Added Acked-by from Laurent This time the result also compiles on x86. Need to be applied as last patch in the following series: [PATCH v2 00/04] iommu/ipmmu-vmsa: IPMMU multi-arch update V2 drivers/iommu/Kconfig | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2016-03-15 12:28:45.210513000 +0900 @@ -284,7 +284,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