KVM: PPC: Book3S HV: Handle new LPCR bits on POWER8
authorPaul Mackerras <paulus@samba.org>
Wed, 8 Jan 2014 10:25:27 +0000 (21:25 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 15:01:11 +0000 (16:01 +0100)
commite0622bd9f2fccc8a801fa7aaf4fa6d7c728c3a78
treeb6dc26f27461b4a62c8b016ad6ba6212c7ce06fe
parentaa31e843225769735b79795c955426c9479046a5
KVM: PPC: Book3S HV: Handle new LPCR bits on POWER8

POWER8 has a bit in the LPCR to enable or disable the PURR and SPURR
registers to count when in the guest.  Set this bit.

POWER8 has a field in the LPCR called AIL (Alternate Interrupt Location)
which is used to enable relocation-on interrupts.  Allow userspace to
set this field.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/reg.h
arch/powerpc/kvm/book3s_hv.c