Home
last modified time | relevance | path

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

/linux/arch/loongarch/kvm/
H A Dswitch.S61 csrwr t0, LOONGARCH_CSR_ERA
132 csrrd t0, LOONGARCH_CSR_ERA
H A Dinterrupt.c150 kvm_write_hw_gcsr(LOONGARCH_CSR_ERA, vcpu->arch.pc); in _kvm_deliver_exception()
H A Dmain.c54 set_gcsr_hw_flag(LOONGARCH_CSR_ERA); in kvm_init_gcsr_flag()
H A Dvcpu.c407 kvm_debug("\tERA: 0x%08lx\n", kvm_read_hw_gcsr(LOONGARCH_CSR_ERA)); in kvm_arch_vcpu_dump_regs()
1566 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_ERA); in _kvm_vcpu_load()
1652 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_ERA); in _kvm_vcpu_put()
/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h60 #define read_gcsr_era() gcsr_read(LOONGARCH_CSR_ERA)
61 #define write_gcsr_era(val) gcsr_write(val, LOONGARCH_CSR_ERA)
H A Dstackframe.h155 csrrd ra, LOONGARCH_CSR_ERA
217 csrwr a0, LOONGARCH_CSR_ERA
H A Dloongarch.h253 #define LOONGARCH_CSR_ERA 0x6 /* Exception return address */ macro
/linux/arch/loongarch/kernel/
H A Dentry.S53 csrrd ra, LOONGARCH_CSR_ERA