]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 403552 s390x: Fix vector facility bit number
authorAndreas Arnez <arnez@linux.ibm.com>
Mon, 21 Jan 2019 13:10:00 +0000 (14:10 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Thu, 24 Jan 2019 10:11:51 +0000 (11:11 +0100)
commit467c7c4c9665c0f8b41a4416722a027ebc05df2b
tree2eac37aa3d89aa59d067ec771abc56ed80ac9f1a
parentd7d8231750da44d90116e00858868ca4065634d9
Bug 403552 s390x: Fix vector facility bit number

The wrong bit number was used when checking for the vector facility.  This
can result in a fatal emulation error: "Encountered an instruction that
requires the vector facility.  That facility is not available on this
host."

In many cases the wrong facility bit was usually set as well, hence
nothing bad happened.  But when running Valgrind within a Qemu/KVM guest,
the wrong bit was not (always?) set and the emulation error occurred.

This fix simply corrects the vector facility bit number, changing it from
128 to 129.
NEWS
VEX/pub/libvex_s390x_common.h