Home
last modified time | relevance | path

Searched refs:spurr (Results 1 – 10 of 10) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_p9_entry.c183 u64 tb, purr, spurr; in kvmhv_vcpu_entry_p9() local
238 mtspr(SPRN_SPURR, vcpu->arch.spurr); in kvmhv_vcpu_entry_p9()
438 spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
442 spurr - vcpu->arch.spurr); in kvmhv_vcpu_entry_p9()
444 vcpu->arch.spurr = spurr; in kvmhv_vcpu_entry_p9()
Dbook3s_hv_nested.c41 hr->spurr = vcpu->arch.spurr; in kvmhv_save_hv_regs()
82 hr->spurr = swab64(hr->spurr); in byteswap_hv_regs()
109 hr->spurr = vcpu->arch.spurr; in save_hv_return_state()
151 vcpu->arch.spurr = hr->spurr; in restore_hv_regs()
175 vcpu->arch.spurr = hr->spurr; in kvmhv_restore_hv_return_state()
388 delta_spurr = vcpu->arch.spurr - l2_hv.spurr; in kvmhv_enter_nested_guest()
403 vcpu->arch.spurr += delta_spurr; in kvmhv_enter_nested_guest()
Dbook3s_emulate.c928 *spr_val = vcpu->arch.spurr; in kvmppc_core_emulate_mfspr_pr()
Dbook3s_pr.c302 vcpu->arch.spurr += get_tb() - vcpu->arch.entry_tb; in kvmppc_copy_from_svcpu()
Dbook3s_hv.c2038 *val = get_reg_val(id, vcpu->arch.spurr); in kvmppc_get_one_reg_hv()
2283 vcpu->arch.spurr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/arch/powerpc/platforms/powernv/
Didle.c302 u64 spurr; member
354 sprs.spurr = mfspr(SPRN_SPURR); in power7_idle_insn()
489 mtspr(SPRN_SPURR, sprs.spurr); in power7_idle_insn()
590 u64 spurr; member
668 sprs.spurr = mfspr(SPRN_SPURR); in power9_idle_stop()
785 mtspr(SPRN_SPURR, sprs.spurr); in power9_idle_stop()
/arch/powerpc/include/asm/
Dhvcall.h573 u64 spurr; member
Dkvm_host.h565 ulong spurr; member
/arch/powerpc/kernel/
Dsysfs.c581 SYSFS_SPRSETUP(spurr, SPRN_SPURR);
590 static DEVICE_ATTR(spurr, 0400, show_spurr, NULL);
Dasm-offsets.c440 OFFSET(VCPU_SPURR, kvm_vcpu, arch.spurr); in main()