Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752219Ab1DYUOq (ORCPT ); Mon, 25 Apr 2011 16:14:46 -0400 Received: from isilmar-3.linta.de ([188.40.101.200]:53582 "EHLO linta.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750903Ab1DYUOo (ORCPT ); Mon, 25 Apr 2011 16:14:44 -0400 Date: Mon, 25 Apr 2011 22:14:17 +0200 From: Dominik Brodowski To: =?iso-8859-1?Q?Germ=E1n?= Sanchis , Jesse Barnes Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: PCIE-to-PCI bridge doesn't pass mem resources downstream [Re: yenta cardbus problem] Message-ID: <20110425201417.GB1268@comet.dominikbrodowski.net> Mail-Followup-To: Dominik Brodowski , =?iso-8859-1?Q?Germ=E1n?= Sanchis , Jesse Barnes , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org References: <20110425140035.GA27159@comet.dominikbrodowski.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4441 Lines: 102 Hey, thanks for the additional debug information. It seems to me to be not a bug with the yenta driver, but with the parent PCI bridge instead. Therefore, I've added Jesse and the linux-pci list as recipients. Germ?n's problem relates to Ubuntu's 2.6.35-derived kernel; lspci snippets follow. Let's look at the (grand-)parent bridge: It offers some, if not much I/O and memory resources for its childs to be used: 00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- Hi again. > > First of all, thanks for your help. > > Then, one small note: in my first message, the lspci info might have > been slightly incorrect: when I first posted this error in the ubuntu > forums, lspci reported the devices as: > ... > 04:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI > Express-to-PCI Bridge (rev 03) > 05:00.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller > > whereas this morning it was reporting them at 05:00.0 and 06:00.0. I > changed that part of the post, but didn't think about changing the > rest. Right now, and with the assign_busses and override_bios options, > lspci is reporting them on 04:00.0 and 05:00.0. Just in case you > notice a small inconsistency in that sense. > > I tried the "override_bios=1" parameter when loading yenta_socket, but > that does not seem to help. I did this by: > > $ echo "options yenta_socket override_bios=1" > > /etc/modprobe.d/yenta_socket.conf > > and rebooted. Just to let you know what was done, since it is the > first time I do this and googled for it, so I want to make sure that I > am not reporting to have tried something which I might have done > incorrectly. > > I am attaching three files to this email: > > - A.log is the dmesg output when the switch is in position A > - B.log is the dmesg output when the switch is in position B > - lspci.log is the output of lspci -vvv with the switch in position A. > When the switch is in position B, lspci does not report the devices 04 > and 05 above. > > All the files were collected with 'ddebug_query="module yenta_socket > +p" pci=assign-busses' kernel options, and with yenta_socket > override_bios option. > > Thanks again for your help, > > best regards, > > Germ?n Sanchis Trilles -- 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/