From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B530BC47E4B for ; Wed, 14 Jul 2021 23:19:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 891E26136E for ; Wed, 14 Jul 2021 23:19:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 891E26136E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=lF8HQDynt6eRRw8ZFs/usW9grD1YDN1dIIks1QiAo7Y=; b=3SGZQRlGjQiubo jFWn1RBI4v0OLiL//nczAsCuB/MS7ckk7PxjsT5WsxFhiZOTQAjJd1HjptGYuFhZ5uKyxUtqNz5km UPfuL4E/VzSvnL9F4AXq642zTEOOdqHkbiTOYsP6HQKwNWFrTcwCFbo35zIXEREPZiYlK5pHybK0N sikggwkhoG0Pkf3CgX8uIZa4PD+QWEOjDGKoeqph3YMPhlbYMwSRWAjYxYsMXLBSwwlADi+5kyxSf hVFPF8ar+qIF4Zpr1mrynQXn1O1z9uBRdmUxwCqBKs4mfDeSoYZK1jK0R4alhg25A00jv5VdjEg88 DrSynxFg5rKjYPlVqnMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3o7G-00GCW9-VE; Wed, 14 Jul 2021 23:16:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3kt0-00EhvM-0O for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 19:49:39 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 22C986100A; Wed, 14 Jul 2021 19:49:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626292177; bh=WfMWrkHvJ44P3JTRAzMBFhBHH9ErA8FDl5XjQ3/gaXk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=VVa6aI500N7TcMemN2ST4LsAKUV1CDY1wp4O5LPgrfRmoiT7Z9uxVB1tGNmIDYKKw bYaYwfAEm5ou82Vv9P/nBJyi1Ea3wK3D6hVRLHUjRhqSk4v+GOVWtulEGMiPY98RHl xCuny/vdiZLZTL5H0CbvwGuEdO4CBSl8Z2yepo86yBpct9Q4K7PQtBVrry3pIk3+cB hAyON+FBCynK+gRdzhQCQWclkPr4/fxPj9Fkr69p2uwozduMLUmxmZ5YZ/bjjYFZSu 1TWdY02T43e8nLic+h8QMNUQjawJkOFeZ9rumpaXQiVyL7vSnrNNBAXYIoKEg1CY/T QwmXD5E0+g6Iw== Date: Wed, 14 Jul 2021 14:49:35 -0500 From: Bjorn Helgaas To: Boqun Feng Cc: Bjorn Helgaas , Arnd Bergmann , Marc Zyngier , Catalin Marinas , Will Deacon , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-pci@vger.kernel.org, Sunil Muthuswamy , Mike Rapoport Subject: Re: [RFC v4 4/7] PCI: hv: Generify PCI probing Message-ID: <20210714194935.GA1870211@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210714102737.198432-5-boqun.feng@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210714_124938_118972_993D549B X-CRM114-Status: GOOD ( 11.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 14, 2021 at 06:27:34PM +0800, Boqun Feng wrote: > From: Arnd Bergmann > > In order to support ARM64 Hyper-V PCI, we need to set up the bridge at > probing time because ARM64 is a PCI_DOMAIN_GENERIC arch and we don't > have pci_config_window (ARM64 sysdata) for a PCI root bus on Hyper-V, so > it's impossible to retrieve the information (e.g. PCI domains, irq > domains) from bus sysdata on ARM64 after creation. > > Originally in create_root_hv_pci_bus(), pci_create_root_bus() is used to > create the root bus and the corresponding bridge based on x86 sysdata. > Now we create a bridge first and then call pci_scan_root_bus_bridge(), > which allows us to do the necessary set-ups for the bridge. Also here and other patches in this series: s/irq/IRQ/ s/msi/MSI/ in subject lines, commit logs, comments. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel