Commit de5d8bfd61 for qemu.org

commit de5d8bfd6105d3dd3ae668df9762df244a6d1506
Merge: cc329c4917 b653a954d4
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date:   Tue Jun 9 14:00:28 2026 -0400

    Merge tag 'pull-loongarch-20260609' of https://github.com/gaosong715/qemu into staging

    pull-loongarch-20260609

    # -----BEGIN PGP SIGNATURE-----
    #
    # iLMEAAEKAB0WIQTKRzxE1qCcGJoZP81FK5aFKyaCFgUCaigJUgAKCRBFK5aFKyaC
    # FvvGA/97HT+z/02eIMmGoGGUz2Ft+ud14tFyuljW2e8LAE1nxCAkqEShNNYOynOB
    # 2y9FcMWQNAS9euLfq4H+6Blvy4CvkLtk4IC7Sl9Bdx5fJEWk4Q1uLj6Dda4T/3tj
    # UK+J7hwyeSTMvIn1paf7flQD+g8Ab015Rjub/b4FhBBRsVIgwg==
    # =FEFa
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Tue 09 Jun 2026 08:38:42 EDT
    # gpg:                using RSA key CA473C44D6A09C189A193FCD452B96852B268216
    # gpg: Good signature from "Song Gao <gaosong@loongson.cn>" [unknown]
    # gpg: WARNING: This key is not certified with a trusted signature!
    # gpg:          There is no indication that the signature belongs to the owner.
    # Primary key fingerprint: CA47 3C44 D6A0 9C18 9A19  3FCD 452B 9685 2B26 8216

    * tag 'pull-loongarch-20260609' of https://github.com/gaosong715/qemu:
      target/loongarch: Add new structure CPUSysState
      target/loongarch: Add macro CSR_OFFSET and CPU_CSR_OFFSET
      target/loongarch: Add wrapper function get_csr_offset()
      target/loongarch: Add default CSRFL_BASIC info with flags field
      linux-user/loongarch64: Use sys_state when accessing CSR registers
      target/loongarch: Use sys_state in op_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in csr_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 tlb_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in kvm.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 cpu_helper.c when accessing CSR registers
      target/loongarch: Use sys_state in cpu.c when accessing CSR registers
      target/loongarch: Add new field curState in CPULoongArchState

    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>