Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966029Ab2FAXay (ORCPT ); Fri, 1 Jun 2012 19:30:54 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:39407 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759554Ab2FAXaw (ORCPT ); Fri, 1 Jun 2012 19:30:52 -0400 MIME-Version: 1.0 In-Reply-To: <4FC536A5.6020600@zytor.com> References: <1337754877-19759-1-git-send-email-yinghai@kernel.org> <20120525043651.GA1391@google.com> <20120525193716.GA8817@google.com> <4FC50E09.4000204@zytor.com> <4FC51D79.6010804@zytor.com> <4FC536A5.6020600@zytor.com> Date: Fri, 1 Jun 2012 16:30:51 -0700 X-Google-Sender-Auth: 2ef7wsf9cn41vQeAp6CdR2bgff8 Message-ID: Subject: Re: [PATCH 02/11] PCI: Try to allocate mem64 above 4G at first From: Yinghai Lu To: "H. Peter Anvin" Cc: David Miller , Tony Luck , Bjorn Helgaas , Linus Torvalds , Steven Newbury , Andrew Morton , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary=047d7b2ee03f3c8ae204c17193d0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 13076 Lines: 191 --047d7b2ee03f3c8ae204c17193d0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, May 29, 2012 at 1:50 PM, H. Peter Anvin wrote: > > The bus-side address space should not be more than 32 bits no matter > what. =A0As Bjorn indicates, you seem to be mixing up bus and cpu > addresses all over the place. please check update patches that is using converted pci bus address for boundary checking. Thanks Yinghai Lu --047d7b2ee03f3c8ae204c17193d0 Content-Type: application/octet-stream; name="pcibus_addr_converting_bus.patch" Content-Disposition: attachment; filename="pcibus_addr_converting_bus.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h2xvyeze0 U3ViamVjdDogW1BBVENI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yZXNvdXJjZV90b19idXMoc3RydWN0IHBjaV9kZXYgKmRldiwgc3RydWN0IHBjaV9idXNf cmVnaW9uICpyZWdpb24sCiAJCQkgICAgIHN0cnVjdCByZXNvdXJjZSAqcmVzKTsKIHZvaWQgcGNp Ymlvc19idXNfdG9fcmVzb3VyY2Uoc3RydWN0IHBjaV9kZXYgKmRldiwgc3RydWN0IHJlc291cmNl ICpyZXMsCiAJCQkgICAgIHN0cnVjdCBwY2lfYnVzX3JlZ2lvbiAqcmVnaW9uKTsKK3Jlc291cmNl X3NpemVfdCBwY2liaW9zX2J1c19hZGRyX3RvX3JlcyhzdHJ1Y3QgcGNpX2J1cyAqYnVzLCBpbnQg ZmxhZ3MsCisJCQkJCXJlc291cmNlX3NpemVfdCBhZGRyKTsKIHZvaWQgcGNpYmlvc19zY2FuX3Nw ZWNpZmljX2J1cyhpbnQgYnVzbik7CiBleHRlcm4gc3RydWN0IHBjaV9idXMgKnBjaV9maW5kX2J1 cyhpbnQgZG9tYWluLCBpbnQgYnVzbnIpOwogdm9pZCBwY2lfYnVzX2FkZF9kZXZpY2VzKGNvbnN0 IHN0cnVjdCBwY2lfYnVzICpidXMpOwo= --047d7b2ee03f3c8ae204c17193d0 Content-Type: application/octet-stream; name="allocate_high_at_first_v6.patch" Content-Disposition: attachment; filename="allocate_high_at_first_v6.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h2xvyose1 U3ViamVjdDogW1BBVENIXSBQQ0k6IFRyeSB0byBhbGxvY2F0ZSBtZW02NCBhYm92ZSA0RyBhdCBm aXJzdAoKYW5kIHdpbGwgZmFsbCBiYWNrIHRvIGJlbG93IDRnIGlmIGl0IGNhbiBub3QgZmluZCBh bnkgYWJvdmUgNGcuCgp4ODYgMzJiaXQgd2l0aG91dCBYODZfUEFFIHN1cHBvcnQgd2lsbCBoYXZl IGJvdHRvbSBzZXQgdG8gMCwgYmVjdWFzZQpyZXNvdXJjZV9zaXplX3QgaXMgMzJiaXQuCgpBbHNv IG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9iYXJfdHlwZSB7CiAJcGNpX2Jhcl9tZW02NCwJCS8qIEEgNjQt Yml0IG1lbW9yeSBCQVIgKi8KIH07CiAKKyNkZWZpbmUgUENJX01BWF9BRERSXzMyCSgocmVzb3Vy Y2Vfc2l6ZV90KTB4ZmZmZmZmZmYpCisKIGJvb2wgcGNpX2J1c19yZWFkX2Rldl92ZW5kb3JfaWQo c3RydWN0IHBjaV9idXMgKmJ1cywgaW50IGRldmZuLCB1MzIgKnBsLAogCQkJCWludCBjcnNfdGlt ZW91dCk7CiBleHRlcm4gaW50IHBjaV9zZXR1cF9kZXZpY2Uoc3RydWN0IHBjaV9kZXYgKmRldik7 CkluZGV4OiBsaW51eC0yLjYvaW5jbHVkZS9saW51eC9wY2kuaAo9PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBsaW51 eC0yLjYub3JpZy9pbmNsdWRlL2xpbnV4L3BjaS5oCisrKyBsaW51eC0yLjYvaW5jbHVkZS9saW51 eC9wY2kuaApAQCAtMTM0NSwxMCArMTM0NSw2IEBAIHN0YXRpYyBpbmxpbmUgaW50IHBjaV9kb21h aW5fbnIoc3RydWN0IHAKIAogI2luY2x1ZGUgPGFzbS9wY2kuaD4KIAotI2lmbmRlZiBQQ0lCSU9T X01BWF9NRU1fMzIKLSNkZWZpbmUgUENJQklPU19NQVhfTUVNXzMyICgtMSkKLSNlbmRpZgotCiAv KiB0aGVzZSBoZWxwZXJzIHByb3ZpZGUgZnV0dXJlIGFuZCBiYWNrd2FyZHMgY29tcGF0aWJpbGl0 eQogICogZm9yIGFjY2Vzc2luZyBwb3B1bGFyIFBDSSBCQVIgaW5mbyAqLwogI2RlZmluZSBwY2lf cmVzb3VyY2Vfc3RhcnQoZGV2LCBiYXIpCSgoZGV2KS0+cmVzb3VyY2VbKGJhcildLnN0YXJ0KQo= --047d7b2ee03f3c8ae204c17193d0-- -- 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/