qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PULL 00/14] loongarch queue
@ 2025-10-23 12:06 Bibo Mao
  2025-10-23 12:06 ` [PULL 01/14] target/loongarch: Use auto method with PTW feature Bibo Mao
                   ` (14 more replies)
  0 siblings, 15 replies; 18+ messages in thread
From: Bibo Mao @ 2025-10-23 12:06 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit c0e80879c876cbe4cbde43a92403329bcedf2ba0:

  Merge tag 'pull-vfio-20251022' of https://github.com/legoater/qemu into staging (2025-10-22 08:01:21 -0500)

are available in the Git repository at:

  https://github.com/bibo-mao/qemu.git tags/pull-loongarch-20251023

for you to fetch changes up to 79ff2eee9a377f654ed0c3533a0874a0e7d6226d:

  target/loongarch: Add bit A/D checking in TLB entry with PTW supported (2025-10-23 19:43:48 +0800)

----------------------------------------------------------------
pull-loongarch-20251023 queue

----------------------------------------------------------------
Bibo Mao (14):
      target/loongarch: Use auto method with PTW feature
      target/loongarch: Add CSR_PWCH write helper function
      target/loongarch: Add present and write bit with pte entry
      target/loongarch: Add function sptw_prepare_tlb before adding tlb entry
      target/loongarch: target/loongarch: Add common function get_tlb_random_index()
      target/loongarch: Add MMUContext parameter in fill_tlb_entry()
      target/loongarch: Add debug parameter with loongarch_page_table_walker()
      target/loongarch: Reserve higher 48 bit PTE attribute with huge page
      target/loongarch: Move last PTE lookup into page table walker loop
      target/loongarch: Add field tlb_index to record TLB search info
      target/loongarch: Add common interface update_tlb_index()
      target/loongarch: Add basic hardware PTW support
      target/loongarch: Update matched ptw bit A/D with PTW supported
      target/loongarch: Add bit A/D checking in TLB entry with PTW supported

 target/loongarch/cpu-csr.h                         |   4 +
 target/loongarch/cpu-mmu.h                         |  62 ++++++++
 target/loongarch/cpu.c                             |  26 ++++
 target/loongarch/cpu.h                             |   2 +
 target/loongarch/cpu_helper.c                      | 146 ++++++++++++++++---
 target/loongarch/tcg/csr_helper.c                  |  15 ++
 target/loongarch/tcg/helper.h                      |   1 +
 .../tcg/insn_trans/trans_privileged.c.inc          |   1 +
 target/loongarch/tcg/tlb_helper.c                  | 157 ++++++++++++++++-----
 9 files changed, 358 insertions(+), 56 deletions(-)



^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PULL 00/14] loongarch queue
@ 2025-08-29  2:54 Bibo Mao
  2025-09-02 10:05 ` Richard Henderson
  0 siblings, 1 reply; 18+ messages in thread
From: Bibo Mao @ 2025-08-29  2:54 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit ca18b336e12c8433177a3cd639c5bf757952adaa:

  Merge tag 'pull-lu-20250828' of https://gitlab.com/rth7680/qemu into staging (2025-08-28 09:24:36 +1000)

are available in the Git repository at:

  https://github.com/bibo-mao/qemu.git tags/pull-loongarch-20250829

for you to fetch changes up to cc78259deb21940521a227619eb00a4b8e3e36c2:

  target/loongarch: Use correct address when flush tlb (2025-08-29 10:05:02 +0800)

----------------------------------------------------------------
pull-loongarch-20250829 queue

----------------------------------------------------------------
Bibo Mao (14):
      target/loongarch: Move some function definition to kvm directory
      target/loongarch: Define function loongarch_cpu_post_init as static
      target/loongarch: Set page size in TLB entry with STLB
      target/loongarch: Add header file cpu-mmu.h
      target/loongarch: Add enum type TLBRet definition
      target/loongarch: Use vaddr in get_physical_address()
      target/loongarch: Use MMUAccessType in loongarch_map_tlb_entry()
      target/loongarch: Add common function loongarch_check_pte()
      target/loongarch: Use loongarch_check_pte in loongarch_page_table_walker
      target/loongarch: Use MMUConext in loongarch_map_tlb_entry()
      target/loongarch: Use MMUContext in loongarch_get_addr_from_tlb
      target/loongarch: Use MMUContext in loongarch_map_address()
      target/loongarch: Use MMUContext in get_physical_address()
      target/loongarch: Use correct address when flush tlb

 hw/loongarch/virt.c                  |   1 +
 target/loongarch/cpu-mmu.h           |  40 ++++++++
 target/loongarch/cpu.c               | 181 ++++++++++++++++++-----------------
 target/loongarch/cpu.h               |  11 ---
 target/loongarch/cpu_helper.c        | 142 +++++++++++++++++----------
 target/loongarch/internals.h         |  20 ----
 target/loongarch/kvm/kvm_loongarch.h |   4 +-
 target/loongarch/tcg/csr_helper.c    |   1 +
 target/loongarch/tcg/tcg_loongarch.h |   7 +-
 target/loongarch/tcg/tlb_helper.c    | 144 ++++++++--------------------
 10 files changed, 270 insertions(+), 281 deletions(-)
 create mode 100644 target/loongarch/cpu-mmu.h



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

end of thread, other threads:[~2025-10-23 19:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23 12:06 [PULL 00/14] loongarch queue Bibo Mao
2025-10-23 12:06 ` [PULL 01/14] target/loongarch: Use auto method with PTW feature Bibo Mao
2025-10-23 12:06 ` [PULL 02/14] target/loongarch: Add CSR_PWCH write helper function Bibo Mao
2025-10-23 12:06 ` [PULL 03/14] target/loongarch: Add present and write bit with pte entry Bibo Mao
2025-10-23 12:07 ` [PULL 04/14] target/loongarch: Add function sptw_prepare_tlb before adding tlb entry Bibo Mao
2025-10-23 12:07 ` [PULL 05/14] target/loongarch: target/loongarch: Add common function get_tlb_random_index() Bibo Mao
2025-10-23 12:07 ` [PULL 06/14] target/loongarch: Add MMUContext parameter in fill_tlb_entry() Bibo Mao
2025-10-23 12:07 ` [PULL 07/14] target/loongarch: Add debug parameter with loongarch_page_table_walker() Bibo Mao
2025-10-23 12:07 ` [PULL 08/14] target/loongarch: Reserve higher 48 bit PTE attribute with huge page Bibo Mao
2025-10-23 12:07 ` [PULL 09/14] target/loongarch: Move last PTE lookup into page table walker loop Bibo Mao
2025-10-23 12:07 ` [PULL 10/14] target/loongarch: Add field tlb_index to record TLB search info Bibo Mao
2025-10-23 12:07 ` [PULL 11/14] target/loongarch: Add common interface update_tlb_index() Bibo Mao
2025-10-23 12:07 ` [PULL 12/14] target/loongarch: Add basic hardware PTW support Bibo Mao
2025-10-23 12:07 ` [PULL 13/14] target/loongarch: Update matched ptw bit A/D with PTW supported Bibo Mao
2025-10-23 12:07 ` [PULL 14/14] target/loongarch: Add bit A/D checking in TLB entry " Bibo Mao
2025-10-23 19:33 ` [PULL 00/14] loongarch queue Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2025-08-29  2:54 Bibo Mao
2025-09-02 10:05 ` 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).