[PULL 00/22] s390x, build-oss-fuzz and Clang -fsanitize=undefined fixes

Thomas Huth posted 22 patches 5 months, 4 weeks ago
Failed in applying to current master (apply log)
Maintainers: Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Eric Farman <farman@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, Alexander Bulekov <alxndr@bu.edu>, Paolo Bonzini <pbonzini@redhat.com>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, Laurent Vivier <lvivier@redhat.com>
include/hw/s390x/s390_flic.h            |   3 -
include/qapi/clone-visitor.h            |  37 +++--
include/qemu/lockable.h                 |  23 ++-
target/s390x/cpu.h                      |  85 +++++------
target/s390x/helper.h                   |   8 +-
tests/qtest/fuzz/generic_fuzz_configs.h |   3 +-
qapi/qapi-clone-visitor.c               |  30 +---
qemu-keymap.c                           |   8 +-
target/s390x/cpu.c                      |  36 +++++
target/s390x/tcg/excp_helper.c          |   2 +-
target/s390x/tcg/misc_helper.c          |  68 +++++----
target/s390x/tcg/translate.c            | 242 ++++++++++++--------------------
scripts/oss-fuzz/build.sh               |   1 +
scripts/update-linux-headers.sh         |   3 +-
tests/tcg/s390x/Makefile.softmmu-target |   1 +
tests/tcg/s390x/per.S                   |  82 +++++++++++
16 files changed, 355 insertions(+), 277 deletions(-)
create mode 100644 tests/tcg/s390x/per.S
[PULL 00/22] s390x, build-oss-fuzz and Clang -fsanitize=undefined fixes
Posted by Thomas Huth 5 months, 4 weeks ago
 Hi Richard!

The following changes since commit 79d7475f39f1b0f05fcb159f5cdcbf162340dc7e:

  Merge tag 'pull-block-jobs-2024-04-29-v2' of https://gitlab.com/vsementsov/qemu into staging (2024-05-28 11:28:34 -0700)

are available in the Git repository at:

  https://gitlab.com/thuth/qemu.git tags/pull-request-2024-05-29

for you to fetch changes up to b04091393e6a71065aee6c91b2566f2dec95a4c9:

  qapi: Do not cast function pointers (2024-05-29 12:41:56 +0200)

----------------------------------------------------------------
* Fix and improve PER emulation on s390x
* Fix problems of the build-oss-fuzz CI job
* Fix broken update-linux-headers.sh script
* Fixes for compiling with -fsanitize=undefined on latest Clang versions

----------------------------------------------------------------
Akihiko Odaki (3):
      qemu-keymap: Make references to allocations static
      lockable: Do not cast function pointers
      qapi: Do not cast function pointers

Alexander Bulekov (2):
      fuzz: specify audiodev for usb-audio
      fuzz: disable leak-detection for oss-fuzz builds

Richard Henderson (14):
      target/s390x: Do not use unwind for per_check_exception
      target/s390x: Move cpu_get_tb_cpu_state out of line
      target/s390x: Update CR9 bits
      target/s390x: Record separate PER bits in TB flags
      target/s390x: Disable conditional branch-to-next for PER
      target/s390x: Introduce help_goto_indirect
      target/s390x: Simplify help_branch
      target/s390x: Split per_breaking_event from per_branch_*
      target/s390x: Raise exception from helper_per_branch
      target/s390x: Raise exception from per_store_real
      target/s390x: Fix helper_per_ifetch flags
      target/s390x: Simplify per_ifetch, per_check_exception
      target/s390x: Adjust check of noreturn in translate_one
      tests/tcg/s390x: Add per.S

Thomas Huth (3):
      hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES
      scripts/update-linux-headers.sh: Remove temporary directory inbetween
      scripts/update-linux-headers.sh: Fix the path of setup_data.h

 include/hw/s390x/s390_flic.h            |   3 -
 include/qapi/clone-visitor.h            |  37 +++--
 include/qemu/lockable.h                 |  23 ++-
 target/s390x/cpu.h                      |  85 +++++------
 target/s390x/helper.h                   |   8 +-
 tests/qtest/fuzz/generic_fuzz_configs.h |   3 +-
 qapi/qapi-clone-visitor.c               |  30 +---
 qemu-keymap.c                           |   8 +-
 target/s390x/cpu.c                      |  36 +++++
 target/s390x/tcg/excp_helper.c          |   2 +-
 target/s390x/tcg/misc_helper.c          |  68 +++++----
 target/s390x/tcg/translate.c            | 242 ++++++++++++--------------------
 scripts/oss-fuzz/build.sh               |   1 +
 scripts/update-linux-headers.sh         |   3 +-
 tests/tcg/s390x/Makefile.softmmu-target |   1 +
 tests/tcg/s390x/per.S                   |  82 +++++++++++
 16 files changed, 355 insertions(+), 277 deletions(-)
 create mode 100644 tests/tcg/s390x/per.S
Re: [PULL 00/22] s390x, build-oss-fuzz and Clang -fsanitize=undefined fixes
Posted by Richard Henderson 5 months, 4 weeks ago
On 5/29/24 03:54, Thomas Huth wrote:
>   Hi Richard!
> 
> The following changes since commit 79d7475f39f1b0f05fcb159f5cdcbf162340dc7e:
> 
>    Merge tag 'pull-block-jobs-2024-04-29-v2' ofhttps://gitlab.com/vsementsov/qemu  into staging (2024-05-28 11:28:34 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/thuth/qemu.git  tags/pull-request-2024-05-29
> 
> for you to fetch changes up to b04091393e6a71065aee6c91b2566f2dec95a4c9:
> 
>    qapi: Do not cast function pointers (2024-05-29 12:41:56 +0200)
> 
> ----------------------------------------------------------------
> * Fix and improve PER emulation on s390x
> * Fix problems of the build-oss-fuzz CI job
> * Fix broken update-linux-headers.sh script
> * Fixes for compiling with -fsanitize=undefined on latest Clang versions

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


r~