Received: by 10.223.176.46 with SMTP id f43csp2711362wra; Mon, 22 Jan 2018 02:04:57 -0800 (PST) X-Google-Smtp-Source: AH8x224OnDXmk6SzuG8WmbMXCBvmZwwXLkc6/TwLZf7J2eMc/vJYpWes6XIvybbVaFTXCfOXcF5v X-Received: by 10.98.213.130 with SMTP id d124mr8017792pfg.112.1516615497636; Mon, 22 Jan 2018 02:04:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516615497; cv=none; d=google.com; s=arc-20160816; b=DGHa2PVIGUH8lfGhZC4GNMOJQidc/4TlEX9kGRojIJFvLP9Yt+8r2zcOJm3vIKXJSb g5NkxP2izQGLjebwk7g7cRtk6wXGvYkHNz8FslyQ2Tawl16jPEaZ1ZGXm5knu74B3CVo N6pPacmT3I5n4VlacBHY23CFxU2UI6Puugg1Vk7mJEv3UGGWBWhdVMuehbM6R0Wrt0Oi Mjc7cgylWG4bjfsL16eiaECki02eokvFQGtJi3jNuxvU5nfzOloqF1uUSG+/9IX2PjRJ eIyoxvxqHqOQvdtTI3BnbXBor6RtRygQRfRF0ESPfkVziAXFkQGan+347KxFmbLc4cSq Rr4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=qSdWsCcNH1vhHEBevhm0tQB5AqbhDl7jMR6G7V6yTiQ=; b=RQns61p3hJoqe1rdnhp6BAuCO9SSuuSXwh8dsu0VgDFaG5dVE9UYKe9Z4RDe98RKaE 0Z4R4Xj8UCYFZAx+uelJA5k+YI9rweAvbI2FWtHBcTmFLhAnsHQIqGtNxnHixNwWxl/i 2Iol4WWcXVCT517dmAA6E8wCI+VMIgbWycjcls9DNnvzRtPqWaOvZbHF2NXj+7D1cTSg fxTarYuZWelFrlSjOWDYBhGb/nmRnRsvuH7DmuP0l7iSQnLWERy67mKN8yIPkw9ru+9n yRL0rWsltlsVldSMKzx7585dxdkN5iuD9jsMOQE8WwxOeiIBsuaXrOzF0vhN0VtwKO+w BeGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=C+MpY9Ol; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v32-v6si940915plb.725.2018.01.22.02.04.43; Mon, 22 Jan 2018 02:04:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=C+MpY9Ol; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751183AbeAVKEM (ORCPT + 99 others); Mon, 22 Jan 2018 05:04:12 -0500 Received: from 8bytes.org ([81.169.241.247]:53042 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751040AbeAVKEL (ORCPT ); Mon, 22 Jan 2018 05:04:11 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id 8C8E6230; Mon, 22 Jan 2018 11:04:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1516615449; bh=+pkQb8Tz5eswwysMBQmKUXxVzYi8s4fTPDf2zB6vzDc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C+MpY9OlTR+s/qpjncku/d4zZodI+tvACNegKTNoJqgw/o57Yxhk/nOtEymmesob4 xklgC5YDSVflGwmNSPZLLHZpHE/vonYsPD6ORsI1kYiG6kgmQFpKgDEMslAEwf1OdO kgjvXRT5yE1BKQu+Ik6edeHDjgQC3Nv3u9hVck34r+qkQ06pN/Hh7VHA9U2oVp6sOY J4ZWN7rLP7b3JSGxnSW/WYKgW3YHdV/6krOnFICY7vVwCdW83w8zt6M2LKb0aj+7he HJsWSR8tYNGVLjryOCOBiYhprBicn5QfwtURplfN6luJdHp2GZO4YE6l00IHBYWCNm rpA5V08qOekTA== Date: Mon, 22 Jan 2018 11:04:09 +0100 From: Joerg Roedel To: David Laight Cc: 'Nadav Amit' , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , the arch/x86 maintainers , LKML , "open list:MEMORY MANAGEMENT" , Linus Torvalds , Andy Lutomirski , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "aliguori@amazon.com" , "daniel.gruss@iaik.tugraz.at" , "hughd@google.com" , "keescook@google.com" , Andrea Arcangeli , Waiman Long , "jroedel@suse.de" Subject: Re: [RFC PATCH 00/16] PTI support for x86-32 Message-ID: <20180122100409.GF28161@8bytes.org> References: <1516120619-1159-1-git-send-email-joro@8bytes.org> <5D89F55C-902A-4464-A64E-7157FF55FAD0@gmail.com> <886C924D-668F-4007-98CA-555DB6279E4F@gmail.com> <9CF1DD34-7C66-4F11-856D-B5E896988E16@gmail.com> <7f37ff1c10b04b2386c2044cdc8e38be@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f37ff1c10b04b2386c2044cdc8e38be@AcuMS.aculab.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 22, 2018 at 09:55:31AM +0000, David Laight wrote: > That's made me remember something about segment limits applying in 64bit mode. > I really can't remember the details at all. > I'm sure it had something to do with one of the VM implementations restricting > memory accesses. Some AMD chips have long-mode segment limits, not sure if Intel has them too. But they are useless here because the limit is 32 bit and can only protect the upper 4GB of virtual address space. The limits also don't apply to GS and CS segements. Regards, Joerg