[PATCH] KVM: PPC: MPIC: Reset IRQ source private members

2014-05-22 Thread Alexander Graf
When we reset the in-kernel MPIC controller, we forget to reset some hidden state such as destmask and output. This state is usually set when the guest writes to the IDR register for a specific IRQ line. To make sure we stay in sync and don't forget hidden state, treat reset of the IDR register

[PATCH] KVM: PPC: MPIC: Reset IRQ source private members

2014-05-22 Thread Alexander Graf
When we reset the in-kernel MPIC controller, we forget to reset some hidden state such as destmask and output. This state is usually set when the guest writes to the IDR register for a specific IRQ line. To make sure we stay in sync and don't forget hidden state, treat reset of the IDR register