Searched refs:tlb_asid (Results 1 – 2 of 2) sorted by relevance
/qemu/target/loongarch/tcg/ |
H A D | tlb_helper.c | 151 uint16_t csr_asid, tlb_asid, tlb_g; in invalidate_tlb() local 155 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in invalidate_tlb() 157 if (tlb_g == 0 && tlb_asid != csr_asid) { in invalidate_tlb() 327 uint16_t csr_asid, tlb_asid, tlb_g; in helper_tlbclr() local 336 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr() 338 if (!tlb_g && tlb_asid == csr_asid) { in helper_tlbclr() 346 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr() 348 if (!tlb_g && tlb_asid == csr_asid) { in helper_tlbclr() 412 if (!tlb_g && (tlb_asid == asid)) { in helper_invtlb_all_asid() 440 if (!tlb_g && (tlb_asid == asid) && in helper_invtlb_page_asid() [all …]
|
/qemu/target/loongarch/ |
H A D | cpu_helper.c | 95 uint16_t csr_asid, tlb_asid, stlb_idx; in loongarch_tlb_search() local 112 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search() 115 if ((tlb_g == 1 || tlb_asid == csr_asid) && in loongarch_tlb_search() 130 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search() 134 if ((tlb_g == 1 || tlb_asid == csr_asid) && in loongarch_tlb_search()
|