Default arm virt machine broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This occurs on qemu_v3.0.0 but not on qemu_v2.12.2 (built from qemu_v3.0.0 tag on github)
Symptom: You'll see something like this in the kernel output:
[ 1.285210] OF: PCI: host bridge /pcie@10000000 ranges:
[ 1.286246] OF: PCI: IO 0x3eff0000.
[ 1.287061] OF: PCI: MEM 0x10000000.
[ 1.287820] OF: PCI: MEM 0x8000000000.
[ 1.289312] pci-host-generic 4010000000.pcie: can't claim ECAM area [mem 0x10000000-
[ 1.290984] pci-host-generic: probe of 4010000000.pcie failed with error -16
Qemu Command Line: qemu-system-arm -machine virt -m 1024M -kernel zImage -serial stdio
I can post my zImage if anyone has problems reproducing with their own zImage.
Note that this problem breaks pci making the machine unusable.
summary: |
- arm virt ecam pcie conflict + Default arm virt machine broken |
description: | updated |
Oh, I forgot, I should have also posted the relevant DTS contents:
pcie@10000000 { map-mask = <0x1800 0x0 0x0 0x7>; ecam-generic" ;
interrupt-
interrupt-map = <0x0 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x3 0x4 0x0 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x4 0x4 0x0 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x5 0x4 0x0 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x6 0x4 0x800 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x4 0x4 0x800 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x5 0x4 0x800 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x6 0x4 0x800 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x3 0x4 0x1000 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x5 0x4 0x1000 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x6 0x4 0x1000 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x3 0x4 0x1000 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x4 0x4 0x1800 0x0 0x0 0x1 0x8001 0x0 0x0 0x0 0x6 0x4 0x1800 0x0 0x0 0x2 0x8001 0x0 0x0 0x0 0x3 0x4 0x1800 0x0 0x0 0x3 0x8001 0x0 0x0 0x0 0x4 0x4 0x1800 0x0 0x0 0x4 0x8001 0x0 0x0 0x0 0x5 0x4>;
#interrupt-cells = <0x1>;
ranges = <0x1000000 0x0 0x0 0x0 0x3eff0000 0x0 0x10000 0x2000000 0x0 0x10000000 0x0 0x10000000 0x0 0x2eff0000 0x3000000 0x80 0x0 0x80 0x0 0x80 0x0>;
reg = <0x40 0x10000000 0x0 0x10000000>;
msi-parent = <0x8002>;
dma-coherent;
bus-range = <0x0 0xff>;
linux,pci-domain = <0x0>;
#size-cells = <0x2>;
#address-cells = <0x3>;
device_type = "pci";
compatible = "pci-host-
};