Re: Problem reading and programming memory location...

2013-11-12 Thread Anatolij Gustschin
On Tue, 12 Nov 2013 20:23:20 +0100 neorf3k wrote: > we have tried to read and program an 8bit register with 32bit address. > we have mapped it with: ioremap, kmalloc etc… and then using: outb, > iowrite8 etc.. but when we write to it, the value doesn’t change… > with other memory location is ok.

[PATCH v9] PPC: POWERNV: move iommu_add_device earlier

2013-11-12 Thread Alexey Kardashevskiy
The current implementation of IOMMU on sPAPR does not use iommu_ops and therefore does not call IOMMU API's bus_set_iommu() which 1) sets iommu_ops for a bus 2) registers a bus notifier Instead, PCI devices are added to IOMMU groups from subsys_initcall_sync(tce_iommu_init) which does basically the

RE: [PATCH] Add a vga alias node for P1022

2013-11-12 Thread Zhengxiong Jin
> -Original Message- > From: Jin Zhengxiong-R64188 > Sent: Friday, September 06, 2013 5:33 PM > To: Wood Scott-B07421 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; Jin > Zhengxiong-R64188 > Subject: [PATCH] Add a vga alias node for P1022 > > From: Jason Jin > > When the

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Emil Medve
Hello Scott, On 11/12/2013 07:46 PM, Scott Wood wrote: > On Tue, 2013-11-12 at 16:57 -0600, Emil Medve wrote: >> Hello Scott, >> >> >> On 11/12/2013 04:04 PM, Scott Wood wrote: >>> On Mon, 2013-11-11 at 13:25 -0600, Lijun Pan wrote: mpc85xx_smp_defconfig and mpc85xx_defconfig already have CO

RE: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Shaohui Xie
> On Tue, 2013-11-12 at 19:51 -0600, Xie Shaohui-B21989 wrote: > > > -Original Message- > > > From: Wood Scott-B07421 > > > Sent: Wednesday, November 13, 2013 5:58 AM > > > To: shh@gmail.com > > > Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; > > > Kanetkar Shruti-B44

Re: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Emil Medve
Hello Xiao-Hui, On 11/12/2013 07:51 PM, Shaohui Xie wrote: >> -Original Message- >> From: Wood Scott-B07421 >> Sent: Wednesday, November 13, 2013 5:58 AM >> To: shh@gmail.com >> Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; Kanetkar >> Shruti-B44454; Xie Shaohui-B21

Re: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Scott Wood
On Tue, 2013-11-12 at 19:51 -0600, Xie Shaohui-B21989 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, November 13, 2013 5:58 AM > > To: shh@gmail.com > > Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; Kanetkar > > Shruti-B44454; Xie Shaoh

RE: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Shaohui Xie
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, November 13, 2013 5:58 AM > To: shh@gmail.com > Cc: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org; Kanetkar > Shruti-B44454; Xie Shaohui-B21989; Bucur Madalin-Cristian-B32716 > Subject: Re: [PATCH 1/4] phyli

Re: [PATCH 1/3] powerpc/p1010rdb:add P1010RDB-PB platform support

2013-11-12 Thread Scott Wood
On Thu, 2013-11-07 at 10:29 +0800, Zhao Qiang wrote: > The P1010RDB-PB is similar to P1010RDB(P1010RDB-PA). > So, P1010RDB-PB use the same platform file as P1010RDB. > Then Add support for P1010RDB-PB platform. > > Signed-off-by: Zhao Qiang > --- > arch/powerpc/platforms/85xx/p1010rdb.c | 2 ++ >

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Scott Wood
On Tue, 2013-11-12 at 16:57 -0600, Emil Medve wrote: > Hello Scott, > > > On 11/12/2013 04:04 PM, Scott Wood wrote: > > On Mon, 2013-11-11 at 13:25 -0600, Lijun Pan wrote: > >> mpc85xx_smp_defconfig and mpc85xx_defconfig already have CONFIG_P1023RDS=y. > >> Merge CONFIG_P1023RDB=y and other relev

RE: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Roy Zang
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, November 12, 2013 4:52 PM > To: Zang Roy-R61911 > Cc: Pan Lijun-B44306; linuxppc-...@ozlabs.org > Subject: Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into > mpc85xx_smp_defconfig and mpc85xx_defconfig > > On Tue

RE: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Roy Zang
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev-bounces+tie- > fei.zang=freescale@lists.ozlabs.org] On Behalf Of Scott Wood > Sent: Tuesday, November 12, 2013 4:05 PM > To: Pan Lijun-B44306 > Cc: linuxppc-...@ozlabs.org > Subject: Re: [PATCH V2] powerpc/85xx: Merge 85xx

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Emil Medve
Hello Scott, On 11/12/2013 04:04 PM, Scott Wood wrote: > On Mon, 2013-11-11 at 13:25 -0600, Lijun Pan wrote: >> mpc85xx_smp_defconfig and mpc85xx_defconfig already have CONFIG_P1023RDS=y. >> Merge CONFIG_P1023RDB=y and other relevant configurations into >> mpc85xx_smp_defconfig and mpc85_defconf

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Scott Wood
On Tue, 2013-11-12 at 17:05 -0600, Zang Roy-R61911 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, November 12, 2013 4:52 PM > > To: Zang Roy-R61911 > > Cc: Pan Lijun-B44306; linuxppc-...@ozlabs.org > > Subject: Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_d

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Scott Wood
On Tue, 2013-11-12 at 16:49 -0600, Zang Roy-R61911 wrote: > > > -Original Message- > > From: Linuxppc-dev [mailto:linuxppc-dev-bounces+tie- > > fei.zang=freescale@lists.ozlabs.org] On Behalf Of Scott Wood > > Sent: Tuesday, November 12, 2013 4:05 PM > > To: Pan Lijun-B44306 > > Cc: lin

Re: [PATCH] powerpc: book3s: PR: Enable Little Endian PR guest

2013-11-12 Thread Paul Mackerras
On Tue, Nov 12, 2013 at 07:37:24AM -0500, Alexander Graf wrote: > > > Am 11.11.2013 um 09:08 schrieb "Aneesh Kumar K.V" > : > > > From: "Aneesh Kumar K.V" > > > > This patch make sure we inherit the LE bit correctly in different case > > so that we can run Little Endian distro in PR mode > >

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Scott Wood
On Mon, 2013-11-11 at 13:25 -0600, Lijun Pan wrote: > mpc85xx_smp_defconfig and mpc85xx_defconfig already have CONFIG_P1023RDS=y. > Merge CONFIG_P1023RDB=y and other relevant configurations into > mpc85xx_smp_defconfig and mpc85_defconfig. > > Signed-off-by: Lijun Pan > --- > arch/powerpc/confi

Re: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Scott Wood
On Mon, 2013-11-11 at 19:04 +0800, shh@gmail.com wrote: > From: Andy Fleming > > You need an extra parameter to read or write Clause 45 PHYs, so > we need a different API with the extra parameter. > > Signed-off-by: Andy Fleming > Signed-off-by: Shaohui Xie Why did you remove Andy's e-mail

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Timur Tabi
On Mon, Nov 11, 2013 at 1:25 PM, Lijun Pan wrote: > +CONFIG_P1023_RDB=y I think this is the only line you should be adding to the defconfigs. None of the others should be necessary. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lis

[PATCH 01/12] powerpc/windfarm: Remove superfluous name casts

2013-11-12 Thread Geert Uytterhoeven
wf_sensor.name is "const char *" Signed-off-by: Geert Uytterhoeven Cc: Benjamin Herrenschmidt Cc: linuxppc-dev@lists.ozlabs.org --- drivers/macintosh/windfarm_lm75_sensor.c|2 +- drivers/macintosh/windfarm_max6690_sensor.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) dif

Problem reading and programming memory location...

2013-11-12 Thread neorf3k
we have tried to read and program an 8bit register with 32bit address. we have mapped it with: ioremap, kmalloc etc… and then using: outb, iowrite8 etc.. but when we write to it, the value doesn’t change… with other memory location is ok. That is an 8 bit register, located at 0x1002 in a mpc5

Re: [PATCH 2/4] phylib: Add generic 10G driver

2013-11-12 Thread Florian Fainelli
Hello Shaohui, 2013/11/11 : > From: Andy Fleming > > Very incomplete, but will allow for binding an ethernet controller > to it. > > Also, Add XGMII interface type So that should be two separate patches, and drivers/of/of_net.c::of_get_phy_mode() must be updated to know about XMGII. > > Signed-

[PATCH] powerpc/85xx: typo in dts: "interupt" (four devices)

2013-11-12 Thread Adam Borowski
These lines were inoperative for four years, which puts some doubt into their importance, and it's possible the fixed version will regress, but at the very least they should be removed instead. Signed-off-by: Adam Borowski --- arch/powerpc/boot/dts/xcalibur1501.dts | 4 ++-- arch/powerpc/boot/dt

Re: [PATCH V2] powerpc/85xx: Merge 85xx/p1023_defconfig into mpc85xx_smp_defconfig and mpc85xx_defconfig

2013-11-12 Thread Kumar Gala
On Nov 11, 2013, at 1:25 PM, Lijun Pan wrote: > mpc85xx_smp_defconfig and mpc85xx_defconfig already have CONFIG_P1023RDS=y. > Merge CONFIG_P1023RDB=y and other relevant configurations into > mpc85xx_smp_defconfig and mpc85_defconfig. > > Signed-off-by: Lijun Pan > --- > arch/powerpc/configs/8

Re: [PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Mark Salter
On Tue, 2013-11-12 at 16:39 +0100, Michal Simek wrote: > On 11/12/2013 02:22 PM, Mark Salter wrote: > > > > arch/arm/include/asm/fixmap.h| 25 ++-- > > arch/hexagon/include/asm/fixmap.h| 40 + > > arch/metag/include/asm/fixmap.h | 32 +-- > > arch/micro

Re: [PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Michal Simek
On 11/12/2013 02:22 PM, Mark Salter wrote: > Many architectures provide an asm/fixmap.h which defines support for > compile-time 'special' virtual mappings which need to be made before > paging_init() has run. This suport is also used for early ioremap > on x86. Much of this support is identical ac

RE: [PATCH 3/4] phylib: Support attaching to gen10g_driver

2013-11-12 Thread Shaohui Xie
Added more people and list. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Monday, November 11, 2013 7:08 PM > To: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org > Cc: Bucur Madalin-Cristian-B32716; Kanetkar Shrut

RE: [PATCH 4/4] phylib: Add of_phy_attach

2013-11-12 Thread Shaohui Xie
Added more people and list. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Monday, November 11, 2013 7:08 PM > To: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org > Cc: Bucur Madalin-Cristian-B32716; Kanetkar Shrut

RE: [PATCH 2/4] phylib: Add generic 10G driver

2013-11-12 Thread Shaohui Xie
Added more people and list. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Monday, November 11, 2013 7:07 PM > To: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org > Cc: Bucur Madalin-Cristian-B32716; Kanetkar Shrut

RE: [PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-12 Thread Shaohui Xie
Added more people and list. Best Regards, Shaohui Xie > -Original Message- > From: shh@gmail.com [mailto:shh@gmail.com] > Sent: Monday, November 11, 2013 7:04 PM > To: linuxppc-dev@lists.ozlabs.org; linux-ker...@vger.kernel.org > Cc: Bucur Madalin-Cristian-B32716; Kanetkar Shrut

Re: [PATCH 01/11] Add generic fixmap.h

2013-11-12 Thread Arnd Bergmann
On Tuesday 12 November 2013, Mark Salter wrote: > Many architectures provide an asm/fixmap.h which defines support for > compile-time 'special' virtual mappings which need to be made before > paging_init() has run. This suport is also used for early ioremap > on x86. Much of this support is identic

[PATCH 01/11] Add generic fixmap.h

2013-11-12 Thread Mark Salter
Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This suport is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates all

[PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Mark Salter
Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This suport is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates all

[PATCH 08/11] powerpc: use generic fixmap.h

2013-11-12 Thread Mark Salter
Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/fixmap.h | 44 ++- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/include/asm/fixmap.h b/arch

Re: [PATCH] powerpc: book3s: PR: Enable Little Endian PR guest

2013-11-12 Thread Alexander Graf
Am 11.11.2013 um 09:08 schrieb "Aneesh Kumar K.V" : > From: "Aneesh Kumar K.V" > > This patch make sure we inherit the LE bit correctly in different case > so that we can run Little Endian distro in PR mode > > Signed-off-by: Aneesh Kumar K.V This is not how real hardware works, is it? Cou

Re: [PATCH RFC v5 2/5] dma: mpc512x: add support for peripheral transfers

2013-11-12 Thread Alexander Popov
Hello, Gerhard! 2013/11/12 Gerhard Sittig : > Alexander, there is outstanding review feedback for a previous > version of the series that you haven't addressed yet. Can you > please either look into those issues, or state that it's OK to > leave them and why this is so? Excuse me for misunderstan

Re: [PATCH] powerpc/85xx: typo in dts: "interupt" (four devices)

2013-11-12 Thread Mark Rutland
On Mon, Nov 11, 2013 at 09:52:07PM +, Adam Borowski wrote: > These lines were inoperative for four years, which puts some doubt into > their importance, and it's possible the fixed version will regress, but > at the very least they should be removed instead. > > Signed-off-by: Adam Borowski >

Re: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-11-12 Thread Lars-Peter Clausen
On 11/12/2013 08:35 AM, Li Xiubo wrote: +static int fsl_sai_probe(struct platform_device *pdev) { [...] + + sai->dma_params_rx.addr = res->start + SAI_RDR; + sai->dma_params_rx.maxburst = 6; + index = of_property_match_string(np, "dma-names", "rx"); + ret = of_parse_phan