From patchwork Tue Dec 15 12:03:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7854081 X-Patchwork-Delegate: geert@linux-m68k.org 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 E3B11BEEE1 for ; Tue, 15 Dec 2015 12:07:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 238E620304 for ; Tue, 15 Dec 2015 12:07:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4FEF62024D for ; Tue, 15 Dec 2015 12:07:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965096AbbLOMHP (ORCPT ); Tue, 15 Dec 2015 07:07:15 -0500 Received: from mail-pf0-f174.google.com ([209.85.192.174]:36602 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964999AbbLOMHN (ORCPT ); Tue, 15 Dec 2015 07:07:13 -0500 Received: by mail-pf0-f174.google.com with SMTP id u66so3831878pfb.3; Tue, 15 Dec 2015 04:07:12 -0800 (PST) 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=r7T7pP6hAPnXMMEbPYp5twnOHRJ1MAGdCB/0GqsxVaQ=; b=tRqATVrTDR9+UyI8ZcyZ1YestbYOGSqHlTAttEaf02Xl6WtntkZGKJi00ZSZmCc2ig O4voLRaUhD1QWxTXFcgLOrzTXkgOrVRx2W339FbT67qRlPaBddMxVNQDyTf54wl+zyUx CcC/+yVjtGp/th5kkIRAaDlaV76KtaOIqm1iioFmQ6Oo0Qj2IeHsUnUVkE1rebKCa7Sa 6sEi4Yvtum9jwuz1CSoUwXD6jX+CmAOltguhyarzFXTcml8faGUpcHof/NBreEuy3+/t YPQaXWSAsX/2Oloh71DpkuA3HaREpZzqqFWNKDb0jndQD59gjKbFGQdfOARGpn5+u11e VSWw== X-Received: by 10.98.12.205 with SMTP id 74mr43319352pfm.53.1450180888773; Tue, 15 Dec 2015 04:01:28 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id v89sm1892019pfa.91.2015.12.15.04.01.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Dec 2015 04:01:27 -0800 (PST) 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 Dec 2015 21:03:08 +0900 Message-Id: <20151215120308.26216.38754.sendpatchset@little-apple> In-Reply-To: <20151215120212.26216.61530.sendpatchset@little-apple> References: <20151215120212.26216.61530.sendpatchset@little-apple> Subject: [PATCH 06/06] 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, T_DKIM_INVALID, T_RP_MATCHES_RCVD, 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 --- This time the result also compiles on x86. Need to be applied as last patch in the following series: [PATCH 00/06] iommu/ipmmu-vmsa: IPMMU multi-arch update 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 2015-10-18 14:58:09.080513000 +0900 @@ -324,7 +324,6 @@ config SHMOBILE_IOMMU_L1SIZE config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" - depends on ARM_LPAE depends on ARCH_SHMOBILE || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_LPAE