KVM: PPC: Book3S HV: Implement architecture compatibility modes for POWER8
authorPaul Mackerras <paulus@samba.org>
Wed, 8 Jan 2014 10:25:24 +0000 (21:25 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 15:01:06 +0000 (16:01 +0100)
commit5557ae0ec77c2b4b5bbce2883c0603054ab66e68
treef9b858e122722953e0b945772a6b2cd7035c981b
parentbd3048b80caace9cf0ae9ad22b2fbb8333b44a97
KVM: PPC: Book3S HV: Implement architecture compatibility modes for POWER8

This allows us to select architecture 2.05 (POWER6) or 2.06 (POWER7)
compatibility modes on a POWER8 processor.  (Note that transactional
memory is disabled for usermode if either or both of the PCR_TM_DIS
and PCR_ARCH_206 bits are set.)

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