Re: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

2012-09-08 Thread Feng Tang
0:00:01.0 > > > pcilib: Cannot open /sys/bus/pci/devices/:00:00.0/config > > > lspci: Unable to read the standard configuration space header of > > > device :00:00.0 > > > -[:00]- > > > > > > bisected to this commit > > > >

[PATCH 2/2] PCI: Remove the obsolete no_pci_devices() check

2012-08-23 Thread Feng Tang
>From 9f2f3bbdf65f669e091c72b9648a4a0394ce28f5 Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Thu, 23 Aug 2012 14:55:48 +0800 Subject: [PATCH 2/2] PCI: Remove the obsolete no_pci_devices() check In function pci_get_subsys() there is a check: /* * pci_find_subsys() can be cal

[PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

2012-08-23 Thread Feng Tang
>From 57a28ee5e7662ca28ba4c793aa037d64bd082dee Mon Sep 17 00:00:00 2001 From: Feng Tang Date: Wed, 22 Aug 2012 15:41:51 +0800 Subject: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class() This fixes a kernel warning https://lkml.org/lkml/2012/7/31/682 pci_get_sub

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-22 Thread Feng Tang
Hi Bjorn, On Wed, 22 Aug 2012 11:02:52 -0700 Bjorn Helgaas wrote: > On Wed, Aug 22, 2012 at 12:49 AM, Feng Tang wrote: > > Hi Fengguang, > > > > > > On Wed, 22 Aug 2012 10:50:08 +0800 > > Fengguang Wu wrote: > > > >> Feng, > >> &

Re: pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-08-22 Thread Feng Tang
*/ > > if (DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))) > > return; > > It's bisected down to this commit: > > commit 55c844a4dd16a4d1fdc0cf2a283ec631a02ec448 > Author: Feng Tang > AuthorDate: Wed May 30 23:15:41 2012 +0800 &g