[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 00/10] x86emul: full coverage mem access / write testing


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 3 Aug 2020 17:40:22 +0100
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Mon, 03 Aug 2020 16:40:34 +0000
  • Ironport-sdr: 87DYH+HFcE2+lYQ08n4aMaamonkw4A1zUan8EpeMDz5Fb6xtpFpDiP5QafBJnLV11SoVH404DC tY/yU99VPihLDrypOVruRfCROxSAieqt9G0kHVxl0qAFFSnagVaQgW2smu3xdbkrnq/w/ExSRD DjUX4UnE+jMrbwUM8zp4ISxnZcFtREy9pyba11gurvJXbFcGEu+cPBcttIdGAk/pRmsQXfbZcz Odbm7IY37kwxi898GYnyIwvy50BPceCXwEj/62sQSJg6gmDn4dGsGBrSrElb6xa0Yt1HzjLR1s nA8=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03/08/2020 15:47, Jan Beulich wrote:
> ... and a few fixes resulting from this work. This completes what
> was started for legacy encoded GPR insns in a rush before 4.14.
>
> There's one thing I'm still planning on top of both this and the
> EVEX-disp8 checking: For all encodings we produce via general
> logic (and in particular without involvement of any assembler) I'd
> like to add a kind of logging mechanism, the output of which could
> be fed to gas and then some disassembler, to allow verification
> that the produced encodings are actually valid ones. See e.g. the
> first patch here or commit 5f55389d6960 - the problems addressed
> there could have been caught earlier if the generated encodings
> could be easily disassembled. What's not clear to me here is
> whether this is deemed generally useful, or whether I should make
> this a private addition of mine.

Seems fine to me.

I have encountered a failure on AMD Naples which I doubt is related to
this series, but is blocking testing on some of the content here.

Testing fnstenv 4(%ecx)...              failed!

AMD Fam17 does have the fcs/fds save-as-zero logic which is still not
wired up anywhere in Xen, which seems like the most likely candidate
here (without having investigated the issue at all yet).

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.