From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD71Z-0000wL-QK for qemu-devel@nongnu.org; Thu, 09 Jul 2015 04:17:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZD71U-0002A7-Nc for qemu-devel@nongnu.org; Thu, 09 Jul 2015 04:17:41 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:36727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZD71U-0002A3-Gv for qemu-devel@nongnu.org; Thu, 09 Jul 2015 04:17:36 -0400 Received: by obdbs4 with SMTP id bs4so167392263obd.3 for ; Thu, 09 Jul 2015 01:17:36 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Thu, 9 Jul 2015 09:17:15 +0100 Message-Id: <1436429849-18052-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 00/14] target-i386: Implement MPX extension List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, ehabkost@redhat.com I'm still in the process of testing this, as there's no code written for it yet and hardware to compare against doesn't start shipping until (probably) August. But in the meantime there are a number of holes that I found in XSAVE support that might affect KVM, and one question wrt SMM support that affects MPX. So I thought I'd get some feedback on this sooner than later. This patch set depends on the addressing cleanup patchset that I just posted. It ought to depend on Pavel Dovgalyuk's exception handling cleanup patchset, but I haven't included that in my tree. Comments? r~ Richard Henderson (14): target-i386: Split fxsave/fxrstor implementation target-i386: Rearrange processing of 0F 01 target-i386: Add XSAVE extension target-i386: Implement XSAVEOPT target-i386: Enable control registers for MPX target-i386: Perform set/reset_inhibit_irq inline target-i386: Split up gen_lea_modrm target-i386: Implement BNDMK target-i386: Implement BNDMOV target-i386: Implement BNDCL, BNDCU, BNDCN target-i386: Update BNDSTATUS for exceptions raised by BOUND target-i386: Implement BNDLDX, BNDSTX target-i386: Clear bndregs during legacy near jumps target-i386: Enable XCR0 features for user-mode target-i386/Makefile.objs | 2 +- target-i386/cc_helper.c | 10 - target-i386/cpu.c | 81 ++-- target-i386/cpu.h | 23 +- target-i386/fpu_helper.c | 354 ++++++++++++--- target-i386/helper.c | 17 +- target-i386/helper.h | 17 +- target-i386/kvm.c | 21 +- target-i386/mem_helper.c | 6 + target-i386/misc_helper.c | 9 + target-i386/mpx_helper.c | 152 +++++++ target-i386/smm_helper.c | 4 + target-i386/translate.c | 1063 ++++++++++++++++++++++++++++++--------------- 13 files changed, 1297 insertions(+), 462 deletions(-) create mode 100644 target-i386/mpx_helper.c -- 2.4.3