Re: [Qemu-devel] [PATCH v2 3/8] spapr: Clean up dt creation for PCI buses

2019-05-30 Thread Alexey Kardashevskiy
On 30/05/2019 15:38, David Gibson wrote: > Device nodes for PCI bridges (both host and P2P) describe both the bridge > device itself and the bus hanging off it, handling of this is a bit of a > mess. > > spapr_dt_pci_device() has a few things it only adds for non-bridges, but > always adds

[Qemu-devel] [PATCH v2 3/8] spapr: Clean up dt creation for PCI buses

2019-05-29 Thread David Gibson
Device nodes for PCI bridges (both host and P2P) describe both the bridge device itself and the bus hanging off it, handling of this is a bit of a mess. spapr_dt_pci_device() has a few things it only adds for non-bridges, but always adds #address-cells and #size-cells which should only appear for