Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/11 15:25, Wen Congyang wrote: > At 07/11/2012 01:52 PM, Yasuaki Ishimatsu Wrote: >> 2012/07/11 14:06, Wen Congyang wrote: >> Hi Wen, >> >>> At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: I don't think that all pages of virtual mapping in removed memory can be freed, sin

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Wen Congyang
At 07/11/2012 01:52 PM, Yasuaki Ishimatsu Wrote: > 2012/07/11 14:06, Wen Congyang wrote: > Hi Wen, > >> At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: >>> I don't think that all pages of virtual mapping in removed memory can be >>> freed, since page which type is MIX_SECTION_INFO is difficult to

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Yasuaki Ishimatsu
2012/07/11 14:06, Wen Congyang wrote: Hi Wen, > At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: >> I don't think that all pages of virtual mapping in removed memory can be >> freed, since page which type is MIX_SECTION_INFO is difficult to free. >> So, the patch only frees page which type is SECT

Re: [PATCH] [powerpc] Export memory limit via device tree

2012-07-10 Thread Benjamin Herrenschmidt
> diff --git a/arch/powerpc/kernel/machine_kexec.c > b/arch/powerpc/kernel/machine_kexec.c > index c957b12..0c9695d 100644 > --- a/arch/powerpc/kernel/machine_kexec.c > +++ b/arch/powerpc/kernel/machine_kexec.c > @@ -207,6 +207,12 @@ static struct property crashk_size_prop = { > .value = &cr

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Wen Congyang
At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: > I don't think that all pages of virtual mapping in removed memory can be > freed, since page which type is MIX_SECTION_INFO is difficult to free. > So, the patch only frees page which type is SECTION_INFO at first. > > CC: David Rientjes > CC: Ji

Re: [PATCH] Using alloc_coherent for caam job rings

2012-07-10 Thread Herbert Xu
On Wed, Jun 27, 2012 at 07:34:11PM +, Kim Phillips wrote: > On Wed, 27 Jun 2012 10:58:32 +0530 > Bharat Bhushan wrote: > > > This resolves the Linux boot crash issue when "swiotlb=force" is set > > in bootargs on systems which have memory more than 4G. > > Acked-by: Kim Phillips Patch appl

RE: [PATCH 1/4] Talitos: move the data structure into header file

2012-07-10 Thread Liu Qiang-B32616
> -Original Message- > From: Phillips Kim-R1AAHA > Sent: Wednesday, July 11, 2012 8:11 AM > To: Liu Qiang-B32616 > Cc: linux-cry...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yang- > R58472; Herbert Xu; David S. Miller; Geanta Neag Horia Ioan-B05471 > Subject: Re: [PATCH 1/4] Talito

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Wen Congyang
At 07/11/2012 09:52 AM, Wen Congyang Wrote: > At 07/09/2012 06:21 PM, Yasuaki Ishimatsu Wrote: >> This patch series aims to support physical memory hot-remove. >> >> [RFC PATCH v3 1/13] memory-hotplug : rename remove_memory to offline_memory >> [RFC PATCH v3 2/13] memory-hotplug : add physical

RE: [linuxppc-release] [PATCH 4/4] Talitos: fix the issue of dma memory leak

2012-07-10 Thread Liu Qiang-B32616
> -Original Message- > From: Tabi Timur-B04825 > Sent: Wednesday, July 11, 2012 5:26 AM > To: Liu Qiang-B32616 > Cc: linux-cry...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Herbert > Xu; Li Yang-R58472; David S. Miller > Subject: Re: [linuxppc-release] [PATCH 4/4] Talitos: fix the issu

RE: [PATCH 3/4] fsl-dma: support attribute of DMA_MEMORY when async_tx enabled

2012-07-10 Thread Liu Qiang-B32616
> -Original Message- > From: Dan Williams [mailto:dan.j.willi...@intel.com] > Sent: Wednesday, July 11, 2012 3:39 AM > To: Liu Qiang-B32616 > Cc: linux-cry...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Li Yang- > R58472; Phillips Kim-R1AAHA; Vinod Koul > Subject: Re: [PATCH 3/4] fsl-dm

RE: [PATCH 1/2] powerpc/mpc8572ds: Fix eTSEC is not available on core1 of AMP boot issue

2012-07-10 Thread Jia Hongtao-B38951
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, July 11, 2012 2:15 AM > To: Jia Hongtao-B38951 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org > Subject: Re: [PATCH 1/2] powerpc/mpc8572ds: Fix eTSEC is not available on > core1 of AMP boot issue > > On 07/

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Wen Congyang
At 07/09/2012 06:21 PM, Yasuaki Ishimatsu Wrote: > This patch series aims to support physical memory hot-remove. > > [RFC PATCH v3 1/13] memory-hotplug : rename remove_memory to offline_memory > [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to > acpi_memory_device_remo

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/11 9:21, Jiang Liu wrote: On 07/11/2012 08:09 AM, Yasuaki Ishimatsu wrote: Hi Jiang, 2012/07/11 1:50, Jiang Liu wrote: On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: Hi Christoph, 2012/07/10 0:18, Christoph Lameter wrote: On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote:

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Benjamin Herrenschmidt
On Tue, 2012-07-10 at 19:47 -0500, Scott Wood wrote: > On 07/10/2012 07:44 PM, Alexander Graf wrote: > > > > On 11.07.2012, at 02:34, Scott Wood wrote: > >> +#ifdef CONFIG_BOOKE > >> + /* > >> + * We're not changing address space on Book E, and the extra rfi > >> + * can hurt when virtualized

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Benjamin Herrenschmidt
On Tue, 2012-07-10 at 19:41 -0500, Scott Wood wrote: > On 07/10/2012 07:36 PM, Benjamin Herrenschmidt wrote: > > On Tue, 2012-07-10 at 19:34 -0500, Scott Wood wrote: > >> Unlike classic, we don't really need the MSR change to be atomic with the > >> branch. This eliminates a trap as a KVM guest (i

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Scott Wood
On 07/10/2012 07:44 PM, Alexander Graf wrote: > > On 11.07.2012, at 02:34, Scott Wood wrote: >> +#ifdef CONFIG_BOOKE >> +/* >> + * We're not changing address space on Book E, and the extra rfi >> + * can hurt when virtualized without hardware support -- whereas >> + * mtmsr can be

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Alexander Graf
On 11.07.2012, at 02:34, Scott Wood wrote: > Unlike classic, we don't really need the MSR change to be atomic with the > branch. This eliminates a trap as a KVM guest (in the absence of > hardware hypervisor extensions), where mtmsr is paravirtualized but rfi > is not. For a virtualized guest w

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Scott Wood
On 07/10/2012 07:36 PM, Benjamin Herrenschmidt wrote: > On Tue, 2012-07-10 at 19:34 -0500, Scott Wood wrote: >> Unlike classic, we don't really need the MSR change to be atomic with the >> branch. This eliminates a trap as a KVM guest (in the absence of >> hardware hypervisor extensions), where mt

Re: [PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Benjamin Herrenschmidt
On Tue, 2012-07-10 at 19:34 -0500, Scott Wood wrote: > Unlike classic, we don't really need the MSR change to be atomic with the > branch. This eliminates a trap as a KVM guest (in the absence of > hardware hypervisor extensions), where mtmsr is paravirtualized but rfi > is not. For a virtualized

[PATCH] powerpc/booke: Eliminate rfi from exception entry path.

2012-07-10 Thread Scott Wood
Unlike classic, we don't really need the MSR change to be atomic with the branch. This eliminates a trap as a KVM guest (in the absence of hardware hypervisor extensions), where mtmsr is paravirtualized but rfi is not. For a virtualized guest without any paravirtualization, this eliminates an add

[PATCH v2 3/3] powerpc/mpc85xx_ds: convert to unified PCI init

2012-07-10 Thread Scott Wood
Similar to how the primary PCI bridge is identified by looking for an isa subnode, we determine whether to apply uli exclusions by looking for a uli subnode. Signed-off-by: Scott Wood --- v2: Rebased on Kumar's next arch/powerpc/platforms/85xx/mpc85xx_ds.c | 97 +-

[PATCH v2 1/3] powerpc/fsl-pci: get PCI init out of board files

2012-07-10 Thread Scott Wood
As an alternative incremental starting point to Jia Hongtao's patchset, get the FSL PCI init out of the board files, but do not yet convert to a platform driver. Rather than having each board supply a magic register offset for determining the "primary" bus, we look for which PCI host bridge contai

[PATCH v2 2/3] powerpc/e500: add paravirt QEMU platform

2012-07-10 Thread Scott Wood
This gives the kernel a paravirtualized machine to target, without requiring both sides to pretend to be targeting a specific board that likely has little to do with the host in KVM scenarios. This avoids the need to add new boards to QEMU just to be able to run KVM on new CPUs. As this is the fi

[PATCH v2 0/3] powerpc/fsl: PCI refactoring and QEMU paravirt platform

2012-07-10 Thread Scott Wood
The QEMU stuff is related to the PCI refactoring because currently we have a hard time selecting a primary bus under QEMU, and also because the generic qemu e500 platform wants a full list of FSL PCI compatibles to check. Patchset rebased on Kumar's next branch. Scott Wood (3): powerpc/fsl-pci:

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Jiang Liu
On 07/11/2012 08:09 AM, Yasuaki Ishimatsu wrote: > Hi Jiang, > > 2012/07/11 1:50, Jiang Liu wrote: >> On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: >>> Hi Christoph, >>> >>> 2012/07/10 0:18, Christoph Lameter wrote: On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote: > Even if you a

Re: [PATCH 1/4] Talitos: move the data structure into header file

2012-07-10 Thread Kim Phillips
On Tue, 10 Jul 2012 13:56:46 +0800 Qiang Liu wrote: > Move the declaration of talitos data structure into talitos.h. > > Cc: Herbert Xu > Cc: David S. Miller > Signed-off-by: Qiang Liu > --- this patch has already been submitted [1]. Subsequent patches in this series also don't apply cleanl

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/11 1:50, Jiang Liu wrote: On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: Hi Christoph, 2012/07/10 0:18, Christoph Lameter wrote: On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote: Even if you apply these patches, you cannot remove the physical memory completely since these pa

Re: [PATCH v4] PPC: use CURRENT_THREAD_INFO instead of open coded assembly

2012-07-10 Thread Alexander Graf
On 05.07.2012, at 16:41, Stuart Yoder wrote: > From: Stuart Yoder > > Signed-off-by: Stuart Yoder Ben, ping? Alex > --- > -v4: fixed build issues in exception-64s.h and exceptions-64s.S > > arch/powerpc/include/asm/exception-64s.h |4 ++-- > arch/powerpc/include/asm/thread_info.h |

Re: [linuxppc-release] [PATCH 4/4] Talitos: fix the issue of dma memory leak

2012-07-10 Thread Timur Tabi
Qiang Liu wrote: > An error will be happened when test with mass data: Please don't use the phrase "fix the issue" in patch summaries. It's redundant. This patch should be titled, "drivers/crypto: fix memory leak in Talitos driver" > diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talit

Re: [PATCH 3/4] fsl-dma: support attribute of DMA_MEMORY when async_tx enabled

2012-07-10 Thread Dan Williams
On Mon, Jul 9, 2012 at 10:59 PM, Qiang Liu wrote: > - delete attribute of DMA_INTERRUPT because fsl-dma doesn't support > this function, exception will be thrown if talitos is used to compute xor > at the same time; > - change the release process of dma descriptor for avoiding exception when > ena

Re: Semantics of lv1_pause()

2012-07-10 Thread Geoff Levand
Hi Ben, On Tue, 2012-07-10 at 13:20 +1000, Benjamin Herrenschmidt wrote: > regarding the precise semantics of lv1_pause() ? Here's what's in PS3's setup.c: static void ps3_power_save(void) { /* * lv1_pause() puts the PPE thread into inactive state until an * irq on an u

Re: [git pull] Please pull powerpc.git merge branch

2012-07-10 Thread roger blofeld
--- On Mon, 7/2/12, Benjamin Herrenschmidt wrote: > From: Benjamin Herrenschmidt > Subject: Re: [git pull] Please pull powerpc.git merge branch > To: "Gerhard Pircher" > Cc: "linuxppc-dev list" > Date: Monday, July 2, 2012, 3:20 PM > On Mon, 2012-07-02 at 23:38 +0200, > Gerhard Pircher wrote:

Re: [PATCH 3/3] powerpc/mpc85xx_ds: convert to unified PCI init

2012-07-10 Thread Kumar Gala
On Jun 27, 2012, at 6:50 PM, Scott Wood wrote: > Similar to how the primary PCI bridge is identified by looking > for an isa subnode, we determine whether to apply uli exclusions > by looking for a uli subnode. > > Signed-off-by: Scott Wood > --- > Besides being an example of a real-hardware bo

Re: [PATCH 1/2] powerpc/mpc8572ds: Fix eTSEC is not available on core1 of AMP boot issue

2012-07-10 Thread Scott Wood
On 07/10/2012 01:08 AM, Jia Hongtao wrote: > The issue log on core1 is: > root@mpc8572ds:~# ifconfig eth0 10.192.208.244 > net eth0: could not attach to PHY > SIOCSIFFLAGS: No such device > > To attach PHY node mdio@24520 should not be disabled in dts of core1. > Because all PHYs are controlled th

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Jiang Liu
On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: > Hi Christoph, > > 2012/07/10 0:18, Christoph Lameter wrote: >> >> On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote: >> >>> Even if you apply these patches, you cannot remove the physical memory >>> completely since these patches are still under develop

Re: [PATCH 2/2] powerpc/85xx: Create dts of each core in CAMP mode for P1021RDB-PC

2012-07-10 Thread Scott Wood
On 07/10/2012 03:39 AM, Xu Jiucheng wrote: > + crypto@3 { > +status = "disabled"; > +}; Whitespace. > + > + mpic: pic@4 { > + protected-sources = < > + 16 /* ecm, mem, L2,

Re: [PATCH] PCI: Add pcie_irq=other to enable non MSI/INTx interrupt for port service driver

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 10:31 AM, Scott Wood wrote: > On 07/10/2012 01:13 AM, Liu Shengzhou-B36685 wrote: >> >> >>> -Original Message- >>> From: Wood Scott-B07421 >>> Sent: Tuesday, July 10, 2012 12:39 AM >>> To: Liu Shengzhou-B36685 >>> Cc: bhelg...@google.com; linux-...@vger.kernel.org; l

Re: [PATCH] PCI: Add pcie_irq=other to enable non MSI/INTx interrupt for port service driver

2012-07-10 Thread Scott Wood
On 07/10/2012 01:13 AM, Liu Shengzhou-B36685 wrote: > > >> -Original Message- >> From: Wood Scott-B07421 >> Sent: Tuesday, July 10, 2012 12:39 AM >> To: Liu Shengzhou-B36685 >> Cc: bhelg...@google.com; linux-...@vger.kernel.org; linuxppc- >> d...@lists.ozlabs.org >> Subject: Re: [PATCH] P

Re: [PATCH] powerpc: select PPC_CLOCK unconditionally for FSL_SOC

2012-07-10 Thread Kumar Gala
On Mar 30, 2012, at 12:38 AM, Shawn Guo wrote: > Freescale PowerPC SoCs share a number of IP blocks with Freescale > ARM/IMX SoCs, FlexCAN, SSI, FEC, eSDHC, USB, etc. There are some > effort consolidating those drivers to make them work for both > architectures. > > One outstanding difference b

Re: [PATCH] powerpc/dts: Add ucc uart support for p1025rdb

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 2:52 AM, Zhicheng wrote: > From: Zhicheng Fan > > Signed-off-by: Zhicheng Fan > --- > arch/powerpc/boot/dts/fsl/p1021si-post.dtsi | 16 ++- > arch/powerpc/boot/dts/p1025rdb.dtsi | 40 +++ > 2 files changed, 55 insertions(+), 1 delet

Re: [PATCH 2/2] powerpc/85xx: Create dts of each core in CAMP mode for P1021RDB-PC

2012-07-10 Thread Tabi Timur-B04825
On Tue, Jul 10, 2012 at 3:39 AM, Xu Jiucheng wrote: > Create the dts files for each core and splits the devices between > the two cores for P1021RDB-PC. > > Core0 has l2, serial0, i2c, spi, gpio, tdm,dma, usb, eth0, eth1, > sdhc, crypto, global-util, message, pci0, pci1, msi, crypto. > Core1 has l

Re: [PATCH] P1021: set IReady in QE Microcode Upload

2012-07-10 Thread Kumar Gala
On Nov 11, 2011, at 10:05 AM, Kokoris, Ioannis wrote: > Hi, > > QE Microcode Initialization using qe_upload_microcode() does not work on > P1021 if the IRAM-Ready register is not set after the microcode upload. This > patch adds a definition for the "I-RAM Ready" register and sets it uppon >

Re: [PATCH 2/2] powerpc/mpc8572ds: Update the MSI interrupts into 4-cell format

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 1:08 AM, Jia Hongtao wrote: > With 2-cell format interrupts of MSI PCIe ethernet card can not work. > > Signed-off-by: Li Yang > Signed-off-by: Jia Hongtao > --- > arch/powerpc/boot/dts/mpc8572ds_camp_core0.dts |8 > arch/powerpc/boot/dts/mpc8572ds_camp_core1.dt

Re: [PATCH 1/2] powerpc/mpc8572ds: Fix eTSEC is not available on core1 of AMP boot issue

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 1:08 AM, Jia Hongtao wrote: > The issue log on core1 is: > root@mpc8572ds:~# ifconfig eth0 10.192.208.244 > net eth0: could not attach to PHY > SIOCSIFFLAGS: No such device > > To attach PHY node mdio@24520 should not be disabled in dts of core1. > Because all PHYs are contro

Re: [PATCH 2/2][v2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_PPC_FSL_BOOK3E

2012-07-10 Thread Kumar Gala
On May 11, 2012, at 12:33 AM, Shaohui Xie wrote: > CONFIG_FSL_BOOKE is only defined in 32-bit, CONFIG_PPC_FSL_BOOK3E is > defined in both 32-bit and 64-bit, so use CONFIG_PPC_FSL_BOOK3E to make > driver work in 32-bit & 64-bit. > > Signed-off-by: Shaohui Xie > --- > changes for v2: > use PPC_FS

Re: [PATCH 2/3 v2] powerpc/mpic: Use the MPIC_LARGE_VECTORS flag for FSL MPIC.

2012-07-10 Thread Kumar Gala
On Jul 9, 2012, at 3:46 AM, Varun Sethi wrote: > We should use the MPIC_LARG_VECTORS flag while intializing the MPIC. > This prevents us from eating in to hardware vector number space (MSIs) > while setting up internal sources. > > Signed-off-by: Varun Sethi > --- > arch/powerpc/sysdev/mpic.c

Re: [PATCH v2 1/2] powerpc/e500: make load_up_spe a normal fuction

2012-07-10 Thread Kumar Gala
On Feb 29, 2012, at 7:20 PM, Olivia Yin wrote: > From: Liu Yu > > So that we can call it when improving SPE switch like book3e did for fp > switch. > > Signed-off-by: Liu Yu > Signed-off-by: Olivia Yin > --- > v2: add Signed-off-by > > arch/powerpc/kernel/head_fsl_booke.S | 23 ++--

[PATCH] USB: ehci-fsl: Update ifdef check to work on 64-bit ppc

2012-07-10 Thread Kumar Gala
We need to use CONFIG_FSL_SOC_BOOKE instead of CONFIG_PPC_85xx as CONFIG_PPC_85xx isn't defined when we build support for 64-bit embedded FSL PPC SoCs. Signed-off-by: Kumar Gala --- drivers/usb/host/ehci-fsl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/

Re: [PATCH] powerpc/85xx: Add dts files for P1021RDB-PC board

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 3:39 AM, Xu Jiucheng wrote: > P1021RDB-PC Overview > - > 1Gbyte DDR3 (on board DDR) > 16Mbyte NOR flash > 32Mbyte eSLC NAND Flash > 256 Kbit M24256 I2C EEPROM > 128 Mbit SPI Flash memory > Real-time clock on I2C bus > SD/MMC connector to interface with the SD m

Re: [PATCH 3/3 v2] powerpc/mpic: FSL MPIC error interrupt support.

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 4:39 AM, Sethi Varun-B16395 wrote: > > >> -Original Message- >> From: Kumar Gala [mailto:ga...@kernel.crashing.org] >> Sent: Tuesday, July 10, 2012 7:17 AM >> To: Wood Scott-B07421 >> Cc: Sethi Varun-B16395; Hamciuc Bogdan-BHAMCIU1; linuxppc- >> d...@lists.ozlabs.org

Re: [PATCH 2/2] powerpc/fsl: Update corenet64_smp_defconfig

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 5:40 AM, Shengzhou Liu wrote: > * Enable USB, MMC, SATA, MTD, NAND, PAMU, RTC > * Enable FSL RAID on P5020 > * Enable general RAID features (MD + async-tx) > * Enable RTC on P2041RDB > * Enable UIO SRIO & UIO DMA > * Enable USDPAA SHMEM driver > * Enable ePAPR HV support > * E

Re: [PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 5:40 AM, Shengzhou Liu wrote: > * Enable NAND, MSI, PAMU, > * Enable FSL RAID on P5020 > * Enable general RAID features (MD + async-tx) > * Enable RTC on P2041RDB > * Enable UIO SRIO & UIO DMA > > Signed-off-by: Harninder Rai > Signed-off-by: Shaohui Xie > Signed-off-by: Mi

Re: [PATCH 2/2][v2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_PPC_FSL_BOOK3E

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 6:40 AM, Kumar Gala wrote: > > On Jul 10, 2012, at 5:22 AM, Xie Shaohui-B21989 wrote: > >> Hi, All, >> >> Is there any concern for this patch, it's been a long time. >> Thanks! >> >> >> Best Regards, >> Shaohui Xie > > As commented, we should use PPC_FSL_BOOK3E, not CO

Re: [PATCH 2/2][v2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_PPC_FSL_BOOK3E

2012-07-10 Thread Kumar Gala
On Jul 10, 2012, at 5:22 AM, Xie Shaohui-B21989 wrote: > Hi, All, > > Is there any concern for this patch, it's been a long time. > Thanks! > > > Best Regards, > Shaohui Xie As commented, we should use PPC_FSL_BOOK3E, not CONFIG_PPC_FSL_BOOK3E. - k > > >> -Original Message- >> F

Re: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-07-10 Thread Kumar Gala
On May 8, 2012, at 10:46 PM, Bhushan Bharat-R65777 wrote: >> .org] On Behalf Of Shaohui Xie >> Sent: Tuesday, May 08, 2012 11:37 AM >> To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >> Cc: Xie Shaohui-B21989 >> Subject: [PATCH 1/2] powerpc/watchdog: move boo

[PATCH 2/2] powerpc/85xx: Create dts of each core in CAMP mode for P1021RDB-PC

2012-07-10 Thread Xu Jiucheng
Create the dts files for each core and splits the devices between the two cores for P1021RDB-PC. Core0 has l2, serial0, i2c, spi, gpio, tdm,dma, usb, eth0, eth1, sdhc, crypto, global-util, message, pci0, pci1, msi, crypto. Core1 has l2, serial1, eth2. Signed-off-by: Xu Jiucheng Signed-off-by: Ma

[PATCH] powerpc/85xx: Add dts files for P1021RDB-PC board

2012-07-10 Thread Xu Jiucheng
P1021RDB-PC Overview - 1Gbyte DDR3 (on board DDR) 16Mbyte NOR flash 32Mbyte eSLC NAND Flash 256 Kbit M24256 I2C EEPROM 128 Mbit SPI Flash memory Real-time clock on I2C bus SD/MMC connector to interface with the SD memory card PCIex - x1 PCIe slot or x1 PCIe to dual SATA cont

[PATCH 2/2] powerpc/fsl: Update corenet64_smp_defconfig

2012-07-10 Thread Shengzhou Liu
* Enable USB, MMC, SATA, MTD, NAND, PAMU, RTC * Enable FSL RAID on P5020 * Enable general RAID features (MD + async-tx) * Enable RTC on P2041RDB * Enable UIO SRIO & UIO DMA * Enable USDPAA SHMEM driver * Enable ePAPR HV support * Enable PCI-E support Signed-off-by: Haiying Wang Signed-off

[PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-10 Thread Shengzhou Liu
* Enable NAND, MSI, PAMU, * Enable FSL RAID on P5020 * Enable general RAID features (MD + async-tx) * Enable RTC on P2041RDB * Enable UIO SRIO & UIO DMA Signed-off-by: Harninder Rai Signed-off-by: Shaohui Xie Signed-off-by: Minghuan Lian Signed-off-by: Kumar Gala Signed-off-by: Shengzhou Liu

[PATCH 1/2] powerpc/fsl: Update corenet32_smp_defconfig

2012-07-10 Thread Shengzhou Liu
* Enable NAND, MSI, PAMU, * Enable FSL RAID on P5020 * Enable general RAID features (MD + async-tx) * Enable RTC on P2041RDB * Enable UIO SRIO & UIO DMA Signed-off-by: Harninder Rai Signed-off-by: Shaohui Xie Signed-off-by: Minghuan Lian Signed-off-by: Kumar Gala Signed-off-by: Shengzhou Liu

RE: [PATCH 2/2][v2] powerpc/watchdog: replace CONFIG_FSL_BOOKE with CONFIG_PPC_FSL_BOOK3E

2012-07-10 Thread Xie Shaohui-B21989
Hi, All, Is there any concern for this patch, it's been a long time. Thanks! Best Regards, Shaohui Xie >-Original Message- >From: Xie Shaohui-B21989 >Sent: Friday, May 11, 2012 1:34 PM >To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >Cc: Xie Shaohui-B21989 >Subject

RE: [PATCH 1/2] powerpc/watchdog: move booke watchdog param related code to prom.c

2012-07-10 Thread Xie Shaohui-B21989
Hi, All, Is there any concern for this patch, it's been a long time. Thanks! Best Regards, Shaohui Xie >-Original Message- >From: Xie Shaohui-B21989 >Sent: Tuesday, May 08, 2012 2:07 PM >To: linux-watch...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >Cc: Xie Shaohui-B21989 >Subjec

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Yasuaki Ishimatsu
Hi Christoph, 2012/07/10 0:18, Christoph Lameter wrote: On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote: Even if you apply these patches, you cannot remove the physical memory completely since these patches are still under development. I want you to cooperate to improve the physical memory hot-re

RE: [PATCH 3/3 v2] powerpc/mpic: FSL MPIC error interrupt support.

2012-07-10 Thread Sethi Varun-B16395
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Tuesday, July 10, 2012 7:17 AM > To: Wood Scott-B07421 > Cc: Sethi Varun-B16395; Hamciuc Bogdan-BHAMCIU1; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 3/3 v2] powerpc/mpic: FSL MPIC error interru

RE: [PATCH 3/3 v2] powerpc/mpic: FSL MPIC error interrupt support.

2012-07-10 Thread Sethi Varun-B16395
> > > + u32 eisr, eimr; > > + int errint; > > + unsigned int cascade_irq; > > + > > + eisr = fsl_mpic_err_read(mpic->err_regs, eisr_offset); > > + eimr = fsl_mpic_err_read(mpic->err_regs, eimr_offset); > > + > > + if (!(eisr & ~eimr)) > > + return IRQ_NONE; > > + > > + wh

[git pull] Please pull powerpc.git merge branch

2012-07-10 Thread Benjamin Herrenschmidt
Hi Linus ! It looks like my rewrite of our lazy irq scheme is still exposing "interesting" issues left and right. The previous fixes are now causing an occasional BUG_ON to trigger (which this patch turns into a WARN_ON while at it), due to another issue of disconnect of the lazy irq state vs. the

Re: [PATCH 1/1] powerpc: add "memory" attribute for mfmsr()

2012-07-10 Thread tiejun.chen
On 07/10/2012 04:22 PM, tiejun.chen wrote: > On 07/10/2012 04:19 PM, Benjamin Herrenschmidt wrote: >> On Tue, 2012-07-10 at 15:59 +0800, Tiejun Chen wrote: >>> Add "memory" attribute in inline assembly language as a compiler >>> barrier to make sure 4.6.x GCC don't reorder mfmsr(). >> >> Out of cur

Re: [PATCH 1/1] powerpc: add "memory" attribute for mfmsr()

2012-07-10 Thread tiejun.chen
On 07/10/2012 04:19 PM, Benjamin Herrenschmidt wrote: > On Tue, 2012-07-10 at 15:59 +0800, Tiejun Chen wrote: >> Add "memory" attribute in inline assembly language as a compiler >> barrier to make sure 4.6.x GCC don't reorder mfmsr(). > > Out of curiosity, did you see a case where it was re-ordere

Re: [PATCH] More fixes for lazy IRQ vs. idle

2012-07-10 Thread Benjamin Herrenschmidt
> - hard_irq_disable(); > - if (!lazy_irq_pending()) > + if (prep_irq_for_idle()) { > cede_processor(); > +#ifdef CONFIG_TRACE_IRQFLAG this is IRQFLAGS (missing "S"). I'll fix it while I commit, the same typo is in another place in irq.c as well, I'll commit a fix for th

Re: [PATCH 1/1] powerpc: add "memory" attribute for mfmsr()

2012-07-10 Thread Benjamin Herrenschmidt
On Tue, 2012-07-10 at 15:59 +0800, Tiejun Chen wrote: > Add "memory" attribute in inline assembly language as a compiler > barrier to make sure 4.6.x GCC don't reorder mfmsr(). Out of curiosity, did you see a case where it was re-ordered improperly ? Cheers, Ben. > Signed-off-by: Tiejun Chen >

[PATCH] powerpc/dts: Add ucc uart support for p1025rdb

2012-07-10 Thread Zhicheng
From: Zhicheng Fan Signed-off-by: Zhicheng Fan --- arch/powerpc/boot/dts/fsl/p1021si-post.dtsi | 16 ++- arch/powerpc/boot/dts/p1025rdb.dtsi | 40 +++ 2 files changed, 55 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/p1021si-po

[PATCH 1/1] powerpc: add "memory" attribute for mfmsr()

2012-07-10 Thread Tiejun Chen
Add "memory" attribute in inline assembly language as a compiler barrier to make sure 4.6.x GCC don't reorder mfmsr(). Signed-off-by: Tiejun Chen --- arch/powerpc/include/asm/reg.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/reg.h b/arch/po

Re: [PATCH] More fixes for lazy IRQ vs. idle

2012-07-10 Thread Benjamin Herrenschmidt
On Tue, 2012-07-10 at 16:10 +1000, Michael Neuling wrote: > Benjamin Herrenschmidt wrote: > > > Looks like we still have issues with pSeries and Cell idle code > > vs. the lazy irq state. In fact, the reset fixes that went upstream > > are exposing the problem more by causing BUG_ON() to trigger