Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_PRMD (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/arch/loongarch/kernel/
Dswitch.S19 csrrd t1, LOONGARCH_CSR_PRMD
39 csrwr t1, LOONGARCH_CSR_PRMD
Dhead.S54 csrwr t0, LOONGARCH_CSR_PRMD
136 csrwr t0, LOONGARCH_CSR_PRMD
Dentry.S34 csrrd t2, LOONGARCH_CSR_PRMD
Dprocess.c161 p->thread.csr_prmd = csr_read32(LOONGARCH_CSR_PRMD); in copy_thread()
/linux-6.12.1/arch/loongarch/power/
Dhibernate.c18 saved_prmd = csr_read32(LOONGARCH_CSR_PRMD); in save_processor_state()
30 csr_write32(saved_prmd, LOONGARCH_CSR_PRMD); in restore_processor_state()
/linux-6.12.1/arch/loongarch/include/asm/
Dstackframe.h122 csrrd t1, LOONGARCH_CSR_PRMD
136 csrrd t0, LOONGARCH_CSR_PRMD
164 csrrd t0, LOONGARCH_CSR_PRMD
219 csrwr a0, LOONGARCH_CSR_PRMD
Dstacktrace.h88 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_PRMD) : "=r" (regs->csr_prmd)); in prepare_frametrace()
Dkvm_csr.h50 #define read_gcsr_prmd() gcsr_read(LOONGARCH_CSR_PRMD)
51 #define write_gcsr_prmd(val) gcsr_write(val, LOONGARCH_CSR_PRMD)
Dloongarch.h212 #define LOONGARCH_CSR_PRMD 0x1 /* Prev-exception mode info */ macro
/linux-6.12.1/arch/loongarch/kvm/
Dinterrupt.c145 kvm_write_hw_gcsr(LOONGARCH_CSR_PRMD, val); in _kvm_deliver_exception()
Dswitch.S88 csrxchg t0, t0, LOONGARCH_CSR_PRMD
Dmain.c49 set_gcsr_hw_flag(LOONGARCH_CSR_PRMD); in kvm_init_gcsr_flag()
Dvcpu.c1562 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PRMD); in _kvm_vcpu_load()
1648 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PRMD); in _kvm_vcpu_put()