Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_BADV (Results 1 – 8 of 8) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h62 #define read_gcsr_badv() gcsr_read(LOONGARCH_CSR_BADV)
63 #define write_gcsr_badv(val) gcsr_write(val, LOONGARCH_CSR_BADV)
H A Dstacktrace.h86 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_BADV) : "=r" (regs->csr_badvaddr)); in prepare_frametrace()
H A Dloongarch.h255 #define LOONGARCH_CSR_BADV 0x7 /* Bad virtual address */ macro
/linux/arch/loongarch/kernel/
H A Dgenex.S58 csrrd t0, LOONGARCH_CSR_BADV
/linux/arch/loongarch/kvm/
H A Dinterrupt.c134 kvm_write_hw_gcsr(LOONGARCH_CSR_BADV, val); in _kvm_deliver_exception()
H A Dswitch.S134 csrrd t0, LOONGARCH_CSR_BADV
H A Dmain.c55 set_gcsr_hw_flag(LOONGARCH_CSR_BADV); in kvm_init_gcsr_flag()
H A Dvcpu.c1567 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_BADV); in _kvm_vcpu_load()
1653 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_BADV); in _kvm_vcpu_put()