[PULL 00/14] loongarch queue

Bibo Mao posted 14 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250829025507.2315073-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
There is a newer version of this series
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
[PULL 00/14] loongarch queue
Posted by Bibo Mao 1 month ago
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
Re: [PULL 00/14] loongarch queue
Posted by Richard Henderson 3 weeks, 5 days ago
On 8/29/25 12:54, Bibo Mao wrote:
> The following changes since commit ca18b336e12c8433177a3cd639c5bf757952adaa:
> 
>    Merge tag 'pull-lu-20250828' ofhttps://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


Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/10.2 as appropriate.

r~