https://bugs.kde.org/show_bug.cgi?id=431157

Carl Love <c...@us.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #136175|0                           |1
        is obsolete|                            |

--- Comment #27 from Carl Love <c...@us.ibm.com> ---
Created attachment 137063
  --> https://bugs.kde.org/attachment.cgi?id=137063&action=edit
patch to add support for the scv instruction

Updated the scv instruction support patch.  The scv instruction requires Linux
kernel  5.10.11 or newer.  The initial patch development was on an older kernel
so wasn't actually exercising the scv paths in the original patch.  That is why
Mark ran into issues with the patch.

One issue with the patch is the SC_FLAG and SCV_FLAG defines.  These #defines
were created to set a flag indicating which system call instruction is to be
used.  Unfortunately I could not find an include file that is visible in VEX as
well as coregrind/m_syswrap and in coregrind/pub_core_syscall.h.   As a result,
I had to add the defines for these values in three different places with a
comment pointing at the other locations.  Rather ugly.  Wasn't sure if we
wanted to create an include file for these that would then be globally
available??  Suggestions on how to better was to make these defines more
globally visible would be nice.

The patch has been tested on Power 8LE, Power 8BE, Power 9 (with scv support)
and prototype ISA 3.1 hardware.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to