Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_TLBREHI (Results 1 – 4 of 4) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h138 #define read_gcsr_tlbrehi() gcsr_read(LOONGARCH_CSR_TLBREHI)
139 #define write_gcsr_tlbrehi(val) gcsr_write(val, LOONGARCH_CSR_TLBREHI)
H A Dloongarch.h631 #define LOONGARCH_CSR_TLBREHI 0x8e /* TLB refill entryhi */ macro
1177 return (csr_read64(LOONGARCH_CSR_TLBREHI) & CSR_TLBREHI_PS) >> CSR_TLBREHI_PS_SHIFT; in read_csr_tlbrefill_pagesize()
1182 csr_xchg64(size << CSR_TLBREHI_PS_SHIFT, CSR_TLBREHI_PS, LOONGARCH_CSR_TLBREHI); in write_csr_tlbrefill_pagesize()
/linux/arch/loongarch/kvm/
H A Dmain.c94 set_gcsr_hw_flag(LOONGARCH_CSR_TLBREHI); in kvm_init_gcsr_flag()
H A Dvcpu.c1598 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_TLBREHI); in _kvm_vcpu_load()
1688 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_TLBREHI); in _kvm_vcpu_put()