From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933165AbaGURXt (ORCPT ); Mon, 21 Jul 2014 13:23:49 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:61508 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932332AbaGURXq (ORCPT ); Mon, 21 Jul 2014 13:23:46 -0400 MIME-Version: 1.0 In-Reply-To: <53CD4BE8.5030603@zytor.com> References: <90404aa5-cab6-44aa-9eab-4106cb16e7ab@email.android.com> <53CD4BE8.5030603@zytor.com> From: Andy Lutomirski Date: Mon, 21 Jul 2014 10:23:25 -0700 Message-ID: Subject: Re: [PATCH] x86_32, entry: store badsys error code in %eax To: "H. Peter Anvin" Cc: Sven Wegener , Richard Weinberger , X86 ML , Eric Paris , Linux Kernel , Steven Rostedt , Borislav Petkov , =?UTF-8?Q?Toralf_F=C3=B6rster?= , stable , Roland McGrath , Josh Boyer Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 21, 2014 at 10:20 AM, H. Peter Anvin wrote: > On 07/21/2014 09:53 AM, Andy Lutomirski wrote: >> On Sun, Jul 20, 2014 at 3:07 PM, H. Peter Anvin wrote: >>> This is not a subtle regression at all. It is in fact a very very serious one. >> >> Indeed. >> >> Does this really work correctly on sysenter? It sure looks like the >> sysenter path has the same problem. >> >> Grr. I'm not set up to properly test 32-bit kernels. The patch looks >> correct, but I'm obviously not an infallible authority on "looking >> correct" when it comes to entry_32.S. >> >> --Andy >> > > KVM is great for that sort of things. This may finally inspire me to teach virtme how to boot an alternate root. I got sick of dealing with VM images awhile ago. --Andy > > -hpa > > -- Andy Lutomirski AMA Capital Management, LLC