Home
last modified time | relevance | path

Searched refs:MSR_HV (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.6/arch/powerpc/kernel/
Dcpu_setup_power.c22 if (msr & MSR_HV) in init_hvmode_206()
156 if (!(msr & MSR_HV)) in __restore_cpu_power7()
192 if (!(msr & MSR_HV)) in __restore_cpu_power8()
231 if (!(msr & MSR_HV)) in __restore_cpu_power9()
276 if (!(msr & MSR_HV)) in __restore_cpu_power10()
Dpaca.c232 if (mfmsr() & MSR_HV) in setup_paca()
Ddt_cpu_ftrs.c119 hv_mode = !!(mfmsr() & MSR_HV); in cpufeatures_setup_cpu()
934 if (!(mfmsr() & MSR_HV)) { in process_cpufeatures_node()
Dsetup_64.c372 if (IS_ENABLED(CONFIG_PPC_BOOK3S_64) && (mfmsr() & MSR_HV)) in early_setup()
Dtraps.c405 if (!(regs->msr & MSR_HV)) in hv_nmi_check_nonrecoverable()
Dprocess.c1471 {MSR_HV, "HV"},
/Linux-v6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmmcr2_fcs_fch_test.c23 is_hv = !!(uctx->uc_mcontext.gp_regs[PT_MSR] & MSR_HV); in sig_usr2_handler()
/Linux-v6.6/arch/powerpc/include/asm/
Dreg.h71 #define MSR_HV __MASK(MSR_HV_LG) /* Hypervisor state */ macro
76 #define MSR_HV 0 macro
134 #define __MSR (MSR_ME | MSR_RI | MSR_IR | MSR_DR | MSR_HV)
137 #define MSR_IDLE (MSR_ME | MSR_SF | MSR_HV)
140 #define MSR_IDLE (MSR_ME | MSR_SF | MSR_HV | MSR_LE)
Dkvm_book3s_64.h584 msr &= ~MSR_HV; in sanitize_msr()
/Linux-v6.6/drivers/tty/hvc/
Dhvc_vio.c442 if (mfmsr() & MSR_HV) in udbg_init_debug_lpar()
459 if (mfmsr() & MSR_HV) in udbg_init_debug_lpar_hvsi()
/Linux-v6.6/tools/testing/selftests/powerpc/include/
Dreg.h98 #define MSR_HV (1ul << 60) /* Hypervisor state */ macro
/Linux-v6.6/arch/powerpc/kvm/
Dbook3s_emulate.c148 if (kvmppc_get_msr(vcpu) & MSR_HV) in kvmppc_emulate_treclaim()
223 if (guest_msr & MSR_HV) in kvmppc_emulate_tabort()
509 if (kvmppc_get_msr(vcpu) & MSR_HV) in kvmppc_core_emulate_op_pr()
752 (mfmsr() & MSR_HV)) in kvmppc_core_emulate_mtspr_pr()
Dbook3s_hv_builtin.c505 msr = (msr | MSR_ME) & ~MSR_HV; in kvmppc_set_msr_hv()
Dbook3s_hv_p9_entry.c558 WARN_ON_ONCE(vcpu->arch.shregs.msr & MSR_HV); in kvmhv_vcpu_entry_p9()
645 mtspr(SPRN_HSRR1, (vcpu->arch.shregs.msr & ~MSR_HV) | MSR_ME); in kvmhv_vcpu_entry_p9()
Dbook3s_pr.c249 smsr |= MSR_HV; in kvmppc_recalc_shadow_msr()
478 msr = (msr & ~MSR_HV) | MSR_ME; in kvmppc_set_msr_pr()
584 if (vcpu->arch.mmu.is_dcbz32(vcpu) && (mfmsr() & MSR_HV) && in kvmppc_set_pvr_pr()
Dbook3s_hv_nested.c370 vcpu->arch.shregs.msr = (vcpu->arch.regs.msr | MSR_ME) & ~MSR_HV; in kvmhv_enter_nested_guest()
Dbook3s_hv.c1588 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_exit_hv()
1918 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_nested_exit()
/Linux-v6.6/arch/powerpc/mm/
Dinit_64.c623 bool hvmode = !!(mfmsr() & MSR_HV); in mmu_early_init_devtree()
/Linux-v6.6/arch/powerpc/platforms/pseries/
Dras.c497 MSR_ILE|MSR_HV|MSR_SF)) == (MSR_DR|MSR_SF)) { in pSeries_system_reset_exception()
/Linux-v6.6/arch/powerpc/perf/
Dcore-book3s.c261 if ((regs->msr & MSR_HV) && freeze_events_kernel != MMCR0_FCHV) in perf_flags_from_msr()
2549 #ifdef MSR_HV in register_power_pmu()
2553 if (mfmsr() & MSR_HV) in register_power_pmu()
/Linux-v6.6/arch/powerpc/xmon/
Dxmon.c2031 if (!(mfmsr() & MSR_HV)) in dump_206_sprs()
2082 if (!(msr & MSR_HV)) in dump_207_sprs()
2100 bool hv = mfmsr() & MSR_HV; in dump_300_sprs()
/Linux-v6.6/drivers/misc/cxl/
Dcxl.h200 #define CXL_PSL_SR_An_HV MSR_HV /* Hypervisor, GA1: 0 */