Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751615AbeAPTlP (ORCPT + 1 other); Tue, 16 Jan 2018 14:41:15 -0500 Received: from 8bytes.org ([81.169.241.247]:59362 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbeAPTlO (ORCPT ); Tue, 16 Jan 2018 14:41:14 -0500 Date: Tue, 16 Jan 2018 20:41:12 +0100 From: Joerg Roedel To: Dave Hansen Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , Andy Lutomirski , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , 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: [PATCH 10/16] x86/mm/pti: Populate valid user pud entries Message-ID: <20180116194112.GD28161@8bytes.org> References: <1516120619-1159-1-git-send-email-joro@8bytes.org> <1516120619-1159-11-git-send-email-joro@8bytes.org> 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 Return-Path: On Tue, Jan 16, 2018 at 10:06:48AM -0800, Dave Hansen wrote: > On 01/16/2018 08:36 AM, Joerg Roedel wrote: > > > > In PAE page-tables at the top-level most bits we usually set > > with _KERNPG_TABLE are reserved, resulting in a #GP when > > they are loaded by the processor. > > Can you save me the trip to the SDM and remind me which bits actually > cause trouble here? Everything besides PRESENT, PCD, PWT and the actual physical address, so RW, and NX for example cause a #GP. Joerg