Home
last modified time | relevance | path

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

/arch/powerpc/perf/
Disa207-common.c214 u64 sier; in isa207_get_mem_data_src() local
223 sier = mfspr(SPRN_SIER); in isa207_get_mem_data_src()
224 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_data_src()
226 idx = (sier & ISA207_SIER_LDST_MASK) >> ISA207_SIER_LDST_SHIFT; in isa207_get_mem_data_src()
227 sub_idx = (sier & ISA207_SIER_DATA_SRC_MASK) >> ISA207_SIER_DATA_SRC_SHIFT; in isa207_get_mem_data_src()
239 u64 sier = mfspr(SPRN_SIER); in isa207_get_mem_weight() local
240 u64 val = (sier & ISA207_SIER_TYPE_MASK) >> ISA207_SIER_TYPE_SHIFT; in isa207_get_mem_weight()
Dcore-book3s.c581 current->thread.sier = mfspr(SPRN_SIER); in ebb_switch_out()
613 mtspr(SPRN_SIER, current->thread.sier); in ebb_switch_in()
806 unsigned long sdar, sier, flags; in perf_event_print_debug() local
839 sdar = sier = 0; in perf_event_print_debug()
844 sier = mfspr(SPRN_SIER); in perf_event_print_debug()
854 mfspr(SPRN_SIAR), sdar, sier); in perf_event_print_debug()
/arch/powerpc/include/asm/
Dswitch_to.h90 t->thread.sier = 0; in clear_task_ebb()
Dprocessor.h340 unsigned long sier; member
Dkvm_host.h611 u64 sier; member
/arch/powerpc/kernel/
Dsysfs.c625 SYSFS_SPRSETUP(sier, SPRN_PA6T_SIER);
695 __ATTR(sier, 0600, show_sier, store_sier),
Dptrace.c1730 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_get()
1731 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_get()
1751 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_set()
1752 BUILD_BUG_ON(TSO(sier) + sizeof(unsigned long) != TSO(mmcr2)); in pmu_set()
1769 &target->thread.sier, 2 * sizeof(unsigned long), in pmu_set()
Dasm-offsets.c527 OFFSET(VCPU_SIER, kvm_vcpu, arch.sier); in main()
/arch/powerpc/kvm/
Dbook3s_hv.c1350 *val = get_reg_val(id, vcpu->arch.sier); in kvmppc_get_one_reg_hv()
1565 vcpu->arch.sier = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()