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
    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: default avatarJean-Philippe Brucker <jean-philippe.brucker@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    f6108d72