Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4721076pxb; Tue, 28 Sep 2021 02:32:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydjZ4xWtDmegXUa/UrM6GEtJH98PlbL/zm4fm9RkPygD44iuQjfFh1F6e87rO94ICZrXcu X-Received: by 2002:a17:902:7e4b:b0:13d:c03f:5946 with SMTP id a11-20020a1709027e4b00b0013dc03f5946mr4159122pln.4.1632821553831; Tue, 28 Sep 2021 02:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632821553; cv=none; d=google.com; s=arc-20160816; b=LO8PJLo2AyHJxNPygBEKti3nAWxbEEk/uNyZHUJ5cqLSHKkcDf97zd3b99oXU6rhrc NBnv5KM68hReyhoRKLM0WXLGWVypl4aGmMWztrSV55OdbdLg/4nXda9CHT6cjjVAquar BUF8440zJ2px+fQgsM5C3mnwXw686WdVBlNdsJR72w65MlNzA4SCqG43OLx/0Npb+t9R Ud74SPY3K6+20XKvJUiXgxFbXlk3stXaszgSHUMZHQsXkFBDuTkC+rNetZUVfSlx2AIH uGkQzjMZxwA87RfdtJHSTiBX4aw95YUcVS51GeC1tkKOjKUhz3xjwmjd2mFLaghtBWsL vFMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ngOcuqVgftOOcPbxVJMSwJP1jYZMJH6PyN7S0wbwaIQ=; b=VaCmC25+LmkGyQ7qL5ypVsiF9/y7ms63ZnkAepZQqVmEXl+MKWOw/QINhPncJwIEDP vwduW2wI0RMy4Hgy18MpgKBTpQvxYirDiZAPiql+Rl1Ayjv5aRQlnVQIscKif+33cj2D pKwMLgB25uhC6tjbZsfkyyQa2Ukos1nmYT6sr8hckUYZFdfqczzrNGC2UBBXAg+Do8oi 7++tz/9xb1xM77GPk3LVVCNK/M+bJhPLSpR/uTV2uzAmRXfu4a/uYUXpvGNkkpNQb3cz QAwEKplP8/RyGdhbStPIviw6r4/Jm9Pvq/dqX0ZddxZDtMYjPYeb/43VuQ4Id5wBV0GP 0jhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 141si22227791pga.314.2021.09.28.02.32.21; Tue, 28 Sep 2021 02:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240051AbhI1Jcm (ORCPT + 99 others); Tue, 28 Sep 2021 05:32:42 -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