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-

[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 le...@freescale.com --- Add more detailed commit message

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 drian.bog...@freescale.com Signed-off-by: Roy Zang

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 le...@freescale.com

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 kai.ji...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Lan

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 kai.ji...@freescale.com Signed-off-by: Kumar

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 to

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 space...

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

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 le...@freescale.com Also make 74xx HID1 definition conditional. Signed-off-by: Li Yang le...@freescale.com Signed-off-by: Shaohui Xie b21...@freescale.com Cc: Li Yang le...@freescale.com Cc: Kumar Gala

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 Cc:

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 b21...@freescale.com Cc: Li Yang le...@freescale.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Roy Zang tie-fei.z...@freescale.com Cc: Alexandre Bounine alexandre.boun...@idt.com --- arch/powerpc/kernel/traps.c

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-by:

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 b21...@freescale.com Cc: Li Yang le...@freescale.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Roy Zang tie-fei.z...@freescale.com Cc: Alexandre Bounine alexandre.boun...@idt.com ---

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 ga...@kernel.crashing.org 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

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 kumar.g...@freescale.com 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)

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

2010-11-11 Thread Alexander Shishkin
Signed-off-by: Alexander Shishkin virtu...@slind.org CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Paul Mackerras pau...@samba.org CC: Andrew Morton a...@linux-foundation.org CC: Andreas Schwab sch...@linux-m68k.org CC: Alexander Shishkin virtu...@slind.org CC: Christoph Hellwig

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

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 buffer for it

[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 jkeni...@us.ibm.com --- arch/powerpc/platforms/pseries/nvram.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[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 jkeni...@us.ibm.com --- arch/powerpc/kernel/nvram_64.c | 26 -- 1 files changed, 8 insertions(+), 18 deletions(-) diff --git a/arch/powerpc/kernel/nvram_64.c