From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1639C433F5 for ; Tue, 28 Sep 2021 09:31:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE4B261157 for ; Tue, 28 Sep 2021 09:31:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240059AbhI1Jcn (ORCPT ); Tue, 28 Sep 2021 05:32:43 -0400 Received: from 8bytes.org ([81.169.241.247]:39764 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239958AbhI1JcZ (ORCPT ); Tue, 28 Sep 2021 05:32:25 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 1841B2FF; Tue, 28 Sep 2021 11:30:45 +0200 (CEST) Date: Tue, 28 Sep 2021 11:30:43 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Marek Szyprowski , x86@kernel.org, linux-ia64@vger.kernel.org Subject: Re: [PATCH] iommu/dma: Tidy up Kconfig selects Message-ID: References: <9ba6f2e8568a3ff6a94fade66668d99705433c44.1631536879.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ba6f2e8568a3ff6a94fade66668d99705433c44.1631536879.git.robin.murphy@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 01:41:19PM +0100, Robin Murphy wrote: > Now that the dust has settled on converting all the x86 drivers to > iommu-dma, we can punt the Kconfig selection to arch code where it > was always intended to be. Can we select IOMMU_DMA under IOMMU_SUPPORT instead? The only drivers not using IOMMU_DMA are the arm32 ones, afaics. If we could get rid of the arm32 exception, the IOMMU_DMA symbol could also go away entirely and we handle it under IOMMU_SUPPORT instead. But that is something for the future :) Regards, Joerg