/openbmc/qemu/target/ppc/ |
H A D | helper_regs.c | 134 uint32_t msr_mask; in hreg_compute_hflags_value() local 141 msr_mask = ((1 << MSR_LE) | (1 << MSR_PR) | in hreg_compute_hflags_value() 155 msr_mask |= 1 << MSR_BE; in hreg_compute_hflags_value() 159 msr_mask |= 1 << MSR_SE; in hreg_compute_hflags_value() 171 msr_mask |= 1 << MSR_VR; in hreg_compute_hflags_value() 175 msr_mask |= 1 << MSR_VSX; in hreg_compute_hflags_value() 238 return hflags | (msr & msr_mask); in hreg_compute_hflags_value() 297 value &= env->msr_mask; in hreg_store_msr()
|
H A D | cpu_init.c | 2173 pcc->msr_mask = (1ull << MSR_WE) | 3144 pcc->msr_mask = (1ull << MSR_GS) | in POWERPC_FAMILY() 3193 pcc->msr_mask = (1ull << MSR_CM) | in POWERPC_FAMILY() 3242 pcc->msr_mask = (1ull << MSR_CM) | in POWERPC_FAMILY() 6780 env->msr_mask &= ~MSR_HVB; in cpu_ppc_set_vhyp() 6828 if (env->msr_mask & (1 << 25)) { in init_ppc_proc() 6843 if (env->msr_mask & (1 << 17)) { in init_ppc_proc() 6858 if (env->msr_mask & (1 << 10)) { in init_ppc_proc() 6878 if (env->msr_mask & (1 << 9)) { in init_ppc_proc() 6893 if (env->msr_mask & (1 << 2)) { in init_ppc_proc() [all …]
|
H A D | machine.c | 22 env->msr ^= env->msr_mask & ~((1ULL << MSR_TGPR) | MSR_HVB); in post_load_update_msr() 192 cpu->mig_msr_mask = env->msr_mask & ~metamask; in cpu_pre_save()
|
H A D | arch_dump.c | 246 if (ppc_interrupts_little_endian(cpu, !!(cpu->env.msr_mask & MSR_HVB))) { in cpu_get_dump_info()
|
H A D | misc_helper.c | 119 if ((env->msr_mask & MSR_HVB) && !FIELD_EX64(env->msr, MSR, HV) && in helper_hfscr_facility_check()
|
H A D | excp_helper.c | 403 assert((msr & env->msr_mask) == msr); in powerpc_set_excp_state() 1356 if (excp == POWERPC_EXCP_HV_EMU && !(env->msr_mask & MSR_HVB) && in powerpc_excp_books() 1375 if (env->msr_mask & MSR_HVB) { in powerpc_excp_books() 1507 if (env->msr_mask & MSR_HVB) { in powerpc_excp_books() 1613 if (!(env->msr_mask & MSR_HVB) && srr0 == SPR_HSRR0) { in powerpc_excp_books()
|
H A D | cpu.h | 1322 target_ulong msr_mask; member 1496 uint64_t msr_mask; member
|
/openbmc/linux/arch/x86/events/ |
H A D | msr.c | 134 static unsigned long msr_mask; variable 219 if (!(msr_mask & (1 << cfg))) in msr_event_init() 310 msr_mask = perf_msr_probe(msr, PERF_MSR_EVENT_MAX, true, NULL); in msr_init()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | acpi-cpufreq.c | 100 u64 msr_mask, val; in boost_set_msr() local 107 msr_mask = MSR_IA32_MISC_ENABLE_TURBO_DISABLE; in boost_set_msr() 112 msr_mask = MSR_K7_HWCR_CPB_DIS; in boost_set_msr() 121 val &= ~msr_mask; in boost_set_msr() 123 val |= msr_mask; in boost_set_msr()
|
/openbmc/linux/drivers/usb/serial/ |
H A D | f81534.c | 768 u8 msr_mask; in f81534_check_port_hw_disabled() local 770 msr_mask = UART_MSR_DCD | UART_MSR_RI | UART_MSR_DSR | UART_MSR_CTS; in f81534_check_port_hw_disabled() 777 if ((msr & msr_mask) != msr_mask) in f81534_check_port_hw_disabled()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | booke.c | 419 ulong msr_mask = 0; in kvmppc_booke_irqprio_deliver() local 471 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 479 msr_mask = MSR_ME; in kvmppc_booke_irqprio_deliver() 495 msr_mask = MSR_CE | MSR_ME | MSR_DE; in kvmppc_booke_irqprio_deliver() 501 msr_mask = MSR_ME; in kvmppc_booke_irqprio_deliver() 545 new_msr &= msr_mask; in kvmppc_booke_irqprio_deliver()
|
H A D | book3s_pr.c | 495 msr &= to_book3s(vcpu)->msr_mask; in kvmppc_set_msr_pr() 567 to_book3s(vcpu)->msr_mask = 0xffffffffffffffffULL; in kvmppc_set_pvr_pr() 575 to_book3s(vcpu)->msr_mask = 0xffffffffULL; in kvmppc_set_pvr_pr() 591 to_book3s(vcpu)->msr_mask &= ~(MSR_FE0 | MSR_FE1); in kvmppc_set_pvr_pr()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | traps.c | 890 unsigned long ea, msr, msr_mask; in p9_hmi_special_emu() local 975 msr_mask = MSR_VSX; in p9_hmi_special_emu() 977 msr_mask = MSR_VEC; in p9_hmi_special_emu() 978 if (!(msr & msr_mask)) { in p9_hmi_special_emu()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 552 regs->msr = l2_state.srr1 & env->msr_mask; in spapr_exit_nested_hv() 555 regs->msr = hsrr1 & env->msr_mask; in spapr_exit_nested_hv() 1564 vcpu->state.msr = env->spr[SPR_SRR1] & env->msr_mask; in exit_nested_store_l2() 1567 vcpu->state.msr = env->spr[SPR_HSRR1] & env->msr_mask; in exit_nested_store_l2()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_book3s.h | 112 u64 msr_mask; member
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate.c | 2620 static uint32_t msr_mask(DisasContext *s, int flags, int spsr) in msr_mask() function 4552 uint32_t mask = msr_mask(s, a->mask, a->r); in trans_MSR_imm() 4655 uint32_t mask = msr_mask(s, a->mask, a->r); in trans_MSR_reg()
|