Home
last modified time | relevance | path

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

/linux-6.12.1/arch/loongarch/power/
Dsuspend.c35 saved_regs.kpgd = csr_read64(LOONGARCH_CSR_PGDH); in loongarch_common_suspend()
54 csr_write64(saved_regs.kpgd, LOONGARCH_CSR_PGDH); in loongarch_common_resume()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_csr.h73 #define read_gcsr_pgdh() gcsr_read(LOONGARCH_CSR_PGDH)
74 #define write_gcsr_pgdh(val) gcsr_write(val, LOONGARCH_CSR_PGDH)
Dloongarch.h354 #define LOONGARCH_CSR_PGDH 0x1a /* Page table base address when VA[VALEN-1] = 1 */ macro
/linux-6.12.1/arch/loongarch/mm/
Dkasan_init.c290 csr_write64(__pa_symbol(kasan_pg_dir), LOONGARCH_CSR_PGDH); in kasan_init()
327 csr_write64(__pa_symbol(swapper_pg_dir), LOONGARCH_CSR_PGDH); in kasan_init()
Dtlb.c234 csr_write64((long)swapper_pg_dir, LOONGARCH_CSR_PGDH); in setup_ptwalker()
/linux-6.12.1/arch/loongarch/kvm/
Dmain.c64 set_gcsr_hw_flag(LOONGARCH_CSR_PGDH); in kvm_init_gcsr_flag()
Dvcpu.c1576 kvm_restore_hw_gcsr(csr, LOONGARCH_CSR_PGDH); in _kvm_vcpu_load()
1662 kvm_save_hw_gcsr(csr, LOONGARCH_CSR_PGDH); in _kvm_vcpu_put()