[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 05/14] xen/arm: PCI host bridge discovery within XEN on ARM


  • To: Rahul Singh <rahul.singh@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Tue, 14 Sep 2021 07:53:32 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wlmZPGeXN4ZuQgFXCANZ+TPGqQoW8sCwPr77bYDd17I=; b=ZkMMu8H04bEYBmQB6arFwwgDfQBaX0aKfZYkkLUaiS7LwvM+/WW1ZiIqiei1BXcjVTN47VY/iWO1JeIRNQCSRLs+kLq2bqhgCK+3OzJcin5I6Z2dztQEAUGzg1wN3VKSkXamzgvq3whjyaUN+DaiOz+N9YzMFWd6BF86l7Io3cK9pfmBP8gHk13x8LYInTVMsDWE4CB2+bAYJxBexMathyU7lN/QWYsERIiRTRPqXdXNeY6mceQm0XNxFddvTmPtO1s1Br74ehrzpmBSDKOm0bWlEy7icqcKXgCO2JfvaY3nk3rY6mNIpPIqPxGFZUlXfe2oMNlnEMl2MoDJFYn7hw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PpdJe9EgWa7qxdPijNACSixn5e2pNqf2OisONkqSzs7Cje7S0Z+CLbh6+1NRqXbv6VIwbbqDExKaDHgDOhDSkPqtUHlGJXpps0qpmveOiQvscCtULgaAsjVqKR1N/GAe8tDwabFFyWOqvA8ja1K485wJkcmK99GYZo9ZvLxPdnEBbRGuXTgr5euCwJkDwBulS4Z3IWcG0n7hZe/DL5ku1E6bSUt9fCVx5quuKbtB40yHkOeTvH3Pih8Sgrw0ILuctp8RnDO46pmH3VHbUzEiYAGzyIrYsZKTIVWDh0cgtuFlrtKMiHyQ6Ra8J/ou0ztVzF19WSzMGX+z8x7TJLRPjw==
  • Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=epam.com;
  • Cc: Bertrand Marquis <bertrand.marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Tue, 14 Sep 2021 07:53:49 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHXqT2cTKPAnBLuBkixTqpTrxO8Dg==
  • Thread-topic: [PATCH v1 05/14] xen/arm: PCI host bridge discovery within XEN on ARM

Hi, Rahul!

On 19.08.21 15:02, Rahul Singh wrote:
> XEN during boot will read the PCI device tree node “reg” property
> and will map the PCI config space to the XEN memory.
[snip]
> +int pci_host_common_probe(struct dt_device_node *dev,
> +                          int ecam_reg_idx)
> +{
> +    struct pci_host_bridge *bridge;
> +    struct pci_config_window *cfg;
> +    int err;
> +

Should we check if the bridge is to be passed through? E.g.

     if ( dt_device_for_passthrough(dev) )

         return 0;

Thanks,

Oleksandr

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.