From patchwork Wed May 17 10:07:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9730661 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 5AC6D60138 for ; Wed, 17 May 2017 10:12:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B28E205AF for ; Wed, 17 May 2017 10:12:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3D9D92872D; Wed, 17 May 2017 10:12:14 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham 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 BB47D205AF for ; Wed, 17 May 2017 10:12:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754168AbdEQKMM (ORCPT ); Wed, 17 May 2017 06:12:12 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35484 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753679AbdEQKMI (ORCPT ); Wed, 17 May 2017 06:12:08 -0400 Received: by mail-pf0-f193.google.com with SMTP id u26so1198990pfd.2; Wed, 17 May 2017 03:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=IvYLMFsTQWk6LtiqAq7W0xak3uik8NaBIJ/EiOowToo=; b=Hl0I586Q8BT9Tvm86FL9oKsXgB4H4015OMx/EKi8T1tl2VkKh7iYzvtAmpSyfiNhFo 1iAWGdHvt8toKQzVqA8EM5i/bhdlvVpo/Oz6UVOhzmspu4islgxHO+t2kqVnzfsWnEW3 xPvVtB6Zj2j5V0r4wZkfireJ8bSh1XeNx3VtMr4Kzeiy4K5cyxxoVEO/76cC6mMl21yr vcolFwah2ppZmWE3dQCOREsYYJj/W7wwL9pfI2jb/8eYNOZ9M0Amy9Q1Cb8OiCn+sp3J IEiiqm9yag/TYOW+VvV7SXWdWcO0FX4+FyzoOVhjEL62W30hiHEYKDgpctpPq49uBqIp Xc6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=IvYLMFsTQWk6LtiqAq7W0xak3uik8NaBIJ/EiOowToo=; b=HkJ6WTb8mIoR5hwHlw6Y5MYh6q2W+YNtFRG2/cVYXN1xYViJPNDFW4tL/lGEwqExCw /zvZru4v7tYd/Mz1Qnz6Ap82kPUC9mVOiqy9LQ8zn8j90XLAGgdQ8U18VdCqOZzZ3UTs tNeDMMK87r360wf6DhBwHyjL+L/VodlCk+krLwJWC/LI3zUeWfpz2riPI2zJt/EfxmoL /6d1NzaWmA3pdtlrsjVYmD+hqBxe9v4H/EAdS7pg88m0p8lAnd4Vx5MLwFkCDLwNuu3t THCA/MLt0LsiB1ZybpdGIJc31QeTMmT9kcAFcVAz78NfysXnxV+Chpq/xhNe6fgV5Tan t1aA== X-Gm-Message-State: AODbwcADwJ5KTny1qpXEBsLfWYzagSTXo88/AhzdJX95hwYo+aHWqfbD BhRkHZMfbPUlzg== X-Received: by 10.99.149.8 with SMTP id p8mr2943929pgd.154.1495015917888; Wed, 17 May 2017 03:11:57 -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 z64sm3649875pfd.20.2017.05.17.03.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 03:11:56 -0700 (PDT) From: Magnus Damm To: joro@8bytes.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, robin.murphy@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, iommu@lists.linux-foundation.org, horms+renesas@verge.net.au, Magnus Damm , sricharan@codeaurora.org, m.szyprowski@samsung.com Date: Wed, 17 May 2017 19:07:30 +0900 Message-Id: <149501565080.21593.5373464892088228227.sendpatchset@little-apple> In-Reply-To: <149501557669.21593.1017116915706613060.sendpatchset@little-apple> References: <149501557669.21593.1017116915706613060.sendpatchset@little-apple> Subject: [PATCH v8 07/08] 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 Reviewed-by: Joerg Roedel --- Changes since V7: - None drivers/iommu/Kconfig | 1 - 1 file changed, 1 deletion(-) --- 0010/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2017-05-17 16:45:15.530607110 +0900 @@ -275,7 +275,6 @@ config EXYNOS_IOMMU_DEBUG config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" depends on ARM || IOMMU_DMA - depends on ARM_LPAE depends on ARCH_RENESAS || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_LPAE