From: =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Subject: [kvm-unit-tests PATCH 0/2] x86: Testcase for wrong TF handling in syscall/sysret Date: Thu, 22 Jun 2017 17:27:05 +0200 Message-ID: <20170622152707.18399-1-rkrcmar@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Paolo Bonzini , P J P To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:44780 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbdFVP1X (ORCPT ); Thu, 22 Jun 2017 11:27:23 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B4AA0C0467CF for ; Thu, 22 Jun 2017 15:27:22 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: Patch 1 creates a new testcase executable, and patch 2 tests the bug. Paolo Bonzini (2): x86: move syscall MSR testcase to separate test x86: add testcase for syscall/sysret TF handling lib/x86/processor.h | 4 ++ x86/Makefile.x86_64 | 1 + x86/msr.c | 19 --------- x86/syscall.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++ x86/unittests.cfg | 4 ++ 5 files changed, 117 insertions(+), 19 deletions(-) create mode 100644 x86/syscall.c -- 2.13.1