From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754706Ab0JNF5g (ORCPT ); Thu, 14 Oct 2010 01:57:36 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:44391 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754588Ab0JNF5f (ORCPT ); Thu, 14 Oct 2010 01:57:35 -0400 Date: Thu, 14 Oct 2010 07:57:14 +0200 From: Ingo Molnar To: mingo@redhat.com, hpa@zytor.com, jeremy@goop.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@linux.intel.com, jeremy.fitzhardinge@citrix.com, Yinghai Lu Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:core/memblock] x86-64: Only set max_pfn_mapped to 512 MiB if we enter via head_64.S Message-ID: <20101014055714.GA3329@elte.hu> References: <4CB641F7.9040103@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * tip-bot for Jeremy Fitzhardinge wrote: > Commit-ID: 859ee4f57fb4e91de8439496f62eb996f4a28ca8 > Gitweb: http://git.kernel.org/tip/859ee4f57fb4e91de8439496f62eb996f4a28ca8 > Author: Jeremy Fitzhardinge > AuthorDate: Wed, 13 Oct 2010 16:34:15 -0700 > Committer: H. Peter Anvin > CommitDate: Wed, 13 Oct 2010 17:09:59 -0700 > > x86-64: Only set max_pfn_mapped to 512 MiB if we enter via head_64.S > > head_64.S maps up to 512 MiB, but that is not necessarity true for > other entry paths, such as Xen. These two commits are a boot crasher on x86 defconfig (64-bit): [ 0.000000] init_memory_mapping: 0000000000000000-000000003fff0000 [ 0.000000] 0000000000 - 003fe00000 page 2M [ 0.000000] 003fe00000 - 003fff0000 page 4k [ 0.000000] Kernel panic - not syncing: Cannot find space for the kernel page tables [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.36-rc7-tip+ #49192 [ 0.000000] Call Trace: [ 0.000000] [] panic+0x8c/0x192 [ 0.000000] [] ? printk+0x3c/0x3e [ 0.000000] [] init_memory_mapping+0x372/0x506 [ 0.000000] [] ? memblock_x86_reserve_range+0x7c/0x83 [ 0.000000] [] setup_arch+0x5a3/0xa68 [ 0.000000] [] ? printk+0x3c/0x3e [ 0.000000] [] ? clockevents_register_notifier+0x3e/0x4a [ 0.000000] [] start_kernel+0x83/0x36e [ 0.000000] [] x86_64_start_reservations+0xb8/0xbc [ 0.000000] [] x86_64_start_kernel+0xe7/0xee Thanks, Ingo