Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754460AbbBRTrF (ORCPT ); Wed, 18 Feb 2015 14:47:05 -0500 Received: from mail-ig0-f169.google.com ([209.85.213.169]:46342 "EHLO mail-ig0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752235AbbBRTrD (ORCPT ); Wed, 18 Feb 2015 14:47:03 -0500 MIME-Version: 1.0 In-Reply-To: <20150218112956.GA1965@dhcp-17-102.nay.redhat.com> References: <1423015400-12629-1-git-send-email-yinghai@kernel.org> <20150211061148.GA4448@dhcp-17-102.nay.redhat.com> <20150218112956.GA1965@dhcp-17-102.nay.redhat.com> Date: Wed, 18 Feb 2015 11:47:01 -0800 X-Google-Sender-Auth: YKMlJLXxlcEO3Rhn1dznCbJKZ1I Message-ID: Subject: Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G From: Yinghai Lu To: Baoquan He Cc: Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 25 On Wed, Feb 18, 2015 at 3:29 AM, Baoquan He wrote: > On 02/17/15 at 11:22pm, Yinghai Lu wrote: >> On Tue, Feb 10, 2015 at 10:11 PM, Baoquan He wrote: > I am sorry I didn't get what you mean. I have tried to set another ident > mapping for new range and it is successful seeing from debug message > printing. However it always reboot because of GPF. That's why I made > that small debug patch which add another 4G ident mapping and hardcoded > to put kernel between 4G and 8G. > > Could you say more of it? Or which direction should I go? I would suggest: leave physical address random handling to bootloader, as bootloader always need to set ident mapping to cover kernel/bootparam/cmdline. For virtual address random handling it should go kasl in kernel. Thanks Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/