From patchwork Wed Oct 19 23:36:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9385597 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 990C4608A7 for ; Wed, 19 Oct 2016 23:45:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F72C28DD7 for ; Wed, 19 Oct 2016 23:45:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62FD5291B6; Wed, 19 Oct 2016 23:45:02 +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=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 A868C28DD7 for ; Wed, 19 Oct 2016 23:45:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126AbcJSXol (ORCPT ); Wed, 19 Oct 2016 19:44:41 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35294 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752677AbcJSXoi (ORCPT ); Wed, 19 Oct 2016 19:44:38 -0400 Received: by mail-pf0-f193.google.com with SMTP id s8so3681224pfj.2; Wed, 19 Oct 2016 16:44:38 -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=pzLcqeEorddyiautcnDNbIeiBa0xH1xuF1J3asV3zxI=; b=sOoso/0gxoJyF72SSminK5pj/DndaFLjTQf6dHLZZ1F2rACjCmEABmjRewYWj1/uvZ XwaSiZmUmE3ktES0SwntFVXAbSJOHiE1cRJ5aP4Uca0oO7qFXxBVkzcMeKfX1cVaI+Ic m9+fXxMNXnt9EYz7FTsHxG8WTBlk8kMPANogHUzMI+4k/qj759KnPlrPlPmatgdq/GW9 NzHzZbEndHFJjSCB1UwufjjcQqcQ8GOFLl4tMSI631ajapU8xYFcdTZa+TKHrGOHUk/+ ja2oAdx+AIlqTggpsVhZkXtdQRFIyvJZflU4HyZDGVZaNCV0+ilatiTyzVz8S0dm7S2+ pC7Q== 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=pzLcqeEorddyiautcnDNbIeiBa0xH1xuF1J3asV3zxI=; b=K7i9eZ3DfvUKStg6nCrzOaq0rrjObw2J9xZlBByR7UuXwedKoWdn0TA54pvOT2pNgf WcFJ8udzI8pj1yLW3Mqvo2G41QjEilL+uO2rs9yo41m3gz23WitKr/YtLHxEeZSKwWEL hrcrFWhTOLFyg7xEzScl6POyiarnYh4OeEwydgNTH8vKt3id9HJ8TgI/pyHUjB4Omif3 fbfLpQQr32cCww6BiMFmlHGG2tsDQH1pTOnD0VSguaIG9SPCKEiLgvpNhbLZ2UCgRioQ m0lc5IS5Uea3PJN6uMJnAdBnOX+0qBbg7yu2PEz+71/xfBNATZAqicgV86OcMzON40pW cOQg== X-Gm-Message-State: AA6/9RmqyZ5no4UAqLJE08ceMS5aRvPlu9uVNgeJxdd7yibSRKaKFGIouYUJVi6Glw3mwA== X-Received: by 10.98.75.152 with SMTP id d24mr15596272pfj.97.1476920677828; Wed, 19 Oct 2016 16:44:37 -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 t128sm53153415pfd.65.2016.10.19.16.44.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Oct 2016 16:44:35 -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: Thu, 20 Oct 2016 08:36:43 +0900 Message-Id: <20161019233643.10506.46839.sendpatchset@little-apple> In-Reply-To: <20161019233533.10506.16810.sendpatchset@little-apple> References: <20161019233533.10506.16810.sendpatchset@little-apple> Subject: [PATCH v6 07/07] 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 V5: - None Changes since V4: - Rebased patch to fit on top of earlier Kconfig changes in series Changes since V3: - None 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(-) --- 0008/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2016-09-20 22:13:03.500607110 +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