From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbZHNBlG (ORCPT ); Thu, 13 Aug 2009 21:41:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752054AbZHNBlF (ORCPT ); Thu, 13 Aug 2009 21:41:05 -0400 Received: from cpsmtpm-eml104.kpnxchange.com ([195.121.3.8]:61453 "EHLO CPSMTPM-EML104.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbZHNBlE (ORCPT ); Thu, 13 Aug 2009 21:41:04 -0400 From: Frans Pop To: Frans Pop Subject: Re: PCI resources allocation problem on Toshiba Satellite A40 Date: Fri, 14 Aug 2009 03:40:58 +0200 User-Agent: KMail/1.9.9 Cc: torvalds@linux-foundation.org, mano@roarinelk.homelinux.net, rjw@sisk.pl, willy@linux.intel.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, akpm@linux-foundation.org, andrew.patterson@hp.com References: <200908021619.48285.rjw@sisk.pl> <20090803165909.GA12824@roarinelk.homelinux.net> <20090805155102.GA31646@roarinelk.homelinux.net> <20090805170934.GA32274@roarinelk.homelinux.net> <20090811184740.49f52b57@scarran.roarinelk.net> <20090811184740.49f52b57@scarran.roarinelk.net> <200908132128.31439.elendil@planet.nl> In-reply-To: <200908132128.31439.elendil@planet.nl> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_uCMhKpZhNYu2juG" Message-Id: <200908140341.02210.elendil@planet.nl> X-OriginalArrivalTime: 14 Aug 2009 01:41:02.0532 (UTC) FILETIME=[4825F840:01CA1C80] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Boundary-00=_uCMhKpZhNYu2juG Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Frans Pop wrote: > With pre-2.6.31 kernels I always had the following in dmesg: > pci 0000:00:1d.0: BAR 4: can't allocate resource > pci 0000:00:1d.1: BAR 4: can't allocate resource > [...] > pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1d.0 BAR 4 (0x0-0x1f), disabling > pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1d.1 BAR 4 (0x0-0x1f), disabling > > I was very happy to see that for 2.6.31-rc2 those messages were gone. The commit that resulted in the messages disappearing was: commit a76117dfd687ec4be0a9a05214f3009cc5f73a42 Author: Matthew Wilcox Date: Wed Jun 17 16:33:35 2009 -0400 x86: Use pci_claim_resource > But with .31-rc5 they are back again, with added "address space collision": > pci 0000:00:1d.0: BAR 4: address space collision on of device [0xcfe0-0xcfff] > pci 0000:00:1d.0: BAR 4: can't allocate resource > pci 0000:00:1d.1: BAR 4: address space collision on of device [0xcf80-0xcf9f] > pci 0000:00:1d.1: BAR 4: can't allocate resource > [...] > pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1d.0 BAR 4 (0x0-0x1f), disabling > pnp 00:08: io resource (0x10-0x1f) overlaps 0000:00:1d.1 BAR 4 (0x0-0x1f), disabling The commit that caused the messages to return is: commit 79896cf42f6a96d7e14f2dc3473443d68d74031d Author: Linus Torvalds Date: Sun Aug 2 14:04:19 2009 -0700 Make pci_claim_resource() use request_resource() rather than insert_resource() The affected devices are the two USB UHCI controllers. Cheers, FJP --Boundary-00=_uCMhKpZhNYu2juG Content-Type: text/plain; charset="us-ascii"; name="lspci" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lspci" 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Toshiba America Info Systems Device 0001 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- (32-bit, prefetchable) Capabilities: [40] Vendor Specific Information Kernel driver in use: agpgart-intel Kernel modules: intel-agp 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Toshiba America Info Systems Device 0001 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- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Kernel modules: shpchp 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- 16bInt- PostWrite+ 16-bit legacy interface ports at 0001 Kernel driver in use: yenta_cardbus Kernel modules: yenta_socket 02:00.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01) Subsystem: Global Sun Technology Inc Device 7103 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-