Home
last modified time | relevance | path

Searched refs:LOONGARCH_CSR_PGDL (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/loongarch/power/
H A Dsuspend.c33 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 Dmmu_context.h89 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 Dloongarch.h343 #define LOONGARCH_CSR_PGDL 0x19 /* Page table base address when VA[VALEN-1] = 0 */ macro
/openbmc/linux/arch/loongarch/mm/
H A Dtlbex.S56 csrrd t1, LOONGARCH_CSR_PGDL
209 csrrd t1, LOONGARCH_CSR_PGDL
365 csrrd t1, LOONGARCH_CSR_PGDL
H A Dtlb.c234 csr_write64((long)invalid_pg_dir, LOONGARCH_CSR_PGDL); in setup_ptwalker()
/openbmc/qemu/target/loongarch/
H A Dcpu-csr.h84 #define LOONGARCH_CSR_PGDL 0x19 macro
/openbmc/qemu/target/loongarch/kvm/
H A Dkvm.c130 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()