From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755512Ab3AEJ73 (ORCPT ); Sat, 5 Jan 2013 04:59:29 -0500 Received: from mga14.intel.com ([143.182.124.37]:30145 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755414Ab3AEJ70 (ORCPT ); Sat, 5 Jan 2013 04:59:26 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,415,1355126400"; d="scan'208";a="240256633" From: "Sakkinen, Jarkko" To: Yinghai Lu CC: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "Eric W. Biederman" , Andrew Morton , Borislav Petkov , Jan Kiszka , Jason Wessel , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v7u1 06/31] x86, 64bit, realmode: use init_level4_pgt to set trapmoline_pgt directly Thread-Topic: [PATCH v7u1 06/31] x86, 64bit, realmode: use init_level4_pgt to set trapmoline_pgt directly Thread-Index: AQHN6hVnL146f94eBke+cgM6IRM815g5awmAgABO9ACAAMiVgA== Date: Sat, 5 Jan 2013 09:59:02 +0000 Message-ID: <1357379977.20394.7.camel@jsakkine-mobl1> References: <1357260531-11115-1-git-send-email-yinghai@kernel.org> <1357260531-11115-7-git-send-email-yinghai@kernel.org> <1357319947.7763.1.camel@jsakkine-mobl1> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.14.26] Content-Type: text/plain; charset="utf-8" Content-ID: <0517CF42F016C3468F0610E31C341F9C@intel.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r059xV5X018327 On Fri, 2013-01-04 at 14:01 -0800, Yinghai Lu wrote: > On Fri, Jan 4, 2013 at 9:18 AM, Sakkinen, Jarkko > wrote: > > On Thu, 2013-01-03 at 16:48 -0800, Yinghai Lu wrote: > >> with #PF handler way to set early page table, level3_ident will go away with > >> 64bit native path. > >> > >> So just use entries in init_level4_pgt to set them in tramopline_pgt > >> > >> Signed-off-by: Yinghai Lu > >> Cc: Jarkko Sakkinen > > > > Acked-by: Jarkko Sakkinen > > Thanks. > > updated the patch, and would save some time for HPA. Sure. They look fine to me. Larger patch does only code reordering from realmode code point of view and smaller patch initializes trampoline_gdt essentially with the same values as before so I don't see why these patches would break anything. But let's wait for hpa comments. /Jarkko {.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I