Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119AbZFXWxh (ORCPT ); Wed, 24 Jun 2009 18:53:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754668AbZFXWx1 (ORCPT ); Wed, 24 Jun 2009 18:53:27 -0400 Received: from mail-gx0-f214.google.com ([209.85.217.214]:60716 "EHLO mail-gx0-f214.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbZFXWx0 (ORCPT ); Wed, 24 Jun 2009 18:53:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PRjP5PMAPHzzcNf1x3X4kc3etufmvq+g21byBPVKcJKgoeEZWVWUxhI3DqLh1IyWPq geRXB6JWf/o34+lorbczhLD6TeuJd1gOwe3ZsP8N+SjfWpOfZkVl2xfSJrMuUFylW7rO dcLvMU72fCVwT7wXtDCcqTYhgEfCfoqJL1K1o= MIME-Version: 1.0 In-Reply-To: <86802c440906241511i3d534723u4dfdef9448b54bb9@mail.gmail.com> References: <1245845787.3093.3.camel@localhost.localdomain> <20090624112849.55b38fff@jbarnes-g45> <20090624194839.GG7239@us.ibm.com> <4A4286F8.9020501@lwfinger.net> <86802c440906241432l6d601f76sf2a413d6e19079e6@mail.gmail.com> <4A429DAA.3010303@lwfinger.net> <86802c440906241444g1aabcc5rb2d189dca0965e36@mail.gmail.com> <4A42A2FD.1060401@lwfinger.net> <86802c440906241511i3d534723u4dfdef9448b54bb9@mail.gmail.com> Date: Wed, 24 Jun 2009 15:53:28 -0700 Message-ID: <86802c440906241553j11c84adm45ef6e6e8f1fe10e@mail.gmail.com> Subject: Re: Regression with commit f9cde5f in 2.6.30-gitX From: Yinghai Lu To: Larry Finger Cc: Gary Hade , Thomas Gleixner , Jesse Barnes , Jaswinder Singh Rajput , LKML , Ingo Molnar , x86 maintainers , Len Brown , Linus Torvalds Content-Type: multipart/mixed; boundary=001b24be25d0bbf1ee046d1ff915 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9459 Lines: 157 --001b24be25d0bbf1ee046d1ff915 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jun 24, 2009 at 3:11 PM, Yinghai Lu wrote: > On Wed, Jun 24, 2009 at 3:04 PM, Larry Finger wrote: >> Yinghai Lu wrote: >> node 0 link 0: mmio [a0000, bffff] >> node 0 link 0: mmio [c0000000, dfffffff] >> node 0 link 0: mmio [e0000000, efffffff] >> node 0 link 0: mmio [f0000000, fe0bffff] >> bus: [00,ff] on node 0 link 0 >> bus: 00 index 0 io port: [0, ffff] >> bus: 00 index 1 mmio: [a0000, bffff] >> bus: 00 index 2 mmio: [c0000000, fcffffffff] > > that is read from pci config. > > and only one HT chain is there. so there is no point to use _CRS for them. > > please let me check if we could could have patch to deselect that. > please try the attached patches. applying sequence: fix_crs.patch use_pci_crs_early.patch only_one.patch YH --001b24be25d0bbf1ee046d1ff915 Content-Type: text/x-diff; charset=US-ASCII; name="fix_crs.patch" Content-Disposition: attachment; filename="fix_crs.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwcn2n800 W1BBVENIXSB4ODYvcGNpOiBmaXggYm91bmRhcnkgY2hlY2tpbmcKCmRvbid0IHRvdWNoIGluZm8t PnJlc19udW0gaWYgd2UgYXJlIG91dCBvZiBzcGFjZQoKU2lnbmVkLW9mZi1ieTogWWluZ2hhaSBM dSA8eWluZ2hhaUBrZXJuZWwub3JnPgoKLS0tCiBhcmNoL3g4Ni9wY2kvYWNwaS5jIHwgICAyNyAr KysrKysrKysrKysrKystLS0tLS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCAxNSBpbnNlcnRpb25z KCspLCAxMiBkZWxldGlvbnMoLSkKCkluZGV4OiBsaW51eC0yLjYvYXJjaC94ODYvcGNpL2FjcGku Ywo9PT09PT09PT09P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GxvY2F0ZSAweCVseC0weCVseCAiCiAJCQkiZnJv bSAlcyBmb3IgJXNcbiIsICh1bnNpZ25lZCBsb25nKSByZXMtPnN0YXJ0LAo= --001b24be25d0bbf1ee046d1ff915 Content-Type: text/x-diff; charset=US-ASCII; name="use_pci_crs_early.patch" Content-Disposition: attachment; filename="use_pci_crs_early.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwcn33t61 W1BBVENIXSB4ODYvcGNpOiBnZXQgcm9vdCBDUlMgYmVmb3JlIHNjYW4gY2hpbGRzIC12MgoKc28g d2UgY291bGQgcmVtb3ZlIGFkanVzdF90cmFuc3BhcmVudF9icmlkZ2VfcmVzb3VyY2VzLi4KCmFu ZCBnaXZlIHg4Nl9wY2lfcm9vdF9idXNfcmVzX3F1aXJrcyBjaGFuY2Ugd2hlbiBfQ1JTIGlzIG5v dCB1c2VkIG9yCm5vdCB0aGVyZS4KCnYyOiBhZGQgcHJpbnQgb3V0IGlmIHBjaSBjb25mIHJlYWRp bmcgZm9yIHJlcyBpcyB1c2VkIGZvciByb290CgpTaWduZWQtb2ZmLWJ5OiBZaW5naGFpIEx1IDx5 aW5naGFpQGtlcm5lbC5vcmc+CgotLS0KIGFyY2gveDg2L3BjaS9hY3BpLmMgICAgfCAgIDMyICsr KysrKysrKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiBhcmNoL3g4Ni9wY2kvYW1kX2J1cy5jIHwg ICAgOCArKysrKystLQogMiBmaWxlcyBjaGFuZ2VkLCAxNSBpbnNlcnRpb25zKCspLCAyNSBkZWxl dGlvbnMoLSkKCkluZGV4OiBsaW51eC0yLjYvYXJjaC94ODYvcGNpL2FjcGkuYwo9PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 Ci0tLSBsaW51eC0yLjYub3JpZy9hcmNoL3g4Ni9wY2kvYWNwaS5jCisrKyBsaW51eC0yLjYvYXJj aC94ODYvcGNpL2Fjc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uNi5vcmlnL2FyY2gveDg2L3BjaS9hbWRfYnVzLmMKKysr IGxpbnV4LTIuNi9hcmNoL3g4Ni9wY2kvYW1kX2J1cy5jCkBAIC0xMDAsOCArMTAwLDkgQEAgdm9p ZCB4ODZfcGNpX3Jvb3RfYnVzX3Jlc19xdWlya3Moc3RydWN0CiAJaW50IGo7CiAJc3RydWN0IHBj aV9yb290X2luZm8gKmluZm87CiAKLQkvKiBkb24ndCBnbyBmb3IgaXQgaWYgX0NSUyBpcyB1c2Vk ICovCi0JaWYgKCEocGNpX3Byb2JlICYgUENJX05PX1JPT1RfQ1JTKSkKKyAgICAgICAvKiBkb24n dCBnbyBmb3IgaXQgaWYgX0NSUyBpcyB1c2VkIGFscmVhZHkgKi8KKwlpZiAoYi0+cmVzb3VyY2Vb MF0gIT0gJmlvcG9ydF9yZXNvdXJjZSB8fAorCSAgICBiLT5yZXNvdXJjZVsxXSAhPSAmaW9tZW1f cmVzb3VyY2UpCiAJCXJldHVybjsKIAogCS8qIGlmIG9ubHkgb25lIHJvb3QgYnVzLCBkb24ndCBu ZWVkIHRvIGFueXRoaW5nICovCkBAIC0xMTYsNiArMTE3LDkgQEAgdm9pZCB4ODZfcGNpX3Jvb3Rf YnVzX3Jlc19xdWlya3Moc3RydWN0CiAJaWYgKGkgPT0gcGNpX3Jvb3RfbnVtKQogCQlyZXR1cm47 CiAKKwlwcmludGsoS0VSTl9ERUJVRyAiUENJOiBwZWVyIHJvb3QgYnVzICUwMnggcmVzIHVwZGF0 ZWQgZnJvbSBwY2kgY29uZlxuIiwKKwkJCWItPm51bWJlcik7CisKIAlpbmZvID0gJnBjaV9yb290 X2luZm9baV07CiAJZm9yIChqID0gMDsgaiA8IGluZm8tPnJlc19udW07IGorKykgewogCQlzdHJ1 Y3QgcmVzb3VyY2UgKnJlczsK --001b24be25d0bbf1ee046d1ff915 Content-Type: text/x-diff; charset=US-ASCII; name="only_one.patch" Content-Disposition: attachment; filename="only_one.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwcn4uih2 W1BBVENIXSB4ODYvcGNpOiBkb24ndCB1c2UgY3JzIGZvciByb290IGlmIHdlIG9ubHkgaGF2ZSBv bmUgcm9vdCBidXMKCmZvciBBTUQgc3lzdGVtLCB3aGVuIG9ubHkgb25lIFBDSSByb290LCBqdXN0 IHNldCBQQ0lfTk9fUk9PVF9DUlMgZm9yIGl0CgpTaWduZWQtb2ZmLWJ5OiBZaW5naGFpIEx1IDx5 aW5naGFpQGtlcm5lbC5vcmc+CgotLS0KIGFyY2gveDg2L3BjaS9hbWRfYnVzLmMgfCAgICA0ICsr KysKIDEgZmlsZSBjaGFuZ2VkLCA0IGluc2VydGlvbnMoKykKCkluZGV4OiBsaW51eC0yLjYvYXJj aC94ODYvcGNpL2FtZF9idXMuYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaW51eC0yLjYub3JpZy9hcmNoL3g4 Ni9wY2kvYW1kX2J1cy5jCisrKyBsaW51eC0yLjYvYXJjaC94ODYvcGNpL2FtZF9idXMuYwpAQCAt NTYxLDYgKzU2MSwxMCBAQCBzdGF0aWMgaW50IF9faW5pdCBlYXJseV9maWxsX21wX2J1c19pbmZv CiAJCX0KIAl9CiAKKwkvKiBkb24ndCB1c2UgX0NSUyBpZiB3ZSBvbmx5IGhhdmUgb25lIHJvb3Qg Ki8KKwlpZiAocGNpX3Jvb3RfbnVtIDw9IDEpCisJCXBjaV9wcm9iZSB8PSBQQ0lfTk9fUk9PVF9D UlM7CisKIAlyZXR1cm4gMDsKIH0KIAo= --001b24be25d0bbf1ee046d1ff915-- -- 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/