All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 00/14] loongarch queue
@ 2026-06-09  9:28 Song Gao
  2026-06-09  9:28 ` [PULL 01/14] target/loongarch: Add new field curState in CPULoongArchState Song Gao
                   ` (14 more replies)
  0 siblings, 15 replies; 20+ messages in thread
From: Song Gao @ 2026-06-09  9:28 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit cc329c491768b2d91eb0b0984f3baa0bf805776d:

  Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2026-06-08 09:30:30 -0400)

are available in the Git repository at:

  https://github.com/gaosong715/qemu.git tags/pull-loongarch-20260609

for you to fetch changes up to b653a954d427561fc563238af6b2feb8da209e41:

  target/loongarch: Add new structure CPUSysState (2026-06-09 08:37:18 -0400)

----------------------------------------------------------------
pull-loongarch-20260609

----------------------------------------------------------------
Bibo Mao (14):
      target/loongarch: Add new field curState in CPULoongArchState
      target/loongarch: Use sys_state in cpu.c when accessing CSR registers
      target/loongarch: Use sys_state in cpu_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in file arch_dump.c when accessing CSR registers
      target/loongarch: Use sys_state in kvm.c when accessing CSR registers
      target/loongarch: Use sys_state in tlb_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in tcg_cpu.c when accessing CSR registers
      target/loongarch: Use sys_state in csr_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in op_helper.c when accessing CSR registers
      linux-user/loongarch64: Use sys_state when accessing CSR registers
      target/loongarch: Add default CSRFL_BASIC info with flags field
      target/loongarch: Add wrapper function get_csr_offset()
      target/loongarch: Add macro CSR_OFFSET and CPU_CSR_OFFSET
      target/loongarch: Add new structure CPUSysState

 hw/intc/loongarch_dintc.c                          |   4 +-
 linux-user/loongarch64/cpu_loop.c                  |   5 +-
 linux-user/loongarch64/elfload.c                   |   4 +-
 linux-user/loongarch64/signal.c                    |  16 +-
 target/loongarch/arch_dump.c                       |   5 +-
 target/loongarch/cpu-mmu.h                         |   4 +-
 target/loongarch/cpu.c                             | 120 ++++++-----
 target/loongarch/cpu.h                             |  49 +++--
 target/loongarch/cpu_helper.c                      |  41 ++--
 target/loongarch/csr.c                             |  10 +-
 target/loongarch/csr.h                             |  10 +
 target/loongarch/gdbstub.c                         |   3 +-
 target/loongarch/kvm/kvm.c                         | 228 +++++++++++----------
 target/loongarch/machine.c                         | 118 +++++------
 target/loongarch/tcg/constant_timer.c              |  10 +-
 target/loongarch/tcg/csr_helper.c                  |  55 ++---
 target/loongarch/tcg/insn_trans/trans_extra.c.inc  |   6 +-
 .../tcg/insn_trans/trans_privileged.c.inc          |  16 +-
 target/loongarch/tcg/op_helper.c                   |  45 ++--
 target/loongarch/tcg/tcg_cpu.c                     | 107 +++++-----
 target/loongarch/tcg/tlb_helper.c                  | 137 +++++++------
 21 files changed, 549 insertions(+), 444 deletions(-)



^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PULL 00/14] loongarch queue
@ 2025-10-23 12:06 Bibo Mao
  2025-10-23 19:33 ` Richard Henderson
  0 siblings, 1 reply; 20+ 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] 20+ 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; 20+ 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] 20+ messages in thread

end of thread, other threads:[~2026-06-09 19:48 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09  9:28 [PULL 00/14] loongarch queue Song Gao
2026-06-09  9:28 ` [PULL 01/14] target/loongarch: Add new field curState in CPULoongArchState Song Gao
2026-06-09  9:28 ` [PULL 02/14] target/loongarch: Use sys_state in cpu.c when accessing CSR registers Song Gao
2026-06-09  9:28 ` [PULL 03/14] target/loongarch: Use sys_state in cpu_helper.c " Song Gao
2026-06-09  9:28 ` [PULL 04/14] target/loongarch: Use sys_state in file arch_dump.c " Song Gao
2026-06-09  9:28 ` [PULL 05/14] target/loongarch: Use sys_state in kvm.c " Song Gao
2026-06-09  9:28 ` [PULL 06/14] target/loongarch: Use sys_state in tlb_helper.c " Song Gao
2026-06-09  9:28 ` [PULL 07/14] target/loongarch: Use sys_state in tcg_cpu.c " Song Gao
2026-06-09  9:28 ` [PULL 08/14] target/loongarch: Use sys_state in csr_helper.c " Song Gao
2026-06-09  9:28 ` [PULL 09/14] target/loongarch: Use sys_state in op_helper.c " Song Gao
2026-06-09  9:28 ` [PULL 10/14] linux-user/loongarch64: Use sys_state " Song Gao
2026-06-09  9:28 ` [PULL 11/14] target/loongarch: Add default CSRFL_BASIC info with flags field Song Gao
2026-06-09  9:28 ` [PULL 12/14] target/loongarch: Add wrapper function get_csr_offset() Song Gao
2026-06-09  9:28 ` [PULL 13/14] target/loongarch: Add macro CSR_OFFSET and CPU_CSR_OFFSET Song Gao
2026-06-09  9:28 ` [PULL 14/14] target/loongarch: Add new structure CPUSysState Song Gao
2026-06-09 19:47 ` [PULL 00/14] loongarch queue Stefan Hajnoczi
  -- strict thread matches above, loose matches on Subject: below --
2025-10-23 12:06 Bibo Mao
2025-10-23 19:33 ` Richard Henderson
2025-08-29  2:54 Bibo Mao
2025-09-02 10:05 ` Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.