From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:37590 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754663Ab3I0WPc (ORCPT ); Fri, 27 Sep 2013 18:15:32 -0400 Message-ID: <1380320118.27811.48.camel@pasglop> Subject: Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d From: Benjamin Herrenschmidt To: Yinghai Lu Cc: Linus Torvalds , Bjorn Helgaas , "linux-pci@vger.kernel.org" , linuxppc-dev , Linux Kernel list 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 Sender: linux-pci-owner@vger.kernel.org List-ID: 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.