From patchwork Tue Sep 20 13:45:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9341721 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 F07DB607D0 for ; Tue, 20 Sep 2016 13:54:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E13D3296DC for ; Tue, 20 Sep 2016 13:54:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D532E296FA; Tue, 20 Sep 2016 13:54:06 +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 0B284296E1 for ; Tue, 20 Sep 2016 13:54:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753749AbcITNxv (ORCPT ); Tue, 20 Sep 2016 09:53:51 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:33362 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755315AbcITNxj (ORCPT ); Tue, 20 Sep 2016 09:53:39 -0400 Received: by mail-pa0-f66.google.com with SMTP id oz2so972051pac.0; Tue, 20 Sep 2016 06:53: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=5E0XTAHD1kebN8SjQWtVcBV7oV/btFmVSyNmsSaEnr0=; b=chV7xm0d72S4aMvd5/iRq0NRc5BzJM/0MGWoEP9S5MYO3DLS6IHnUZN5vaduVIPhH/ ARRthVF3zTSJiObi4j+Jj1PFb9VZ+DqcqFWoDuD5cyyjmvq+z9hExi3blo4mORmOlNOb VRuyVc1DH/VfizR2LTW5LvF9XmKhCT7l+rTO0S2DlBAqxBjEpH2oh6GTwbhwn0PR3KHs oby6AfZFx4H0aWD2lqVHKfgoBw4je3JDGA30GEy4LnXAh9D4Xf9qLJk4/Sv48FWyZ2gn tpFZ5Jzm5UAuu87Ub61nI4gZcXmVbNmVGKqEK5D0HWGtlf+9/Ua/HZ8CyZVZPjR4ros8 uELA== 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=5E0XTAHD1kebN8SjQWtVcBV7oV/btFmVSyNmsSaEnr0=; b=iNAGGCZKaSmmJMFhUVIP05ru0+e3KUXQBADk5mjqSVZhVyiBMlR70oU0bdOOTtOby/ Z/IhV63T+/uNAn7zGVhE2nPUmQUArqkqQt2LCWQairzqhFfOi6dDrSIzT1gzftBuQZgM dcxLvXAKvcc7kognVZdgKSKeuM6+VTgvHIN6L6+/Wei7rWLdZJ4QeMWLe81O1FPqRWOC fJxcFKcFF5q94F4ZmFm2TxN88OqtyiKkE50/aFgKgKAdu9wjKrLeircw2neU3ydMUxxw NSj6CdqZtHXxlSBfx35usZnYyDZyepbCOl0oyP5ZMZz5Xc9dZzCTOOVfvzazrtkn0IDq NQTA== X-Gm-Message-State: AE9vXwNjqfTUdFxETHRH3bRwHuGqvZ+hcnzrKEEDE4S0JIPBHkNXt9GGroBq2cZjnwy+cg== X-Received: by 10.66.48.8 with SMTP id h8mr28263041pan.92.1474379618338; Tue, 20 Sep 2016 06:53:38 -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 r7sm17176251pfk.49.2016.09.20.06.53.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Sep 2016 06:53:37 -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: Tue, 20 Sep 2016 22:45:06 +0900 Message-Id: <20160920134506.25470.77154.sendpatchset@little-apple> In-Reply-To: <20160920134355.25470.93701.sendpatchset@little-apple> References: <20160920134355.25470.93701.sendpatchset@little-apple> Subject: [PATCH v5 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 --- 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