Add layer to support Jailhouse hypervisor
[AGL/meta-agl-devel.git] / meta-agl-jailhouse / recipes-kernel / linux / linux / 0009-arm64-dts-marvell-armada-8030-mcbin-Set-pci-domain.patch
1 From 1f916502347d2b902002b430cffe18b11685f211 Mon Sep 17 00:00:00 2001
2 From: Jan Kiszka <jan.kiszka@siemens.com>
3 Date: Sun, 30 Sep 2018 21:22:32 +0200
4 Subject: [PATCH 09/32] arm64: dts: marvell: armada-8030-mcbin: Set pci-domain
5
6 This is a nop for normal operation but allows the device tree overlay
7 that the Jailhouse hypervisor injects to use pci-domain as well
8 (linux,pci-domain has to be applied consistently in a system). That will
9 assign a stable PCI domain to the secondary, virtual host controller of
10 Jailhouse.
11
12 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
13 ---
14  arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 1 +
15  1 file changed, 1 insertion(+)
16
17 diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
18 index d250f4b2bfed..58bac50b06eb 100644
19 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
20 +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
21 @@ -174,6 +174,7 @@
22  };
23  
24  &cp0_pcie0 {
25 +       linux,pci-domain = <0>;
26         pinctrl-names = "default";
27         pinctrl-0 = <&cp0_pcie_pins>;
28         num-lanes = <4>;
29 -- 
30 2.11.0
31