From: Alexander Graf Date: Thu, 22 May 2014 15:25:14 +0000 (+0200) Subject: KVM: PPC: MPIC: Reset IRQ source private members X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aae6559651dd9d779da79f30de02033557fe263b;p=pandora-kernel.git 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: Paul Janzen Signed-off-by: Alexander Graf --- Reading git-diff-tree failed