[PATCH v2 0/2] tests/tcg fixes

Eric Farman posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261019185600.2031729-1-farman@linux.ibm.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Chinmay Rath <rathc@linux.ibm.com>, Nicholas Piggin <npiggin@gmail.com>, Glenn Miles <milesg@linux.ibm.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>
hw/i386/x86-common.c            |   6 +-
include/hw/elf_ops.h.inc        |  20 ++++-
tests/tcg/ppc64/float_convd.ref | 144 ++++++++++++++++----------------
tests/tcg/ppc64/float_convs.ref |  80 +++++++++---------
tests/tcg/ppc64/meson.build     |   6 ++
5 files changed, 140 insertions(+), 116 deletions(-)
[PATCH v2 0/2] tests/tcg fixes
Posted by Eric Farman 1 month ago
Hi,

Here's a quick turnaround on the tests/tcg fixes to address Pierrick's
comments on v1.

Quoting the important part of v1:

 - Patch 1 addresses an endianness problem that shows up when running
   on a big-endian (s390) host. It's existed for a while, as I can
   recreate similar errors (if slightly different messages) at least
   back to 11.0.0. Just never noticed (or looked into it) before.
 - Patch 2 addresses a change in behavior that occurs in the powerpc
   toolchain between power6 and power7 (based on experimentation with
   gcc -mcpu= settings). The tests as they currently are run fine for me
   on either an s390 or x86 host running Fedora, but fail on both hosts
   running Debian. 

v1->v2:
 - [PB] Add -mcpu in the loop processing the multiarch tests, rather than
   skipping it and adding it later.
 - [PB] Squash patches 2-4 into one
v1: https://lore.kernel.org/qemu-devel/20261019151233.230172-1-farman@linux.ibm.com/

Eric Farman (2):
  hw/i386: ELF endianness fixes
  tests/tcg/ppc64: Run float_conv* against power8

 hw/i386/x86-common.c            |   6 +-
 include/hw/elf_ops.h.inc        |  20 ++++-
 tests/tcg/ppc64/float_convd.ref | 144 ++++++++++++++++----------------
 tests/tcg/ppc64/float_convs.ref |  80 +++++++++---------
 tests/tcg/ppc64/meson.build     |   6 ++
 5 files changed, 140 insertions(+), 116 deletions(-)

-- 
2.53.0
Re: [PATCH v2 0/2] tests/tcg fixes
Posted by Pierrick Bouvier 1 month ago
On 10/19/2026 11:55 AM, Eric Farman wrote:
> Hi,
> 
> Here's a quick turnaround on the tests/tcg fixes to address Pierrick's
> comments on v1.
> 
> Quoting the important part of v1:
> 
>  - Patch 1 addresses an endianness problem that shows up when running
>    on a big-endian (s390) host. It's existed for a while, as I can
>    recreate similar errors (if slightly different messages) at least
>    back to 11.0.0. Just never noticed (or looked into it) before.
>  - Patch 2 addresses a change in behavior that occurs in the powerpc
>    toolchain between power6 and power7 (based on experimentation with
>    gcc -mcpu= settings). The tests as they currently are run fine for me
>    on either an s390 or x86 host running Fedora, but fail on both hosts
>    running Debian. 
> 
> v1->v2:
>  - [PB] Add -mcpu in the loop processing the multiarch tests, rather than
>    skipping it and adding it later.
>  - [PB] Squash patches 2-4 into one
> v1: https://lore.kernel.org/qemu-devel/20261019151233.230172-1-farman@linux.ibm.com/
> 
> Eric Farman (2):
>   hw/i386: ELF endianness fixes
>   tests/tcg/ppc64: Run float_conv* against power8
> 
>  hw/i386/x86-common.c            |   6 +-
>  include/hw/elf_ops.h.inc        |  20 ++++-
>  tests/tcg/ppc64/float_convd.ref | 144 ++++++++++++++++----------------
>  tests/tcg/ppc64/float_convs.ref |  80 +++++++++---------
>  tests/tcg/ppc64/meson.build     |   6 ++
>  5 files changed, 140 insertions(+), 116 deletions(-)
> 

This was merged into master (b6c4b7e86dec12d07f5cac65265b986d38ee9002).
Thank you for your contribution!

Regards,
Pierrick
Re: [PATCH v2 0/2] tests/tcg fixes
Posted by Pierrick Bouvier 1 month ago
On 10/19/2026 11:55 AM, Eric Farman wrote:
> Hi,
> 
> Here's a quick turnaround on the tests/tcg fixes to address Pierrick's
> comments on v1.
> 
> Quoting the important part of v1:
> 
>  - Patch 1 addresses an endianness problem that shows up when running
>    on a big-endian (s390) host. It's existed for a while, as I can
>    recreate similar errors (if slightly different messages) at least
>    back to 11.0.0. Just never noticed (or looked into it) before.
>  - Patch 2 addresses a change in behavior that occurs in the powerpc
>    toolchain between power6 and power7 (based on experimentation with
>    gcc -mcpu= settings). The tests as they currently are run fine for me
>    on either an s390 or x86 host running Fedora, but fail on both hosts
>    running Debian. 
> 
> v1->v2:
>  - [PB] Add -mcpu in the loop processing the multiarch tests, rather than
>    skipping it and adding it later.
>  - [PB] Squash patches 2-4 into one
> v1: https://lore.kernel.org/qemu-devel/20261019151233.230172-1-farman@linux.ibm.com/
> 
> Eric Farman (2):
>   hw/i386: ELF endianness fixes
>   tests/tcg/ppc64: Run float_conv* against power8
> 
>  hw/i386/x86-common.c            |   6 +-
>  include/hw/elf_ops.h.inc        |  20 ++++-
>  tests/tcg/ppc64/float_convd.ref | 144 ++++++++++++++++----------------
>  tests/tcg/ppc64/float_convs.ref |  80 +++++++++---------
>  tests/tcg/ppc64/meson.build     |   6 ++
>  5 files changed, 140 insertions(+), 116 deletions(-)
> 

Series:
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>