Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Ddt_cpu_ftrs.c102 mtspr(SPRN_HFSCR, system_registers.hfscr); in __restore_cpu_cpufeatures()
142 mtspr(SPRN_HFSCR, 0); in cpufeatures_setup_cpu()
158 u64 hfscr = mfspr(SPRN_HFSCR); in feat_try_enable_unknown()
160 mtspr(SPRN_HFSCR, hfscr); in feat_try_enable_unknown()
195 u64 hfscr = mfspr(SPRN_HFSCR); in feat_enable()
197 mtspr(SPRN_HFSCR, hfscr); in feat_enable()
369 u64 hfscr = mfspr(SPRN_HFSCR); in hfscr_pmu_enable()
371 mtspr(SPRN_HFSCR, hfscr); in hfscr_pmu_enable()
830 system_registers.hfscr = mfspr(SPRN_HFSCR); in cpufeatures_setup_finished()
Dcpu_setup_power.c93 hfscr = mfspr(SPRN_HFSCR); in init_HFSCR()
96 mtspr(SPRN_HFSCR, hfscr); in init_HFSCR()
Dsetup_64.c263 mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) | HFSCR_TM); in cpu_ready_for_interrupts()
265 mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) & ~HFSCR_TM); in cpu_ready_for_interrupts()
Dtraps.c1757 value = mfspr(SPRN_HFSCR); in facility_unavailable_exception()
/arch/powerpc/platforms/powernv/
Didle.c349 sprs.hfscr = mfspr(SPRN_HFSCR); in power7_idle_insn()
484 mtspr(SPRN_HFSCR, sprs.hfscr); in power7_idle_insn()
664 sprs.hfscr = mfspr(SPRN_HFSCR); in power9_idle_stop()
781 mtspr(SPRN_HFSCR, sprs.hfscr); in power9_idle_stop()
/arch/powerpc/include/asm/
Dreg.h420 #define SPRN_HFSCR 0xbe /* HV=1 Facility Status & Control Register */ macro
/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S711 mfspr r5, SPRN_HFSCR
852 mtspr SPRN_HFSCR, r7
1432 mfspr r3, SPRN_HFSCR
1654 mtspr SPRN_HFSCR, r7
Dbook3s_hv.c2369 vcpu->arch.hfscr &= mfspr(SPRN_HFSCR); in kvmppc_core_vcpu_create_hv()
3456 unsigned long host_hfscr = mfspr(SPRN_HFSCR); in kvmhv_load_hv_regs_and_go()
3508 mtspr(SPRN_HFSCR, vcpu->arch.hfscr); in kvmhv_load_hv_regs_and_go()
3549 mtspr(SPRN_HFSCR, host_hfscr); in kvmhv_load_hv_regs_and_go()
/arch/powerpc/xmon/
Dxmon.c2002 mfspr(SPRN_HFSCR), mfspr(SPRN_DHDES), mfspr(SPRN_RPR)); in dump_207_sprs()