Home
last modified time | relevance | path

Searched refs:SPRN_SIER2 (Results 1 – 5 of 5) sorted by relevance

/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c68 host_os_sprs->sier2 = mfspr(SPRN_SIER2); in switch_pmu_to_guest()
102 mtspr(SPRN_SIER2, vcpu->arch.sier[1]); in switch_pmu_to_guest()
156 vcpu->arch.sier[1] = mfspr(SPRN_SIER2); in switch_pmu_to_host()
209 mtspr(SPRN_SIER2, host_os_sprs->sier2); in switch_pmu_to_host()
/linux/arch/powerpc/perf/
H A Dperf_regs.c90 return mfspr(SPRN_SIER2); in get_ext_regs_value()
H A Disa207-common.c395 weight_fields->var2_w = P10_SIER2_FINISH_CYC(mfspr(SPRN_SIER2)); in isa207_get_mem_weight()
396 weight_fields->var3_w = P10_SIER2_DISPATCH_CYC(mfspr(SPRN_SIER2)); in isa207_get_mem_weight()
H A Dcore-book3s.c99 #define SPRN_SIER2 0 macro
635 current->thread.sier2 = mfspr(SPRN_SIER2); in ebb_switch_out()
680 mtspr(SPRN_SIER2, current->thread.sier2); in ebb_switch_in()
947 mfspr(SPRN_MMCR3), mfspr(SPRN_SIER2), mfspr(SPRN_SIER3)); in perf_event_print_debug()
/linux/arch/powerpc/include/asm/
H A Dreg.h933 #define SPRN_SIER2 752 macro