/openbmc/qemu/target/mips/tcg/sysemu/ |
H A D | tlb_helper.c | 65 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 D | mmu.h | 27 #define ASID(mm) ((unsigned int)((mm)->context.id.counter & ~ASID_MASK)) macro 29 #define ASID(mm) (0) macro
|
H A D | tlbflush.h | 363 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 D | tlb_helper.c | 153 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 D | tlb-v7.S | 40 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 D | tlb-v6.S | 42 asid r3, r3 @ mask ASID
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | tlbflush.h | 258 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 D | mmu.h | 56 #define ASID(mm) (atomic64_read(&(mm)->context.id) & 0xffff) macro
|
H A D | mmu_context.h | 224 ttbr = phys_to_ttbr(virt_to_phys(mm->pgd)) | ASID(mm) << 48; in update_saved_ttbr0()
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu_helper.c | 100 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 D | cpu-csr.h | 80 FIELD(CSR_ASID, ASID, 0, 10)
|
H A D | cpu.h | 251 FIELD(TLB_MISC, ASID, 1, 10)
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | hw_breakpoint.h | 54 #define LOONGARCH_CSR_NAME_ASID ASID
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-driver-habanalabs | 216 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 D | machine.c | 144 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 D | hw_breakpoint.c | 86 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 D | context.c | 352 unsigned long asid = ASID(mm); in cpu_do_switch_mm()
|
/openbmc/qemu/target/mips/ |
H A D | internal.h | 124 uint16_t ASID; member
|
/openbmc/linux/arch/arm/ |
H A D | Kconfig | 727 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 D | introduction.rst | 112 0x18 地址空间标识符 ASID
|
/openbmc/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 450 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 D | trans_privileged.c.inc | 94 CSR_OFF_FUNCS(ASID, CSRFL_EXITTB, NULL, gen_helper_csrwr_asid),
|
/openbmc/qemu/docs/system/arm/ |
H A D | emulation.rst | 24 - FEAT_ASID16 (16 bit ASID)
|
/openbmc/linux/arch/arm64/ |
H A D | Kconfig | 1156 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 D | amd-memory-encryption.rst | 46 Hence, the ASID for the SEV-enabled guests must be from 1 to a maximum value
|