Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp478370pxb; Wed, 3 Feb 2021 09:47:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDaRJ0tVYaFsE4Vi9zUANGpzsB7jwDgv7y7i5VXsGWWcaPSqZ38oOV5CZxBx27CAK3bx2K X-Received: by 2002:a17:907:94d4:: with SMTP id dn20mr4304479ejc.397.1612374441357; Wed, 03 Feb 2021 09:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612374441; cv=none; d=google.com; s=arc-20160816; b=b6cOLvVF80bo5sorBmqmTpMTHcRJXOgC85bLoiodGWnoKKRMsMqJsS64+D1ESDNt1I 4p6OmP96tQwBPCfJ44/Q6vfMLxCO7HgVtiHKqJ/PhV/tZfTthBS5iYdMhxUWu71UqQ4U nSQeNUa/vWKQWQiHx8isylT7PPQTa17lvJWQPheXO8/0COL4W+QYW1x55TyAJwysU3OB ATJc9BoZTnSKttL1htyfbfZTc9FpDA+eCi/PBViS8o07jRUd4tV9VfU42tZzY3T/ySXl UkcwKkSFieKh2EEjmjVtB0ylS7IOD8q3FR0n6583X+Z8jr3ZpNHsM45081U0+fL2O97w mJNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=9KPYi1ZkyDHL7NUtRviqQ04hmYB82hAl0iGOYO+e6lE=; b=EhF8/4B/oDaVmkVC8xeVjqtWoFOqseQmKA9D8KLrLpVZ95skBL6uUC5wCiyV1CDIYZ SXwwRQQNOikEeNw18SPaf8ugdgOzB5vfHqHXPc1A9r1Zjbk9aRWSY0AZ/lbTWkapOIOz yW5xvGtFsSS63JlNMadZsk77El57nVa2gA3UDdepL8RW/ZSqgP/Y89aDJRUhVTLWUici B603rxDIHk1j1FQIALuGgUxtdhz3OMnqOYqXFWeHj/bjXXkTe0M2puNISrFSqj++ovpW QVmuUyHtWRynEqcWBumq1OFRg++ybMBxZyKuMkmhEBGSoM1E0ZITt6AXm6SzLGIheGRJ 4Cew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=n2V4w7nv; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si1791874ejf.749.2021.02.03.09.46.55; Wed, 03 Feb 2021 09:47:21 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=n2V4w7nv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231475AbhBCRp2 (ORCPT + 99 others); Wed, 3 Feb 2021 12:45:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229731AbhBCRp1 (ORCPT ); Wed, 3 Feb 2021 12:45:27 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA265C0613D6; Wed, 3 Feb 2021 09:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=9KPYi1ZkyDHL7NUtRviqQ04hmYB82hAl0iGOYO+e6lE=; b=n2V4w7nv98vN71CUuyoViod1A8 VZsyXrEwuYNtnxrBrW71oyF0c+dby6fBxgSSKt8o398+DZFnniydLWvY8vPctZubrpEWm7xrVeBrP Gr2bFKiZdVQY4N+x6pt4vgVBNMnBeGCf+RcbZNB7BfESglpqbiHXFXoDmwJC5WnUsohcHgCoRZ+nq FY1+CyDAsx+O+CxA5c8fx5AJEIau7MEq3d7g+O/5pJS7D7crdGe8LJsephVEA2o8it+p7y9n+QqOG /9yyAXCAPnwGaui1UGWIA9zyJXE9v0WTNteA16Df3Q1nT9feVz3Wv3xbBv2O3CmHHTUcOmDWuqaHS 3DH+fk0w==; Received: from [2601:1c0:6280:3f0::aec2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7MCh-0001xN-Gk; Wed, 03 Feb 2021 17:44:35 +0000 Subject: Re: [PATCH v3 2/2] iommu: add Unisoc iommu basic driver To: Chunyan Zhang , Robin Murphy , Rob Herring , Joerg Roedel Cc: iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, Baolin Wang , linux-kernel@vger.kernel.org, Orson Zhai , Sheng Xu , Chunyan Zhang References: <20210203090727.789939-1-zhang.lyra@gmail.com> <20210203090727.789939-3-zhang.lyra@gmail.com> From: Randy Dunlap Message-ID: Date: Wed, 3 Feb 2021 09:44:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20210203090727.789939-3-zhang.lyra@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/3/21 1:07 AM, Chunyan Zhang wrote: > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > index 192ef8f61310..99e7712f3903 100644 > --- a/drivers/iommu/Kconfig > +++ b/drivers/iommu/Kconfig > @@ -408,4 +408,16 @@ config VIRTIO_IOMMU > > Say Y here if you intend to run this kernel as a guest. > > +config SPRD_IOMMU > + tristate "Unisoc IOMMU Support" > + depends on ARCH_SPRD || COMPILE_TEST > + select IOMMU_API > + help > + Support for IOMMU on Unisoc's SoCs, this iommu can be used by s/iommu/IOMMU/ please > + Unisoc's multimedia devices, such as display, Image codec(jpeg) > + and a few signal processors, including VSP(video), GSP(graphic), > + ISP(image), and CPP(camera pixel processor), etc. > + > + Say Y here if you want to use the multimedia devices listed above. -- ~Randy