Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Yinghai Lu
On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: > [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, > linux-mips, Ben, linuxppc-dev, x86] > > On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: >> On Tue, Mar 31, 2015 at 07:57:47PM -0700

[PATCH] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-04-07 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c |4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-04-07 Thread Yinghai Lu
On Tue, Apr 7, 2015 at 8:49 PM, Benjamin Herrenschmidt wrote: > On Tue, 2015-04-07 at 17:24 -0700, Yinghai Lu wrote: >> For device resource PREF bit setting under bridge 64-bit pref resource, >> we need to make sure only set PREF for 64bit resource, so set >> IORESOUC

Re: [PATCH] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-04-08 Thread Yinghai Lu
On Wed, Apr 8, 2015 at 1:01 AM, Benjamin Herrenschmidt wrote: > Use a different flag to indicate the BAR policy or temporarily tweak a > local copy of the resource flag during BAR assignment or whatever you > prefer to fix the original problem but do *not* change the Linux overall > view of that

Re: [PATCH 2/2] PCI: pciehp: Convert pciehp to be builtin only, not modular

2015-05-27 Thread Yinghai Lu
On Fri, Jul 26, 2013 at 5:43 AM, Yinghai Lu wrote: > On Thu, Jul 25, 2013 at 10:57 AM, Bjorn Helgaas wrote: >> Convert pciehp to be builtin only, with no module option. >> >> Signed-off-by: Bjorn Helgaas >> Acked-by: Rafael J. Wysocki >> --- >> drivers/p

Re: [PATCH 2/2] PCI: pciehp: Convert pciehp to be builtin only, not modular

2015-05-28 Thread Yinghai Lu
On Wed, May 27, 2015 at 6:30 PM, Rafael J. Wysocki wrote: > On Wednesday, May 27, 2015 02:31:49 PM Bjorn Helgaas wrote: > For debug you can always use pcie_ports=compat and that will disable > pciehp too. That will disable AER at the same time, right?.

[PATCH 09/10] PCI, powerpc: clip firmware assigned resource under parent bridge's

2015-01-12 Thread Yinghai Lu
estrict 64-bit prefetchable bridge windows to 64-bit resources") Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Anton Blanchard Cc: Sebastian Ott Cc: Wei Yang Cc: Andrew Murray Cc: linuxppc-dev@lists.ozlabs.org --- arch

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-13 Thread Yinghai Lu
On Mon, May 13, 2013 at 9:08 AM, Jiang Liu wrote: > From: Gu Zheng > diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c > index 4f0bc0a..bc075a3 100644 > --- a/drivers/pci/probe.c > +++ b/drivers/pci/probe.c > @@ -1131,6 +1131,7 @@ static void pci_release_dev(struct device *dev) > str

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-14 Thread Yinghai Lu
On Tue, May 14, 2013 at 7:59 AM, Liu Jiang wrote: > On 05/14/2013 04:26 PM, Gu Zheng wrote: > I suggest to use pci_release_dev() instead because it also needs to > release OF related resources. > I will update it in next version. > > diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c > ind

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-14 Thread Yinghai Lu
On Tue, May 14, 2013 at 9:57 AM, Liu Jiang wrote: > On Tue 14 May 2013 11:10:33 PM CST, Yinghai Lu wrote: >> >> On Tue, May 14, 2013 at 7:59 AM, Liu Jiang wrote: >>> >>> On 05/14/2013 04:26 PM, Gu Zheng wrote: >>> I suggest to use pci_rele

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Yinghai Lu
On Wed, May 15, 2013 at 7:39 AM, Liu Jiang wrote: > On Wed 15 May 2013 02:52:51 AM CST, Yinghai Lu wrote: >> >> On Tue, May 14, 2013 at 9:57 AM, Liu Jiang wrote: >>> >>> On Tue 14 May 2013 11:10:33 PM CST, Yinghai Lu wrote: >>>> >>>&g

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Yinghai Lu
On Wed, May 15, 2013 at 7:46 AM, Liu Jiang wrote: > On Wed 15 May 2013 10:43:02 PM CST, Yinghai Lu wrote: >> > >> that is another bug, let of guy handle it. >> >> Yinghai > > Hi Yinghai, > I don't know any OF exports, could you please help to

Re: [PATCH v2, part 1 3/9] PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

2013-05-15 Thread Yinghai Lu
On Wed, May 15, 2013 at 2:32 PM, Benjamin Herrenschmidt wrote: > On Wed, 2013-05-15 at 07:58 -0700, Yinghai Lu wrote: > >> Ben, >> >> in drivers/pci/probe.c::pci_scan_device() there is >> >> pci_set_of_node(dev); >> >> if (pci_s

Re: [PATCH 1/2] PCI: hotplug: Convert to be builtin only, not modular

2013-07-26 Thread Yinghai Lu
ch/powerpc/configs/pseries_defconfig |2 +- > arch/sh/configs/sh03_defconfig |2 +- > drivers/pci/hotplug/Kconfig|5 + > 9 files changed, 9 insertions(+), 12 deletions(-) Acked-by: Yinghai Lu ___ Linuxppc-dev mai

Re: [PATCH 2/2] PCI: pciehp: Convert pciehp to be builtin only, not modular

2013-07-26 Thread Yinghai Lu
ative > Hotplug > > - To compile this driver as a module, choose M here: the > - module will be called pciehp. > - > When in doubt, say N. > > source "drivers/pci/pcie/aer/Kconfig" > Acked-by: Yinghai Lu ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 28/36] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-07-06 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v2 40/49] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-07-14 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v2 29/49] PCI: Unify skip_ioresource_align()

2015-07-14 Thread Yinghai Lu
...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c | 12 ++-- drivers/pci/setup

[PATCH v2 48/49] PCI: Introduce resource_disabled()

2015-07-14 Thread Yinghai Lu
-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/alpha/kernel/pci.c | 2 +- arch/ia64/pci/pci.c | 4 ++-- arch/microblaze/pci/pci-common.c | 15 --- arch/mn10300/unit

[PATCH v3 30/51] PCI: Unify skip_ioresource_align()

2015-07-27 Thread Yinghai Lu
...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c | 12 ++-- drivers/pci/setup

[PATCH v3 41/51] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in of parsing

2015-07-27 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v3 50/51] PCI: Introduce resource_disabled()

2015-07-27 Thread Yinghai Lu
-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/alpha/kernel/pci.c | 2 +- arch/ia64/pci/pci.c | 4 ++-- arch/microblaze/pci/pci-common.c | 15 --- arch/mn10300/unit

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 1:28 AM, Benjamin Herrenschmidt wrote: > Hi Linus, Yinghai ! > > Please consider reverting: > > 928bea964827d7824b548c1f8e06eccbbc4d0d7d > PCI: Delay enabling bridges until they're needed > > (I'd suggest to revert now and maybe merge a better patch later) > > This breaks P

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 9:01 AM, Yinghai Lu wrote: > On Fri, Sep 27, 2013 at 1:28 AM, Benjamin Herrenschmidt > wrote: >> Hi Linus, Yinghai ! >> >> Please consider reverting: >> >> 928bea964827d7824b548c1f8e06eccbbc4d0d7d >> PCI: Delay enabling bridges

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 2:46 PM, Benjamin Herrenschmidt wrote: > Wouldn't it be better to simply have pci_enable_device() always set bus > master on a bridge? I don't see any case where it makes sense to have > an enabled bridge without the master bit set on it... Do you mean attached? pci_set

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 3:38 PM, Benjamin Herrenschmidt wrote: > On Fri, 2013-09-27 at 14:54 -0700, Yinghai Lu wrote: >> On Fri, Sep 27, 2013 at 2:46 PM, Benjamin Herrenschmidt >> wrote: >> >> > Wouldn't it be better to simply have pci_enable_device() always

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-27 Thread Yinghai Lu
[+ Rafael] On Fri, Sep 27, 2013 at 4:19 PM, Benjamin Herrenschmidt wrote: > On Fri, 2013-09-27 at 15:56 -0700, Yinghai Lu wrote: > >> ok, please if you are ok attached one instead. It will print some warning >> about >> driver skipping pci_set_master, so we can catch m

Re: Please revert 928bea964827d7824b548c1f8e06eccbbc4d0d7d

2013-09-28 Thread Yinghai Lu
On Fri, Sep 27, 2013 at 8:05 PM, Benjamin Herrenschmidt wrote: > On Fri, 2013-09-27 at 16:44 -0700, Yinghai Lu wrote: > > In the meantime, can you properly submit the other one with the warning > to Linus ? It will make things more robust overall... https://patchwork.kernel.org/p

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

2013-01-26 Thread Yinghai Lu
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 insertions(+), 11 deletions(-) diff --git a/arch/powerpc

[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

[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" C

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

2013-01-27 Thread Yinghai Lu
the loop. After those replacing, we even could kill pci_root_buses list. -v2: fixes compiling error when CONFIG_PCI is not defined that Fengguang Wu found. 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

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

2013-01-27 Thread Yinghai Lu
s Cc: Michal Simek Cc: microblaze-ucli...@itee.uq.edu.au Cc: Koichi Yasutake Cc: linux-am33-l...@redhat.com Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Yinghai Lu (22): PCI: Rename pci_release_bus_bridge_dev to pci_release_host_bridge_dev PCI: Add dummy

[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

[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" C

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/p

Re: [PATCH 2/3] x86/mm/numa: use setup_nr_node_ids() instead of opencoding.

2013-03-26 Thread Yinghai Lu
de_ids if not done yet */ > - if (nr_node_ids == MAX_NUMNODES) { > - for_each_node_mask(node, node_possible_map) > - num = node; > - nr_node_ids = num + 1; > - } > + if (nr_node_ids == MAX_NUMNODES) >

[PATCH v4 1/5] PCI: pcibus address to resource converting take bus instead of dev

2013-12-10 Thread Yinghai Lu
For allocating resource under bus path, we do not have dev to pass along, and we only have bus to use instead. -v2: drop pcibios_bus_addr_to_resource(). -v3: drop __* change requested by Bjorn. Signed-off-by: Yinghai Lu Cc: linux-al...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc

[PATCH v2 09/10] PCI, powerpc: clip firmware assigned resource under parent bridge's

2015-01-14 Thread Yinghai Lu
estrict 64-bit prefetchable bridge windows to 64-bit resources") Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Anton Blanchard Cc: Sebastian Ott Cc: Wei Yang Cc: Andrew Murray Cc: linuxppc-dev@lists.ozlabs.org --- arch

[PATCH v10 51/59] PCI: Unify skip_ioresource_align()

2016-02-24 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu Reviewed-by: Thomas Gleixner Acked-by: Michael Ellerman --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c

[PATCH v10 09/59] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2016-02-24 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions

[PATCH v10 57/59] PCI: Introduce resource_disabled()

2016-02-24 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu Ack

[PATCH v11 10/60] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2016-04-07 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions

[PATCH v11 52/60] PCI: Unify skip_ioresource_align()

2016-04-07 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu Reviewed-by: Thomas Gleixner Acked-by: Michael Ellerman --- arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c

[PATCH v11 58/60] PCI: Introduce resource_disabled()

2016-04-07 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu Ack

[PATCH v4 42/52] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-08-20 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v4 51/52] PCI: Introduce resource_disabled()

2015-08-20 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu ---

[PATCH v4 31/52] PCI: Unify skip_ioresource_align()

2015-08-20 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c | 12

[PATCH v5 43/53] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-09-16 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v5 30/53] PCI: Unify skip_ioresource_align()

2015-09-16 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c | 12

[PATCH v5 52/53] PCI: Introduce resource_disabled()

2015-09-16 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu ---

[PATCH v6 03/53] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-09-30 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v6 40/53] PCI: Unify skip_ioresource_align()

2015-09-30 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci/i386.c | 12

[PATCH v6 52/53] PCI: Introduce resource_disabled()

2015-09-30 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu ---

[PATCH v7 09/60] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-10-08 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v7 51/60] PCI: Unify skip_ioresource_align()

2015-10-08 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu Reviewed-by: Thomas Gleixner --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c| 4 ++-- arch/x86/pci

[PATCH v7 58/60] PCI: Introduce resource_disabled()

2015-10-08 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu ---

[PATCH v8 10/61] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-10-27 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v8 59/61] PCI: Introduce resource_disabled()

2015-10-27 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu Ack

[PATCH v8 52/61] PCI: Unify skip_ioresource_align()

2015-10-27 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu Reviewed-by: Thomas Gleixner Acked-by: Michael Ellerman --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c

[PATCH v9 51/60] PCI: Unify skip_ioresource_align()

2015-12-10 Thread Yinghai Lu
@lists.ozlabs.org Cc: linux-a...@vger.kernel.org Signed-off-by: Yinghai Lu Reviewed-by: Thomas Gleixner Acked-by: Michael Ellerman --- arch/microblaze/pci/pci-common.c | 8 arch/powerpc/kernel/pci-common.c | 11 +-- arch/x86/include/asm/pci_x86.h | 1 - arch/x86/pci/common.c

[PATCH v9 58/60] PCI: Introduce resource_disabled()

2015-12-10 Thread Yinghai Lu
nux-i...@vger.kernel.org Cc: linux-am33-l...@redhat.com Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-s...@vger.kernel.org Cc: sparcli...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-xte...@linux-xtensa.org Cc: io...@lists.linux-foundation.org Cc: linux...@vger.kernel.org Signed-off-by: Yinghai Lu Ack

[PATCH v9 09/60] powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing

2015-12-10 Thread Yinghai Lu
://bugzilla.kernel.org/show_bug.cgi?id=96241 Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Gavin Shan Cc: Yijing Wang Cc: Anton Blanchard Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci_of_scan.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH 06/13] PCI, powerpc: Register busn_res for root buses

2012-01-27 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 07/14] PCI, powerpc: Register busn_res for root buses

2012-01-30 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 07/15] PCI, powerpc: Register busn_res for root buses

2012-02-01 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-04 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 27/29] PCI, powerpc: kill pci_root_buses in resources reservations

2012-09-25 Thread Yinghai Lu
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 |7 --- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/powerpc

Re: [PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-08 Thread Yinghai Lu
On Wed, Feb 8, 2012 at 7:58 AM, Bjorn Helgaas wrote: > On Sat, Feb 4, 2012 at 10:57 PM, Yinghai Lu wrote: >> Signed-off-by: Yinghai Lu >> Cc: Benjamin Herrenschmidt >> Cc: Paul Mackerras >> Cc: linuxppc-dev@lists.ozlabs.org >> --- >>  arch/powerpc/k

[PATCH 07/22] PCI, powerpc: Register busn_res for root buses

2012-02-10 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 08/23] PCI, powerpc: Register busn_res for root buses

2012-02-24 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

Re: [PATCH 09/24] PCI, powerpc: Register busn_res for root buses

2012-02-24 Thread Yinghai Lu
On Fri, Feb 24, 2012 at 2:24 PM, Jesse Barnes wrote: > On Thu, 23 Feb 2012 12:51:30 -0800 > Bjorn Helgaas wrote: >> 2) We already have a way to add resources to a root bus: the >> pci_add_resource() used to add I/O port and MMIO apertures.  I think >> it'd be a lot simpler to just use that same i

[PATCH 08/18] PCI, powerpc: Register busn_res for root buses

2012-02-27 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c

[PATCH 14/24] PCI, powerpc: Register busn_res for root buses

2012-02-28 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/kernel/pci-common.c | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/powerpc

[PATCH 28/39] PCI, powerpc: Register busn_res for root buses

2012-02-29 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/kernel/pci-common.c | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/powerpc

[PATCH 26/36] PCI, powerpc: Register busn_res for root buses

2012-02-29 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/kernel/pci-common.c | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/powerpc

[PATCH -v11 15/30] PCI, powerpc: Register busn_res for root buses

2012-03-18 Thread Yinghai Lu
Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/pci-bridge.h |1 + arch/powerpc/kernel/pci-common.c | 10 +- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/powerpc

Re: [git pull] PCI changes (including maintainer change)

2012-03-23 Thread Yinghai Lu
On Thu, Mar 22, 2012 at 2:48 PM, Jesse Barnes wrote: > The following changes since commit > 4f262acfde22b63498b5e4f165e53d3bb4e96400: > >  Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm > (2012-03-07 08:33:03 -0800) > > are available in the git repository at: > >  git://git.ker

Re: [git pull] PCI changes (including maintainer change)

2012-03-23 Thread Yinghai Lu
On Fri, Mar 23, 2012 at 2:10 PM, Linus Torvalds wrote: > On Fri, Mar 23, 2012 at 12:58 PM, Yinghai Lu wrote: >> >> There are some merge conflicts. Hope attached patch could help Linus a >> little bit. > > Hmm. My merge does not agree with yours at all in the MIPS

[PATCH 17/21] powerpc/PCI: register busn_res for root buses

2012-05-07 Thread Yinghai Lu
Add the host bridge bus number aperture to the resource list. Like the MMIO and I/O port apertures, this is used when assigning resources to hot-added devices or in the case of conflicts. [bhelgaas: write changelog] Signed-off-by: Yinghai Lu Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc

Re: [PATCH V3 1/2] PCI: retrieve host bridge by PCI bus

2012-06-25 Thread Yinghai Lu
On Sun, Jun 24, 2012 at 8:10 PM, Gavin Shan wrote: > With current implementation, there is one function to retrieve > the corresponding host bridge (struct pci_host_bridge) according > to the given PCI device (struct pci_dev) and that function has > been declared as "static". Further, we don't hav

Re: [PATCH V3 1/2] PCI: retrieve host bridge by PCI bus

2012-06-26 Thread Yinghai Lu
On Mon, Jun 25, 2012 at 5:30 PM, Gavin Shan wrote: > Yeah, I think your patch meets the requirement: access "struct > pci_host_bridge", > and when will you merge your patch into mainline? not sure. but i extract that patch as attached. and with that could make your first patch only make find_pc

Re: [PATCH] mm: setup pageblock_order before it's used by sparse

2012-07-02 Thread Yinghai Lu
On Mon, Jul 2, 2012 at 7:54 PM, Jiang Liu wrote: > On 2012-7-3 4:43, Yinghai Lu wrote: >> On Sun, Jul 1, 2012 at 7:01 PM, Jiang Liu wrote: >>> Hi Yinghai, >>> The patch fails compilation as below: >>> mm/page_alloc.c:151: error: initializer element is

Re: [PATCH] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-10 Thread Yinghai Lu
On Wed, Mar 10, 2010 at 2:55 AM, wrote: > From: Ian Campbell > > Move arch_init_copy_chip_data and arch_free_chip_data into function > pointers in struct irq_chip since they operate on irq_desc->chip_data. > > arch_init_chip_data cannot be moved into struct irq_chip at this time > because irq_de

Re: [PATCH] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-10 Thread Yinghai Lu
On 03/10/2010 04:51 AM, Ian Campbell wrote: > On Wed, 2010-03-10 at 12:06 +0000, Yinghai Lu wrote: >> On Wed, Mar 10, 2010 at 2:55 AM, wrote: >>> From: Ian Campbell >>> >>> Move arch_init_copy_chip_data and arch_free_chip_data into function >>> poin

Re: [PATCH] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-12 Thread Yinghai Lu
an [PowerPC rename portion] > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: H. Peter Anvin > Cc: Eric W. Biederman > Cc: Yinghai Lu > Cc: Jeremy Fitzhardinge > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: x...@kernel.org > Cc: linuxppc-...@ozlabs.or

Re: [PATCH 1/2] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-19 Thread Yinghai Lu
-off-by: Ian Campbell Acked-by: Michael Ellerman [PowerPC rename portion] Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Eric W. Biederman Cc: Yinghai Lu Cc: Jeremy Fitzhardinge Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: x...@kernel.org Cc: linuxppc-...@ozlabs.org Cc: linux-k

[PATCH 07/20] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
Molnar Cc: H. Peter Anvin Cc: Eric W. Biederman Cc: Yinghai Lu Cc: Jeremy Fitzhardinge Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: x...@kernel.org Cc: linuxppc-...@ozlabs.org Cc: linux-ker...@vger.kernel.org Cc: Rusty Russell Cc: lgu...@ozlabs.org Cc: Paul Mundt Cc: linux...@vger.kern

[PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
Molnar Cc: H. Peter Anvin Cc: Eric W. Biederman Cc: Yinghai Lu Cc: Jeremy Fitzhardinge Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: x...@kernel.org Cc: linuxppc-...@ozlabs.org Cc: linux-ker...@vger.kernel.org Cc: Rusty Russell Cc: lgu...@ozlabs.org Cc: Paul Mundt Cc: linux...@vger.kern

Re: [PATCH 01/10] irq: move some interrupt arch_* functions into struct irq_chip.

2010-03-21 Thread Yinghai Lu
On 03/21/2010 06:56 PM, Michael Ellerman wrote: > On Sun, 2010-03-21 at 18:36 -0700, Yinghai Lu wrote: >> From: Ian Campbell > ... >> To replace the x86 arch_init_chip_data functionality >> irq_to_desc_alloc_node now takes a pointer to a function to allocate >> the c

Re: Problem with PCI bus rescan on 460EX

2010-03-28 Thread Yinghai Lu
On Sun, Mar 28, 2010 at 2:13 AM, Felix Radensky wrote: > Hello, Kenji-san > > I've tried Jesse's tree with Yinghai's patches, but they don't seem to help. > Memory for bridge is not allocated after insertion of hotplug device and > bus rescan. Attached dmesg output in case of success and failure.

Re: linux-next: build warnings after merge of the final tree (tip treee related)

2010-09-12 Thread Yinghai Lu
_in_range lacks a __init > annotation or the annotation of memblock_find_base is wrong. please check it, and it should get into core/memblock branch. Thanks Yinghai [PATCH] memblock: Fix section mismatch warning for arches that use memblock other than x86 Reported-by: Stephen Rothwell Si

Re: linux-next: build warnings after merge of the final tree (tip treee related)

2010-09-13 Thread Yinghai Lu
[PATCH -v2] memblock: Fix section mismatch warning for arches that use memblock other than x86 -v2: more with memblock_is_meory() Reported-by: Stephen Rothwell Signed-off-by: Yinghai Lu --- mm/memblock.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Index: linux-2.6/mm

Re: linux-next: build warnings after merge of the final tree (tip treee related)

2010-09-14 Thread Yinghai Lu
On 09/13/2010 09:50 PM, Stephen Rothwell wrote: > Hi Yinghai, > > On Mon, 13 Sep 2010 01:24:20 -0700 Yinghai Lu wrote: >> >> On 09/12/2010 09:39 PM, Stephen Rothwell wrote: >>> >>> Your patch fixes some of the warnings, but still leaves these for a >>

Re: linux-next: build warnings after merge of the final tree (tip treee related)

2010-09-14 Thread Yinghai Lu
On 09/14/2010 05:29 PM, Stephen Rothwell wrote: > Hi Yinghai, > > On Tue, 14 Sep 2010 16:00:06 -0700 Yinghai Lu wrote: >> >> Also, we may need to remove all extern and __init and __initdata etc in .h >> files. > > Do not remove the "extern" key word.

[PATCH -v4] memblock: Fix section mismatch warnings

2010-09-15 Thread Yinghai Lu
Stephen found bunch of section mismatch warnings with memblock new changes. Use __init_memblock to replace __init in memblock.c and remove __init in memblock.h. We should not use __init in header files. Reported-by: Stephen Rothwell Tested-by: Stephen Rothwell Signed-off-by: Yinghai Lu

Re: [BUG] 2.6.25-rc8-mm1 kernel panic while bootup on powerpc

2008-04-02 Thread Yinghai Lu
On Wed, Apr 2, 2008 at 12:22 PM, Badari Pulavarty <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-04-02 at 18:17 +1100, Michael Ellerman wrote: > > On Wed, 2008-04-02 at 12:38 +0530, Kamalesh Babulal wrote: > > > Andrew Morton wrote: > > > > On Wed, 02 Apr 2008 11:55:36 +0530 Kamalesh Babulal <[EMAI

Re: [BUG] 2.6.25-rc8-mm1 kernel panic while bootup on powerpc

2008-04-02 Thread Yinghai Lu
On Wed, Apr 2, 2008 at 12:22 PM, Badari Pulavarty <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-04-02 at 18:17 +1100, Michael Ellerman wrote: > > On Wed, 2008-04-02 at 12:38 +0530, Kamalesh Babulal wrote: > > > Andrew Morton wrote: > > > > On Wed, 02 Apr 2008 11:55:36 +0530 Kamalesh Babulal <[EMAI

[PATCH] mm: allocate usemap at first instead of mem_map in sparse_init

2008-04-02 Thread Yinghai Lu
> >> [0.00] Kernel panic - not syncing: Attempted to kill the idle > task! > > mm-make-mem_map-allocation-continuous.patch > and its friends in -mm. > > You have to call sparse_init_one_section() on each pmap and usemap > as we allocate - since valid_

Re: [PATCH] mm: allocate usemap at first instead of mem_map in sparse_init

2008-04-02 Thread Yinghai Lu
On Wed, Apr 2, 2008 at 3:52 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Wed, 2 Apr 2008 15:25:48 -0700 Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > [PATCH] mm: allocate usemap at first instead of mem_map in sparse_init > > > > on powerpc, > >

  1   2   >