qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9d1401: ppc64: Avoid pt_regs struct definitio


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9d1401: ppc64: Avoid pt_regs struct definition
Date: Mon, 21 Mar 2022 04:17:28 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 9d1401b79463e74adbfac69d836789d4e103fb61
      
https://github.com/qemu/qemu/commit/9d1401b79463e74adbfac69d836789d4e103fb61
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   2022-03-20 (Sun, 20 Mar 2022)

  Changed paths:
    R linux-user/include/host/ppc/host-signal.h
    M linux-user/include/host/ppc64/host-signal.h

  Log Message:
  -----------
  ppc64: Avoid pt_regs struct definition

Remove pt_regs indirection and instead reference gp_regs directly, this
makes it portable across musl/glibc

Use PT_* constants defined in asm/ptrace.h

Move the file to ppc64 subdir and leave ppc empty

Fixes
../qemu-6.2.0/linux-user/host/ppc64/../ppc/host-signal.h:16:32: error: 
incomplete definition of type 'struct pt_regs'
    return uc->uc_mcontext.regs->nip;
           ~~~~~~~~~~~~~~~~~~~~^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220315015740.847370-1-raj.khem@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>


  Commit: 217979d33e78ee64978295962c33d8525973c760
      
https://github.com/qemu/qemu/commit/217979d33e78ee64978295962c33d8525973c760
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-03-20 (Sun, 20 Mar 2022)

  Changed paths:
    M target/ppc/fpu_helper.c

  Log Message:
  -----------
  target/ppc: Replicate double->int32 result for some vector insns

Power ISA v3.1 formalizes the previously undefined result in
words 1 and 3 to be a copy of the result in words 0 and 2.

This affects: xscvdpsxws, xscvdpuxws, xvcvdpsxws, xvcvdpuxws.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/852
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
[ clg: checkpatch fixes ]
Message-Id: <20220315053934.377519-1-richard.henderson@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>


  Commit: 3515553bf625ad48aa90210379c4f387c2596093
      
https://github.com/qemu/qemu/commit/3515553bf625ad48aa90210379c4f387c2596093
  Author: Lucas Coutinho <lucas.coutinho@eldorado.org.br>
  Date:   2022-03-20 (Sun, 20 Mar 2022)

  Changed paths:
    M target/ppc/fpu_helper.c

  Log Message:
  -----------
  target/ppc: Replicate Double->Single-Precision result

Power ISA v3.1 formalizes the previously undefined result in
words 1 and 3 to be a copy of the result in words 0 and 2.

This affects: xvcvsxdsp, xvcvuxdsp, xvcvdpsp.

And the previously undefined result in word 1 to be a copy of
the result in word 0.

This affects: xscvdpsp.

Signed-off-by: Lucas Coutinho <lucas.coutinho@eldorado.org.br>
Message-Id: <20220316200427.3410437-1-lucas.coutinho@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>


  Commit: ecf1bbe3227cc1c54d7374aa737e7e0e60ee0c29
      
https://github.com/qemu/qemu/commit/ecf1bbe3227cc1c54d7374aa737e7e0e60ee0c29
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    R linux-user/include/host/ppc/host-signal.h
    M linux-user/include/host/ppc64/host-signal.h
    M target/ppc/fpu_helper.c

  Log Message:
  -----------
  Merge tag 'pull-ppc-20220321' of https://github.com/legoater/qemu into staging

ppc-7.0 queue :

* ISA v3.1 vector instruction fixes
* Compilation fix regarding 'struct pt_regs' definition

# gpg: Signature made Mon 21 Mar 2022 06:43:22 GMT
# gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <clg@kaod.org>" [undefined]
# 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: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1

* tag 'pull-ppc-20220321' of https://github.com/legoater/qemu:
  target/ppc: Replicate Double->Single-Precision result
  target/ppc: Replicate double->int32 result for some vector insns
  ppc64: Avoid pt_regs struct definition

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/2058fdbe81e2...ecf1bbe3227c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]