From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933863AbcAZIWv (ORCPT ); Tue, 26 Jan 2016 03:22:51 -0500 Received: from mail-lb0-f194.google.com ([209.85.217.194]:36125 "EHLO mail-lb0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932135AbcAZIWs (ORCPT ); Tue, 26 Jan 2016 03:22:48 -0500 Date: Tue, 26 Jan 2016 11:22:43 +0300 From: Cyrill Gorcunov To: Andy Lutomirski Cc: X86 ML , "linux-kernel@vger.kernel.org" , Brian Gerst , Denys Vlasenko , Borislav Petkov , Stas Sergeev , Pavel Emelyanov Subject: Re: [PATCH v3 0/4] x86: sigcontext fixes, again Message-ID: <20160126082243.GF22280@uranus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 25, 2016 at 01:34:11PM -0800, Andy Lutomirski wrote: > This is take 2 at fixing x86 64-bit signals wrt SS. After a lot of > thought, this is not controlled by any flags -- I would much prefer > to avoid opt-in behavior. Instead, it just tries hard to avoid > triggering the cases that break DOSEMU. > > Stas, this now seems to pass the test you sent me. It works with > stock dosemu2 (I haven't tested classic dosemu because I can't get it > to work regardless). It also works with a patched dosemu2 that bypasses > the userspace trampoline: > > https://github.com/amluto/dosemu2/commit/571b4d08dc885b7a133e444a2ad23e0d21366206 > > With this applied, all of the x86 selftests pass on x86_64. That > wasn't the case before -- ldt_gdt_64 was broken. I've been testing this series already. I guess ;) Anyway, gonna try it one more shot at the evening, just to make sure. From a glance everything looks just great!