[PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC
From: Marc Zyngier <hidden>
Date: 2015-04-12 10:58:11
Also in:
linux-devicetree, lkml
From: Marc Zyngier <hidden>
Date: 2015-04-12 10:58:11
Also in:
linux-devicetree, lkml
On 2015-04-12 07:40, Brent Wang wrote:
Hello Mark, 2015-02-06 16:42 GMT+08:00 Brent Wang [off-list ref]: [...]quoted
quoted
quoted
+ gic: interrupt-controller at f6800000 { + compatible = "arm,gic-400", "arm,cortex-a15-gic";Surely there's no need for the "arm,cortex-a15-gic" fallback entry? What am I missing?Remove it in next version.After remove "arm,cortex-a15-gic", I get the following error during kernel booting: ----- kvm [1]: Using HYP init bounce page @396d9000 kvm [1]: error: no compatible GIC node found kvm [1]: error initializing Hyp mode: -19 ----- Check code "virt/kvm/arm/vgic.c", gicv2 only "cortex-a15-gic" and gicv3 support kvm now, so I think we should keep it, how about your idea?
Please look at commit 0f37247574b3 that is queued for merge in 4.1.
It adds the required compatibility strings to KVM, so Mark is perfectly
right to ask you to drop this "cortex-a15-gic" from your DT.
This DT won't be merged before 4.1 anyway, so there is no point trying
to make it work with older kernels.
Thanks,
M.
--
Fast, cheap, reliable. Pick two.