Home
last modified time | relevance | path

Searched defs:mmu_idx (Results 1 – 25 of 69) sorted by relevance

123

/openbmc/qemu/target/arm/tcg/
H A Dhflags.c67 ARMMMUIdx mmu_idx, in rebuild_hflags_common()
81 ARMMMUIdx mmu_idx, in rebuild_hflags_common_32()
98 ARMMMUIdx mmu_idx) in rebuild_hflags_m32()
157 ARMMMUIdx mmu_idx) in rebuild_hflags_a32()
205 ARMMMUIdx mmu_idx) in rebuild_hflags_a64()
414 ARMMMUIdx mmu_idx = arm_mmu_idx_el(env, el); in rebuild_hflags_internal() local
438 ARMMMUIdx mmu_idx = arm_mmu_idx_el(env, el); in HELPER() local
446 ARMMMUIdx mmu_idx = arm_mmu_idx_el(env, el); in HELPER() local
459 ARMMMUIdx mmu_idx = arm_mmu_idx_el(env, el); in HELPER() local
466 ARMMMUIdx mmu_idx = arm_mmu_idx_el(env, el); in HELPER() local
[all …]
H A Dtlb_helper.c21 bool arm_s1_regime_using_lpae_format(CPUARMState *env, ARMMMUIdx mmu_idx) in arm_s1_regime_using_lpae_format()
82 int target_el, int mmu_idx, uint32_t *ret_fsc) in compute_fsr_fsc()
173 int mmu_idx, ARMMMUFaultInfo *fi) in arm_deliver_fault()
268 int mmu_idx, uintptr_t retaddr) in arm_cpu_do_unaligned_access()
284 int mmu_idx = arm_env_mmu_index(env); in helper_exception_pc_alignment() local
307 int mmu_idx, MemTxAttrs attrs, in arm_cpu_do_transaction_failed()
322 MMUAccessType access_type, int mmu_idx, in arm_cpu_tlb_fill()
H A Dmte_helper.c267 int mmu_idx = arm_env_mmu_index(env); in HELPER() local
320 int mmu_idx = arm_env_mmu_index(env); in do_stg() local
347 int mmu_idx = arm_env_mmu_index(env); in HELPER() local
357 int mmu_idx = arm_env_mmu_index(env); in do_st2g() local
405 int mmu_idx = arm_env_mmu_index(env); in HELPER() local
421 int mmu_idx = arm_env_mmu_index(env); in HELPER() local
774 int mmu_idx, ptr_tag, bit55; in mte_probe_int() local
918 int mmu_idx, bit55; in HELPER() local
1020 int mmu_idx, tag_count; in mte_mops_probe() local
1070 int mmu_idx, tag_count; in mte_mops_probe_rev() local
[all …]
H A Dm_helper.c169 ARMMMUIdx mmu_idx = ARM_MMU_IDX_M; in arm_v7m_mmu_idx_all() local
214 ARMMMUIdx mmu_idx, StackingMode mode) in v7m_stack_write()
302 ARMMMUIdx mmu_idx) in v7m_stack_read()
394 ARMMMUIdx mmu_idx; in HELPER() local
665 ARMMMUIdx mmu_idx; in arm_v7m_load_vector() local
767 ARMMMUIdx mmu_idx; in v7m_push_callee_stack() local
1188 ARMMMUIdx mmu_idx = arm_mmu_idx(env); in v7m_push_stack() local
1630 ARMMMUIdx mmu_idx; in do_v7m_exception_exit() local
1925 ARMMMUIdx mmu_idx; in do_v7m_function_return() local
2092 ARMMMUIdx mmu_idx; in v7m_handle_execute_nsc() local
[all …]
/openbmc/qemu/target/riscv/
H A Dop_helper.c158 int mmu_idx = riscv_env_mmu_index(env, false); in helper_cbo_zero() local
206 int mmu_idx = riscv_env_mmu_index(env, false); in check_zicbom_access() local
455 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hlv_bu() local
464 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hlv_hu() local
473 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hlv_wu() local
482 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hlv_d() local
491 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hsv_b() local
500 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hsv_h() local
509 int mmu_idx = check_access_hlsv(env, false, ra); in helper_hyp_hsv_w() local
534 int mmu_idx = check_access_hlsv(env, true, ra); in helper_hyp_hlvx_hu() local
[all …]
H A Dinternals.h40 static inline int mmuidx_priv(int mmu_idx) in mmuidx_priv()
49 static inline bool mmuidx_sum(int mmu_idx) in mmuidx_sum()
54 static inline bool mmuidx_2stage(int mmu_idx) in mmuidx_2stage()
/openbmc/qemu/target/sparc/
H A Dmmu_helper.c70 int rw, int mmu_idx) in get_physical_address()
207 MMUAccessType access_type, int mmu_idx, in sparc_cpu_tlb_fill()
502 static uint64_t build_sfsr(CPUSPARCState *env, int mmu_idx, int rw) in build_sfsr()
545 target_ulong address, int rw, int mmu_idx) in get_physical_address_data()
645 target_ulong address, int mmu_idx) in get_physical_address_code()
722 int rw, int mmu_idx) in get_physical_address()
758 MMUAccessType access_type, int mmu_idx, in sparc_cpu_tlb_fill()
872 target_ulong addr, int rw, int mmu_idx) in cpu_sparc_get_phys_page()
886 int mmu_idx) in cpu_get_phys_page_nofault()
901 int mmu_idx = cpu_mmu_index(cs, false); in sparc_cpu_get_phys_page_debug() local
[all …]
/openbmc/qemu/accel/tcg/
H A Dcputlb.c395 int mmu_idx = ctz32(work); in tlb_flush_by_mmuidx_async_work() local
542 int mmu_idx; in tlb_flush_page_by_mmuidx_async_0() local
731 int mmu_idx; in tlb_flush_range_by_mmuidx_async_0() local
936 int mmu_idx; in tlb_reset_dirty() local
969 int mmu_idx; in tlb_set_dirty() local
1038 void tlb_set_page_full(CPUState *cpu, int mmu_idx, in tlb_set_page_full()
1202 int mmu_idx, uint64_t size) in tlb_set_page_with_attrs()
1217 int mmu_idx, uint64_t size) in tlb_set_page()
1603 int mmu_idx; member
1798 uintptr_t mmu_idx = get_mmuidx(oi); in atomic_mmu_lookup() local
[all …]
/openbmc/qemu/target/arm/
H A Dptw.c128 ARMMMUIdx stage_1_mmu_idx(ARMMMUIdx mmu_idx) in stage_1_mmu_idx()
549 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in S1_ptw_translate() local
1123 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_v6() local
1465 ARMMMUIdx mmu_idx) in aa32_va_parameters()
1683 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_lpae() local
2204 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_pmsav5() local
2371 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_pmsav7() local
2901 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_pmsav8() local
3212 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_disabled() local
3400 ARMMMUIdx mmu_idx = ptw->in_mmu_idx; in get_phys_addr_nogpc() local
[all …]
H A Dinternals.h791 static inline int arm_to_core_mmu_idx(ARMMMUIdx mmu_idx) in arm_to_core_mmu_idx()
805 static inline ARMMMUIdx core_to_aa64_mmu_idx(int mmu_idx) in core_to_aa64_mmu_idx()
865 static inline bool regime_has_2_ranges(ARMMMUIdx mmu_idx) in regime_has_2_ranges()
883 static inline bool regime_is_pan(CPUARMState *env, ARMMMUIdx mmu_idx) in regime_is_pan()
896 static inline bool regime_is_stage2(ARMMMUIdx mmu_idx) in regime_is_stage2()
902 static inline uint32_t regime_el(CPUARMState *env, ARMMMUIdx mmu_idx) in regime_el()
936 static inline bool regime_is_user(CPUARMState *env, ARMMMUIdx mmu_idx) in regime_is_user()
954 static inline uint64_t regime_sctlr(CPUARMState *env, ARMMMUIdx mmu_idx) in regime_sctlr()
970 static inline uint64_t regime_tcr(CPUARMState *env, ARMMMUIdx mmu_idx) in regime_tcr()
1188 static inline ARMMMUIdx stage_1_mmu_idx(ARMMMUIdx mmu_idx) in stage_1_mmu_idx()
[all …]
/openbmc/qemu/target/ppc/
H A Dmmu-booke.c261 static bool is_epid_mmu(int mmu_idx) in is_epid_mmu()
266 static uint32_t mmubooke206_esr(int mmu_idx, MMUAccessType access_type) in mmubooke206_esr()
287 int mmu_idx, uint32_t *epid_out, in mmubooke206_get_as()
312 MMUAccessType access_type, int mmu_idx) in mmubooke206_check_tlb()
393 int mmu_idx) in mmubooke206_get_physical_address()
423 MMUAccessType access_type, int mmu_idx) in booke206_update_mas_tlb_miss()
477 hwaddr *raddrp, int *psizep, int *protp, int mmu_idx, in ppc_booke_xlate()
H A Dmem_helper.c58 MMUAccessType access_type, int mmu_idx, in probe_contiguous()
86 int mmu_idx = ppc_env_mmu_index(env, false); in helper_lmw() local
108 int mmu_idx = ppc_env_mmu_index(env, false); in helper_stmw() local
130 int mmu_idx; in do_lsw() local
219 int mmu_idx; in helper_stsw() local
274 int mmu_idx, int dcbz_size, uintptr_t retaddr) in dcbz_common()
306 void helper_dcbz(CPUPPCState *env, target_ulong addr, int mmu_idx) in helper_dcbz()
H A Dmmu-hash32.c40 static target_ulong hash32_bat_size(int mmu_idx, in hash32_bat_size()
53 int mmu_idx) in ppc_hash32_bat_lookup()
116 hwaddr *raddr, int *prot, int mmu_idx, in ppc_hash32_direct_store()
295 hwaddr *raddrp, int *psizep, int *protp, int mmu_idx, in ppc_hash32_xlate()
H A Dmmu-radix64.c235 int mmu_idx, bool partition_scoped) in ppc_radix64_check_prot()
431 int mmu_idx, uint64_t lpid, in ppc_radix64_partition_scoped_xlate()
516 int mmu_idx, uint64_t lpid, in ppc_radix64_process_scoped_xlate()
680 int *psizep, int *protp, int mmu_idx, in ppc_radix64_xlate_impl()
809 hwaddr *raddrp, int *psizep, int *protp, int mmu_idx, in ppc_radix64_xlate()
/openbmc/qemu/target/mips/sysemu/
H A Dphysaddr.c25 static int is_seg_am_mapped(unsigned int am, bool eu, int mmu_idx) in is_seg_am_mapped()
80 MMUAccessType access_type, int mmu_idx, in get_seg_physical_address()
104 MMUAccessType access_type, int mmu_idx, in get_segctl_physical_address()
118 MMUAccessType access_type, int mmu_idx) in get_physical_address()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dsvm_helper.c30 static void svm_save_seg(CPUX86State *env, int mmu_idx, hwaddr addr, in svm_save_seg()
55 static void svm_load_seg(CPUX86State *env, int mmu_idx, hwaddr addr, in svm_load_seg()
77 static void svm_load_seg_cache(CPUX86State *env, int mmu_idx, in svm_load_seg_cache()
479 int mmu_idx = MMU_PHYS_IDX; in helper_vmload() local
540 int mmu_idx = MMU_PHYS_IDX; in helper_vmsave() local
H A Dexcp_helper.c31 int mmu_idx; member
544 MMUAccessType access_type, int mmu_idx, in get_physical_address()
610 MMUAccessType access_type, int mmu_idx, in x86_cpu_tlb_fill()
654 int mmu_idx, uintptr_t retaddr) in x86_cpu_do_unaligned_access()
/openbmc/qemu/target/loongarch/
H A Dcpu_helper.c17 int access_type, int index, int mmu_idx) in loongarch_map_tlb_entry()
146 MMUAccessType access_type, int mmu_idx) in loongarch_map_address()
161 MMUAccessType access_type, int mmu_idx) in loongarch_map_address()
181 MMUAccessType access_type, int mmu_idx) in get_physical_address()
/openbmc/qemu/target/microblaze/
H A Dhelper.c40 MMUAccessType access_type, int mmu_idx, in mb_cpu_tlb_fill()
234 int mmu_idx = cpu_mmu_index(cs, false); in mb_cpu_get_phys_page_attrs_debug() local
273 int mmu_idx, uintptr_t retaddr) in mb_cpu_do_unaligned_access()
/openbmc/qemu/target/tricore/
H A Dhelper.c37 MMUAccessType access_type, int mmu_idx) in get_physical_address()
52 int mmu_idx = cpu_mmu_index(cs, false); in tricore_cpu_get_phys_page_debug() local
68 MMUAccessType rw, int mmu_idx, in tricore_cpu_tlb_fill()
/openbmc/qemu/target/alpha/
H A Dmem_helper.c50 int mmu_idx, uintptr_t retaddr) in alpha_cpu_do_unaligned_access()
63 int mmu_idx, MemTxAttrs attrs, in alpha_cpu_do_transaction_failed()
/openbmc/qemu/target/hppa/
H A Dmem_helper.c199 int hppa_get_physical_address(CPUHPPAState *env, vaddr addr, int mmu_idx, in hppa_get_physical_address()
335 int prot, excp, mmu_idx; in hppa_cpu_get_phys_page_debug() local
404 int mmu_idx, MemTxAttrs attrs, in hppa_cpu_do_transaction_failed()
421 MMUAccessType type, int mmu_idx, in hppa_cpu_tlb_fill()
703 int mmu_idx = cpu_mmu_index(env_cpu(env), 0); in HELPER() local
/openbmc/qemu/target/xtensa/
H A Dhelper.c251 int mmu_idx, uintptr_t retaddr) in xtensa_cpu_do_unaligned_access()
265 MMUAccessType access_type, int mmu_idx, in xtensa_cpu_tlb_fill()
295 int mmu_idx, MemTxAttrs attrs, in xtensa_cpu_do_transaction_failed()
/openbmc/qemu/target/s390x/tcg/
H A Dmem_helper.c134 int mmu_idx; member
179 int mmu_idx, uintptr_t ra) in access_prepare_nf()
355 const int mmu_idx = s390x_env_mmu_index(env, false); in do_helper_nc() local
393 const int mmu_idx = s390x_env_mmu_index(env, false); in do_helper_xc() local
436 const int mmu_idx = s390x_env_mmu_index(env, false); in do_helper_oc() local
474 const int mmu_idx = s390x_env_mmu_index(env, false); in do_helper_mvc() local
517 const int mmu_idx = s390x_env_mmu_index(env, false); in HELPER() local
540 const int mmu_idx = s390x_env_mmu_index(env, false); in HELPER() local
563 const int mmu_idx = s390x_env_mmu_index(env, false); in HELPER() local
588 const int mmu_idx = s390x_env_mmu_index(env, false); in HELPER() local
[all …]
/openbmc/qemu/target/i386/tcg/
H A Daccess.c13 MMUAccessType type, int mmu_idx, uintptr_t ra) in access_prepare_mmu()
51 int mmu_idx = cpu_mmu_index(env_cpu(env), false); in access_prepare() local

123