Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754885Ab2E2R4r (ORCPT ); Tue, 29 May 2012 13:56:47 -0400 Received: from mail-vb0-f46.google.com ([209.85.212.46]:45327 "EHLO mail-vb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754226Ab2E2R4q convert rfc822-to-8bit (ORCPT ); Tue, 29 May 2012 13:56:46 -0400 MIME-Version: 1.0 In-Reply-To: References: <1337754877-19759-1-git-send-email-yinghai@kernel.org> <1337754877-19759-3-git-send-email-yinghai@kernel.org> <20120525043651.GA1391@google.com> <20120525193716.GA8817@google.com> Date: Tue, 29 May 2012 10:56:45 -0700 X-Google-Sender-Auth: ARcY7ZdJ9casMqp2yTNnM7f7WIc Message-ID: Subject: Re: [PATCH 02/11] PCI: Try to allocate mem64 above 4G at first From: Yinghai Lu To: Bjorn Helgaas Cc: Linus Torvalds , Steven Newbury , "H. Peter Anvin" , Andrew Morton , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 738 Lines: 16 On Sat, May 26, 2012 at 8:01 AM, Bjorn Helgaas wrote: > Another bug here: we're trying to restrict the *bus* addresses we > allocate, but we're applying the limits to *CPU* addresses. > Therefore, this only works as intended when CPU addresses are the same > as bus addresses, i.e., when the host bridge applies no address > translation. ?That happens to be the case for x86, but is not the case > in general. > > I think we need a third patch to fix this problem. yes. -- 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/