From: James Hogan Date: Thu, 29 May 2014 09:16:31 +0000 (+0100) Subject: MIPS: KVM: Add CP0_HWREna KVM register access X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fd5c1de4f00c7887e4c715dd46872a97e30e25;p=pandora-kernel.git MIPS: KVM: Add CP0_HWREna KVM register access Implement KVM_{GET,SET}_ONE_REG ioctl based access to the guest CP0 HWREna register. This is so that userland can save and restore its value so that RDHWR instructions don't have to be emulated by the guest. Signed-off-by: James Hogan Cc: Paolo Bonzini Cc: Gleb Natapov Cc: kvm@vger.kernel.org Cc: Ralf Baechle Cc: linux-mips@linux-mips.org Cc: David Daney Cc: Sanjay Lal Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed