Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964989AbbGHRz2 (ORCPT ); Wed, 8 Jul 2015 13:55:28 -0400 Received: from mail-ig0-f176.google.com ([209.85.213.176]:33047 "EHLO mail-ig0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964938AbbGHRzW (ORCPT ); Wed, 8 Jul 2015 13:55:22 -0400 MIME-Version: 1.0 In-Reply-To: References: <23d4709cee2fe92c32d41b99c7a3c1823725925a.1436312944.git.luto@kernel.org> <559C8BFE.6050604@linux.intel.com> Date: Wed, 8 Jul 2015 10:55:21 -0700 X-Google-Sender-Auth: KMC0sdyPaVflfpZUC93kAPVSl4I Message-ID: Subject: Re: [PATCH] x86/kconfig/32: Mark CONFIG_VM86 as BROKEN From: Linus Torvalds To: Andy Lutomirski Cc: Arjan van de Ven , Andy Lutomirski , "the arch/x86 maintainers" , Linux Kernel Mailing List , Oleg Nesterov , Kees Cook , Peter Zijlstra , Borislav Petkov Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 22 On Wed, Jul 8, 2015 at 10:49 AM, Andy Lutomirski wrote: > > I don't know how to tell whether something is trying to use real mode, > but I can play this just fine in DOSEMU on my 64-bit laptop: So a 64-bit distro obviously will never have used vm86 mode - it doesn't work there. Never has. There's no sane way to get to vm86 mode from long mode, that's just how the 64-bit extensions worked. (64-bit hardware obviously does support vm86 mode, but you have to play games with mixing long mode and CPL0 32-bit protected mode to get there, and we never did that). It's the 32-bit distros I would worry about. The ones that may have well disabled emulation, because they have vm86 mode enabled. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/