Re: [PATCH v2] PowerPC: kernel: need return the related error code when failure occurs

2013-06-21 Thread Chen Gang
Hello Maintainers: Please help check this patch whether is OK, when you have time. Thanks. On 05/21/2013 05:20 PM, Chen Gang wrote: > > When error occurs, need return the related error code to let upper > caller know about it. > > ppc_md.nvram_size() can return the error code (e.g. core99_nvram

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-21 Thread Santosh Shilimkar
On Friday 21 June 2013 05:04 AM, Sebastian Andrzej Siewior wrote: > On 06/21/2013 02:52 AM, Santosh Shilimkar wrote: >> diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c >> index 0a2c68f..62e2e8f 100644 >> --- a/arch/microblaze/kernel/prom.c >> +++ b/arch/microblaze/kernel/

Re: Inbound PCI and Memory Corruption

2013-06-21 Thread Peter LaDow
On Fri, Jun 21, 2013 at 9:56 AM, Peter LaDow wrote: > We are running into a case where we get memory corruption when an > external PCI master writes to the processor. We are using an MPC8349 > with an external Intel 82540EP (an E1000) part. I've spent several > weeks on the e1000 list trying to

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-21 Thread Santosh Shilimkar
Vineet, James, On Friday 21 June 2013 04:23 AM, James Hogan wrote: > On 21/06/13 05:39, Vineet Gupta wrote: >> Hi Santosh, >> >> On 06/21/2013 06:22 AM, Santosh Shilimkar wrote: >>> Cc: Vineet Gupta >>> Cc: Russell King >>> Cc: Catalin Marinas >>> Cc: Will Deacon >>> Cc: Mark Salter >>> Cc: A

Inbound PCI and Memory Corruption

2013-06-21 Thread Peter LaDow
I'm posting this to the ppc-dev since I think the problem may be specific to the PPC kernel. We are running into a case where we get memory corruption when an external PCI master writes to the processor. We are using an MPC8349 with an external Intel 82540EP (an E1000) part. I've spent several w

Re: [PATCH v2] powerpc/pci: Improve device hotplug initialization

2013-06-21 Thread Guenter Roeck
On Mon, Jun 10, 2013 at 10:18:08AM -0700, Guenter Roeck wrote: > Commit 37f02195b (powerpc/pci: fix PCI-e devices rescan issue on powerpc > platform) fixes a problem with interrupt and DMA initialization on hot > plugged devices. With this commit, interrupt and DMA initialization for > hot plugged

[PATCH 3/3 v2] powerpc/fsl_msi: add MSIIR1 support for MPIC v4.3

2013-06-21 Thread Minghuan Lian
The original MPIC MSI bank contains 8 registers, MPIC v4.3 MSI bank contains 16 registers, and this patch adds NR_MSI_REG_MAX and NR_MSI_IRQS_MAX to describe the maximum capability of MSI bank. MPIC v4.3 provides MSIIR1 to index these 16 MSI registers. MSIIR1 uses different bits definition than MSI

[PATCH 2/3 v2] powerpc/dts: add MPIC v4.3 dts node

2013-06-21 Thread Minghuan Lian
For the latest platform T4 and B4, MPIC controller has been updated to v4.3. This patch adds a new file to describe the latest MPIC. The MSI blocks number is increased to four, the registers number of each block is increased to sixteen. MSIIR1 has been added to access these sixteen MSI registers.

[PATCH 1/3 v2] powerpc/dts: update MSI bindings doc for MPIC v4.3

2013-06-21 Thread Minghuan Lian
Add compatible "fsl,mpic-msi-v4.3" for MPIC v4.3. MPIC v4.3 contains MSIIR and MSIIR1. MSIIR supports 8 MSI registers and MSIIR1 supports 16 MSI registers, but uses different IBS and SRS shift. When using MSIR1, the interrupt number is not consecutive. It is hard to use 'msi-available-ranges' to de

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-21 Thread Sebastian Andrzej Siewior
On 06/21/2013 02:52 AM, Santosh Shilimkar wrote: > diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c > index 0a2c68f..62e2e8f 100644 > --- a/arch/microblaze/kernel/prom.c > +++ b/arch/microblaze/kernel/prom.c > @@ -136,8 +136,7 @@ void __init early_init_devtree(void *params

[PATCH] powerpc/pseries: Enable PSTORE in pseries_defconfig

2013-06-21 Thread Aruna Balakrishnaiah
Enable PSTORE in pseries_defconfig Signed-off-by: Aruna Balakrishnaiah --- arch/powerpc/configs/pseries_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig index c4dfbaf..9630a50 100644 --- a/arch/power

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-21 Thread James Hogan
On 21/06/13 05:39, Vineet Gupta wrote: > Hi Santosh, > > On 06/21/2013 06:22 AM, Santosh Shilimkar wrote: >> Cc: Vineet Gupta >> Cc: Russell King >> Cc: Catalin Marinas >> Cc: Will Deacon >> Cc: Mark Salter >> Cc: Aurelien Jacquiot >> Cc: James Hogan >> Cc: Michal Simek >> Cc: Ralf Baechle