Commit 7cf6cac151 for qemu.org

commit 7cf6cac151c2f7bc51ac9d9da572aaae91d21154
Merge: 746d6dd405 07e701716b
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date:   Mon Jun 1 08:43:12 2026 -0400

    Merge tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa into staging

    linux user patches

    A series of patches for linux-user, specifically many FPU fixes in signal
    handling code for sh4, mips, ppc and s390x (from Matt Turner), a madvise()
    improvement (from me), and qemu header cleanups (from Peter Maydell).

    ---
    v3: Fix build failure due to unknown MADV_COLLAPSE constant in madivise() patch
    v2: Dropped the "ARM cortex-m55 program loading fix" and the FPU alpha patch

    # -----BEGIN PGP SIGNATURE-----
    #
    # iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCahoKTQAKCRD3ErUQojoP
    # XxTMAPwP1hvkA5oV+NCS4y15eTTwycxsEKiSBV0cysz6pkgVGgEA3njxgnnH9iqM
    # AxeLtQWJAb3WHNyfDpnj+RLo/xUehQY=
    # =jFvz
    # -----END PGP SIGNATURE-----
    # gpg: Signature made Fri 29 May 2026 17:51:09 EDT
    # gpg:                using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
    # gpg: Good signature from "Helge Deller <deller@gmx.de>" [unknown]
    # gpg:                 aka "Helge Deller <deller@kernel.org>" [unknown]
    # gpg:                 aka "Helge Deller <deller@debian.org>" [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: 4544 8228 2CD9 10DB EF3D  25F8 3E5F 3D04 A7A2 4603
    #      Subkey fingerprint: BCE9 123E 1AD2 9F07 C049  BBDE F712 B510 A23A 0F5F

    * tag 'linux-user-next-pull-request' of https://github.com/hdeller/qemu-hppa:
      linux-user: Move cpu_copy() to user-internals.h
      linux-user: Move init_main_thread() prototype to user-internals.h
      linux-user: Fix typo in function documentation for pgb_addr_set()
      linux-user: Implement finer grained madivse() syscall
      linux-user/s390x: restore fpu_status rounding mode from FPC on sigreturn
      target/sh4: sync fp_status when gdb writes FPSCR
      linux-user/sh4: restore FP rounding mode on sigreturn
      linux-user/sh4: preserve T/M/Q bits across signal delivery
      linux-user/mips: save/restore FCSR across signal delivery
      linux-user/ppc: restore fp_status from FPSCR on sigreturn

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