Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp228249ybs; Tue, 26 May 2020 07:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKaYdFaEvtmKY+PwBlin6tHdaGOAdIIpi0uUe+r9Wx091CL5d0G8JwF/4kek8xa2Vcd6Kd X-Received: by 2002:a05:6402:1c0e:: with SMTP id ck14mr21002321edb.356.1590504590239; Tue, 26 May 2020 07:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590504590; cv=none; d=google.com; s=arc-20160816; b=UM9oCCKfDnsn87FqIS2ty++/eOdtpWMGQaNihtqW+txOJPGwf9k+xCU1wyQKfv9gBh qtxmyzzt/OOQy0TiKfP+iWA59caxVTWwTseExyMVonuNadhB5IJ37oZt7yrATJtSzEk0 6QKxy8+UQC6UWI2F6lBQ80s1Mh3O9BksBbDspxGiqA+GILAcUbU1/eHeM5DbG6fse8HJ IdOofkbRWd9MSIFhF9FqrCaTTtYMd3OIaHnPihkemKnpEhf8sB1QOoZsxQVKS9L0/Oqc LuekpuUE8QhkyMEV/6pB8aSdKhOU8OkAXG/Wbb6af1aVbarvFWIUnG0ji3C9g1QSnIWB gdWQ== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0Lm8kIZucM9N101SLlLcwGvyzcwDFh9rh0/kpGAsWR8=; b=SR0K4RaFpf3Ua6UlGviegllA0p0F4sNlozqLw97BlxWkq3DL+nJAjLtuo7RL8wO8fp lRUOTij05AqqPBUGuUE30i40Kj56YrSCUYWgxwZfVKP8g5PXm0KcjN5ScEZ5mhXGPSMt RrpWWt9es3upi6tVKA4gV5Aja9XEc6cQsfE+BQTRkfUVAhxHqEw085/qkJJJCeBMqK7Z /VDKtUOpRxs9XcNB+x2mWK9xGy1pcqdP2345HNnDdHnVUBtjY6TGCvHrEPjSiht+WQ9Z gYBYM2W2vvNWY/b88BEbsQ9dWFM6yhiO+UxNXS+3oEp6BiVYOFPAIjg4j8/dts/Co1JD rnnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="iFU/FK7W"; 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 a34si8424edf.315.2020.05.26.07.49.18; Tue, 26 May 2020 07:49:50 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="iFU/FK7W"; 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 S1729160AbgEZOrJ (ORCPT + 99 others); Tue, 26 May 2020 10:47:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726437AbgEZOrI (ORCPT ); Tue, 26 May 2020 10:47:08 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C375CC03E96D; Tue, 26 May 2020 07:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=0Lm8kIZucM9N101SLlLcwGvyzcwDFh9rh0/kpGAsWR8=; b=iFU/FK7WgcwuU1nzH+IvLCDEOD YW7VLT4NCbBO4cOYoghFHPWsHEwrpF4u0zer832+q3IxpnxJl8WDMI88a5n0shvG+FnLOoglo6l7m nBwOdx29rjE2SXhYw9An4k+rTcd3zEWAbd4T3H/2czviIm9e1FgwaCa4ecfsOuFylZmMf66QNPWs+ 6mzmPJOUafuLVb3g45f1LeBEz6HRq9V37zOT3LER8/BKQPtI/WSburZIopEnE2UKazsrtlu2QzVH1 Pd3yDpx5Z4HpRq6oYD/qL7uamCmt81uIRkA46myiz5qRqe1u7cgEMkkmlUNal1fWdOAApqtTrftfn UyN0pNcQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jdaqq-0005YE-Ty; Tue, 26 May 2020 14:46:44 +0000 Date: Tue, 26 May 2020 07:46:44 -0700 From: Christoph Hellwig To: Zhangfei Gao Cc: Joerg Roedel , Bjorn Helgaas , Arnd Bergmann , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "Rafael J. Wysocki" , Len Brown , jean-philippe , Greg Kroah-Hartman , 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: <20200526144644.GA20784@infradead.org> References: <1590493749-13823-1-git-send-email-zhangfei.gao@linaro.org> <1590493749-13823-2-git-send-email-zhangfei.gao@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1590493749-13823-2-git-send-email-zhangfei.gao@linaro.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 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.