All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: "Mao, Junjie" <junjie.mao@intel.com>
Cc: "'kvm@vger.kernel.org'" <kvm@vger.kernel.org>
Subject: Re: [PATCH kvm-unit-tests] Add PCID/INVPCID test
Date: Thu, 17 May 2012 19:40:12 -0300	[thread overview]
Message-ID: <20120517224012.GA23645@amt.cnet> (raw)
In-Reply-To: <EF5A1D57CFBD5A4BA5EB3ED985B6DC6E066D66@SHSMSX101.ccr.corp.intel.com>

On Mon, May 14, 2012 at 06:25:42AM +0000, Mao, Junjie wrote:
> Add unit test for basic functionality of PCID/INVPCID feature exposing in kvm.
> 
> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
> ---
>  config-x86-common.mak |    2 +
>  config-x86_64.mak     |    3 +-
>  x86/README            |    1 +
>  x86/pcid.c            |  185 +++++++++++++++++++++++++++++++++++++++++++++++++
>  x86/unittests.cfg     |    4 +
>  5 files changed, 194 insertions(+), 1 deletions(-)
>  create mode 100644 x86/pcid.c

gcc -g -D__x86_64__ -I../include/x86 -m64 -O1 -MMD -MF x86/.pcid.d -g
-fomit-frame-pointer -Wall  -fno-stack-protector   -I. -std=gnu99
-ffreestanding -I lib -I lib/x86   -c -o x86/pcid.o x86/pcid.c
x86/pcid.c: Assembler messages:
x86/pcid.c:55: Error: no such instruction: `invpcid (%rsi),%rdi'
make: *** [x86/pcid.o] Error 1

Please use the instruction opcode directly (.byte xyz)

      reply	other threads:[~2012-05-17 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14  6:25 [PATCH kvm-unit-tests] Add PCID/INVPCID test Mao, Junjie
2012-05-17 22:40 ` Marcelo Tosatti [this message]

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=20120517224012.GA23645@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=junjie.mao@intel.com \
    --cc=kvm@vger.kernel.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.