Skip to content
  • Jean-Philippe Brucker's avatar
    Add GICv2m support · f6108d72
    Jean-Philippe Brucker authored
    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
    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: default avatarJean-Philippe Brucker <>
    Signed-off-by: default avatarWill Deacon <>