• Marc Zyngier's avatar
    arm/arm64: KVM: vgic: switch to dynamic allocation · c1bfb577
    Marc Zyngier authored
    So far, all the VGIC data structures are statically defined by the
    *maximum* number of vcpus and interrupts it supports. It means that
    we always have to oversize it to cater for the worse case.
    
    Start by changing the data structures to be dynamically sizeable,
    and allocate them at runtime.
    
    The sizes are still very static though.
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    c1bfb577
arm.c 22.6 KB