Searched refs:LOONGARCH_CSR_ERA (Results 1 – 8 of 8) sorted by relevance
/linux/arch/loongarch/kvm/ |
H A D | switch.S | 61 csrwr t0, LOONGARCH_CSR_ERA 132 csrrd t0, LOONGARCH_CSR_ERA
|
H A D | interrupt.c | 150 kvm_write_hw_gcsr(LOONGARCH_CSR_ERA, vcpu->arch.pc); in _kvm_deliver_exception()
|
H A D | main.c | 54 set_gcsr_hw_flag(LOONGARCH_CSR_ERA); in kvm_init_gcsr_flag()
|
H A D | vcpu.c | 407 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 D | kvm_csr.h | 60 #define read_gcsr_era() gcsr_read(LOONGARCH_CSR_ERA) 61 #define write_gcsr_era(val) gcsr_write(val, LOONGARCH_CSR_ERA)
|
H A D | stackframe.h | 155 csrrd ra, LOONGARCH_CSR_ERA 217 csrwr a0, LOONGARCH_CSR_ERA
|
H A D | loongarch.h | 253 #define LOONGARCH_CSR_ERA 0x6 /* Exception return address */ macro
|
/linux/arch/loongarch/kernel/ |
H A D | entry.S | 53 csrrd ra, LOONGARCH_CSR_ERA
|