Home
last modified time | relevance | path

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

/arch/powerpc/perf/
Disa207-common.c222 u64 sier; in isa207_get_mem_data_src() local
231 sier = mfspr(SPRN_SIER); in isa207_get_mem_data_src()
232 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_data_src()
234 idx = (sier & ISA207_SIER_LDST_MASK) >> ISA207_SIER_LDST_SHIFT; in isa207_get_mem_data_src()
235 sub_idx = (sier & ISA207_SIER_DATA_SRC_MASK) >> ISA207_SIER_DATA_SRC_SHIFT; in isa207_get_mem_data_src()
247 u64 sier = mfspr(SPRN_SIER); in isa207_get_mem_weight() local
248 u64 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_weight()
Dcore-book3s.c583 current->thread.sier = mfspr(SPRN_SIER); in ebb_switch_out()
620 mtspr(SPRN_SIER, current->thread.sier); in ebb_switch_in()
824 unsigned long sdar, sier, flags; in perf_event_print_debug() local
857 sdar = sier = 0; in perf_event_print_debug()
862 sier = mfspr(SPRN_SIER); in perf_event_print_debug()
877 mfspr(SPRN_SIAR), sdar, sier); in perf_event_print_debug()
/arch/powerpc/include/asm/
Dswitch_to.h110 t->thread.sier = 0; in clear_task_ebb()
Dprocessor.h265 unsigned long sier; member
Dkvm_host.h649 u64 sier[3]; member
/arch/powerpc/kernel/ptrace/
Dptrace-view.c416 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_get()
417 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_get()
434 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_set()
435 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_set()
451 &target->thread.sier, 2 * sizeof(unsigned long), in pmu_set()
/arch/powerpc/kernel/
Dsysfs.c657 SYSFS_SPRSETUP(sier, SPRN_PA6T_SIER);
730 __ATTR(sier, 0600, show_sier, store_sier),
Dasm-offsets.c569 OFFSET(VCPU_SIER, kvm_vcpu, arch.sier); in main()
/arch/powerpc/kvm/
Dbook3s_hv.c1723 *val = get_reg_val(id, vcpu->arch.sier[0]); in kvmppc_get_one_reg_hv()
1726 *val = get_reg_val(id, vcpu->arch.sier[1]); in kvmppc_get_one_reg_hv()
1729 *val = get_reg_val(id, vcpu->arch.sier[2]); in kvmppc_get_one_reg_hv()
1962 vcpu->arch.sier[0] = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
1965 vcpu->arch.sier[1] = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
1968 vcpu->arch.sier[2] = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()