From: Paul Mackerras Date: Wed, 17 Apr 2013 20:32:26 +0000 (+0000) Subject: KVM: PPC: Book3S: Facilities to save/restore XICS presentation ctrler state X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~32^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b78645c93b5d469e8006d68dbc92edc2640c654;p=pandora-kernel.git KVM: PPC: Book3S: Facilities to save/restore XICS presentation ctrler state This adds the ability for userspace to save and restore the state of the XICS interrupt presentation controllers (ICPs) via the KVM_GET/SET_ONE_REG interface. Since there is one ICP per vcpu, we simply define a new 64-bit register in the ONE_REG space for the ICP state. The state includes the CPU priority setting, the pending IPI priority, and the priority and source number of any pending external interrupt. Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed