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

Reply via email to