All of lore.kernel.org
 help / color / mirror / Atom feed
From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: aisaila@bitdefender.com,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Andrei LUTAS <vlutas@bitdefender.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v1] x86/hvm: Generic instruction re-execution mechanism for execute faults
Date: Tue, 14 May 2019 17:20:37 +0300	[thread overview]
Message-ID: <dd92291e-b5b6-e0d8-ab84-1915f1a23ec0@bitdefender.com> (raw)
In-Reply-To: <5CDACDB5020000780022EC35@prv1-mh.provo.novell.com>



On 5/14/19 5:16 PM, Jan Beulich wrote:
>>>> On 14.05.19 at 15:47, <rcojocaru@bitdefender.com> wrote:
>> Mem event emulation failed (5): d5v0 32bit @ 001b:6d96efff -> c5 f9 f5
>> 05 c0 be ad 6d c5 e1 fe 1d a0 20 af 6d
>>
>> Looking at the source code, the emulator does appear to support
>> vpmaddwd, however only for EVEX:
>>
>> http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/arch/x86/x86_emulate/x
>> 86_emulate.c;h=032995ea586aa7dd90a1953b6ded656436652049;hb=refs/heads/staging
>> #l6696
>>
>> whereas our fail case uses VEX.
>>
>> This may be in the works in the aforementioned series, but is
>> legitimately unsupported in 4.13 staging.
> 
> Hmm, interesting. The origin of the encoding is at MMX times,
> which means it's more than just VPMADDWD that's missing, and
> it's been an omission back in the MMX/SSE2 series then. That's
> a genuine oversight, and in the light of this I'd like to apologize
> for my unfriendly initial reaction. I'll see about getting this fixed.
> (It would have helped if you had shared the encoding right away,
> since the mnemonic and operands are now often insufficient.)

No problem at all. Indeed, sharing the encoding would have cleared 
things up faster.


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: Razvan Cojocaru <rcojocaru@bitdefender.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: aisaila@bitdefender.com,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Andrei LUTAS <vlutas@bitdefender.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] [PATCH v1] x86/hvm: Generic instruction re-execution mechanism for execute faults
Date: Tue, 14 May 2019 17:20:37 +0300	[thread overview]
Message-ID: <dd92291e-b5b6-e0d8-ab84-1915f1a23ec0@bitdefender.com> (raw)
Message-ID: <20190514142037.mkRXJqtGpUEe4civQG9aHRsgUgfRe754bmoZ_-odJbQ@z> (raw)
In-Reply-To: <5CDACDB5020000780022EC35@prv1-mh.provo.novell.com>



On 5/14/19 5:16 PM, Jan Beulich wrote:
>>>> On 14.05.19 at 15:47, <rcojocaru@bitdefender.com> wrote:
>> Mem event emulation failed (5): d5v0 32bit @ 001b:6d96efff -> c5 f9 f5
>> 05 c0 be ad 6d c5 e1 fe 1d a0 20 af 6d
>>
>> Looking at the source code, the emulator does appear to support
>> vpmaddwd, however only for EVEX:
>>
>> http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/arch/x86/x86_emulate/x
>> 86_emulate.c;h=032995ea586aa7dd90a1953b6ded656436652049;hb=refs/heads/staging
>> #l6696
>>
>> whereas our fail case uses VEX.
>>
>> This may be in the works in the aforementioned series, but is
>> legitimately unsupported in 4.13 staging.
> 
> Hmm, interesting. The origin of the encoding is at MMX times,
> which means it's more than just VPMADDWD that's missing, and
> it's been an omission back in the MMX/SSE2 series then. That's
> a genuine oversight, and in the light of this I'd like to apologize
> for my unfriendly initial reaction. I'll see about getting this fixed.
> (It would have helped if you had shared the encoding right away,
> since the mnemonic and operands are now often insufficient.)

No problem at all. Indeed, sharing the encoding would have cleared 
things up faster.


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-05-14 14:20 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16 10:06 [PATCH v1] x86/hvm: Generic instruction re-execution mechanism for execute faults Alexandru Stefan ISAILA
2018-11-16 17:04 ` Roger Pau Monné
2018-11-19 13:30   ` Alexandru Stefan ISAILA
2018-11-19 14:26     ` Jan Beulich
2018-11-19 15:08     ` Roger Pau Monné
2018-11-19 15:56       ` Alexandru Stefan ISAILA
2018-11-21  9:56         ` Roger Pau Monné
2018-11-21 10:28           ` Alexandru Stefan ISAILA
2018-11-21 11:41             ` Roger Pau Monné
2018-11-21 12:00               ` Alexandru Stefan ISAILA
2018-11-19 13:33   ` Jan Beulich
2018-11-21 18:55   ` Razvan Cojocaru
2018-11-22  9:50     ` Alexandru Stefan ISAILA
2018-11-22 10:00       ` Jan Beulich
2018-11-22 10:07       ` Roger Pau Monné
2018-11-22 10:05     ` Roger Pau Monné
2018-11-22 10:14       ` Razvan Cojocaru
2018-11-22 10:58         ` Roger Pau Monné
2018-11-22 12:48           ` Razvan Cojocaru
2018-11-22 14:49             ` Roger Pau Monné
2018-11-22 15:25               ` Razvan Cojocaru
2018-11-22 15:37                 ` Roger Pau Monné
2018-11-22 16:52                   ` Razvan Cojocaru
2018-11-22 17:08                     ` Roger Pau Monné
2018-11-22 18:24                       ` Razvan Cojocaru
2018-11-23  8:54                         ` Roger Pau Monné
     [not found]                           ` <59739FBC020000C234861ACF@prv1-mh.provo.novell.com>
     [not found]                             ` <F553A58C020000AB0063616D@prv1-mh.provo.novell.com>
     [not found]                               ` <4D445A680200003E34861ACF@prv1-mh.provo.novell.com>
     [not found]                                 ` <DAD49D5A020000780063616D@prv1-mh.provo.novell.com>
     [not found]                                   ` <5400A6CB0200003634861ACF@prv1-mh.provo.novell.com>
     [not found]                                     ` <203C1A92020000400063616D@prv1-mh.provo.novell.com>
     [not found]                                       ` <0DF3BC62020000E934861ACF@prv1-mh.provo.novell.com>
     [not found]                                         ` <C6A2E442020000640063616D@prv1-mh.provo.novell.com>
     [not found]                                           ` <6EEA58AB020000EA34861ACF@prv1-mh.provo.novell.com>
2018-11-27 10:31                           ` Razvan Cojocaru
2018-11-27 11:32                             ` Roger Pau Monné
2018-11-27 11:45                               ` Razvan Cojocaru
2018-11-27 11:59                                 ` Andrew Cooper
2018-11-27 12:12                                   ` Razvan Cojocaru
2018-12-19 16:49                               ` Alexandru Stefan ISAILA
2018-12-19 17:40                                 ` Roger Pau Monné
2018-12-20 14:37                                   ` Alexandru Stefan ISAILA
     [not found]                         ` <838191050200006B34861ACF@prv1-mh.provo.novell.com>
2018-11-23  9:07                           ` Jan Beulich
2018-11-27 10:49                             ` Razvan Cojocaru
2018-11-27 11:28                               ` Jan Beulich
2018-11-27 11:44                                 ` Razvan Cojocaru
2019-05-13 13:58                               ` Razvan Cojocaru
2019-05-13 13:58                                 ` [Xen-devel] " Razvan Cojocaru
2019-05-13 14:06                                 ` Jan Beulich
2019-05-13 14:06                                   ` [Xen-devel] " Jan Beulich
2019-05-13 14:15                                   ` Razvan Cojocaru
2019-05-13 14:15                                     ` [Xen-devel] " Razvan Cojocaru
2019-05-14 13:47                                     ` Razvan Cojocaru
2019-05-14 13:47                                       ` [Xen-devel] " Razvan Cojocaru
2019-05-14 14:16                                       ` Jan Beulich
2019-05-14 14:16                                         ` [Xen-devel] " Jan Beulich
2019-05-14 14:20                                         ` Razvan Cojocaru [this message]
2019-05-14 14:20                                           ` Razvan Cojocaru
     [not found]                           ` <A31948D30200007D0063616D@prv1-mh.provo.novell.com>
2018-11-23  9:10                             ` Jan Beulich
     [not found]                             ` <9B05ED9E020000C434861ACF@prv1-mh.provo.novell.com>
     [not found]                               ` <626A217B020000C50063616D@prv1-mh.provo.novell.com>
     [not found]                                 ` <0D3C56BA0200004834861ACF@prv1-mh.provo.novell.com>
2018-12-20  9:07                                   ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd92291e-b5b6-e0d8-ab84-1915f1a23ec0@bitdefender.com \
    --to=rcojocaru@bitdefender.com \
    --cc=JBeulich@suse.com \
    --cc=aisaila@bitdefender.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=vlutas@bitdefender.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.