Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5948fa0 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Book3S PR: Emulate TIR register



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>
parent f8f6eb0d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -566,6 +566,7 @@ int kvmppc_core_emulate_mfspr_pr(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;