Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp550689ybm; Wed, 27 May 2020 02:03:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWFauyQIZF8AE6Km9DJu5pu5pBmW0ld5Fa5xfV0Ro4k1fE08CBV/ywUJNMA54v7hKEDikZ X-Received: by 2002:a17:906:7a19:: with SMTP id d25mr3688652ejo.333.1590570216952; Wed, 27 May 2020 02:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590570216; cv=none; d=google.com; s=arc-20160816; b=I8EtR+q4wmtz8ocxuuuFlI/zEq+0weHWq2VDQoybdnPh2YsRI8Bdyjt2c1pTbnJF2v liP3VN/SyfUO+jgykl1O1G35uaVLlJjJiIcWiJi42khNHVULnpOITK1nLV9ZVbtpW7dO YmYuOBFfFXmzh+FFxJbsK/4PZwWfZgUkxTRavCQZJIxttP1tazEH6Zl/yBzBuPXhSLCx ktm3LC/dstmAPoiHGetRdtXcpVK/IPMHtstL6j0bdEaM6B+Zs8SiFwwZdCyDNDEAEChv KxP+HJY3DlzugQopLHFk8yHtp8FqFFp6MoQKvhFhfOvzQzsAZ3DIUW6rEsKdggMsDFF5 id3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ss+Xedk2+ssUrN5ONu14oALvcRd1WmMVfT/mtKtYQFs=; b=JC7fvywLhsUNoLrn3zR71Iq7h+mI7FgTtfdb76r3iRmhqMxYg5S97CiVtqchnW9TFB TQ8pbVVO1I5j74z+75pmMaTg6aLYWPM5MJ0f3Lj4f+KAR4opHAXhJ4xjunApSLStU/aI 7sqAtGV0D33eT26m8CA3tkF3SZXddgB/ahKAcDS6XWI+aChm1n3o0h//nRR9h6S333lZ NJrp4NEKwiQoHuYu+kVfOEnFxTdDG5tDffa1Kpauilc2CEvk8qEOYelJvFPYmRY1lEQ+ iz4w6ZVGnnD5VUrT1d88Ih8zuUBrvHuIeS4s1hAIWv4m0P8hOu64KWYtkVpjJQ8RymVP N94g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=onCoAOhn; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 m11si1320074edl.424.2020.05.27.02.03.11; Wed, 27 May 2020 02:03:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@kernel.org header.s=default header.b=onCoAOhn; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388320AbgE0JBp (ORCPT + 99 others); Wed, 27 May 2020 05:01:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:35522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388213AbgE0JBp (ORCPT ); Wed, 27 May 2020 05:01:45 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5CC1F20723; Wed, 27 May 2020 09:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590570104; bh=Ly0PPgLoVOdP2MHz53CmBLAFstCS5mfpl1WpLZ15gps=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=onCoAOhnzHO9z1pUO0//RWYJLmKfFMRTqXoBIY+gdObr+17e6nwXXsvWN0RMThy9e uwLwAnL2f9xW9oLDKOWZn/Nzmaln1ON7ULTIQPpaM1zsoyYnkrxXXpwhUkArhx2hE2 yEEIJrw8f7A1SPpbRQGH1EvlHjbsZMtVrqHdWmVk= Date: Wed, 27 May 2020 11:01:42 +0200 From: Greg Kroah-Hartman To: Zhangfei Gao Cc: Christoph Hellwig , Joerg Roedel , Bjorn Helgaas , Arnd Bergmann , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , jean-philippe , Herbert Xu , kenneth-lee-2012@foxmail.com, Wangzhou , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] PCI: Introduce PCI_FIXUP_IOMMU Message-ID: <20200527090142.GC179718@kroah.com> References: <1590493749-13823-1-git-send-email-zhangfei.gao@linaro.org> <1590493749-13823-2-git-send-email-zhangfei.gao@linaro.org> <20200526144644.GA20784@infradead.org> <39144dc0-3b04-3127-978b-bd8487dd06e0@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <39144dc0-3b04-3127-978b-bd8487dd06e0@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 26, 2020 at 11:09:57PM +0800, Zhangfei Gao wrote: > Hi, Christoph > > On 2020/5/26 下午10:46, Christoph Hellwig wrote: > > On Tue, May 26, 2020 at 07:49:08PM +0800, Zhangfei Gao wrote: > > > Some platform devices appear as PCI but are actually on the AMBA bus, > > > and they need fixup in drivers/pci/quirks.c handling iommu_fwnode. > > > Here introducing PCI_FIXUP_IOMMU, which is called after iommu_fwnode > > > is allocated, instead of reusing PCI_FIXUP_FINAL since it will slow > > > down iommu probing as all devices in fixup final list will be > > > reprocessed. > > Who is going to use this? I don't see a single user in the series. > We will add iommu fixup in drivers/pci/quirks.c, handling > > fwspec->can_stall, which is introduced in > > https://www.spinics.net/lists/linux-pci/msg94559.html > > Unfortunately, the patch does not catch v5.8, so we have to wait. > And we want to check whether this is a right method to solve this issue. We can't take new apis without a real user, so please submit them all at once. thanks, greg k-h