From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747Ab2KXXY4 (ORCPT ); Sat, 24 Nov 2012 18:24:56 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:41774 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752621Ab2KXXYz (ORCPT ); Sat, 24 Nov 2012 18:24:55 -0500 MIME-Version: 1.0 In-Reply-To: <50B14AFB.3040500@zytor.com> References: <1353482170-10160-1-git-send-email-yinghai@kernel.org> <1353482170-10160-12-git-send-email-yinghai@kernel.org> <50AD0CA1.8000904@zytor.com> <50AD291A.10600@zytor.com> <50AE70E7.6060204@zytor.com> <87haofi3d3.fsf@xmission.com> <50B104BC.90208@zytor.com> <50B124E9.400@zytor.com> <50B13E53.4060003@zytor.com> <50B14AFB.3040500@zytor.com> Date: Sat, 24 Nov 2012 15:24:54 -0800 X-Google-Sender-Auth: dSBeAD9JR6OL_-5Vnxo2IfpZX08 Message-ID: Subject: Re: [PATCH v3 11/12] x86, boot: add fields to support load bzImage and ramdisk high From: Yinghai Lu To: "H. Peter Anvin" Cc: "Eric W. Biederman" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, Rob Landley , Matt Fleming Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 24, 2012 at 2:32 PM, H. Peter Anvin wrote: > On 11/24/2012 02:18 PM, Yinghai Lu wrote: > Well, that solves the problem for *this specific instance* but I fear > therein lies madness in the general case. > use Bit 0 (read): CAN_BE_LOADED_ABOVE_4G - If 1, kernel/boot_params/cmdline/ramdisk can be above 4g, set by kernel. Bit 1 (write): USE_EXT_BOOT_PARAMS - If 1, set by bootloader, and kernel could check new fields in boot_params that are added from 2.12 safely.