Home
last modified time | relevance | path

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

12

/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/mips/tcg/sysemu/
H A Dtlb_helper.c91 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbinv()
94 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbinv()
123 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbwi()
142 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbwi()
180 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbp()
190 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbp()
240 MMID = mi ? MMID : (uint32_t) ASID; in r4k_helper_tlbr()
244 tlb_mmid = mi ? tlb->MMID : (uint32_t) tlb->ASID; in r4k_helper_tlbr()
399 MMID = mi ? MMID : (uint32_t) ASID; in r4k_map_address()
1376 MMID = mi ? MMID : (uint32_t) ASID; in r4k_invalidate_tlb()
[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/qemu/target/loongarch/
H A Dtlb_helper.c116 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in loongarch_tlb_search()
128 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search()
146 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in loongarch_tlb_search()
354 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in invalidate_tlb()
356 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in invalidate_tlb()
402 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in fill_tlb_entry()
456 env->CSR_ASID = FIELD_DP64(env->CSR_ASID, CSR_ASID, ASID, 0); in helper_tlbrd()
530 csr_asid = FIELD_EX64(env->CSR_ASID, CSR_ASID, ASID); in helper_tlbclr()
537 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr()
547 tlb_asid = FIELD_EX64(tlb->tlb_misc, TLB_MISC, ASID); in helper_tlbclr()
[all …]
H A Dcpu-csr.h77 FIELD(CSR_ASID, ASID, 0, 10)
H A Dcpu.h251 FIELD(TLB_MISC, ASID, 1, 10)
/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/linux/arch/loongarch/include/asm/
H A Dhw_breakpoint.h54 #define LOONGARCH_CSR_NAME_ASID ASID
/openbmc/qemu/target/mips/sysemu/
H A Dmachine.c144 qemu_get_be16s(f, &v->ASID); in get_tlb()
169 uint16_t asid = v->ASID; in put_tlb()
/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/linux/Documentation/devicetree/bindings/iommu/
H A Dqcom,iommu.yaml84 The ASID number associated to the context bank.
/openbmc/linux/arch/loongarch/kernel/
H A Dhw_breakpoint.c74 GEN_READ_WB_REG_CASES(CSR_CFG_ASID, ASID, t, val); in read_wb_reg()
89 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.h125 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/qemu/target/loongarch/insn_trans/
H A Dtrans_privileged.c.inc94 CSR_OFF_FUNCS(ASID, CSRFL_EXITTB, NULL, gen_helper_csrwr_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/linux/arch/arm64/
H A DKconfig1117 contains data for a non-current ASID. The fix is to
1180 bool "Falkor E1003: Incorrect translation due to ASID change"
1183 On Falkor v1, an incorrect ASID may be cached in the TLB when ASID
1184 and BADDR are changed together in TTBRx_EL1. Since we keep the ASID
1606 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
/openbmc/linux/Documentation/arch/loongarch/
H A Dintroduction.rst115 0x18 Address Space Identifier ASID

12