Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757071AbdCUIWf (ORCPT ); Tue, 21 Mar 2017 04:22:35 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:58339 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756404AbdCUIWd (ORCPT ); Tue, 21 Mar 2017 04:22:33 -0400 Date: Tue, 21 Mar 2017 08:59:34 +0100 From: Adam Borowski To: Ingo Molnar Cc: Andrei Vagin , Ingo Molnar , Thomas Gleixner , LKML , Dmitry Safonov , Cyrill Gorcunov , Andy Lutomirski , Thomas Garnier , "H. Peter Anvin" Subject: Re: linux-next: x86: Unalbe to run x32 processes on the x86_64 kernel Message-ID: <20170321075934.o4sccpawzn4rmtvh@angband.pl> References: <20170321064539.GB30094@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170321064539.GB30094@gmail.com> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 731 Lines: 20 On Tue, Mar 21, 2017 at 07:45:39AM +0100, Ingo Molnar wrote: > * Andrei Vagin wrote: > > > # first bad commit: [45fc8757d1d2128e342b4e7ef39adedf7752faac] x86: > > Make the GDT remapping read-only on 64-bit > > Just wondering, does the following commit fix it: > > 5b781c7e317f x86/tls: Forcibly set the accessed bit in TLS segments It does fix i386 but not x32. By "x32" I mean CONFIG_X86_X32, by "i386" CONFIG_IA32_EMULATION, contrary to Andrei's first report. The naming of the new ABI wasn't too fortunate... -- ⢀⣴⠾⠻⢶⣦⠀ Meow! ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ Collisions shmolisions, let's see them find a collision or second ⠈⠳⣄⠀⠀⠀⠀ preimage for double rot13!