Re: [PATCH v3 20/22] PCI, powerpc: Kill pci_root_buses in resources reservations

2013-01-27 Thread Yijing Wang
On 2013/1/28 3:23, Yinghai Lu wrote: > Replace that with hotplug-safe version iteration. > > Signed-off-by: Yinghai Lu > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: linuxppc-dev@lists.ozlabs.org > --- > arch/powerpc/kernel/pci-common.c | 13 ++--- > arch/powerpc/kernel/pci_

Re: [PATCH v3 20/22] PCI, powerpc: Kill pci_root_buses in resources reservations

2013-01-27 Thread Yinghai Lu
On Sun, Jan 27, 2013 at 7:48 PM, Yijing Wang wrote: > On 2013/1/28 3:23, Yinghai Lu wrote: >> diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c >> index 2cbe676..f848325 100644 >> --- a/arch/powerpc/kernel/pci_64.c >> +++ b/arch/powerpc/kernel/pci_64.c >> @@ -208,9 +208,9 @@

Re: [PATCH Bug fix 0/5] Bug fix for physical memory hot-remove.

2013-01-27 Thread Tang Chen
On 01/25/2013 09:17 PM, Michal Hocko wrote: On Wed 23-01-13 06:29:31, Simon Jeons wrote: On Tue, 2013-01-22 at 19:42 +0800, Tang Chen wrote: Here are some bug fix patches for physical memory hot-remove. All these patches are based on the latest -mm tree. git://git.kernel.org/pub/scm/linux/kerne

Re: [PATCH Bug fix 0/5] Bug fix for physical memory hot-remove.

2013-01-27 Thread Tang Chen
On 01/26/2013 02:19 AM, Toshi Kani wrote: On Tue, 2013-01-22 at 19:42 +0800, Tang Chen wrote: Here are some bug fix patches for physical memory hot-remove. All these patches are based on the latest -mm tree. git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm And patch1 and p

Re: [REGRESSION][3.8.-rc1][ INFO: possible circular locking dependency detected ]

2013-01-27 Thread Christian Kujau
On Sun, 23 Dec 2012 at 13:34, Christian Kujau wrote: > On Sat, 22 Dec 2012 at 16:28, Maciej Rutecki wrote: > > Got during suspend to disk: > > I got a similar message on a powerpc G4 system, right after bootup (no > suspend involved): > > http://nerdbynature.de/bits/3.8.0-rc1/ This is still

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2013-01-27 Thread Christian Kujau
On Tue, 15 Jan 2013 at 14:59, Li Zhong wrote: > FYI, it is already in the next of ppc tree > http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=shortlog;h=refs/heads/next > > I guess it would get into 3.9, at least. Hm, is there no chance to get this into 3.8? I've been running with t

[PATCH v3 21/22] PCI: Kill pci_find_next_bus

2013-01-27 Thread Yinghai Lu
No user now, remove it. That name is misleading as it only for root buses. Signed-off-by: Yinghai Lu Cc: Mauro Carvalho Chehab Cc: Doug Thompson Cc: linux-e...@vger.kernel.org Cc: x...@kernel.org Cc: David Airlie Cc: dri-de...@lists.freedesktop.org Cc: "David S. Miller" Cc: sparcli...@vger.k

[PATCH v3 22/22] PCI: Kill pci_root_buses

2013-01-27 Thread Yinghai Lu
No user now, remove it. Signed-off-by: Yinghai Lu Cc: Mauro Carvalho Chehab Cc: Doug Thompson Cc: linux-e...@vger.kernel.org Cc: x...@kernel.org Cc: David Airlie Cc: dri-de...@lists.freedesktop.org Cc: "David S. Miller" Cc: sparcli...@vger.kernel.org Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i

[PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-01-27 Thread Yinghai Lu
Now we have pci_root_buses list, and there is lots of iteration with list_of_each of it, that is not safe after we add pci root bus hotplug support after booting stage. Add pci_get_next_host_bridge and use bus_find_device in driver core to iterate host bridge and the same time get root bus. We re

[PATCH v3 05/22] PCI: Add for_each_pci_host_bridge() and pci_get_next_host_bridge

2013-01-27 Thread Yinghai Lu
Now we have pci_root_buses list, and there is lots of iteration with list_of_each of it, that is not safe after we add pci root bus hotplug support after booting stage. Also pci_find_next_bus is pretty misleading name, and it is only finding next root bus instead of regular pci bus. Add pci_get_n

[PATCH v3 02/22] PCI: Add dummy bus_type for pci_host_bridge

2013-01-27 Thread Yinghai Lu
Need to use it for looping registered host_bridge, and kill pci_root_buses list. Signed-off-by: Yinghai Lu Cc: Mauro Carvalho Chehab Cc: Doug Thompson Cc: linux-e...@vger.kernel.org Cc: x...@kernel.org Cc: David Airlie Cc: dri-de...@lists.freedesktop.org Cc: "David S. Miller" Cc: sparcli...@v

[PATCH v3 20/22] PCI, powerpc: Kill pci_root_buses in resources reservations

2013-01-27 Thread Yinghai Lu
Replace that with hotplug-safe version iteration. Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c | 13 ++--- arch/powerpc/kernel/pci_64.c |8 2 files changed, 10 insertion