From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752949Ab2KTUpU (ORCPT ); Tue, 20 Nov 2012 15:45:20 -0500 Received: from terminus.zytor.com ([198.137.202.10]:43768 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752144Ab2KTUpU (ORCPT ); Tue, 20 Nov 2012 15:45:20 -0500 User-Agent: K-9 Mail for Android In-Reply-To: References: <1353222571-31544-1-git-send-email-yinghai@kernel.org> <1353222571-31544-4-git-send-email-yinghai@kernel.org> <50AAB5E8.5070807@zytor.com> <50AABD15.1050809@zytor.com> <41603b4d-cd34-4c6e-9e1f-ac78816b5097@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 03/13] x86: Add macro for 64bit entry startup_64 From: "H. Peter Anvin" Date: Tue, 20 Nov 2012 12:44:47 -0800 To: Yinghai Lu CC: Thomas Gleixner , Ingo Molnar , "Eric W. Biederman" , linux-kernel@vger.kernel.org, Matt Fleming Message-ID: <23b6f8fe-37cd-4cbb-9c90-511dab4e5b5b@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I don't see any point in three flags here. Let's stick to one flag; then it fits in the existing boot_flags field. Yinghai Lu wrote: >On Mon, Nov 19, 2012 at 4:39 PM, Yinghai Lu wrote: >> On Mon, Nov 19, 2012 at 3:55 PM, H. Peter Anvin >wrote: >>> We probably should add a flag for those, but that is more of a >boot_flag... >> >> kernel_cap_bits: >> RAMDISK_ABOVE_4G = (1<<0) >> KERNEL_ABOVE_4G =(1<<2) >> CMD_LINE_ABOVE 4G = (1<<1) >> .long (RAMDISK_ABOVE_4G | CMD_LINE_ABOVE_4G | >KERNEL_ABOVE_4G) > >more complete version: > >kernel_cap_bits: >RAMDISK_ABOVE_4G = (1<<0) >KERNEL_ABOVE_4G =(1<<1) >BOOT_PARAMS_ABOVE_4G=(1<<2) >CMD_LINE_ABOVE 4G = (1<<3) > .long (RAMDISK_ABOVE_4G | BOOT_PARAMS_ABOVE_4G | >CMD_LINE_ABOVE_4G | KERNEL_ABOVE_4G) -- Sent from my mobile phone. Please excuse brevity and lack of formatting.