Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_BADI (Results 1 – 6 of 6) sorted by relevance

/linux/arch/loongarch/include/asm/
H A Dkvm_csr.h64 #define read_gcsr_badi() gcsr_read(LOONGARCH_CSR_BADI)
65 #define write_gcsr_badi(val) gcsr_write(val, LOONGARCH_CSR_BADI)
H A Dloongarch.h257 #define LOONGARCH_CSR_BADI 0x8 /* Bad instruction */ macro
/linux/arch/loongarch/kvm/
H A Dinterrupt.c138 kvm_write_hw_gcsr(LOONGARCH_CSR_BADI, vcpu->arch.badi); in _kvm_deliver_exception()
H A Dswitch.S136 csrrd t0, LOONGARCH_CSR_BADI
H A Dmain.c56 set_gcsr_hw_flag(LOONGARCH_CSR_BADI); in kvm_init_gcsr_flag()
H A Dvcpu.c1568 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_BADI); in _kvm_vcpu_load()
1654 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_BADI); in _kvm_vcpu_put()