qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] LoongArch/tcg: Add hardware page table walker support
@ 2024-07-29  1:39 Song Gao
  2024-07-29  1:39 ` [PATCH 1/5] target/loongarch: Add a new cpu_type la664 Song Gao
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Song Gao @ 2024-07-29  1:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: richard.henderson, maobibo, philmd

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(-)

-- 
2.33.0



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-09-05 19:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29  1:39 [PATCH 0/5] LoongArch/tcg: Add hardware page table walker support Song Gao
2024-07-29  1:39 ` [PATCH 1/5] target/loongarch: Add a new cpu_type la664 Song Gao
2024-09-05 10:32   ` Philippe Mathieu-Daudé
2024-09-05 12:29     ` gaosong
2024-07-29  1:39 ` [PATCH 2/5] target/loongarch: Add do_lddir/ldpte() Song Gao
2024-07-29  1:39 ` [PATCH 3/5] target/loongarch: Add do_fill_tlb_entry() Song Gao
2024-07-29  1:39 ` [PATCH 4/5] target/loongarch: Add get_random_tlb_index() Song Gao
2024-07-29  1:39 ` [PATCH 5/5] target/loongarch/tcg: Add hardware page table walker support Song Gao
2024-07-29  3:57   ` Richard Henderson
2024-09-05  8:27     ` gaosong
2024-09-05 19:39       ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).