xen/arm: Add linux,pci-domain property for hwdom if not available.
authorRahul Singh <rahul.singh@arm.com>
Wed, 13 Oct 2021 20:28:43 +0000 (13:28 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Wed, 13 Oct 2021 20:28:43 +0000 (13:28 -0700)
commit4cfab4425d39f76660b4e76ba6ee4cbf0f92e7e5
tree560f35e4ec7d449690fc859af56b35a5603b72ca
parenta0ffee6b145933f411b1c33daa2cdd54e77b2b15
xen/arm: Add linux,pci-domain property for hwdom if not available.

If the property is not present in the device tree node for host bridge,
XEN while creating the dtb for hwdom will create this property and
assigns the already allocated segment to the host bridge
so that XEN and linux will have the same segment for the host bridges.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/domain_build.c
xen/arch/arm/pci/pci-host-common.c
xen/include/asm-arm/pci.h