Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_ASID (Results 1 – 5 of 5) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h69 #define read_gcsr_asid() gcsr_read(LOONGARCH_CSR_ASID)
70 #define write_gcsr_asid(val) gcsr_write(val, LOONGARCH_CSR_ASID)
H A Dloongarch.h344 #define LOONGARCH_CSR_ASID 0x18 /* ASID */ macro
1185 #define read_csr_asid() csr_read32(LOONGARCH_CSR_ASID)
1186 #define write_csr_asid(val) csr_write32(val, LOONGARCH_CSR_ASID)
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c187 config = csr_read32(LOONGARCH_CSR_ASID); in cpu_probe_common()
/linux/arch/loongarch/kvm/
H A Dmain.c62 set_gcsr_hw_flag(LOONGARCH_CSR_ASID); in kvm_init_gcsr_flag()
H A Dvcpu.c1574 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_ASID); in _kvm_vcpu_load()
1660 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_ASID); in _kvm_vcpu_put()