• A
    KVM: PPC: Implement Level interrupts on Book3S · 17bd1580
    Alexander Graf 提交于
    The current interrupt logic is just completely broken. We get a notification
    from user space, telling us that an interrupt is there. But then user space
    expects us that we just acknowledge an interrupt once we deliver it to the
    guest.
    
    This is not how real hardware works though. On real hardware, the interrupt
    controller pulls the external interrupt line until it gets notified that the
    interrupt was received.
    
    So in reality we have two events: pulling and letting go of the interrupt line.
    
    To maintain backwards compatibility, I added a new request for the pulling
    part. The letting go part was implemented earlier already.
    
    With this in place, we can now finally start guests that do not randomly stall
    and stop to work at random times.
    
    This patch implements above logic for Book3S.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    17bd1580
kvm_asm.h 3.7 KB