Re: [PATCH v2] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Srivatsa S. Bhat
On 07/22/2013 12:10 PM, Chen Gang wrote: > Since not need 'max_cpus' after the related commit, the related code > are useless too, need be removed. > > The related commit: > > c1aa687 powerpc: Clean up obsolete code relating to decrementer and timebase > > The related warning: > > arch/powe

[PATCH] powerpc: platforms: powernv: add '__init' for pnv_pci_init_ioda2_phb()

2013-07-21 Thread Chen Gang
pnv_pci_init_ioda2_phb() is only used during boot up, so need add '__init' to save the related memory, and avoid related warning: The function .pnv_pci_init_ioda2_phb() references the function __init .pnv_pci_init_ioda_phb(). This is often because .pnv_pci_init_ioda2_phb lacks a __init an

Re: [PATCH V3 2/2] powerpc, perf: BHRB filter configuration should follow the task

2013-07-21 Thread Benjamin Herrenschmidt
On Mon, 2013-07-22 at 12:09 +0530, Anshuman Khandual wrote: > These patches have not been applied yet. Would like me to correct > these spellings myself and send out again. Please do let me know. > Thanks ! No, it's ok, I'll add them to my batch. Usually I assume that perf related stuff goes thro

[PATCH v2] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Chen Gang
Since not need 'max_cpus' after the related commit, the related code are useless too, need be removed. The related commit: c1aa687 powerpc: Clean up obsolete code relating to decrementer and timebase The related warning: arch/powerpc/kernel/smp.c:323:43: warning: parameter ‘max_cpus’ set bu

Re: [PATCH V3 2/2] powerpc, perf: BHRB filter configuration should follow the task

2013-07-21 Thread Anshuman Khandual
On 06/24/2013 12:50 PM, Michael Neuling wrote: > Anshuman Khandual wrote: > >> When the task moves around the system, the corresponding cpuhw >> per cpu strcuture should be popullated with the BHRB filter >> request value so that PMU could be configured appropriately with >> that during the next

[PATCH] arch: powerpc: kvm: add signed type cast for comparation

2013-07-21 Thread Chen Gang
'rmls' is 'unsigned long', lpcr_rmls() will return negative number when failure occurs, so it need a type cast for comparing. 'lpid' is 'unsigned long', kvmppc_alloc_lpid() return negative number when failure occurs, so it need a type cast for comparing. Signed-off-by: Chen Gang --- arch/power

Re: [PATCH] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Chen Gang
On 07/22/2013 02:18 PM, Srivatsa S. Bhat wrote: > On 07/22/2013 11:28 AM, Chen Gang wrote: >> > Since not need 'max_cpus' after the related commit, the related code >> > are useless too, need be removed. >> > >> > The related commit: >> > >> > c1aa687 powerpc: Clean up obsolete code relating to

Re: [PATCH] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Srivatsa S. Bhat
On 07/22/2013 11:28 AM, Chen Gang wrote: > Since not need 'max_cpus' after the related commit, the related code > are useless too, need be removed. > > The related commit: > > c1aa687 powerpc: Clean up obsolete code relating to decrementer and timebase > > The related warning: > > arch/powe

[PATCH] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Chen Gang
Since not need 'max_cpus' after the related commit, the related code are useless too, need be removed. The related commit: c1aa687 powerpc: Clean up obsolete code relating to decrementer and timebase The related warning: arch/powerpc/kernel/smp.c:323:43: warning: parameter ‘max_cpus’ set bu

[PATCH v4 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/Kconfig |9 + drivers/dma/fsldma.c |9 ++--- drivers/dma/fsldma.h |2 +

[PATCH v4 1/3] DMA: Freescale: revise device tree binding document

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang This updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, also fixes some defects of indent for text alignment at the same time. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/power

[PATCH v4 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- .../devicetree/bindings/powerpc/fsl/dma.txt| 66 arch/powerpc/boot/dts/fsl/b4si-post.dtsi |4

[PATCH v4 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-21 Thread hongbo.zhang
From: Hongbo Zhang Hi Vinod, Dan, Scott and Leo, please have a look at these V2 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V3->V4 changes: - introduce new patch [1/3] to revise the legacy dma binding document - and then a

RE: [PATCH] powerpc/msi: Fix compile error on mpc83xx

2013-07-21 Thread Jia Hongtao-B38951
Hi Scott, The fsl_msi.c build error on MPC83xx platform is fixed by this patch. Could you please have a review? Thanks. -Hongtao > -Original Message- > From: Jia Hongtao-B38951 > Sent: Wednesday, July 10, 2013 10:04 AM > To: Wood Scott-B07421; linuxppc-dev@lists.ozlabs.org > Cc: ga...@k

RE: [PATCH 1/4 V4] powerpc/85xx: Add support for 85xx cpu type detection

2013-07-21 Thread Zhang Haijun-B42677
Many Thanks. Regards Haijun. > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, July 20, 2013 1:21 AM > To: Zhang Haijun-B42677 > Cc: Zhang Haijun-B42677; linux-...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; cbouatmai...@gmail.com; c...@laptop.org; Wood Scott- >

RE: [PATCH 4/4 V2] mmc: esdhc: Add broken timeout quirk for p4/p5 board

2013-07-21 Thread Zhang Haijun-B42677
Thanks. Regards Haijun. > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, July 20, 2013 1:24 AM > To: Zhang Haijun-B42677 > Cc: Wood Scott-B07421; linux-...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; cbouatmai...@gmail.com; c...@laptop.org; Fleming > Andy-AFLEMIN