RE: unsubscribe

2009-01-06 Thread Decherf, Patrick
Please unsubscribe me, thanks! DISCLAIMER: Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the

RE: unsubscribe

2009-01-06 Thread Rustagi, Vikas
Please unsubscribe me...thanks DISCLAIMER: Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not t

mpc5200 ATA DMA

2009-01-06 Thread Peter Czanik
Hello, I did a few tests this morning with the new DMA code on the EFIKA and got the following results: - libata.force=udma2 SCSI subsystem initialized ata: MPC52xx IDE/ATA libata driver

unsubscribe

2009-01-06 Thread santhoshunnikrishnan
Please unsubscribe me, thanks! The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you shoul

Re: [PATCH/RFC] sysfs cache code rewrite

2009-01-06 Thread Benjamin Herrenschmidt
> I don't know quite the detail of the new cpumask stuff ... It could be > as simple as passing a pointer instead of the value in the > cpumask_scnprintf call though... Actually, I'll do more tests and if that ends up being the only needed change, I'll push your patch with that small change out t

Re: [PATCH/RFC] sysfs cache code rewrite

2009-01-06 Thread Benjamin Herrenschmidt
On Tue, 2009-01-06 at 15:25 -0600, Nathan Lynch wrote: > Please unsubscribe me from... wait, that's not what I meant to say. > > Any thoughts or questions on this one? I posted this right before the > holidays so my feelings aren't hurt by the lack of response (yet!) > > To summarize why I think

unsubscribe

2009-01-06 Thread zhou . yutao
Please unsubscribe me, thanks! ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org 深圳中兴力维技术有限公司 地址:深圳市高新区科技南一路W1-A二楼 电话:0755-26525674-8509(办公室) AKS 发件人: linuxppc-dev-bounces+zhou.yutao=zte.com...@ozlabs.org 2009-01-07 14:32 收件人 Linuxppc-dev@o

Please unsubscribe me, thanks!

2009-01-06 Thread 余俊
Please unsubscribe me, thanks! ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

unsubscribe

2009-01-06 Thread AKS
Please unsubscribe me, thanks! ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

unscribeme

2009-01-06 Thread jayaseela
please unscribe me Thanks jaya This Mail is scanned for viruses, worms and Spams by ECNET IMSS.___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[patch] Possible fix for kexec-tools dynamic range allocation

2009-01-06 Thread Michael Ellerman
Hi all, The patch to dynamically allocate memory regions for ppc64 kexec-tools, ie. "ppc64: kexec memory ranges dynamic allocation" (d182ce5), has never worked AFAICT. Chandru reported it as broken when it was posted: http://lists.infradead.org/pipermail/kexec/2008-October/002751.html Still, it'

Re: [PATCH] powerpc/cell: fix the prototype of create_vma_map

2009-01-06 Thread Stephen Rothwell
On Wed, 07 Jan 2009 14:34:59 +1100 Benjamin Herrenschmidt wrote: > > On Wed, 2009-01-07 at 10:58 +1100, Stephen Rothwell wrote: > > Signed-off-by: Stephen Rothwell > > --- > > arch/powerpc/oprofile/cell/pr_util.h |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > Arnd, I'm not

Re: [PATCH 2/4] powerpc/32: Make clear_fixmap actually work

2009-01-06 Thread Kumar Gala
On Dec 29, 2008, at 10:40 AM, Anton Vorontsov wrote: The clear_fixmap() routine issues map_page() with flags set to 0. Currently this causes a BUG_ON() inside the map_page(), as it assumes that a PTE should be clear before mapping. This patch makes the map_page() to trigger the BUG_ON() only i

Re: [PATCH 7/7] powerpc/64/kdump: Use ppc_save_regs() in crash_setup_regs()

2009-01-06 Thread Benjamin Herrenschmidt
On Wed, 2009-01-07 at 07:04 +0300, Anton Vorontsov wrote: > AFAICS it saves r1: > >PPC_STL r0,0*SZL(r3) >PPC_STL r2,2*SZL(r3) >PPC_STL r3,3*SZL(r3) >... >/* go up one stack frame for SP */ >PPC_LL r4,0(r1) >PPC_STL r4,1*SZL(r3) > > This fac

[PATCH] powerpc: Export cacheable_memzero as its now used in a driver

2009-01-06 Thread Kumar Gala
The Freescale PowerPC specific gianfar driver (gig-e) uses cacheable_memzero for performance reasons we need to export the symbol to allow the driver to be built as a module. Signed-off-by: Kumar Gala --- arch/powerpc/kernel/ppc_ksyms.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

Re: [PATCH 0/6] USB: Fixes for fsl_qe_udc driver

2009-01-06 Thread Greg KH
On Tue, Jan 06, 2009 at 10:44:13PM -0600, Kumar Gala wrote: > > On Dec 25, 2008, at 8:14 AM, Anton Vorontsov wrote: > >> Hi all, >> >> Just resending some fixes that seem to be lost... > > Greg, > > What happened w/this patch set? As it was sent during the hollidays (on Christmas day at that), it'

[PATCH] powerpc: enable dynamic ftrace

2009-01-06 Thread Steven Rostedt
The PowerPC changes are now in mainline, you can now enable dynamic ftrace on PowerPC. The following patch is in: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git branch: ppc/ftrace-enable Steven Rostedt (1): powerpc: enable dynamic ftrace arch/powe

Re: [PATCH 0/6] USB: Fixes for fsl_qe_udc driver

2009-01-06 Thread Kumar Gala
On Dec 25, 2008, at 8:14 AM, Anton Vorontsov wrote: Hi all, Just resending some fixes that seem to be lost... Greg, What happened w/this patch set? - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linu

Re: [PATCH 2/2] POWERPC/fsl-pci: Set relaxed ordering on prefetchable ranges

2009-01-06 Thread Kumar Gala
On Dec 17, 2008, at 1:43 PM, Trent Piepho wrote: Provides a small speedup when accessing pefetchable ranges. To indicate that a memory range is prefetchable, mark it in the dts file with 4200 instead of 0200. A powepc pci_controller is allowed three memory ranges, any of which m

Re: [PATCH 1/2] POWERPC/fsl-pci: Better ATMU setup

2009-01-06 Thread Kumar Gala
On Dec 17, 2008, at 1:43 PM, Trent Piepho wrote: The code that sets up the outbound ATMU windows, which is used to map CPU physical addresses into PCI bus addresses where BARs will be mapped, didn't work so well. For one, it leaked the ioremap() of the ATMU registers. Another small bug

Re: [PATCH 0/7] OpenFirmware support for the spi_mpc83xx driver

2009-01-06 Thread Kumar Gala
On Dec 5, 2008, at 2:09 PM, Anton Vorontsov wrote: Hi all, The patch series are used to support SPI via the OF SPI subsystem (driver/of/of_spi.c). Now the driver is able to manage its own chip selects, and doesn't need any auxiliary support from the board files or fsl_soc constructors. The se

Re: [PATCH 1/2] watchdog: Basic support for GE Fanuc's FPGA based watchdog timer

2009-01-06 Thread Kumar Gala
On Nov 10, 2008, at 6:31 AM, Martyn Welch wrote: GE Fanuc SBC610 Support for the FPGA based watchdog timer as found on GE Fanuc's SBC310, SBC610 and PPC9A Single Board Computers. This patch adds support for the watchdog timer found in one of the devices FPGAs. There are two identical wat

Re: [PATCH] powerpc: add Ethernet UPSMR definitions to QE library

2009-01-06 Thread Kumar Gala
On Jan 6, 2009, at 5:12 PM, Timur Tabi wrote: Add the UCC_GETH_UPSMR_xxx definitions to qe.h. The ucc_geth driver will eventually use these instead of the UPSMR_ macros it currently defines. Signed-off-by: Timur Tabi --- arch/powerpc/include/asm/qe.h | 19 ++- 1 files ch

Re: [PATCH v2] serial: add support for the cell network processor NWP device

2009-01-06 Thread Andrew Morton
On Wed, 07 Jan 2009 14:08:14 +1100 Benjamin Herrenschmidt wrote: > On Mon, 2008-11-24 at 14:53 +0100, Arnd Bergmann wrote: > > From: Benjamin Krill > > > > Add support for the nwp serial device which is connected to a DCR bus. It > > uses the of_serial device driver to determine necessary prop

Re: [PATCH 7/7] powerpc/64/kdump: Use ppc_save_regs() in crash_setup_regs()

2009-01-06 Thread Anton Vorontsov
On Wed, Jan 07, 2009 at 02:16:05PM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2008-12-17 at 23:09 +0300, Anton Vorontsov wrote: > > The patch replaces internal registers dump implementation with > > ppc_save_regs(). From now on PPC64 and PPC32 are using the same > > code for crash_setup_regs().

[PATCH] powerpc: Fix missing semicolons in mmu_decl.h

2009-01-06 Thread Benjamin Herrenschmidt
This is a brown paper bag from one of my earlier patches that breaks build on 40x and 8xx. And yes, I've now added 40x and 8xx to my list of test configs :-) Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/mm/mmu_decl.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---

Re: The usage of compatible 'simple-bus'

2009-01-06 Thread Li Yang
On Wed, Jan 7, 2009 at 10:00 AM, David Gibson wrote: > On Tue, Jan 06, 2009 at 01:46:21PM +0800, Li Yang wrote: >> > -Original Message- >> > From: >> > devicetree-discuss-bounces+leoli=freescale@ozlabs.org >> > [mailto:devicetree-discuss-bounces+leoli=freescale@ozlabs. >> > org] On

Linux on Memec Virtex4 FX12 Minimodule

2009-01-06 Thread Pawel P. Kusmierski
Dear friends, I have a following problem: I'm trying to boot linux kernel on a PowerPC405 inside a Virtex4 FX12 sitting on an Avnet/Memec FX12 Mini Module plugged into its mother board. I was able to go as far as booting the kernel, mounting a nfs root, as well as an ext2 one sitting on a sysace C

Re: [PATCH] powerpc/cell: fix the prototype of create_vma_map

2009-01-06 Thread Benjamin Herrenschmidt
On Wed, 2009-01-07 at 10:58 +1100, Stephen Rothwell wrote: > Signed-off-by: Stephen Rothwell > --- > arch/powerpc/oprofile/cell/pr_util.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Arnd, I'm not too sure about this one, what do you think ? Shouldn't the objectid be a u64 and t

Re: [PATCH] powerpc: add Ethernet UPSMR definitions to QE library

2009-01-06 Thread Timur Tabi
On Tue, Jan 6, 2009 at 9:21 PM, Kumar Gala wrote: > > is there some reason to move the defines into this file? For consistency. Similar definitions for UART are already in this file. -- Timur Tabi Linux kernel developer at Freescale ___ Linuxppc-dev

Re: The usage of compatible 'simple-bus'

2009-01-06 Thread Grant Likely
On Tue, Jan 6, 2009 at 7:00 PM, David Gibson wrote: > As Grant says, you're thinking about what drivers will do with things > rather than what the actual hardware setup is, which is what the > device tree should describe. > > I see two sensible options for this situation: >- Move the MDIO

Re: [PATCH] powerpc: add Ethernet UPSMR definitions to QE library

2009-01-06 Thread Kumar Gala
On Jan 6, 2009, at 5:12 PM, Timur Tabi wrote: Add the UCC_GETH_UPSMR_xxx definitions to qe.h. The ucc_geth driver will eventually use these instead of the UPSMR_ macros it currently defines. Signed-off-by: Timur Tabi --- arch/powerpc/include/asm/qe.h | 19 ++- 1 files ch

Re: [PATCH 7/7] powerpc/64/kdump: Use ppc_save_regs() in crash_setup_regs()

2009-01-06 Thread Benjamin Herrenschmidt
On Wed, 2008-12-17 at 23:09 +0300, Anton Vorontsov wrote: > The patch replaces internal registers dump implementation with > ppc_save_regs(). From now on PPC64 and PPC32 are using the same > code for crash_setup_regs(). > > NOTE: The old regs dump implementation was capturing SP (r1) directly > as

Re: [PATCH v2] serial: add support for the cell network processor NWP device

2009-01-06 Thread Benjamin Herrenschmidt
On Mon, 2008-11-24 at 14:53 +0100, Arnd Bergmann wrote: > From: Benjamin Krill > > Add support for the nwp serial device which is connected to a DCR bus. It > uses the of_serial device driver to determine necessary properties from > the device tree. The supported device is added as serial port n

linux-powerpc "master" going to be rebased

2009-01-06 Thread Benjamin Herrenschmidt
Just a little warning... I mistakenly did the same merge twice in "next" and "master" resulting in those two branches now drifting for ever which they shouldn't. I'm not going to rebase "next" as I pretty much promised, so I'm going to rebase "master" to point to the same commit as "next". I'll

Re: [PATCH 0/2] oprofile support for ppc750

2009-01-06 Thread Benjamin Herrenschmidt
On Tue, 2009-01-06 at 14:55 +0200, Octavian Purdila wrote: > Adds oprofile support for ppc750. ppc750 performance counters > interface is similar with G4, but it only has 4 performance counters > instead of 6. > > I tested this on a PPC750GX and it seems to work fine. I'm not too sure about usin

Re: [PATCH] ppc64: Enable RELOCATABLE option for CRASH_DUMP

2009-01-06 Thread Benjamin Herrenschmidt
On Mon, 2009-01-05 at 07:28 -0600, Milton Miller wrote: > Mohan wrote: > > > config CRASH_DUMP > > bool "Build a kdump crash kernel" > > - depends on (PPC64 && RELOCATABLE) || 6xx > > + depends on PPC64 || 6xx > > + select RELOCATABLE > > help > > Build

Re: [PATCH kexec-tools 1/5] ppc64: always check number of ranges when adding

2009-01-06 Thread Michael Ellerman
On Fri, 2009-01-02 at 15:04 -0600, Milton Miller wrote: > make the idom "always call realloc_memory_ranges when filling a range entry" > > kexec was core dumping after using 5 exclude_range pairs when only 3 > were allocated. > > also delcare realloc_memory_ranges to take no arguments. > > Signe

unsubscribe

2009-01-06 Thread pravin
___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2009-01-06 Thread Grant Erickson
On 1/6/09 4:04 PM, Benjamin Herrenschmidt wrote: > On Tue, 2008-11-25 at 10:34 -0800, Grant Erickson wrote: >> This merges support for the previously DENX-only kernel feature of >> specifying an alternative, "external" buffer for kernel printk >> messages and their associated metadata. In addition,

Re: The usage of compatible 'simple-bus'

2009-01-06 Thread David Gibson
On Tue, Jan 06, 2009 at 01:46:21PM +0800, Li Yang wrote: > > -Original Message- > > From: > > devicetree-discuss-bounces+leoli=freescale@ozlabs.org > > [mailto:devicetree-discuss-bounces+leoli=freescale@ozlabs. > > org] On Behalf Of David Gibson > > Sent: Tuesday, January 06, 2009

unsubscribe

2009-01-06 Thread Tao Xue
Please unsubscribe me, thanks ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: kernel panics with crashkernel=256M while booting

2009-01-06 Thread Benjamin Herrenschmidt
On Mon, 2008-12-22 at 16:14 +0530, Chandru wrote: > On a ppc64 machine booting linux-2.6.28-rc9 with crashkernel=2...@32m boot > parameter caused the kernel to panic while booting. Follwing is the console > message.. This is a fix to generic code. Can you resubmit it to linux-mm and/or linux-ke

[PATCH] powerpc: cleanup from l64 to ll64 change: drivers/scsi

2009-01-06 Thread Stephen Rothwell
This is a powerpc specific driver. Signed-off-by: Stephen Rothwell --- drivers/scsi/ibmvscsi/ibmvfc.c | 14 +++--- drivers/scsi/ibmvscsi/ibmvfc.h |6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) This patch on its own will generate several warnings - it depends on the

Re: [PATCH v1] Add support for getting device platform data to I2C device

2009-01-06 Thread Benjamin Herrenschmidt
On Thu, 2008-12-18 at 20:49 +0300, Anton Vorontsov wrote: > Exactly, this matters for non-embedded case. Why would I want totally > unneeded I2C bindings built-in into my iBook kernel? ;-) > > >> And the solution that everybody seem to agree with (SPI driver example): > >> http://lkml.org/lkml/20

Re: [PATCH] [POWERPC] pasemi: ioremap/iounmap balance and failure handling

2009-01-06 Thread Benjamin Herrenschmidt
> + > iob_regs = map_onedev(iob_pdev, 0); > + if (iob_regs == NULL) > + printk(KERN_WARNING "pasemi_dma_init: Can't ioremap I/O Bridge > registers\n"); > > dma_pdev = pci_get_device(PCI_VENDOR_ID_PASEMI, 0xa007, NULL); > if (!dma_pdev) { > BUG();

Re: [PATCH] powerpc: cleanup from l64 to ll64 change: drivers/net

2009-01-06 Thread David Miller
From: Stephen Rothwell Date: Wed, 7 Jan 2009 11:40:06 +1100 > These are powerpc specific drivers. > > Signed-off-by: Stephen Rothwell > --- > drivers/net/ehea/ehea_main.c |8 > drivers/net/ehea/ehea_qmr.c | 18 +- > drivers/net/ibmveth.c| 16 --

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Leon Woestenberg
Hello Anton, On Wed, Jan 7, 2009 at 12:42 AM, Anton Vorontsov wrote: > On Tue, Jan 06, 2009 at 11:33:35PM +0100, Leon Woestenberg wrote: >> So to summarize, we need u-boot to initialize the PCIe controller, in >> order for Linux to further take it over. >> >> What u-boot versions/releases do prov

[PATCH] powerpc: cleanup from l64 to ll64 change: drivers/net

2009-01-06 Thread Stephen Rothwell
These are powerpc specific drivers. Signed-off-by: Stephen Rothwell --- drivers/net/ehea/ehea_main.c |8 drivers/net/ehea/ehea_qmr.c | 18 +- drivers/net/ibmveth.c| 16 drivers/net/iseries_veth.c |2 +- 4 files changed, 22 insertio

[PATCH] powerpc: cleanup from powerpc l64 to ll64 change: drivers/infiniband

2009-01-06 Thread Stephen Rothwell
This is a powerpc specific driver. Signed-off-by: Stephen Rothwell --- drivers/infiniband/hw/ehca/ehca_cq.c | 16 ++-- drivers/infiniband/hw/ehca/ehca_hca.c|2 +- drivers/infiniband/hw/ehca/ehca_irq.c| 18 ++-- drivers/infiniband/hw/ehca/ehca_main.c |6 +- drivers/infin

[PATCH] powerpc: cleanup from l64 to ll64 change: drivers/char

2009-01-06 Thread Stephen Rothwell
This is a powerpc specific driver. Signed-off-by: Stephen Rothwell --- drivers/char/bsr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index 977dfb1..f6094ae 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -103,7 +1

[PATCH] powerpc: cleanup from l64 to ll64 change: arch code

2009-01-06 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/kernel/pci_64.c |6 +++--- arch/powerpc/platforms/cell/spufs/coredump.c |2 +- arch/powerpc/platforms/cell/spufs/fault.c|2 +- arch/powerpc/platforms/cell/spufs/file.c |6 +++--- 4 files changed, 8 insertion

[PATCH] powerpc: change u64/s64 to a long long integer type

2009-01-06 Thread Stephen Rothwell
From: Ingo Molnar Convert arch/powerpc/ over to long long based u64: -#ifdef __powerpc64__ -# include -#else -# include -#endif +#include This will avoid reoccuring spurious warnings in core kernel code that comes when people test on their own hardware. (i.e. x86 in ~98% of the cases)

[PATCH] powerpc/pasemi: local_irq_save uses an unsigned long

2009-01-06 Thread Stephen Rothwell
From: Ingo Molnar [Split from a larger patch - sfr] Signed-off-by: Ingo Molnar Signed-off-by: Stephen Rothwell --- arch/powerpc/platforms/pasemi/cpufreq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/pasemi/cpufreq.c b/arch/powerpc/platforms

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2009-01-06 Thread Benjamin Herrenschmidt
On Tue, 2008-11-25 at 10:34 -0800, Grant Erickson wrote: > This merges support for the previously DENX-only kernel feature of > specifying an alternative, "external" buffer for kernel printk > messages and their associated metadata. In addition, this ports > architecture support for this feature fr

[PATCH] powerpc/cell: fix some types

2009-01-06 Thread Stephen Rothwell
From: Ingo Molnar in/out_be64() work on u64s. The first parameter to ppc_md.ioremap is a phys_addr_t. [Split out from a large patch - sfr] [A couple of updates - sfr] Signed-off-by: Ingo Molnar Signed-off-by: Stephen Rothwell --- arch/powerpc/platforms/cell/interrupt.c |2 +- arch/p

[PATCH] powerpc/cell: use correct types in beat files

2009-01-06 Thread Stephen Rothwell
From: Ingo Molnar Only pass the address of a u64 if that is what the function requires. [Split out of a larger patch - sfr] [update comment - sfr] Signed-off-by: Ingo Molnar Signed-off-by: Stephen Rothwell --- arch/powerpc/platforms/cell/beat_htab.c | 21 +++-- arch/powerpc/

[PATCH] powerpc/cell: fix the prototype of create_vma_map

2009-01-06 Thread Stephen Rothwell
Signed-off-by: Stephen Rothwell --- arch/powerpc/oprofile/cell/pr_util.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/oprofile/cell/pr_util.h b/arch/powerpc/oprofile/cell/pr_util.h index 628009c..dfdbffa 100644 --- a/arch/powerpc/oprofile/cell/pr_util.h

[PATCH] powerpc: use correct type in prom_init.c

2009-01-06 Thread Stephen Rothwell
From: Ingo Molnar tce_entryp is a "u64 *" not an "unsigned long *". [Split from a large patch -sfr] Signed-off-by: Ingo Molnar Signed-off-by: Stephen Rothwell --- arch/powerpc/kernel/prom_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/prom

[PATCH] powerpc: remove unnecessary casts

2009-01-06 Thread Stephen Rothwell
of_get_flat_dt_prop() returns a "void *", so we don't need to cast when assigning its result to a pointer variable. --- arch/powerpc/kernel/prom.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) This will help when we to the l64 to ll64 switch as well. diff --git a/arch/p

Re: [PATCH] powerpc: check crash_base for relocatable kernel

2009-01-06 Thread Michael Ellerman
On Fri, 2009-01-02 at 14:46 -0600, Milton Miller wrote: > @@ -94,10 +95,35 @@ void __init reserve_crashkernel(void) > KDUMP_KERNELBASE); > > crashk_res.start = KDUMP_KERNELBASE; > +#else > + if (!crashk_res.start) { > + /* > + * uns

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 11:33:35PM +0100, Leon Woestenberg wrote: > Hello Anton, > > On Tue, Jan 6, 2009 at 10:15 PM, Anton Vorontsov > wrote: > > On Tue, Jan 06, 2009 at 02:38:57PM -0600, Kumar Gala wrote: > Is u-boot PCIe initialization required for this kernel patch to work? > >>> > >>> Y

Re: [PATCH] Documentation: fix mdio-gpio name in booting-without-of.txt

2009-01-06 Thread Benjamin Herrenschmidt
On Mon, 2008-11-17 at 16:32 +0200, Paulius Zaleckas wrote: > Signed-off-by: Paulius Zaleckas > --- > > Documentation/powerpc/booting-without-of.txt |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > > diff --git a/Documentation/powerpc/booting-without-of.txt > b/Documentation/p

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Benjamin Herrenschmidt
> I'm not sure if this should be changed in the mainline. This card works > out of the box when used with a generic x86 PC, but not when used with > a sequoia. But, maybe it's just me climbing the PPC learning curve. Nah, I think 256M is ridiculously small :-) I think the .dts for that board sh

[PATCH] powerpc: add Ethernet UPSMR definitions to QE library

2009-01-06 Thread Timur Tabi
Add the UCC_GETH_UPSMR_xxx definitions to qe.h. The ucc_geth driver will eventually use these instead of the UPSMR_ macros it currently defines. Signed-off-by: Timur Tabi --- arch/powerpc/include/asm/qe.h | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Leon Woestenberg
Hello Anton, On Tue, Jan 6, 2009 at 10:15 PM, Anton Vorontsov wrote: > On Tue, Jan 06, 2009 at 02:38:57PM -0600, Kumar Gala wrote: Is u-boot PCIe initialization required for this kernel patch to work? >>> >>> Yup. >> >> Really? what for? > > Hm. U-Boot should initialize SerDes and PCI-E con

Re: Lock-up on PPC64

2009-01-06 Thread malc
On Wed, 7 Jan 2009, Benjamin Herrenschmidt wrote: As you wish :) I've written some ad-hoc stuff in the failing path which manually triggers sysrq and then sends the klogctl output via network and here it is: Allright, something's unclear to me. What do you mean by the system goes down then ?

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Steven A. Falco
Benjamin Herrenschmidt wrote: > On Tue, 2009-01-06 at 16:38 -0500, Steven A. Falco wrote: >> But this has no effect on Linux. So, I also changed the sequoia.dts >> to make the outbound range larger, and now Linux is happy too. I now >> have ranges for the device: >> >> # cat :01:00.0/resource

Re: [PATCH] gianfar: ensure ECNTRL[R100] is cleared on link state change

2009-01-06 Thread David Miller
From: Andy Fleming Date: Tue, 6 Jan 2009 14:56:25 -0600 > > On Jan 6, 2009, at 2:52 PM, Kumar Gala wrote: > > > From: Leo Li > > > > When changing the link between 100Mbps and 1Gbps in SGMII mode it was > > found out that the link would stop working. The issue is that ECNTRL[R100] > > needs t

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Benjamin Herrenschmidt
On Tue, 2009-01-06 at 16:38 -0500, Steven A. Falco wrote: > But this has no effect on Linux. So, I also changed the sequoia.dts > to make the outbound range larger, and now Linux is happy too. I now > have ranges for the device: > > # cat :01:00.0/resource > 0x00019000 0x00019007

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Steven A. Falco
Steven A. Falco wrote: > Benjamin Herrenschmidt wrote: >>> Here is a complete startup log, with debug turned on as you requested. >>> This is still against 2.6.27.9, as it will take me a little time to >>> build 2.6.28. Hopefully, this log will be useful in the meantime. >> Can you add "debug" to

[patch 0/6] ps3vram driver patches

2009-01-06 Thread Geoff Levand
Hi Ben, This is a set of patches for the ps3vram driver. Patch 1 adds the driver. It has already been reviewed on the cbe-oss-dev ML and has been acked by David Woodhouse, so should be ready to merge. Patch 2 is a minor update to reflect changes to the ps3-system-bus that have been merged into

[patch 4/6] mtd/ps3vram: Cleanup ps3vram driver messages

2009-01-06 Thread Geoff Levand
Cleanup the ps3vram driver messages. Add a new struct device pointer variable dev to struct ps3vram_priv and use dev_dbg(), pr_dbg(), etc. where appropriate. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 116 -- 1 file changed, 68 inser

[patch 1/6] powerpc/ps3: ps3vram driver for accessing video RAM as MTD

2009-01-06 Thread Geoff Levand
From: Jim Paris Add ps3vram driver, which exposes unused video RAM on the PS3 as a MTD device suitable for storage or swap. Fast data transfer is achieved using a local cache in system RAM and DMA transfers via the GPU. CC: Geert Uytterhoeven Signed-off-by: Vivien Chappelier Signed-off-by: Ji

[patch 3/6] mtd/ps3vram: Remove ps3vram debug routines

2009-01-06 Thread Geoff Levand
Remove the ps3vram debug routines ps3vram_dump_ring() and ps3vram_dump_reports(). These routines are not needed. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 29 - 1 file changed, 29 deletions(-) --- a/drivers/mtd/devices/ps3vram.c +++ b/drivers

[patch 6/6] mtd/ps3vram: Use msleep in waits

2009-01-06 Thread Geoff Levand
Replace the use of udelay() with msleep() in the looping wait routines ps3vram_notifier_wait() and ps3vram_wait_ring(). Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 36 ++-- 1 file changed, 14 insertions(+), 22 deletions(-) --- a/drivers/mtd/

[patch 5/6] mtd/ps3vram: Use kernel types

2009-01-06 Thread Geoff Levand
Replace the use of stdint.h types with kernel types in the ps3vram driver. Signed-off-by: Geoff Levand --- drivers/mtd/devices/ps3vram.c | 56 ++ 1 file changed, 30 insertions(+), 26 deletions(-) --- a/drivers/mtd/devices/ps3vram.c +++ b/drivers/mtd/dev

[patch 2/6] powerpc/ps3: Add modalias support to the ps3vram driver

2009-01-06 Thread Geoff Levand
From: Geert Uytterhoeven Update ps3vram driver to use the new ps3 three id modalias support. Signed-off-by: Geert Uytterhoeven Signed-off-by: Geoff Levand --- arch/powerpc/include/asm/ps3.h |1 + drivers/mtd/devices/ps3vram.c |1 + 2 files changed, 2 insertions(+) --- a/arch/powerpc

Re: [PATCH/RFC] sysfs cache code rewrite

2009-01-06 Thread Nathan Lynch
Please unsubscribe me from... wait, that's not what I meant to say. Any thoughts or questions on this one? I posted this right before the holidays so my feelings aren't hurt by the lack of response (yet!) To summarize why I think this should go in 2.6.29: - Userspace will now be able to determin

Re: Lock-up on PPC64

2009-01-06 Thread Benjamin Herrenschmidt
> As you wish :) I've written some ad-hoc stuff in the failing path which > manually triggers sysrq and then sends the klogctl output via network > and here it is: Allright, something's unclear to me. What do you mean by the system goes down then ? The kernel appears to be working at least to a

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 02:38:57PM -0600, Kumar Gala wrote: [...] > Why? Unless the BSP u-boots do something insane, I think we > should try > to have the upstream kernel boot on the u-boot that comes on the > board > (it's not nice to require users to reflash unnecessarily

Re: [PATCH] gianfar: ensure ECNTRL[R100] is cleared on link state change

2009-01-06 Thread Andy Fleming
On Jan 6, 2009, at 2:52 PM, Kumar Gala wrote: From: Leo Li When changing the link between 100Mbps and 1Gbps in SGMII mode it was found out that the link would stop working. The issue is that ECNTRL[R100] needs to be cleared when in 1Gbps mode. Older reference manuals didn't require the

[PATCH] gianfar: ensure ECNTRL[R100] is cleared on link state change

2009-01-06 Thread Kumar Gala
From: Leo Li When changing the link between 100Mbps and 1Gbps in SGMII mode it was found out that the link would stop working. The issue is that ECNTRL[R100] needs to be cleared when in 1Gbps mode. Older reference manuals didn't require the explicitly clearing but has since been found it that i

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Kumar Gala
On Jan 6, 2009, at 1:27 PM, Anton Vorontsov wrote: On Tue, Jan 06, 2009 at 07:53:57PM +0100, Leon Woestenberg wrote: Hello Anton, On Mon, Jan 5, 2009 at 7:01 PM, Anton Vorontsov wrote: On Mon, Jan 05, 2009 at 11:46:45AM -0600, Scott Wood wrote: Why? Unless the BSP u-boots do something in

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Steven A. Falco
Benjamin Herrenschmidt wrote: > >> Here is a complete startup log, with debug turned on as you requested. >> This is still against 2.6.27.9, as it will take me a little time to >> build 2.6.28. Hopefully, this log will be useful in the meantime. > > Can you add "debug" to your kernel command lin

Re: [PATCH] powerpc/8313erdb: fix kernel crash

2009-01-06 Thread Kumar Gala
On Jan 5, 2009, at 1:27 PM, Scott Wood wrote: On Mon, Jan 05, 2009 at 10:25:08AM -0600, Kumar Gala wrote: On Jan 5, 2009, at 4:47 AM, Li Yang wrote: Probe the new mdio node added by b31a1d8b. Fix kernel panic problem when gianfar driver wants to get the of_platform_device of that mdio. Si

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Anton Vorontsov
On Tue, Jan 06, 2009 at 07:53:57PM +0100, Leon Woestenberg wrote: > Hello Anton, > > On Mon, Jan 5, 2009 at 7:01 PM, Anton Vorontsov > wrote: > > On Mon, Jan 05, 2009 at 11:46:45AM -0600, Scott Wood wrote: > >> > >> Why? Unless the BSP u-boots do something insane, I think we should try > >> to h

Re: [PATCH v2 4/4] powerpc/83xx: Add PCI-E support for all MPC83xx boards with PCI-E

2009-01-06 Thread Leon Woestenberg
Hello Anton, On Mon, Jan 5, 2009 at 7:01 PM, Anton Vorontsov wrote: > On Mon, Jan 05, 2009 at 11:46:45AM -0600, Scott Wood wrote: >> >> Why? Unless the BSP u-boots do something insane, I think we should try >> to have the upstream kernel boot on the u-boot that comes on the board >> (it's not ni

Re: [PATCH] ibmveth: use consistent types

2009-01-06 Thread David Miller
From: Stephen Rothwell Date: Tue, 6 Jan 2009 16:39:08 +1100 > These variables are only used with an interface that just dumps their > values into registers to be passed to the hypervisor. The arguments > to that interface are declared to be "unsigned long", so make these > variables match. The m

Re: [PATCH] net/ehea: use consistant type

2009-01-06 Thread David Miller
From: Stephen Rothwell Date: Tue, 6 Jan 2009 16:34:54 +1100 > ehea_plpar_hcall9() takes an "unsigned long" array to return its results, > so change the arrays we pass to it to match. This is currently only > 64 bit code, so the transformation is actually a noop, but because > ehea_plpar_hcall9()

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Steven A. Falco
Benjamin Herrenschmidt wrote: > >> Here is a complete startup log, with debug turned on as you requested. >> This is still against 2.6.27.9, as it will take me a little time to >> build 2.6.28. Hopefully, this log will be useful in the meantime. > > Can you add "debug" to your kernel command lin

unsubscribe

2009-01-06 Thread hb fei
___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Lock-up on PPC64

2009-01-06 Thread malc
On Tue, 6 Jan 2009, Benjamin Herrenschmidt wrote: On Mon, 2009-01-05 at 19:34 +0300, malc wrote: Before this change (atleast) mono_handle_native_sigsegv was executed (before machine locks-up hard) after the change this code path is never touched. The fact that machine locks up hard and not eve

Re: Trouble moving custom MPC8548 board to U-boot 1.3

2009-01-06 Thread Jon Loeliger
On Tue, 2009-01-06 at 15:28 +0200, Pieter wrote: > Hi all, > > I have spent quite some time trying to move from U-Boot 1.2 to a newer > version.. I am stuck at the initialization of the ram. The ram checksum > fails and gives me a "total memory of 0". (the board has 512MB and work > when booting u

Re: [PATCH] 2.6.28-git4 - powerpc - drivers build fails with !CONFIG_VIOPATH

2009-01-06 Thread Sam Ravnborg
On Tue, Jan 06, 2009 at 09:27:24PM +0530, Kamalesh Babulal wrote: > * Sam Ravnborg [2009-01-06 11:46:19]: > > > Hi Kamalesh > > > > Looks good, small nit below. > > > > > config VIOPATH > > > bool > > > - depends on VIODASD || VIOCD || VIOTAPE || ISERIES_VETH > > > - default y > > > + defaul

Re: [PATCH] Add the of_find_i2c_device_by_node function.

2009-01-06 Thread Jon Smirl
On Tue, Dec 30, 2008 at 3:11 PM, Jon Smirl wrote: > Add the of_find_i2c_device_by_node function. This allows you to follow > a reference in the device tree to an i2c device node and then locate > the linux device instantiated by the device tree. Example use, an i2s > codec controlled by i2c. Did

[PATCH] powerpc/85xx: Fix PCIe error interrupts

2009-01-06 Thread Kumar Gala
The PCIe interrupts for 8544ds and 8572ds were incorrect. The 8572 case was found by Liu Yu. Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/mpc8544ds.dts|4 ++-- arch/powerpc/boot/dts/mpc8572ds.dts|4 ++-- arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts |

Re: [PATCH] 2.6.28-git4 - powerpc - drivers build fails with !CONFIG_VIOPATH

2009-01-06 Thread Kamalesh Babulal
* Sam Ravnborg [2009-01-06 11:46:19]: > Hi Kamalesh > > Looks good, small nit below. > > > config VIOPATH > > bool > > - depends on VIODASD || VIOCD || VIOTAPE || ISERIES_VETH > > - default y > > + default n > > As 'n' is default anyway this line is not needed and I suggest you > sp

Re: [PATCH] powerpc: Fix the ide suspend function in uli1575

2009-01-06 Thread Kumar Gala
On Dec 4, 2008, at 3:34 PM, Kumar Gala wrote: From: Jason Jin The general pci resume code can only restore part of the configuration registers. We need to reconfigure those registers in the FIXUP_RESUME. Signed-off-by: Jason Jin Signed-off-by: Kumar Gala --- arch/powerpc/platforms/fsl_uli1

Re: [QUESTION] 440EPx with PCI to PCIe bridge error

2009-01-06 Thread Steven A. Falco
Benjamin Herrenschmidt wrote: > >> Here is a complete startup log, with debug turned on as you requested. >> This is still against 2.6.27.9, as it will take me a little time to >> build 2.6.28. Hopefully, this log will be useful in the meantime. > > Can you add "debug" to your kernel command lin

  1   2   >