Home
last modified time | relevance | path

Searched refs:hfscr (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Ddt_cpu_ftrs.c73 u64 hfscr; member
102 mtspr(SPRN_HFSCR, system_registers.hfscr); in __restore_cpu_cpufeatures()
158 u64 hfscr = mfspr(SPRN_HFSCR); in feat_try_enable_unknown() local
159 hfscr |= 1UL << f->hfscr_bit_nr; in feat_try_enable_unknown()
160 mtspr(SPRN_HFSCR, hfscr); in feat_try_enable_unknown()
195 u64 hfscr = mfspr(SPRN_HFSCR); in feat_enable() local
196 hfscr |= 1UL << f->hfscr_bit_nr; in feat_enable()
197 mtspr(SPRN_HFSCR, hfscr); in feat_enable()
369 u64 hfscr = mfspr(SPRN_HFSCR); in hfscr_pmu_enable() local
370 hfscr |= PPC_BIT(60); in hfscr_pmu_enable()
[all …]
Dcpu_setup_power.c91 u64 hfscr; in init_HFSCR() local
93 hfscr = mfspr(SPRN_HFSCR); in init_HFSCR()
94 hfscr |= HFSCR_TAR|HFSCR_TM|HFSCR_BHRB|HFSCR_PM|HFSCR_DSCR|\ in init_HFSCR()
96 mtspr(SPRN_HFSCR, hfscr); in init_HFSCR()
Dasm-offsets.c593 OFFSET(VCPU_HFSCR, kvm_vcpu, arch.hfscr); in main()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_tm.c81 if (!(vcpu->arch.hfscr & HFSCR_EBB)) { in kvmhv_p9_tm_emulation()
130 if (!(vcpu->arch.hfscr & HFSCR_TM)) { in kvmhv_p9_tm_emulation()
160 if (!(vcpu->arch.hfscr & HFSCR_TM)) { in kvmhv_p9_tm_emulation()
198 if (!(vcpu->arch.hfscr & HFSCR_TM)) { in kvmhv_p9_tm_emulation()
Dbook3s_hv_tm_builtin.c56 if (!(vcpu->arch.hfscr & HFSCR_EBB) || in kvmhv_p9_tm_emulation_early()
95 if (!(vcpu->arch.hfscr & HFSCR_TM) || !(msr & MSR_TM)) in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_nested.c34 hr->hfscr = vcpu->arch.hfscr; in kvmhv_save_hv_regs()
72 hr->hfscr = swab64(hr->hfscr); in byteswap_hv_regs()
103 hr->hfscr = vcpu->arch.hfscr; in save_hv_return_state()
138 hr->hfscr &= (HFSCR_INTR_CAUSE | vcpu->arch.hfscr); in sanitise_hv_regs()
154 vcpu->arch.hfscr = hr->hfscr; in restore_hv_regs()
179 vcpu->arch.hfscr = hr->hfscr; in kvmhv_restore_hv_return_state()
Dbook3s_hv.c1438 if (((vcpu->arch.hfscr >> 56) == FSCR_MSGP_LG) && in kvmppc_handle_exit_hv()
2366 vcpu->arch.hfscr = HFSCR_TAR | HFSCR_EBB | HFSCR_PM | HFSCR_BHRB | in kvmppc_core_vcpu_create_hv()
2369 vcpu->arch.hfscr &= mfspr(SPRN_HFSCR); in kvmppc_core_vcpu_create_hv()
2372 vcpu->arch.hfscr |= HFSCR_TM; in kvmppc_core_vcpu_create_hv()
2376 vcpu->arch.hfscr |= HFSCR_TM; in kvmppc_core_vcpu_create_hv()
3508 mtspr(SPRN_HFSCR, vcpu->arch.hfscr); in kvmhv_load_hv_regs_and_go()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Didle.c298 u64 hfscr; member
349 sprs.hfscr = mfspr(SPRN_HFSCR); in power7_idle_insn()
484 mtspr(SPRN_HFSCR, sprs.hfscr); in power7_idle_insn()
585 u64 hfscr; member
664 sprs.hfscr = mfspr(SPRN_HFSCR); in power9_idle_stop()
781 mtspr(SPRN_HFSCR, sprs.hfscr); in power9_idle_stop()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt125 If the HFSCR bit is set, then the hfscr-bit-nr property will exist and
148 - hfscr-bit-nr
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dhvcall.h544 u64 hfscr; member
Dkvm_host.h605 ulong hfscr; member