diff options
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | 2017-11-03 11:38:41 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-11-03 14:37:00 +0000 |
commit | f6108d72e977cce00e7bc824acd1d73da8cc9729 (patch) | |
tree | f862a7e0b19036498461a8f1005439f56defa7c1 /Makefile | |
parent | 37b8e06be3ce63d4b50a5066446ca0cb5c61ba43 (diff) | |
download | kvmtool-f6108d72e977cce00e7bc824acd1d73da8cc9729.tar.gz |
Add GICv2m support
GICv2m is a small extension to the GICv2 architecture, specified in the
Server Base System Architecture (SBSA). It adds a set of register to
converts MSIs into SPIs, effectively enabling MSI support for pre-GICv3
platforms.
Implement a GICv2m emulation entirely in userspace. Add a thin translation
layer in irq.c to catch the MSI->SPI routing setup of the guest, and then
transform irqfd injection of MSI into the associated SPI. There shouldn't
be any significant runtime overhead compared to gicv3-its.
The device can be enabled by passing "--irqchip gicv2m" to kvmtool.
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -151,7 +151,7 @@ ifeq ($(ARCH), powerpc) endif # ARM -OBJS_ARM_COMMON := arm/fdt.o arm/gic.o arm/ioport.o \ +OBJS_ARM_COMMON := arm/fdt.o arm/gic.o arm/gicv2m.o arm/ioport.o \ arm/kvm.o arm/kvm-cpu.o arm/pci.o arm/timer.o \ arm/pmu.o HDRS_ARM_COMMON := arm/include |