Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Stefano Stabellini
On Thu, 28 Oct 2021, Oleksandr Andrushchenko wrote: > On 28.10.21 19:50, Stefano Stabellini wrote: > > On Thu, 28 Oct 2021, Julien Grall wrote: > >> Hi Stefano, > >> > >> On 28/10/2021 00:57, Stefano Stabellini wrote: > >>> On Wed, 27 Oct 2021, Julien Grall wrote: > Hi Oleksandr, > >

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Oleksandr Andrushchenko
On 28.10.21 19:50, Stefano Stabellini wrote: > On Thu, 28 Oct 2021, Julien Grall wrote: >> Hi Stefano, >> >> On 28/10/2021 00:57, Stefano Stabellini wrote: >>> On Wed, 27 Oct 2021, Julien Grall wrote: Hi Oleksandr, On 27/10/2021 09:37, Oleksandr Andrushchenko wrote: > From: Ole

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Stefano Stabellini
On Thu, 28 Oct 2021, Julien Grall wrote: > Hi Stefano, > > On 28/10/2021 00:57, Stefano Stabellini wrote: > > On Wed, 27 Oct 2021, Julien Grall wrote: > > > Hi Oleksandr, > > > > > > On 27/10/2021 09:37, Oleksandr Andrushchenko wrote: > > > > From: Oleksandr Andrushchenko > > > > > > > > If a P

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Oleksandr Andrushchenko
On 28.10.21 14:03, Julien Grall wrote: > > > On 28/10/2021 12:01, Oleksandr Andrushchenko wrote: >> Hi, Julien! >> >> [snip] >> On 28.10.21 13:48, Julien Grall wrote: >>> Hi Stefano, >>> >>> Looking at linux/arch/arm64/boot/dts/, there are a few Device-Tree that >>> contain the property "linux,p

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Julien Grall
On 28/10/2021 12:01, Oleksandr Andrushchenko wrote: Hi, Julien! [snip] On 28.10.21 13:48, Julien Grall wrote: Hi Stefano, Looking at linux/arch/arm64/boot/dts/, there are a few Device-Tree that contain the property "linux,pci-domain". All of them seems to also add it for disabled hostbrid

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Oleksandr Andrushchenko
Hi, Julien! [snip] On 28.10.21 13:48, Julien Grall wrote: > Hi Stefano, > > Looking at linux/arch/arm64/boot/dts/, there are a few Device-Tree that > contain the property "linux,pci-domain". All of them seems to also add it for > disabled hostbridges. > > However, I am under the impression that

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-28 Thread Julien Grall
Hi Stefano, On 28/10/2021 00:57, Stefano Stabellini wrote: On Wed, 27 Oct 2021, Julien Grall wrote: Hi Oleksandr, On 27/10/2021 09:37, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko If a PCI host bridge device is present in the device tree, but is disabled, then its PCI host b

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-27 Thread Stefano Stabellini
On Wed, 27 Oct 2021, Julien Grall wrote: > Hi Oleksandr, > > On 27/10/2021 09:37, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > > > If a PCI host bridge device is present in the device tree, but is > > disabled, then its PCI host bridge driver was not instantiated. > > Thi

Re: [PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-27 Thread Julien Grall
Hi Oleksandr, On 27/10/2021 09:37, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko If a PCI host bridge device is present in the device tree, but is disabled, then its PCI host bridge driver was not instantiated. This results in the following panic during Xen start: (XEN) Device

[PATCH] xen/arm: do not try to add pci-domain for disabled devices

2021-10-27 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko If a PCI host bridge device is present in the device tree, but is disabled, then its PCI host bridge driver was not instantiated. This results in the following panic during Xen start: (XEN) Device tree generation failed (-22). (XEN) (XEN) ***