[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 310931] s390 message-security assist (MSA) instruction extension not implemented
From: Mark Wielaard <mjw () redhat ! com>
Date: 2012-11-30 23:58:52
Message-ID: bug-310931-17878-QxFYvk20EU () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=310931
--- Comment #2 from Mark Wielaard <mjw@redhat.com> ---
How about the following? It works for me, but we might want to mask of some
more other bits maybe for other extensions valgrind doesn't support.
Index: VEX/priv/guest_s390_helpers.c
===================================================================
--- VEX/priv/guest_s390_helpers.c (revision 2574)
+++ VEX/priv/guest_s390_helpers.c (working copy)
@@ -310,6 +310,11 @@
"srl %2,28\n"
: "=m" (hoststfle), "+d"(reg0), "=d"(cc) : : "cc", "memory");
+ /* None of the message-security assist (MSA) extensions are supported
+ under valgrind. So clear bit 17. */
+ UChar *ptr = (UChar *) &hoststfle[0] + (17 >> 3);
+ *ptr &= ~(0x80 >> (17 & 7));
+
/* Update guest register 0 with what STFLE set r0 to */
guest_state->guest_r0 = reg0;
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic