Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kernel/
Dcpu_setup_power.c22 if (msr & MSR_HV) in init_hvmode_206()
150 if (!(msr & MSR_HV)) in __restore_cpu_power7()
186 if (!(msr & MSR_HV)) in __restore_cpu_power8()
225 if (!(msr & MSR_HV)) in __restore_cpu_power9()
268 if (!(msr & MSR_HV)) in __restore_cpu_power10()
Dpaca.c230 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.c1436 {MSR_HV, "HV"},
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/powerpc/include/
Dreg.h94 #define MSR_HV (1ul << 60) /* Hypervisor state */ macro
/linux-6.1.9/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.c1582 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_exit_hv()
1904 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_nested_exit()
/linux-6.1.9/arch/powerpc/mm/
Dinit_64.c476 bool hvmode = !!(mfmsr() & MSR_HV); in mmu_early_init_devtree()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dras.c497 MSR_ILE|MSR_HV|MSR_SF)) == (MSR_DR|MSR_SF)) { in pSeries_system_reset_exception()
/linux-6.1.9/arch/powerpc/perf/
Dcore-book3s.c261 if ((regs->msr & MSR_HV) && freeze_events_kernel != MMCR0_FCHV) in perf_flags_from_msr()
2550 #ifdef MSR_HV in register_power_pmu()
2554 if (mfmsr() & MSR_HV) in register_power_pmu()
/linux-6.1.9/arch/powerpc/xmon/
Dxmon.c2034 if (!(mfmsr() & MSR_HV)) in dump_206_sprs()
2085 if (!(msr & MSR_HV)) in dump_207_sprs()
2103 bool hv = mfmsr() & MSR_HV; in dump_300_sprs()
/linux-6.1.9/drivers/misc/cxl/
Dcxl.h200 #define CXL_PSL_SR_An_HV MSR_HV /* Hypervisor, GA1: 0 */