Home
last modified time | relevance | path

Searched refs:SPR_LPCR (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dmmu-book3s-v3.h67 return !!(cpu->env.spr[SPR_LPCR] & LPCR_UPRT); in ppc64_use_proc_tbl()
80 return !!(cpu->env.spr[SPR_LPCR] & LPCR_HR); in ppc64_v3_radix()
H A Dmmu-hash64.c723 if (env->spr[SPR_LPCR] & LPCR_ISL) { in ppc_hash64_htab_lookup()
816 return !!(env->spr[SPR_LPCR] & LPCR_VPM0); in ppc_hash64_use_vrma()
827 vpm = !!(env->spr[SPR_LPCR] & LPCR_VPM1); in ppc_hash64_set_isi()
847 vpm = !!(env->spr[SPR_LPCR] & LPCR_VPM1); in ppc_hash64_set_dsi()
915 target_ulong rmls = (env->spr[SPR_LPCR] & LPCR_RMLS) >> LPCR_RMLS_SHIFT; in rmls_limit()
946 uint64_t lpcr = env->spr[SPR_LPCR]; in get_vrma_llp()
H A Dcpu.c100 env->spr[SPR_LPCR] = val & pcc->lpcr_mask; in ppc_store_lpcr()
H A Dexcp_helper.c317 if (hv_escalation && !(env->spr[SPR_LPCR] & LPCR_HR)) { in ppc_excp_apply_ail()
326 ail = (env->spr[SPR_LPCR] & LPCR_AIL) >> LPCR_AIL_SHIFT; in ppc_excp_apply_ail()
343 if (!(env->spr[SPR_LPCR] & LPCR_HAIL)) { in ppc_excp_apply_ail()
349 ail = (env->spr[SPR_LPCR] & LPCR_AIL) >> LPCR_AIL_SHIFT; in ppc_excp_apply_ail()
1398 lpes0 = !!(env->spr[SPR_LPCR] & LPCR_LPES0); in powerpc_excp_books()
1729 bool hdice = !!(env->spr[SPR_LPCR] & LPCR_HDICE); in p7_next_unmasked_interrupt()
2020 target_ulong lpcr = env->spr[SPR_LPCR]; in ppc_next_unmasked_interrupt()
H A Dhelper_regs.c181 if (env->spr[SPR_LPCR] & LPCR_GTSE) { in hreg_compute_hflags_value()
184 if (env->spr[SPR_LPCR] & LPCR_HR) { in hreg_compute_hflags_value()
H A Dmmu-radix64.c717 TARGET_FMT_lx "\n", env->spr[SPR_LPCR]); in ppc_radix64_xlate_impl()
H A Dcpu.h1841 #define SPR_LPCR (0x13E) macro
3001 ile = !!(env->spr[SPR_LPCR] & LPCR_ILE); in ppc_interrupts_little_endian()
H A Dmmu_helper.c441 effR = FIELD_EX64(env->msr, MSR, HV) ? r : env->spr[SPR_LPCR] & LPCR_HR; in helper_tlbie_isa300()
H A Dcpu_init.c5424 spr_register_kvm_hv(env, SPR_LPCR, "LPCR", in register_power5p_lpar_sprs()
7676 if (env->spr_cb[SPR_LPCR].name) { in ppc_cpu_dump_state()
7677 qemu_fprintf(f, " LPCR " TARGET_FMT_lx "\n", env->spr[SPR_LPCR]); in ppc_cpu_dump_state()
/openbmc/qemu/hw/ppc/
H A Dspapr_rtas.c166 caller_lpcr = callcpu->env.spr[SPR_LPCR]; in rtas_start_cpu()
167 lpcr = env->spr[SPR_LPCR]; in rtas_start_cpu()
219 ppc_store_lpcr(cpu, env->spr[SPR_LPCR] & ~pcc->lpcr_pm); in rtas_stop_self()
H A Dspapr_cpu_core.c51 lpcr = env->spr[SPR_LPCR]; in spapr_reset_vcpu()
100 ppc_store_lpcr(cpu, env->spr[SPR_LPCR] | pcc->lpcr_pm); in spapr_cpu_set_entry_state()
H A Dspapr_nested.c152 save->lpcr = env->spr[SPR_LPCR]; in nested_save_state()
251 env->spr[SPR_LPCR] = load->lpcr; in nested_load_state()
406 lpcr = (env->spr[SPR_LPCR] & ~lpcr_mask) | (hv_state.lpcr & lpcr_mask); in h_enter_nested()
1749 lpcr = (env->spr[SPR_LPCR] & ~lpcr_mask) | in nested_papr_load_l2()
1753 env->spr[SPR_LPCR] = lpcr & pcc->lpcr_mask; in nested_papr_load_l2()
H A Dppc.c755 if (env->spr[SPR_LPCR] & LPCR_LD) { in _cpu_ppc_load_decr()
919 if (env->spr[SPR_LPCR] & LPCR_LD) { in cpu_ppc_store_decr()
H A Dspapr_caps.c575 target_ulong lpcr = env->spr[SPR_LPCR]; in cap_large_decr_cpu_apply()
H A Dspapr.c1345 lpcr = env->spr[SPR_LPCR]; in do_lpcr_sync()
1372 lpcr = env->spr[SPR_LPCR]; in spapr_init_all_lpcrs()
1869 bool gtse = !!(cpu->env.spr[SPR_LPCR] & LPCR_GTSE); in spapr_post_load()