Skip to content
Commit aae65596 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: MPIC: Reset IRQ source private members



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 as a simple write of the IDR register. That automatically
updates all the hidden state as well.

Reported-by: default avatarPaul Janzen <pcj@pauljanzen.org>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 42188365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment