From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936194AbYGCHOA (ORCPT ); Thu, 3 Jul 2008 03:14:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754917AbYGCG6n (ORCPT ); Thu, 3 Jul 2008 02:58:43 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:50041 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755231AbYGCGSf (ORCPT ); Thu, 3 Jul 2008 02:18:35 -0400 Date: Thu, 3 Jul 2008 08:18:02 +0200 From: Ingo Molnar To: Hugh Dickins Cc: Linus Torvalds , Thomas Gleixner , "H. Peter Anvin" , Peter Jones , Glauber Costa , Andrew Morton , linux-kernel@vger.kernel.org, Yinghai Lu , Huang@elte.hu, Ying Subject: Re: [PATCH] x86: fix Intel Mac booting with EFI Message-ID: <20080703061802.GC9884@elte.hu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 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 * Hugh Dickins wrote: > Fedora reports that mem_init()'s zap_low_mappings(), extended to SMP > in 61165d7a035f6571c7576e7f51e7230157724c8d x86: fix app crashes after > SMP resume causes 32-bit Intel Mac machines to reboot very early when > booting with EFI. > > The EFI code appears to manage low mappings for itself when needed; > but like many before it, confuses PSE with PAE. So it has only been > mapping half the space it needed when PSE but not PAE. This remained > unnoticed until we moved the SMP zap_low_mappings() before > efi_enter_virtual_mode(). Presumably could have been noticed years > ago if anyone ran a UP kernel on such machines? good spotting! Acked-by: Ingo Molnar Ingo