[PATCH] powerpc/hvc_udbg: Don't crash when udbg_putc is NULL

2012-03-14 Thread Benjamin Herrenschmidt
Also while at it, add some help text indicating why you shouldn't enable that driver under normal circumstances Signed-off-by: Benjamin Herrenschmidt --- drivers/tty/hvc/Kconfig|4 drivers/tty/hvc/hvc_udbg.c |8 +++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --

Re: linux-next: manual merge of the devicetree tree with the powerpc tree

2012-03-14 Thread Benjamin Herrenschmidt
On Wed, 2012-03-14 at 09:53 +0800, Gavin Shan wrote: > > +#if defined(CONFIG_EEH) > > > +static inline struct eeh_dev *of_node_to_eeh_dev(struct device_node *dn) > > > +{ > > > + return dn->edev; > > > +} > > > +#endif > > > > Ben, What is this? I don't want the eeh_dev pointer in struct d

[PATCH 2/4] powerpc/85xx: add P1020UTM-PC platform support

2012-03-14 Thread Chang-Ming.Huang
From: Jerry Huang The p1020utm-pc has the similar feature as the p1020rdb. Therefore, p1020utm-pc use the same platform file as the p1/p2 rdb board. Overview of P1020UTM-PC platform: - DDR3 1GB - NOR flash 32MB - I2C EEPROM 256Kb - eTSEC1 (RGMII PHY Atheros AR8021)

[PATCH 3/4] powerpc/85xx: add the P1020MBG-PC DTS support

2012-03-14 Thread Chang-Ming.Huang
From: Jerry Huang Signed-off-by: Jerry Huang --- arch/powerpc/boot/dts/p1020mbg-pc.dtsi| 153 + arch/powerpc/boot/dts/p1020mbg-pc_32b.dts | 89 + arch/powerpc/boot/dts/p1020mbg-pc_36b.dts | 89 + 3 files changed, 331 insertion

[PATCH 1/4] powerpc/85xx: add P1020MBG-PC platform support

2012-03-14 Thread Chang-Ming.Huang
From: Jerry Huang The p1020mbg-pc has the similar feature as the p1020rdb. Therefore, p1020mbg-pc use the same platform file as the p1/p2 rdb board. Overview of P1020MBG-PC platform: - DDR3 2GB - NOR flash 64MB - I2C EEPROM 256Kb - eTSEC1 (RGMII PHY) connected to V

[PATCH 4/4] powerpc/85xx: add the P1020UTM-PC DTS support

2012-03-14 Thread Chang-Ming.Huang
From: Jerry Huang Signed-off-by: Jerry Huang --- arch/powerpc/boot/dts/p1020utm-pc.dtsi| 142 + arch/powerpc/boot/dts/p1020utm-pc_32b.dts | 89 ++ arch/powerpc/boot/dts/p1020utm-pc_36b.dts | 89 ++ 3 files changed, 320 inserti

Re: linux-next: manual merge of the devicetree tree with the powerpc tree

2012-03-14 Thread Gavin Shan
>> > +#if defined(CONFIG_EEH) >> > > +static inline struct eeh_dev *of_node_to_eeh_dev(struct device_node >> > > *dn) >> > > +{ >> > > + return dn->edev; >> > > +} >> > > +#endif >> > >> > Ben, What is this? I don't want the eeh_dev pointer in struct >> > device_node. Up to >> > now we'

[PATCH 2/9 v2] powerpc/mpc85xxcds: Fix PCI I/O space resource of PCI bridge

2012-03-14 Thread Zhao Chenhui
From: chenhui zhao There is a PCI bridge(Tsi310) between the MPC8548 and a VIA southbridge chip. The bootloader sets the PCI bridge to open a window from 0x to 0x1fff on the PCI I/O space. But the kernel can't set the I/O resource. In the routine pci_read_bridge_io(), if the base which is re

[PATCH 2/4] fsl_pci: Add a workaround for PCI 5 errata

2012-03-14 Thread Zhao Chenhui
From: chenhui zhao Issue: As a master, the PCI IP block can combine a memory write to the last PCI double word (4 bytes) of a cacheline with a 4 byte memory write to the first PCI double word of the subsequent cacheline. This affects 32-bit PCI target devices that blindly assert STOP on memory-wr

[PATCH 3/4 v2] fsl_pci: Add a workaround for PCI 6 errata

2012-03-14 Thread Zhao Chenhui
From: chenhui zhao Issue: The register bits ERR_DR[OWMSV] and ERR_DR[ORMSV] can erroneously set and may trigger an interrupt if capturing and reporting of these events are enabled. Workaround: Disable OWMSV, ORMSV error capture and disable OWMSV, ORMSV error reporting. Do not affect the function

[PATCH 0/2] Kdump support for PPC_47x

2012-03-14 Thread Suzuki K. Poulose
The following series implements Kexec/Kdump support for PPC_47x based platforms. Doesn't support SMP yet. I have tested these patches on simics simulator for ppc476. --- Suzuki K. Poulose (2): [47x] Enable CRASH_DUMP [47x] Kernel support for KEXEC arch/powerpc/Kconfig |

[PATCH 2/2] [47x] Enable CRASH_DUMP

2012-03-14 Thread Suzuki K. Poulose
Now that we have KEXEC and relocatable kernel working on 47x (!SMP) enable CRASH_DUMP. Signed-off-by: Suzuki K. Poulose --- arch/powerpc/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 975aae5..10070d2 100644 --

[PATCH 1/2] [47x] Kernel support for KEXEC

2012-03-14 Thread Suzuki K. Poulose
This patch adds support for creating 1:1 mapping for the PPC_47x during a KEXEC. The implementation is similar to that of the PPC440x which is described here : http://patchwork.ozlabs.org/patch/104323/ PPC_47x MMU : The 47x uses Unified TLB 1024 entries, with 4-way associative mapping (4

[PATCH] EEH: remove eeh device from OF node

2012-03-14 Thread Gavin Shan
Originally, the PCI sensitive OF node is tracing the eeh device through struct device_node::edev. However, it was regarded as bad idea. The patch removes struct device_node::edev. In addition, the global list of eeh devices is introduced, and do retrival of eeh device according to the given OF nod

Re: [PATCH 4/4] powerpc/85xx: add the P1020UTM-PC DTS support

2012-03-14 Thread Scott Wood
On 03/14/2012 04:08 AM, chang-ming.hu...@freescale.com wrote: > +&lbc { > + nor@0,0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "cfi-flash"; > + reg = <0x0 0x0 0x200>; > + bank-width = <2>; > + d

Re: [PATCH 0/2] Kdump support for PPC_47x

2012-03-14 Thread Josh Boyer
On Wed, Mar 14, 2012 at 6:22 AM, Suzuki K. Poulose wrote: > The following series implements Kexec/Kdump support for > PPC_47x based platforms. Doesn't support SMP yet. > > I have tested these patches on simics simulator for ppc476. Do you happen to know if these work in the IBM Instruction Set Si

Re: 3.3.0-rc6-next-20120308 boot failure on POWER7 blade

2012-03-14 Thread Stephen Rothwell
Hi Jesse, On Fri, 9 Mar 2012 10:28:46 -0800 Jesse Barnes wrote: > > On Fri, 9 Mar 2012 14:46:45 +1100 > Anton Blanchard wrote: > > > > Looks like something that got fixed but the new patches from Bjorn > > > aren't in next yet. I'll fwd you the patch separately to apply on > > > top of what you

Re: [PATCH v3] ipc: provide generic compat versions of IPC syscalls

2012-03-14 Thread Chris Metcalf
Somewhat belatedly, I'm looking to push this through the "tile" tree. Andrew Morton has been keeping it in his tree but I figure I should push it since it directly affects "tile" and currently no one else. However, it would be nice if anyone could provide a Reviewed-by or Acked-by on the patch.

RE: [PATCH 4/4] powerpc/85xx: add the P1020UTM-PC DTS support

2012-03-14 Thread Huang Changming-R66093
Thanks Jerry Huang > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, March 15, 2012 2:50 AM > To: Huang Changming-R66093 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH 4/4] powerpc/85xx: add the P1020UTM-PC DTS support > > On 03/14/2012 04:08 AM, chang-ming.hu

Re: [PATCH 4/4] powerpc/85xx: add the P1020UTM-PC DTS support

2012-03-14 Thread Scott Wood
On Wed, Mar 14, 2012 at 09:30:27PM -0500, Huang Changming-R66093 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Thursday, March 15, 2012 2:50 AM > > To: Huang Changming-R66093 > > Cc: linuxppc-dev@lists.ozlabs.org > > Subject: Re: [PATCH 4/4] powerpc/85xx: add the P1020

[PATCH][v4] NAND Machine support for Integrated Flash Controller

2012-03-14 Thread Prabhakar Kushwaha
Integrated Flash Controller(IFC) can be used to hook NAND Flash chips using NAND Flash Machine available on it. Signed-off-by: Dipen Dudhat Signed-off-by: Scott Wood Signed-off-by: Li Yang Signed-off-by: Liu Shuo Signed-off-by: Poonam Aggrwal Signed-off-by: Prabhakar Kushwaha --- Beased on

[PATCH] powerpc/85xx:Add BSC9131 RDB Support

2012-03-14 Thread Prabhakar Kushwaha
BSC9131RDB is a Freescale reference design board for BSC9131 SoC.The BSC9131 is integrated SoC that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements. The BSC9131 SoC includes

Re: [PATCH 0/2] Kdump support for PPC_47x

2012-03-14 Thread Suzuki K. Poulose
On 03/15/2012 12:27 AM, Josh Boyer wrote: On Wed, Mar 14, 2012 at 6:22 AM, Suzuki K. Poulose wrote: The following series implements Kexec/Kdump support for PPC_47x based platforms. Doesn't support SMP yet. I have tested these patches on simics simulator for ppc476. Do you happen to know if t

Re: [PATCH 0/2] Kdump support for PPC_47x

2012-03-14 Thread Tony Breeds
On Wed, Mar 14, 2012 at 03:52:30PM +0530, Suzuki K. Poulose wrote: > The following series implements Kexec/Kdump support for > PPC_47x based platforms. Doesn't support SMP yet. > > I have tested these patches on simics simulator for ppc476. I'll test these patches on the currituck board I have he