aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-29 21:26:30 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-29 21:26:30 +1000
commit82b7fcc0055dcc1aa9a7b51c7fbc31ad8d89fffa (patch)
tree6cd2ec76b67a1c252538b1dd42e948b45fb058bc /arch/powerpc/include/asm
parentpowerpc/configs/6xx: Drop removed CONFIG_USB_LED (diff)
parentKVM: PPC: Book3S HV: POWER9 does not require secondary thread management (diff)
downloadlinux-dev-82b7fcc0055dcc1aa9a7b51c7fbc31ad8d89fffa.tar.xz
linux-dev-82b7fcc0055dcc1aa9a7b51c7fbc31ad8d89fffa.zip
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;