Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h64 #define read_gcsr_badi() gcsr_read(LOONGARCH_CSR_BADI)
65 #define write_gcsr_badi(val) gcsr_write(val, LOONGARCH_CSR_BADI)
Dloongarch.h257 #define LOONGARCH_CSR_BADI 0x8 /* Bad instruction */ macro
/linux-6.12.1/arch/loongarch/kvm/
Dinterrupt.c138 kvm_write_hw_gcsr(LOONGARCH_CSR_BADI, vcpu->arch.badi); in _kvm_deliver_exception()
Dswitch.S136 csrrd t0, LOONGARCH_CSR_BADI
Dmain.c56 set_gcsr_hw_flag(LOONGARCH_CSR_BADI); in kvm_init_gcsr_flag()
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()