mbox series

[0/5] LoongArch/tcg: Add hardware page table walker support

Message ID 20240729013939.1807982-1-gaosong@loongson.cn
Headers show
Series LoongArch/tcg: Add hardware page table walker support | expand

Message

Song Gao July 29, 2024, 1:39 a.m. UTC
Loongson-3A6000 and newer processors have hardware page table walker
(PTW) support. PTW can handle all fastpaths of PIL/PIS/PIF/PIE
exceptions by hardware,

Song Gao (5):
  target/loongarch: Add a new cpu_type la664
  target/loongarch: Add do_lddir/ldpte()
  target/loongarch: Add do_fill_tlb_entry()
  target/loongarch: Add get_random_tlb_index()
  target/loongarch/tcg: Add hardware page table walk support

 target/loongarch/cpu-csr.h        |   3 +
 target/loongarch/cpu.c            |  49 ++++--
 target/loongarch/cpu.h            |   1 +
 target/loongarch/cpu_helper.c     |  20 ++-
 target/loongarch/internals.h      |   2 +
 target/loongarch/tcg/tlb_helper.c | 252 ++++++++++++++++++++++++------
 6 files changed, 265 insertions(+), 62 deletions(-)