From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753285AbbC0Vlm (ORCPT ); Fri, 27 Mar 2015 17:41:42 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:41632 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753257AbbC0Vlk (ORCPT ); Fri, 27 Mar 2015 17:41:40 -0400 Date: Fri, 27 Mar 2015 14:50:16 -0700 (PDT) Message-Id: <20150327.145016.86183910134380870.davem@davemloft.net> To: yinghai@kernel.org Cc: david.ahern@oracle.com, bhelgaas@google.com, linux-pci@vger.kernel.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: d63e2e1f3df breaks sparc/T5-8 From: David Miller In-Reply-To: References: <551495EE.20201@oracle.com> X-Mailer: Mew version 6.4 on Emacs 23.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, 27 Mar 2015 14:41:39 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yinghai Lu Date: Fri, 27 Mar 2015 14:01:54 -0700 > On Thu, Mar 26, 2015 at 4:27 PM, David Ahern wrote: >> On 3/26/15 2:43 PM, Yinghai Lu wrote: >>> >>> Can you send out boot log with "debug ignore_loglevel"? >> >> >> attached > > So the kernel config is sparc32 or sparc64 ? > > pci 0000:06:00.0: reg 0x184: can't handle BAR above 4GB (bus address > 0x110204000) > > > only could happen when dma_addr_t is 32bit. All DMA occurs behind an IOMMU and these IOMMUs only support 32-bit addressing, therefore dma_addr_t is 32-bit on sparc64. If you want to represent PCI address in some way, you absolutely cannot use dma_addr_t as your data type.