Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756195AbYH3VMZ (ORCPT ); Sat, 30 Aug 2008 17:12:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754003AbYH3VMQ (ORCPT ); Sat, 30 Aug 2008 17:12:16 -0400 Received: from rv-out-0506.google.com ([209.85.198.225]:55224 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753695AbYH3VMO (ORCPT ); Sat, 30 Aug 2008 17:12:14 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=gcvo7bJeWU0wr1/uELemjqGsssheXA49ZyjlGy24hlIJT6HIazjUT+i5y+al45sqI7 AZ/MEIbmm8hnuV+1v//uph59BHub/41erzOpt5FhfhDUymBb7aBUijcsmE1hdsD2tRQp lir0GG07/bzFuukFF2JUn11CdrgHA/+Ypgvvs= Message-ID: <86802c440808301412k4e0b5562ie03ce41547ddab9a@mail.gmail.com> Date: Sat, 30 Aug 2008 14:12:12 -0700 From: "Yinghai Lu" To: "Rafael J. Wysocki" Subject: Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd Cc: "Linus Torvalds" , "Linux Kernel Mailing List" , "Jeff Garzik" , "Tejun Heo" , "Ingo Molnar" , "David Witbrodt" , "Andrew Morton" , "Kernel Testers" In-Reply-To: <200808302246.48199.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17891_21428210.1220130733879" References: <86802c440808301314t525d1b75r9afcc73857cf5c79@mail.gmail.com> <86802c440808301338h59a5338rabe9e64560b55476@mail.gmail.com> <200808302246.48199.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 8109 Lines: 126 ------=_Part_17891_21428210.1220130733879 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Aug 30, 2008 at 1:46 PM, Rafael J. Wysocki wrote: > On Saturday, 30 of August 2008, Yinghai Lu wrote: >> please check >> >> [PATCH] x86: split e820 reserved entries record to late v4 >> [PATCH] x86: split e820 reserved entries record to late v4 - fix v6 > > What kernel should I apply those to and in what order? linus git tree 1. [PATCH] x86: split e820 reserved entries record to late v4 2. [PATCH] x86: split e820 reserved entries record to late v4 - fix v6 tip/master 1. Resource handling: add 'insert_resource_expand_to_fit()' function 2. [PATCH] x86: split e820 reserved entries record to late v4 - fix v6 YH ------=_Part_17891_21428210.1220130733879 Content-Type: text/x-patch; name=insert_resource_expand_to_fit.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fkiq9nm70 Content-Disposition: attachment; filename=insert_resource_expand_to_fit.patch Y29tbWl0IGJlZjY5ZWEwZGNjZTU3NGE0MjVmZWIwYTVhYTRjNjNkZDEwOGI5YTYKQXV0aG9yOiBM aW51cyBUb3J2YWxkcyA8dG9ydmFsZHNAbGludXgtZm91bmRhdGlvbi5vcmc+CkRhdGU6ICAgRnJp IEF1ZyAyOSAyMDoxODozMSAyMDA4IC0wNzAwCgogICAgUmVzb3VyY2UgaGFuZGxpbmc6IGFkZCAn aW5zZXJ0X3Jlc291cmNlX2V4cGFuZF90b19maXQoKScgZnVuY3Rpb24KICAgIAogICAgTm90IHVz ZWQgYW55d2hlcmUgeWV0LCBidXQgdGhpcyBjb21wbGVtZW50cyB0aGUgZXhpc3RpbmcgcGxhaW4K ICAgICdpbnNlcnRfcmVzb3VyY2UoKScgZnVuY3Rpb25hbGl0eSB3aXRoIGEgdmVyc2lvbiB0aGF0 IGNhbiBleHBhbmQgdGhlCiAgICByZXNvdXJjZSB3ZSBhcmUgYWRkaW5nIGluIG9yZGVyIHRvIGZp eCB1cCBhbnkgY29uZmxpY3RzIGl0IGhhcyB3aXRoCiAgICBleGlzdGluZyByZXNvdXJjZXMuCiA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NlX2xvY2spOwor CWZvciAoOzspIHsKKwkJc3RydWN0IHJlc291cmNlICpjb25mbGljdDsKKworCQljb25mbGljdCA9 IF9faW5zZXJ0X3Jlc291cmNlKHJvb3QsIG5ldyk7CisJCWlmICghY29uZmxpY3QpCisJCQlicmVh azsKKwkJaWYgKGNvbmZsaWN0ID09IHJvb3QpCisJCQlicmVhazsKKworCQkvKiBPaywgZXhwYW5k IHJlc291cmNlIHRvIGNvdmVyIHRoZSBjb25mbGljdCwgdGhlbiB0cnkgYWdhaW4gLi4gKi8KKwkJ aWYgKGNvbmZsaWN0LT5zdGFydCA8IG5ldy0+c3RhcnQpCisJCQluZXctPnN0YXJ0ID0gY29uZmxp Y3QtPnN0YXJ0OworCQlpZiAoY29uZmxpY3QtPmVuZCA+IG5ldy0+ZW5kKQorCQkJbmV3LT5lbmQg PSBjb25mbGljdC0+ZW5kOworCisJCXByaW50aygiRXhwYW5kZWQgcmVzb3VyY2UgJXMgZHVlIHRv IGNvbmZsaWN0IHdpdGggJXNcbiIsIG5ldy0+bmFtZSwgY29uZmxpY3QtPm5hbWUpOworCX0KIAl3 cml0ZV91bmxvY2soJnJlc291cmNlX2xvY2spOwotCXJldHVybiByZXN1bHQ7CiB9CiAKIC8qKgo= ------=_Part_17891_21428210.1220130733879-- -- 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/