diff options
author | Alexander Graf <agraf@suse.de> | 2014-04-22 10:26:58 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-05-30 12:26:23 (GMT) |
commit | e14e7a1e537d6e18f9c511f25c25c5efb7799fb5 (patch) | |
tree | f0e8f7c0450dcbb83ea1f6e527b99e69e23f8e9a /arch/powerpc/include/asm/kvm_host.h | |
parent | 616dff86028298dbc91174fb3d12b8ed8cd74955 (diff) | |
download | linux-e14e7a1e537d6e18f9c511f25c25c5efb7799fb5.tar.xz |
KVM: PPC: Book3S PR: Expose TAR facility to guest
POWER8 implements a new register called TAR. This register has to be
enabled in FSCR and then from KVM's point of view is mere storage.
This patch enables the guest to use TAR.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_host.h')
-rw-r--r-- | arch/powerpc/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index 232ec5f..29fbb55 100644 --- a/arch/powerpc/include/asm/kvm_host.h +++ b/arch/powerpc/include/asm/kvm_host.h @@ -449,7 +449,9 @@ struct kvm_vcpu_arch { ulong pc; ulong ctr; ulong lr; +#ifdef CONFIG_PPC_BOOK3S ulong tar; +#endif ulong xer; u32 cr; |