Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754963Ab1FJQrW (ORCPT ); Fri, 10 Jun 2011 12:47:22 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:37128 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754379Ab1FJQrV (ORCPT ); Fri, 10 Jun 2011 12:47:21 -0400 Date: Fri, 10 Jun 2011 17:47:06 +0100 From: Matthew Garrett To: Maarten Lankhorst Cc: Yinghai Lu , Jim Bos , Linux Kernel Mailing List , Greg KH , "H. Peter Anvin" Subject: Re: 2.6.39.1 immediately reboots/resets on EFI system Message-ID: <20110610164706.GB25774@srcf.ucam.org> References: <4DE8DC16.6030308@xs4all.nl> <20110603133351.GA25130@srcf.ucam.org> <4DE8EF13.9030609@xs4all.nl> <4DECFC1C.10801@xs4all.nl> <4DED0394.2090000@gmail.com> <20110607014127.GA8450@srcf.ucam.org> <4DED8752.5070005@kernel.org> <4DEDEA73.7010900@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DEDEA73.7010900@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 14 So this is obviously even more of a hack, but before you check whether the memblock has already been reserved could you __check_region it as well? That ought to avoid us touching the kernel. I've got a patch for grub that'll avoid the situation where we load the kernel on top of an existing resource and I'll port that to grub2, but that's still going to be awkward for existing bootloaders. -- Matthew Garrett | mjg59@srcf.ucam.org -- 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/