summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-29 14:26:30 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-29 14:26:30 +0300
commit82b7fcc0055dcc1aa9a7b51c7fbc31ad8d89fffa (patch)
tree6cd2ec76b67a1c252538b1dd42e948b45fb058bc /arch/powerpc/include/asm
parent12c15a7e706772293694e63482a99a8f7259e164 (diff)
parent94a04bc25a2c6296bd0c5e82c10e8231c2b11f77 (diff)
downloadlinux-82b7fcc0055dcc1aa9a7b51c7fbc31ad8d89fffa.tar.xz
Merge branch 'topic/ppc-kvm' into next
Merge Nicks commit to rework the KVM thread management, shared with the KVM tree via the ppc-kvm topic branch.
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s_asm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_asm.h b/arch/powerpc/include/asm/kvm_book3s_asm.h
index 7cea76f11c26..83596f32f50b 100644
--- a/arch/powerpc/include/asm/kvm_book3s_asm.h
+++ b/arch/powerpc/include/asm/kvm_book3s_asm.h
@@ -104,6 +104,10 @@ struct kvmppc_host_state {
u8 napping;
#ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
+ /*
+ * hwthread_req/hwthread_state pair is used to pull sibling threads
+ * out of guest on pre-ISAv3.0B CPUs where threads share MMU.
+ */
u8 hwthread_req;
u8 hwthread_state;
u8 host_ipi;