Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kernel/
H A Ddt_cpu_ftrs.c84 mtspr(SPRN_HFSCR, system_registers.hfscr); in __restore_cpu_cpufeatures()
122 mtspr(SPRN_HFSCR, 0); in cpufeatures_setup_cpu()
138 u64 hfscr = mfspr(SPRN_HFSCR); in feat_try_enable_unknown()
140 mtspr(SPRN_HFSCR, hfscr); in feat_try_enable_unknown()
175 u64 hfscr = mfspr(SPRN_HFSCR); in feat_enable()
177 mtspr(SPRN_HFSCR, hfscr); in feat_enable()
348 u64 hfscr = mfspr(SPRN_HFSCR); in hfscr_pmu_enable()
350 mtspr(SPRN_HFSCR, hfscr); in hfscr_pmu_enable()
812 system_registers.hfscr = mfspr(SPRN_HFSCR); in cpufeatures_setup_finished()
H A Dsetup_64.c304 mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) | HFSCR_TM); in cpu_ready_for_interrupts()
306 mtspr(SPRN_HFSCR, mfspr(SPRN_HFSCR) & ~HFSCR_TM); in cpu_ready_for_interrupts()
H A Dcpu_setup_power.c93 hfscr = mfspr(SPRN_HFSCR); in init_HFSCR()
96 mtspr(SPRN_HFSCR, hfscr); in init_HFSCR()
H A Dtraps.c1764 value = mfspr(SPRN_HFSCR); in DEFINE_INTERRUPT_HANDLER()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Didle.c351 sprs.hfscr = mfspr(SPRN_HFSCR); in power7_idle_insn()
485 mtspr(SPRN_HFSCR, sprs.hfscr); in power7_idle_insn()
665 sprs.hfscr = mfspr(SPRN_HFSCR); in power9_idle_stop()
781 mtspr(SPRN_HFSCR, sprs.hfscr); in power9_idle_stop()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_entry.c566 host_hfscr = mfspr(SPRN_HFSCR); in kvmhv_vcpu_entry_p9()
642 mtspr(SPRN_HFSCR, vcpu->arch.hfscr); in kvmhv_vcpu_entry_p9()
791 vcpu->arch.hfscr = mfspr(SPRN_HFSCR); in kvmhv_vcpu_entry_p9()
887 mtspr(SPRN_HFSCR, host_hfscr); in kvmhv_vcpu_entry_p9()
H A Dbook3s_hv_rmhandlers.S1124 mfspr r3, SPRN_HFSCR
H A Dbook3s_hv.c2956 kvmppc_set_hfscr_hv(vcpu, kvmppc_get_hfscr_hv(vcpu) & mfspr(SPRN_HFSCR)); in kvmppc_core_vcpu_create_hv()
/openbmc/linux/arch/powerpc/include/asm/
H A Dreg.h427 #define SPRN_HFSCR 0xbe /* HV=1 Facility Status & Control Register */ macro
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c2086 mfspr(SPRN_HFSCR), mfspr(SPRN_DHDES), mfspr(SPRN_RPR)); in dump_207_sprs()