Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753068AbbDCTGD (ORCPT ); Fri, 3 Apr 2015 15:06:03 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:49983 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbbDCTGB (ORCPT ); Fri, 3 Apr 2015 15:06:01 -0400 Date: Fri, 03 Apr 2015 15:05:58 -0400 (EDT) Message-Id: <20150403.150558.188543237134528987.davem@davemloft.net> To: bhelgaas@google.com Cc: yinghai@kernel.org, david.ahern@oracle.com, linux-pci@vger.kernel.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t From: David Miller In-Reply-To: <20150403185939.GC10892@google.com> References: <1427857069-6789-1-git-send-email-yinghai@kernel.org> <1427857069-6789-2-git-send-email-yinghai@kernel.org> <20150403185939.GC10892@google.com> X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 03 Apr 2015 12:06:00 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 28 From: Bjorn Helgaas Date: Fri, 3 Apr 2015 13:59:39 -0500 > On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: >> David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows >> to fit in upstream windows") broke booting on sparc/T5-8. >> >> In the boot log, there is >> pci 0000:06:00.0: reg 0x184: can't handle BAR above 4GB (bus address >> 0x110204000) >> but that only could happen when dma_addr_t is 32-bit. >> >> According to David Miller, all DMA occurs behind an IOMMU and these >> IOMMUs only support 32-bit addressing, therefore dma_addr_t is >> 32-bit on sparc64. >> >> Let's introduce pci_bus_addr_t instead of using dma_addr_t, >> and pci_bus_addr_t will be 64-bit on 64-bit platform or X86_PAE. > > I propose the following doc updates (I can just fold them into this patch > if you approve): No objection. -- 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/