summaryrefslogtreecommitdiffstats
path: root/meta-agl-devel/meta-agl-jailhouse/recipes-kernel/linux/linux/0009-arm64-dts-marvell-armada-8030-mcbin-Set-pci-domain.patch
blob: 8e99fa122baa8be0b2c1788d611ce6e684531324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 1f916502347d2b902002b430cffe18b11685f211 Mon Sep 17 00:00:00 2001
From: Jan Kiszka <jan.kiszka@siemens.com>
Date: Sun, 30 Sep 2018 21:22:32 +0200
Subject: [PATCH 09/32] arm64: dts: marvell: armada-8030-mcbin: Set pci-domain

This is a nop for normal operation but allows the device tree overlay
that the Jailhouse hypervisor injects to use pci-domain as well
(linux,pci-domain has to be applied consistently in a system). That will
assign a stable PCI domain to the secondary, virtual host controller of
Jailhouse.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
index d250f4b2bfed..58bac50b06eb 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi
@@ -174,6 +174,7 @@
 };
 
 &cp0_pcie0 {
+	linux,pci-domain = <0>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&cp0_pcie_pins>;
 	num-lanes = <4>;
-- 
2.11.0