Received: by 10.223.176.46 with SMTP id f43csp793846wra; Fri, 19 Jan 2018 01:58:40 -0800 (PST) X-Google-Smtp-Source: ACJfBotbMc5KM6RImG+qX3oHilSpQYyvnzAx+iCfl56jhEgTPfH4fKz7kp0sAZs6jqNkkK981Rvo X-Received: by 2002:a17:902:9893:: with SMTP id s19-v6mr1286773plp.101.1516355920839; Fri, 19 Jan 2018 01:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516355920; cv=none; d=google.com; s=arc-20160816; b=uTFUFfkUeuHh3DRWfnR8dhOXPohYsEzODoZGVTqaWyLzA7PdgCb/jIfIjIMLux3zkJ NjGBZL98GQ5kLbvGWykQP4ct4EsZgkcoYOAXm1FPNM11ylQl27XZ1/5liJIkqLkimB6L CM80n+xx470nM76X8yVtHGL+Z9/D521QHTBZxu5rahW1uxfPb33ueTCRa97uVLj586Mt 36sT9CS86oHbfEt2q+4u7dfXflqgnZSnlzMezLBzHlfV54sD5kgrjYRMeUx03V+vQb5f oglPEEwVMJGVxHBramu9BFpbCz5LLQk9xcBoc53ZcUZPxoaGpZfWTzs0O1Up0SiCXQa5 G0ZQ== 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=WxGLJyn30jrjlN/A8o8KBUWNUG7kFFdb5htzA48F4D0=; b=AZmHUmbgv4lhgA7PYRLxHsh3fHRir0ptOSXYCIK4xuhROoSx/BMrkI08N/detG306e t6mdX1e27JgrIp4DqXPpFSqfWniHg988Yx+9h8ix3L8zEWNl7OMg/rHx+DlEWQw5xRuf 8aLPeWYBKZaSl3CwWQ8HJt6HaycZ2kpD+kKiPZwA2z0bu0ySu3u3z18lv4V4RAJeih+c 2lQPi7GZfPSnIh8q5iXeU6sLtm9HCw955XzlyOPfgi4xNQavrWMCbwrVShN2bqeY+pCJ Y8USYZO5Vrx19QEcChIrBpS1QpdDHPd0jF/otcpBSZISnjRc2zIYsFDPhtMKHp2bXur8 JkBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=bYXqZZpk; 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 d126si7864606pgc.497.2018.01.19.01.58.27; Fri, 19 Jan 2018 01:58:40 -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=bYXqZZpk; 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 S1755339AbeASJ55 (ORCPT + 99 others); Fri, 19 Jan 2018 04:57:57 -0500 Received: from 8bytes.org ([81.169.241.247]:55750 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424AbeASJ5w (ORCPT ); Fri, 19 Jan 2018 04:57:52 -0500 Received: by theia.8bytes.org (Postfix, from userid 1000) id A36861FD; Fri, 19 Jan 2018 10:57:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1516355871; bh=Q0Uw+mjUGz7na/S6PIVa5SXYFMmOCd0Z0d2Ii7OuA68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bYXqZZpksIzdU/aIq3uS8nMbeuWjXleK27TLIb9f4y+7uOSqW7IFYUXXYgCzdsNpm jvU+Y6cwpdjiejGTYdJYyRwv8E3b2WEVM37c9raf100FpkbJjAUHtR2C+09D9sd1X/ iEiDmzchVfUuAnkacuKKogC2Sn29l/U1SjTLJlGSuiwL2pc5OzR2gssdKotNeN4AJn LJ7wiMxJWKpEYwcxZsFEeaAdfAOdjXXZYMBUbVFmY4zHsowah+rDf+ft7jJWn0qEDP l/SgBXfjts7WLSOACFPnnVoA2gVFDz98dhuT3/xCiELZo7Q4OOzkf7pbEaj0Y5BrfJ dS6MiruriM2Ig== Date: Fri, 19 Jan 2018 10:57:51 +0100 From: Joerg Roedel To: Andy Lutomirski Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , X86 ML , LKML , Linux-MM , Linus Torvalds , Dave Hansen , Josh Poimboeuf , Juergen Gross , Peter Zijlstra , Borislav Petkov , Jiri Kosina , Boris Ostrovsky , Brian Gerst , David Laight , Denys Vlasenko , Eduardo Valentin , Greg KH , Will Deacon , "Liguori, Anthony" , Daniel Gruss , Hugh Dickins , Kees Cook , Andrea Arcangeli , Waiman Long , Joerg Roedel Subject: Re: [PATCH 08/16] x86/pgtable/32: Allocate 8k page-tables when PTI is enabled Message-ID: <20180119095751.GA28161@8bytes.org> References: <1516120619-1159-1-git-send-email-joro@8bytes.org> <1516120619-1159-9-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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 17, 2018 at 03:43:14PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote: > > #ifdef CONFIG_X86_PAE > > .globl initial_pg_pmd > > initial_pg_pmd: > > .fill 1024*KPMDS,4,0 > > + .fill PTI_USER_PGD_FILL,4,0 > > Couldn't this be simplified to just .align PGD_ALIGN, 0 without the .fill? You are right, will change that. Thanks, Joerg