RE: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Xie Shaohui-B21989
Best Regards, Shaohui Xie > -Original Message- > From: Bounine, Alexandre [mailto:alexandre.boun...@idt.com] > Sent: Thursday, November 11, 2010 6:55 AM > To: Xie Shaohui-B21989; a...@linux-foundation.org > Cc: linux-ker...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yang- > R

[PATCH v2] fsldma: add support to 36-bit physical address

2010-11-11 Thread Li Yang
Expand the dma_mask of fsldma device to 36-bit, indicating that the DMA engine can deal with 36-bit physical address and does not need the SWIOTLB to create bounce buffer for it when doing dma_map_*(). Signed-off-by: Li Yang --- Add more detailed commit message drivers/dma/fsldma.c |4 +++-

Re: [PATCH] Add Freescale CodeWarrior debug support for kernel

2010-11-11 Thread Kumar Gala
On Oct 28, 2010, at 3:50 AM, Roy Zang wrote: > CodeWarrior is popular embedded tools to support debugging Powerpc. > This patch adds Freescale CodeWarrior debug support for Linux kernel on > 85xx/QorIQ platform. > > Signed-off-by: Bogdan Adrin > Signed-off-by: Roy Zang > --- > arch/powerpc/Kco

Re: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 6:16 AM, Li Yang wrote: > Expand the dma_mask of fsldma device to 36-bit, indicating that the > DMA engine can deal with 36-bit physical address and does not need > the SWIOTLB to create bounce buffer for it when doing dma_map_*(). > > Signed-off-by: Li Yang > --- > Add more

Re: [PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-11 Thread Kumar Gala
On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote: > We need to get the pci controller created as an of platform device to > allow the EDAC driver to bind to it on P4080DS. > > Signed-off-by: Kai.Jiang > Signed-off-by: Kumar Gala > Signed-off-by: Lan Chunhe > --- > arch/powerpc/platforms/85xx/cor

Re: [PATCH 3/3] powerpc/85xx: Update of_platform_bus_probe list to include PCI controller

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 5:59 AM, Kumar Gala wrote: > > On Nov 5, 2010, at 12:28 AM, Lan Chunhe wrote: > >> We need to get the pci controller created as an of platform device to >> allow the EDAC driver to bind to it on P4080DS. >> >> Signed-off-by: Kai.Jiang >> Signed-off-by: Kumar Gala >> Signe

Re: [PATCH 1/3] edac: Use ccsr_pci structure instead of hardcoded define

2010-11-11 Thread Kumar Gala
On Nov 4, 2010, at 10:23 PM, Lan Chunhe wrote: > There are some differences of register offset and definition between > pci and pcie error management registers. While, some other pci/pcie > error management registers are nearly the same. > > To merge pci and pcie edac code into one, it is easier

Re: [REPOST] [PATCH 0/6] fixes and MPC8308 support for the mpc512x_dma driver

2010-11-11 Thread Wolfgang Denk
Dear Ilya Yanok, In message <1288137180-3220-1-git-send-email-ya...@emcraft.com> you wrote: > Hello everybody, > > meanwhile I've fixed one more issue in mpc512x_dma driver. > > Any comments? Anybody interrested in this driver? Piotr? > > Still unsure how to deal with bitfield structures in IO

Re: [REPOST][PATCH] mpc8308: fix USB DR controller initialization

2010-11-11 Thread Wolfgang Denk
Dear Ilya Yanok, In message <1288137756-3389-1-git-send-email-ya...@emcraft.com> you wrote: > MPC8308 has ULPI pin muxing settings in SICRH register, bits 17-18 > which is different from both MPC8313 and MPC8315. > Also MPC8308 doesn't have REFSEL, UTMI_PHY_EN and OTG_PORT fields > in the USB DR c

Re: [PATCH 1/4][v2] powerpc: add e500 HID1 bit definition

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:35 AM, Shaohui Xie wrote: > From: Li Yang > > Also make 74xx HID1 definition conditional. > > Signed-off-by: Li Yang > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > These patches have been send for almost one

Re: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Kumar Gala
On Nov 11, 2010, at 4:19 AM, Xie Shaohui-B21989 wrote: > > > > Best Regards, > Shaohui Xie > > >> -Original Message- >> From: Bounine, Alexandre [mailto:alexandre.boun...@idt.com] >> Sent: Thursday, November 11, 2010 6:55 AM >> To: Xie Shaohui-B21989; a...@linux-foundation.org >> C

Re: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:36 AM, Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > arch/powerpc/kernel/traps.c | 14 +- > arch/powerpc/sysdev/fsl_rio.c | 15 +++ > include/linux/rio.h

Re: [REPOST][PATCH] mpc8308: fix USB DR controller initialization

2010-11-11 Thread Kumar Gala
On Oct 26, 2010, at 7:02 PM, Ilya Yanok wrote: > MPC8308 has ULPI pin muxing settings in SICRH register, bits 17-18 > which is different from both MPC8313 and MPC8315. > Also MPC8308 doesn't have REFSEL, UTMI_PHY_EN and OTG_PORT fields > in the USB DR controller CONTROL register. > > Signed-off-

Re: [PATCH 2/4][v2] fsl_rio: fix non-standard HID1 register access

2010-11-11 Thread Kumar Gala
On Nov 3, 2010, at 4:36 AM, Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > Cc: Li Yang > Cc: Kumar Gala > Cc: Roy Zang > Cc: Alexandre Bounine > --- > arch/powerpc/kernel/cpu_setup_fsl_booke.S |6 ++ > arch/powerpc/sysdev/fsl_rio.c |2 -- > 2 files changed, 6 inserti

RE: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Bounine, Alexandre
Kumar Gala wrote: > > [Xie Shaohui-B21989] Hi Alex, seems your suggestion is some kind of > > conflict with Kumar, you can have a look at > > http://patchwork.ozlabs.org/patch/67774/ > > I think Alex's comment is the fact we ignore the 'return' value in the machine_check_e500 case. Yes, this one

RE: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

2010-11-11 Thread Bounine, Alexandre
Kumar Gala wrote: > > @@ -527,8 +535,12 @@ int machine_check_e500(struct pt_regs *regs) > > To deal w/Alex's comment do: > > machine_check_e500(...) { > > int ret = 0; > > > > printk("Bus - Write Address Error\n"); > > if (reason & MCSR_BUS_IBERR) > > printk(

[PATCHv6 6/7] wire up sys_time_change_notify() on powerpc

2010-11-11 Thread Alexander Shishkin
Signed-off-by: Alexander Shishkin CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Andrew Morton CC: Andreas Schwab CC: Alexander Shishkin CC: Christoph Hellwig CC: Jesper Nilsson CC: linuxppc-dev@lists.ozlabs.org CC: linux-ker...@vger.kernel.org --- arch/powerpc/include/asm/systbl.h |

setuid() libc function hang on Freescale P1020 RDB

2010-11-11 Thread xuan zhao
Hi GURUs I am working on application based on Freescale P1020 SDK. But for some reasons, my application hangs in setuid(0). The Freescale P1020 SDK is using this toolchain: gcc-4.3.74-eglibc-2.8.74-dp-2 and the kernel is also from SDK: linux-2.6.31. The thr

Re: Can't boot benh/powerpc.git kernel

2010-11-11 Thread Jim Keniston
On Thu, 2010-11-11 at 09:06 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2010-11-10 at 11:54 -0800, Jim Keniston wrote: > > I got Ben's linux/kernel/git/benh/powerpc.git source and built it > > (.config file attached*). It hangs on boot. When I boot it with > > loglevel=8, its last words are: >

Re: Can't boot benh/powerpc.git kernel

2010-11-11 Thread Benjamin Herrenschmidt
On Thu, 2010-11-11 at 16:07 -0800, Jim Keniston wrote: > I built from Linus's git tree, and that kernel doesn't boot, either. > (It doesn't hang, but rather panics during boot. I can provide a > console log if you like.) > > v2.6.36 and v2.6.37-rc1 boot fine for me. I'll post my nvram-related >

RE: [PATCH v2] fsldma: add support to 36-bit physical address

2010-11-11 Thread Li Yang-R58472
>Subject: Re: [PATCH v2] fsldma: add support to 36-bit physical address > > >On Nov 11, 2010, at 6:16 AM, Li Yang wrote: > >> Expand the dma_mask of fsldma device to 36-bit, indicating that the >> DMA engine can deal with 36-bit physical address and does not need the >> SWIOTLB to create bounce buf

[PATCH 0/4] More ppc64 nvram code cleanup

2010-11-11 Thread Jim Keniston
This series contains some fixups to Ben Herrenschmidt's Aug. 2 patch set, "[RFC] Clean up ppc64 nvram code" -- http://lists.ozlabs.org/pipermail/linuxppc-dev/2010-August/084601.html These patches apply atop Ben's 11-patch series. --- Jim Keniston (4): Handle partition names >= 12 chars

[PATCH 1/4] Fix powerpc nvram init order

2010-11-11 Thread Jim Keniston
Don't run pseries_nvram_init_log_partition() until after the partition list has been initialized. Fixes a boot-time crash. Signed-off-by: Jim Keniston --- arch/powerpc/platforms/pseries/nvram.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/pse

[PATCH 3/4] Fix NVRAM partition list setup

2010-11-11 Thread Jim Keniston
Simplify creation and use of the NVRAM partition list. Signed-off-by: Jim Keniston --- arch/powerpc/kernel/nvram_64.c | 26 -- 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powerpc/kernel/nvram_64.c index d467f8c.

[PATCH 4/4] Handle partition names >= 12 chars

2010-11-11 Thread Jim Keniston
The name field in the nvram_header can be < 12 chars, null-terminated, or 12 chars without the null. Handle this safely. Signed-off-by: Jim Keniston --- arch/powerpc/kernel/nvram_64.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/nvram_64.c b/

[PATCH 2/4] Fix nvram_create_partition() arg order

2010-11-11 Thread Jim Keniston
Use the correct arg order when calling nvram_create_partition(). Signed-off-by: Jim Keniston --- arch/powerpc/platforms/pseries/nvram.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/pseries/nvram.c b/arch/powerpc/platforms/pseries/nvram.c