Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c98 mtspr(SPRN_SIER, vcpu->arch.sier[0]); in switch_pmu_to_guest()
102 mtspr(SPRN_SIER2, vcpu->arch.sier[1]); in switch_pmu_to_guest()
103 mtspr(SPRN_SIER3, vcpu->arch.sier[2]); in switch_pmu_to_guest()
152 vcpu->arch.sier[0] = mfspr(SPRN_SIER); in switch_pmu_to_host()
156 vcpu->arch.sier[1] = mfspr(SPRN_SIER2); in switch_pmu_to_host()
157 vcpu->arch.sier[2] = mfspr(SPRN_SIER3); in switch_pmu_to_host()
Dbook3s_hv.h117 KVMPPC_BOOK3S_HV_VCPU_ARRAY_ACCESSOR(sier, 64)
/arch/powerpc/perf/
Disa207-common.c313 u64 sier; in isa207_get_mem_data_src() local
322 sier = mfspr(SPRN_SIER); in isa207_get_mem_data_src()
323 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_data_src()
327 idx = (sier & ISA207_SIER_LDST_MASK) >> ISA207_SIER_LDST_SHIFT; in isa207_get_mem_data_src()
328 sub_idx = (sier & ISA207_SIER_DATA_SRC_MASK) >> ISA207_SIER_DATA_SRC_SHIFT; in isa207_get_mem_data_src()
368 u64 sier = mfspr(SPRN_SIER); in isa207_get_mem_weight() local
369 u64 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_weight()
Dcore-book3s.c636 current->thread.sier = mfspr(SPRN_SIER); in ebb_switch_out()
673 mtspr(SPRN_SIER, current->thread.sier); in ebb_switch_in()
905 unsigned long sdar, sier, flags; in perf_event_print_debug() local
938 sdar = sier = 0; in perf_event_print_debug()
943 sier = mfspr(SPRN_SIER); in perf_event_print_debug()
958 mfspr(SPRN_SIAR), sdar, sier); in perf_event_print_debug()
/arch/powerpc/include/asm/
Dswitch_to.h119 t->thread.sier = 0; in clear_task_ebb()
Dprocessor.h254 unsigned long sier; member
Dkvm_host.h650 u64 sier[3]; member
/arch/powerpc/kernel/ptrace/
Dptrace-view.c408 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_get()
409 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_get()
426 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_set()
427 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_set()
443 &target->thread.sier, 2 * sizeof(unsigned long), in pmu_set()
/arch/powerpc/kernel/
Dsysfs.c662 SYSFS_SPRSETUP(sier, SPRN_PA6T_SIER);
735 __ATTR(sier, 0600, show_sier, store_sier),
Dasm-offsets.c462 OFFSET(VCPU_SIER, kvm_vcpu, arch.sier); in main()