Commit cf28bd0c authored by Alexander Graf's avatar Alexander Graf Committed by Jiri Slaby

KVM: PPC: Book3S PR: Emulate TIR register

commit a5948fa0 upstream.

In parallel to the Processor ID Register (PIR) threaded POWER8 also adds a
Thread ID Register (TIR). Since PR KVM doesn't emulate more than one thread
per core, we can just always expose 0 here.
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 3bf7e13f
......@@ -570,6 +570,7 @@ int kvmppc_core_emulate_mfspr(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val)
case SPRN_MMCR0:
case SPRN_MMCR1:
case SPRN_MMCR2:
case SPRN_TIR:
#endif
*spr_val = 0;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment