]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: arm/arm64: merge GICv3 RD_base and SGI_base register frames
authorAndre Przywara <andre.przywara@arm.com>
Thu, 26 Mar 2015 14:39:36 +0000 (14:39 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 30 Mar 2015 16:07:08 +0000 (17:07 +0100)
commit0ba10d53920d030cd7772a9553b13b5ea1aa4115
tree9269c2fe2a7e0bb926ba6a68d0aae0a09157516d
parenta9cf86f62b785202684c3ba92895946f03d910c8
KVM: arm/arm64: merge GICv3 RD_base and SGI_base register frames

Currently we handle the redistributor registers in two separate MMIO
regions, one for the overall behaviour and SPIs and one for the
SGIs/PPIs. That latter forces the creation of _two_ KVM I/O bus
devices for each redistributor.
Since the spec mandates those two pages to be contigious, we could as
well merge them and save the churn with the second KVM I/O bus device.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic-v3-emul.c