Searched refs:LOONGARCH_CSR_PGDL (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/loongarch/power/ |
H A D | suspend.c | 33 saved_regs.pgd = csr_read64(LOONGARCH_CSR_PGDL); in loongarch_common_suspend() 52 csr_write64(saved_regs.pgd, LOONGARCH_CSR_PGDL); in loongarch_common_resume()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | mmu_context.h | 89 csr_write64((unsigned long)next->pgd, LOONGARCH_CSR_PGDL); in switch_mm_irqs_off() 91 csr_write64((unsigned long)invalid_pg_dir, LOONGARCH_CSR_PGDL); in switch_mm_irqs_off()
|
H A D | loongarch.h | 343 #define LOONGARCH_CSR_PGDL 0x19 /* Page table base address when VA[VALEN-1] = 0 */ macro
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | tlbex.S | 56 csrrd t1, LOONGARCH_CSR_PGDL 209 csrrd t1, LOONGARCH_CSR_PGDL 365 csrrd t1, LOONGARCH_CSR_PGDL
|
H A D | tlb.c | 234 csr_write64((long)invalid_pg_dir, LOONGARCH_CSR_PGDL); in setup_ptwalker()
|
/openbmc/qemu/target/loongarch/ |
H A D | cpu-csr.h | 84 #define LOONGARCH_CSR_PGDL 0x19 macro
|
/openbmc/qemu/target/loongarch/kvm/ |
H A D | kvm.c | 130 ret |= kvm_get_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PGDL), in kvm_loongarch_get_csr() 300 ret |= kvm_set_one_reg(cs, KVM_IOC_CSRID(LOONGARCH_CSR_PGDL), in kvm_loongarch_put_csr()
|