All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: kvm@vger.kernel.org
Cc: jan.kiszka@siemens.com, drjones@redhat.com
Subject: Re: [PATCH kvm-unit-tests 00/18] lib/x86 TLC, extending tests for both 32- and 64-bits, and SMAP tests
Date: Tue, 27 May 2014 11:22:19 +0200	[thread overview]
Message-ID: <5384594B.7090709@redhat.com> (raw)
In-Reply-To: <1398698581-17302-1-git-send-email-pbonzini@redhat.com>

Il 28/04/2014 17:22, Paolo Bonzini ha scritto:
> This series is structured as follows:
>
> - patches 1 to 8 cleanup lib/x86/, remove gratuitous differences
>   between 32-bit and 64-bit, and unify code that is duplicated in
>   various ways
>
> - patches 9 to 12 port some eventinj tests so that they run as
>   64-bit hosts too
>
> - patches 13 to 15 are cleanups
>
> - patches 16 to 18 add a testcase for SMAP (tested with QEMU by me
>   and, by the patch submitter, with KVM)

I pushed most of this series, except patches 16 and 18.

I didn't add the SMAP testcase because Avi suggested on IRC adding the 
SMAP testcases to access.flat.  It's a good idea, but there are a lot of 
TCG bugs in this area that access.flat detects, and they block my SMAP 
testing.  If I can fix these bugs, I'll add the testcases to 
access.flat.  Otherwise, I'll commit patches 16 and 18 too.

Paolo

> Paolo Bonzini (18):
>   libcflat: move stringification trick to a common place
>   x86: move size #defines to processor.h
>   x86: desc: change set_gdt_entry argument to selector
>   x86: desc: move idt_entry_t and gdt_entry_t to header
>   x86: desc: reuse cstart.S GDT and TSS
>   x86: taskswitch: use desc library
>   x86: unify GDT format between 32-bit and 64-bit
>   x86: move CR0 and CR4 constants to processor.h
>   x86: desc: support ISTs for alternate stacks in 64-bit mode
>   x86: eventinj: fix inline assembly and make it more robust to new compilers
>   x86: eventinj: enable NP test in 64-bit mode
>   x86: eventinj: port consecutive exception tests to x86-64
>   x86: xsave: use cpuid functions from processor.h
>   x86: svm: rename get_pte function
>   x86: vm: remove dead code
>   x86: vm: export get_pte and return a pointer to it
>   x86: vm: mark intermediate PTEs as user-accessible
>   x86: smap: new testcase
>
>  config-x86-common.mak |   4 +-
>  lib/libcflat.h        |   3 +
>  lib/x86/desc.c        | 166 +++++++++++++++++---------------------------------
>  lib/x86/desc.h        |  80 ++++++++++++++++++++----
>  lib/x86/isr.c         |   6 --
>  lib/x86/processor.h   |  38 +++++++++++-
>  lib/x86/vm.c          |  60 +++++++-----------
>  lib/x86/vm.h          |  42 +++----------
>  x86/asyncpf.c         |   1 -
>  x86/cstart.S          |  16 +++++
>  x86/cstart64.S        |  17 ++++--
>  x86/eventinj.c        |  87 ++++++++++++++++----------
>  x86/pcid.c            |   7 ---
>  x86/smap.c            | 156 +++++++++++++++++++++++++++++++++++++++++++++++
>  x86/svm.c             |  18 +++---
>  x86/taskswitch.c      | 134 +++-------------------------------------
>  x86/taskswitch2.c     |  19 +++---
>  x86/vmexit.c          |   6 --
>  x86/vmx.c             |  32 +++++-----
>  x86/xsave.c           |  58 ++----------------
>  20 files changed, 485 insertions(+), 465 deletions(-)
>  create mode 100644 x86/smap.c
>


      parent reply	other threads:[~2014-05-27  9:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 15:22 [PATCH kvm-unit-tests 00/18] lib/x86 TLC, extending tests for both 32- and 64-bits, and SMAP tests Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 01/18] libcflat: move stringification trick to a common place Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 02/18] x86: move size #defines to processor.h Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 03/18] x86: desc: change set_gdt_entry argument to selector Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 04/18] x86: desc: move idt_entry_t and gdt_entry_t to header Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 05/18] x86: desc: reuse cstart.S GDT and TSS Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 06/18] x86: taskswitch: use desc library Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 07/18] x86: unify GDT format between 32-bit and 64-bit Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 08/18] x86: move CR0 and CR4 constants to processor.h Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 09/18] x86: desc: support ISTs for alternate stacks in 64-bit mode Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 10/18] x86: eventinj: fix inline assembly and make it more robust to new compilers Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 11/18] x86: eventinj: enable NP test in 64-bit mode Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 12/18] x86: eventinj: port consecutive exception tests to x86-64 Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 13/18] x86: xsave: use cpuid functions from processor.h Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 14/18] x86: svm: rename get_pte function Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 15/18] x86: vm: remove dead code Paolo Bonzini
2014-04-28 15:22 ` [PATCH kvm-unit-tests 16/18] x86: vm: export get_pte and return a pointer to it Paolo Bonzini
2014-04-28 15:23 ` [PATCH kvm-unit-tests 17/18] x86: vm: mark intermediate PTEs as user-accessible Paolo Bonzini
2014-04-28 15:23 ` [PATCH kvm-unit-tests 18/18] x86: smap: new testcase Paolo Bonzini
2014-05-27  9:22 ` Paolo Bonzini [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=5384594B.7090709@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=drjones@redhat.com \
    --cc=jan.kiszka@siemens.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.