Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3641336pxf; Mon, 22 Mar 2021 11:11:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAoE28cY0h1krZcZ/3qak1lqNUIAxdVdMRARlC3zDxpEtJplOd3bg+TJUQeOjFRty2VqOX X-Received: by 2002:a05:6402:1157:: with SMTP id g23mr845029edw.303.1616436682585; Mon, 22 Mar 2021 11:11:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616436682; cv=none; d=google.com; s=arc-20160816; b=h6wYYkNSgKs1zc8UPxJK7S8IUC0SrG7TANXsh04XbccX83WL97WyHlTOX1udFcGyJ6 t97dhhZGhG4psY7kQlDgAzpNv+hRF42QeEjgxkuzbFDgGYxbqLOws6LnBhT54KkwzprB 6jAy7RNwAPaAmPEXZHrud8/ACeiggSILV0U/p/j2w+3iu5XyzIlcGWQ3vxbL1DFGL/l8 kT+YHiZ3XDnMjL7h22e0G9SNW7ZflaLYuM1Qu8TtaWX2f1C461ySYkK2fsROg8OBb9pq kGY7YeYNZrU9DgG98HnkVzl6C451c75pgSPm0K0yoFAoVpFBA3VlN8CbYksiYFGfMSTl 3aKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=HXtNmrKTM51ZSus+Z9eIDukKDujWfb1wavKgLOog05c=; b=CtCVKb6WG1A25kIChRbmYPtgwvqt4gfwFtobqFxOY7QiYGiGjD7AaJRG66DkbWLYGW 9CB7licSEhhYkI8CV5pWjpkvsQbizlaDqiSQluNszVfWCfVePPPbczk8wBWeAk0hllTm 5AmW7h12eRphEFifsIt4q0cKkibIRVFsPnTtpmCMjR8S0/IKZ56ssXmc8C2o1w+moczz 9Lv6VA+84/ekQZ49zhnFi0W9hWXbSePnPlhHeKwgb4sF/q7DPBwgoDmlvCyZNWS5yniQ 35FsoMlDPgVCiNvBipqFTtG+WOBQzRTsVD7R9Z9AOLFg2XOe7kA2VC5a2QnNreCiicmu Z4sg== 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=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si12113288edv.66.2021.03.22.11.10.58; Mon, 22 Mar 2021 11:11:22 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbhCVSJ3 (ORCPT + 99 others); Mon, 22 Mar 2021 14:09:29 -0400 Received: from foss.arm.com ([217.140.110.172]:36370 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbhCVSJY (ORCPT ); Mon, 22 Mar 2021 14:09:24 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6B26A113E; Mon, 22 Mar 2021 11:09:23 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 698C93F718; Mon, 22 Mar 2021 11:09:22 -0700 (PDT) Date: Mon, 22 Mar 2021 18:09:17 +0000 From: Lorenzo Pieralisi To: Zhiqiang Hou , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gustavo.pimentel@synopsys.com, robh@kernel.org, bhelgaas@google.com, jingoohan1@gmail.com Subject: Re: [PATCH] PCI: dwc: Move forward the iATU detection process Message-ID: <20210322180917.GA15539@e121166-lin.cambridge.arm.com> References: <20210125044803.4310-1-Zhiqiang.Hou@nxp.com> <161643622212.21337.14859040633786233709.b4-ty@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <161643622212.21337.14859040633786233709.b4-ty@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 06:03:57PM +0000, Lorenzo Pieralisi wrote: > On Mon, 25 Jan 2021 12:48:03 +0800, Zhiqiang Hou wrote: > > In the dw_pcie_ep_init(), it depends on the detected iATU region > > numbers to allocate the in/outbound window management bit map. > > It fails after the commit 281f1f99cf3a ("PCI: dwc: Detect number > > of iATU windows"). > > > > So this patch move the iATU region detection into a new function, > > move forward the detection to the very beginning of functions > > dw_pcie_host_init() and dw_pcie_ep_init(). And also remove it > > from the dw_pcie_setup(), since it's more like a software > > perspective initialization step than hardware setup. > > Applied to pci/dwc, thanks! > > [1/1] PCI: dwc: Move forward the iATU detection process > https://git.kernel.org/lpieralisi/pci/c/5ff8ca16f8 Bjorn will queue it for v5.12, so I have dropped it, ignore this notification. Thanks, Lorenzo