From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CC0722C00C8 for ; Sat, 28 Sep 2013 08:15:30 +1000 (EST) Message-ID: <1380320118.27811.48.camel@pasglop> Subject: Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d From: Benjamin Herrenschmidt To: Yinghai Lu Date: Sat, 28 Sep 2013 08:15:18 +1000 In-Reply-To: References: <1380270519.27811.10.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: Bjorn Helgaas , "linux-pci@vger.kernel.org" , Linus Torvalds , linuxppc-dev , Linux Kernel list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2013-09-27 at 10:44 -0700, Yinghai Lu wrote: > | /* Get and check PCI Express port services */ > | capabilities = get_port_device_capability(dev); > | if (!capabilities) > | return 0; > | > | pci_set_master(dev); > > so how come that pci_set_master is not called for powerpc? > > Can you send out lspci -vvxxx with current linus-tree and v3.11? Ah good point. It should have ... except that there are a number of ways for get_port_device_capability() to fail and that should *not* leave the bridge without the bus master capability set. However I don't think that's what's happening here. I'll have to dig more, will get back to you. Cheers, Ben.