Home
last modified time | relevance | path

Searched refs:ASID (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/qemu/target/mips/tcg/sysemu/
H A Dtlb_helper.c65 tlb->ASID = env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; in r4k_fill_tlb()
86 uint16_t ASID = env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; in r4k_helper_tlbinv() local
92 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbinv()
95 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbinv()
117 uint16_t ASID = env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; in r4k_helper_tlbwi() local
124 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbwi()
143 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbwi()
176 uint16_t ASID = env->CP0_EntryHi & env->CP0_EntryHi_ASID_mask; in r4k_helper_tlbp() local
181 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbp()
191 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbp()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dmmu.h27 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK)) macro
29 #define ASID(mm) (0) macro
H A Dtlbflush.h363 const int asid = ASID(mm); in __local_flush_tlb_mm()
381 const int asid = ASID(mm); in local_flush_tlb_mm()
405 tlb_op(TLB_V7_UIS_ASID, "c8, c3, 2", ASID(mm)); in __flush_tlb_mm()
418 uaddr = (uaddr & PAGE_MASK) | ASID(vma->vm_mm); in __local_flush_tlb_page()
439 uaddr = (uaddr & PAGE_MASK) | ASID(vma->vm_mm); in local_flush_tlb_page()
456 uaddr = (uaddr & PAGE_MASK) | ASID(vma->vm_mm); in __flush_tlb_page()
/openbmc/qemu/target/loongarch/tcg/
H A Dtlb_helper.c153 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in invalidate_tlb()
155 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in invalidate_tlb()
201 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in fill_tlb_entry()
202 tlb->tlb_misc = FIELD_DP64(tlb->tlb_misc, TLB_MISC, ASID, csr_asid); in fill_tlb_entry()
255 env->CSR_ASID = FIELD_DP64(env->CSR_ASID, CSR_ASID, ASID, 0); in helper_tlbrd()
329 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in helper_tlbclr()
336 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr()
346 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr()
410 uint16_t tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_invtlb_all_asid()
427 uint16_t tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_invtlb_page_asid()
[all …]
/openbmc/linux/arch/arm/mm/
H A Dtlb-v7.S40 asid r3, r3 @ mask ASID
49 ALT_SMP(mcr p15, 0, r0, c8, c3, 3) @ TLB invalidate U MVA all ASID (shareable)
78 ALT_SMP(mcr p15, 0, r0, c8, c3, 3) @ TLB invalidate U MVA all ASID (shareable)
H A Dtlb-v6.S42 asid r3, r3 @ mask ASID
/openbmc/linux/arch/arm64/include/asm/
H A Dtlbflush.h258 asid = __TLBI_VADDR(0, ASID(mm)); in flush_tlb_mm()
271 addr = __TLBI_VADDR(uaddr, ASID(mm)); in __flush_tlb_page_nosync()
430 asid = ASID(vma->vm_mm); in __flush_tlb_range()
H A Dmmu.h56 #define ASID(mm) (atomic64_read(&(mm)->context.id) & 0xffff) macro
H A Dmmu_context.h224 ttbr = phys_to_ttbr(virt_to_phys(mm->pgd)) | ASID(mm) << 48; in update_saved_ttbr0()
/openbmc/qemu/target/loongarch/
H A Dcpu_helper.c100 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in loongarch_tlb_search()
112 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search()
130 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search()
H A Dcpu-csr.h80 FIELD(CSR_ASID, ASID, 0, 10)
H A Dcpu.h251 FIELD(TLB_MISC, ASID, 1, 10)
/openbmc/linux/arch/loongarch/include/asm/
H A Dhw_breakpoint.h54 #define LOONGARCH_CSR_NAME_ASID ASID
/openbmc/linux/Documentation/ABI/testing/
H A Ddebugfs-driver-habanalabs216 Description: Displays the hop values and physical address for a given ASID
217 and virtual address. The user should write the ASID and VA into
219 e.g. to display info about VA 0x1000 for ASID 1 you need to do:
317 address mappings per ASID and all user mappings of HW blocks
/openbmc/qemu/target/mips/sysemu/
H A Dmachine.c144 qemu_get_be16s(f, &v->ASID); in get_tlb()
170 uint16_t asid = v->ASID; in put_tlb()
/openbmc/linux/arch/loongarch/kernel/
H A Dhw_breakpoint.c86 GEN_READ_WB_REG_CASES(CSR_CFG_ASID, ASID, t, val); in read_wb_reg()
101 GEN_WRITE_WB_REG_CASES(CSR_CFG_ASID, ASID, t, val); in write_wb_reg()
/openbmc/linux/arch/arm64/mm/
H A Dcontext.c352 unsigned long asid = ASID(mm); in cpu_do_switch_mm()
/openbmc/qemu/target/mips/
H A Dinternal.h124 uint16_t ASID; member
/openbmc/linux/arch/arm/
H A DKconfig727 bool "ARM errata: TLBIASIDIS and TLBIMVAIS operations can broadcast a faulty ASID"
731 r2p0) erratum. A faulty ASID can be sent to the other CPUs for the
736 entries regardless of the ASID.
770 bool "ARM errata: possible faulty MMU translations following an ASID switch"
775 which starts prior to an ASID switch but completes afterwards. This
777 the new ASID. This workaround places two dsb instructions in the mm
778 switching code so that no page table walks can cross the ASID switch.
845 which sends an IPI to the CPUs that are running the same ASID
/openbmc/linux/Documentation/translations/zh_CN/arch/loongarch/
H A Dintroduction.rst112 0x18 地址空间标识符 ASID
/openbmc/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv450 0x8000001F, 0, ECX, 31:0, num_encrypted_guests, Maximum ASID value that may be used for an SEV-en…
451 0x8000001F, 0, EDX, 31:0, minimum_sev_asid, Minimum ASID value that must be used for an SEV-enabl…
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_privileged.c.inc94 CSR_OFF_FUNCS(ASID, CSRFL_EXITTB, NULL, gen_helper_csrwr_asid),
/openbmc/qemu/docs/system/arm/
H A Demulation.rst24 - FEAT_ASID16 (16 bit ASID)
/openbmc/linux/arch/arm64/
H A DKconfig1156 contains data for a non-current ASID. The fix is to
1219 bool "Falkor E1003: Incorrect translation due to ASID change"
1222 On Falkor v1, an incorrect ASID may be cached in the TLB when ASID
1223 and BADDR are changed together in TTBRx_EL1. Since we keep the ASID
1645 zeroed area and reserved ASID. The user access routines
/openbmc/linux/Documentation/virt/kvm/x86/
H A Damd-memory-encryption.rst46 Hence, the ASID for the SEV-enabled guests must be from 1 to a maximum value

12