From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753634Ab3AGPxo (ORCPT ); Mon, 7 Jan 2013 10:53:44 -0500 Received: from mail.skyhub.de ([78.46.96.112]:38113 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753439Ab3AGPxn (ORCPT ); Mon, 7 Jan 2013 10:53:43 -0500 Date: Mon, 7 Jan 2013 16:53:39 +0100 From: Borislav Petkov To: Yinghai Lu Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "Eric W. Biederman" , Andrew Morton , Jan Kiszka , Jason Wessel , linux-kernel@vger.kernel.org, Alexander Duyck , Fenghua Yu Subject: Re: [PATCH v7u1 05/31] x86, 64bit: copy zero-page early Message-ID: <20130107155339.GA29449@x1.alien8.de> Mail-Followup-To: Borislav Petkov , Yinghai Lu , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "Eric W. Biederman" , Andrew Morton , Jan Kiszka , Jason Wessel , linux-kernel@vger.kernel.org, Alexander Duyck , Fenghua Yu References: <1357260531-11115-1-git-send-email-yinghai@kernel.org> <1357260531-11115-6-git-send-email-yinghai@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1357260531-11115-6-git-send-email-yinghai@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 03, 2013 at 04:48:25PM -0800, Yinghai Lu wrote: > real_mode_data aka zero-page could be above 4g. I think this could be more informative if it said 'struct boot_params' instead of real_mode_data because real_mode_data is the argument name passed to the respective function and grepping for struct boot_params actually gives you the struct definition with the helpful comments and offsets in arch/x86/include/uapi/asm/bootparam.h. > We will have #PF handler to set page table for not accessible ram > early, but could limit it before x86_64_start_reservations to limit > the change to native path. > > Also we will need to ramdisk info in zero-page to access microcode s/to/the/ ^ the > blob in ramdisk in x86_64_start_kernel, so copy zero-page early make makes > it accessing ramdisk info simple. > > Signed-off-by: Yinghai Lu > Cc: Alexander Duyck > Cc: Fenghua Yu -- Regards/Gruss, Boris.