From patchwork Wed Jun 8 07:18: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: 9163503 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 A39906088F for ; Wed, 8 Jun 2016 07:29:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 955D02810E for ; Wed, 8 Jun 2016 07:29:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AA4728376; Wed, 8 Jun 2016 07:29:28 +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 309AC28373 for ; Wed, 8 Jun 2016 07:29:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161499AbcFHH3H (ORCPT ); Wed, 8 Jun 2016 03:29:07 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35207 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161489AbcFHH3D (ORCPT ); Wed, 8 Jun 2016 03:29:03 -0400 Received: by mail-pf0-f196.google.com with SMTP id t190so2862204pfb.2; Wed, 08 Jun 2016 00:29:03 -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=98VdKkF4V2pdYkuh5jnR8qwQ9E1tCyUMqCgq3FPIsQ4=; b=n4vTUGRzWxJlomTbE/3PKkYvMvdN7yeBYQxP3HrCEGNZf9XtwKQnAX6yIM7C3W5oBX 2mqvHryAARADmnWyaIlHPpllQOakTxonqSCvaT9xMdxFPo9xlh6yhm71Q21rXKDIkifq QehTa4LL4mT1iO22L9TMGYmH3mBttIbLgUGpdtmxPOVVj4FPlLpqKutlpXeLZ8IKe6D7 qCIthB389FkC+7cJiyH1kGmX0grxDZ8LdMkstVEWAJAxfTkUdJXpONeotbnlUeDTgYlb 3YJKHm6rjIz9qzooYWN+olv81F67rE9/DTY9DJqXDNlwo6IncmfJBFoXiFDqXmYyfgt9 /ZLw== 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=98VdKkF4V2pdYkuh5jnR8qwQ9E1tCyUMqCgq3FPIsQ4=; b=JOcwADwKZw+5w7rXdFm11Gk6KPmOBNWFOVFo8BdjWruVZQEb+xKNdc7EpofEOt95uR xD3SAWY/I7ipLf/M9L+bJEneZRFhfI5gghLzg6982ZgFDe8vDEfe7N6G/FTYGuNUD8Fu uXmFkAXhOVG/kru5Yt2sMhlL2IAAXvBEq+mUaGyjAVNEnFNAJJgXdUPPwjRvq5ixe8nc ENP0ipegSbmHQaj7t94ecb/jolq0CrDOr7N45IeZivuY6v+jmn4LIBk/QJADfDCoztr9 JBrvHlUoEf24MHTxxDjq7ofGbTo5DOZRMVd9M3LpqO0PwWKILP/IX6a5BhM1hcpnrprm fhQQ== X-Gm-Message-State: ALyK8tJsviKGyrSATUdkQujxUQbJ8COfqDn1ziYbZC0bYY1KhbfD+5T6h2hrR+3BOY2UZg== X-Received: by 10.98.42.206 with SMTP id q197mr4294497pfq.108.1465370942658; Wed, 08 Jun 2016 00:29:02 -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 189sm36514719pfd.18.2016.06.08.00.28.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jun 2016 00:29:01 -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: Wed, 08 Jun 2016 16:18:43 +0900 Message-Id: <20160608071843.7560.72573.sendpatchset@little-apple> In-Reply-To: <20160608071737.7560.32571.sendpatchset@little-apple> References: <20160608071737.7560.32571.sendpatchset@little-apple> Subject: [PATCH v4 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 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(-) --- 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