Re: [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:22 +0100 Gerhard Sittig wrote: > introduce a dt-bindings/ header file for MPC512x clocks, > providing symbolic identifiers for those SoC clocks which > clients will reference from their device tree nodes > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: S

Re: [PATCH v6 03/17] dts: mpc512x: add clock related device tree specs

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:23 +0100 Gerhard Sittig wrote: > this addresses the clock driver aka provider's side of clocks > - introduce a 'clocks' subtree with an 'osc' node for the crystal > or oscillator SoC input (fixed frequency) > - the 'clock@f00' clock-control-module node references the '

Re: [PATCH v6 04/17] clk: mpc512x: introduce COMMON_CLK for MPC512x (disabled)

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:24 +0100 Gerhard Sittig wrote: > this change implements a clock driver for the MPC512x PowerPC platform > which follows the COMMON_CLK approach and uses common clock drivers > shared with other platforms > > this driver implements the publicly announced set of clocks (t

Re: [PATCH v6 05/17] clk: mpc512x: add backwards compat to the CCF code

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:25 +0100 Gerhard Sittig wrote: > extend the recently added COMMON_CLK platform support for MPC512x such > that it works with incomplete device tree data which lacks clock specs > > Cc: Mike Turquette > Cc: Anatolij Gustschin > Cc: linux-arm-ker...@lists.infradead.org

Re: [PATCH v6 06/17] dts: mpc512x: add clock specs for client lookups

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:26 +0100 Gerhard Sittig wrote: > this addresses the client side of device tree based clock lookups > > add clock specifiers to the mbx, nfc, mscan, sdhc, i2c, axe, diu, viu, > mdio, fec, usb, pata, psc, psc fifo, and pci nodes in the shared > mpc5121.dtsi include > > C

Re: [PATCH v6 07/17] clk: mpc5xxx: switch to COMMON_CLK, retire PPC_CLOCK

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:27 +0100 Gerhard Sittig wrote: > the setup before the change was > - arch/powerpc/Kconfig had the PPC_CLOCK option, off by default > - depending on the PPC_CLOCK option the arch/powerpc/kernel/clock.c file > was built, which implements the clk.h API but always returns

Re: [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:28 +0100 Gerhard Sittig wrote: > after device tree based clock lookup became available, the peripheral > driver need no longer construct clock names which include the PSC index, > remove the "psc%d_mclk" template and unconditionally use 'mclk' > > acquire and release th

Re: [PATCH v6 09/17] serial: mpc512x: adjust for OF based clock lookup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:29 +0100 Gerhard Sittig wrote: > after device tree based clock lookup became available, the peripheral > driver need no longer construct clock names which include the PSC index, > remove the "psc%d_mclk" template and unconditionally use 'mclk' > > acquire and release th

Re: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:30 +0100 Gerhard Sittig wrote: > prepare and enable the FIFO clock upon PSC FIFO initialization, > check for and propagage errors when enabling the PSC FIFO clock, > disable and unprepare the FIFO clock upon PSC FIFO uninitialization > > devm_{get,put}_clk() doesn't app

Re: [PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:31 +0100 Gerhard Sittig wrote: > after device tree based clock lookup became available, the peripheral > driver need no longer construct clock names which include the component > index -- remove the "usb%d_clk" template, always use "ipg" instead > > Cc: Greg Kroah-Hartm

Re: [PATCH v6 12/17] mtd: mpc5121_nfc: adjust for OF based clock lookup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:32 +0100 Gerhard Sittig wrote: > after device tree based clock lookup became available, the NAND > flash driver need no longer use the previous global "nfc_clk" name, > but should use the "ipg" clock name specific to the OF node > > Cc: David Woodhouse > Cc: Artem Bity

Re: [PATCH v6 13/17] [media] fsl-viu: adjust for OF based clock lookup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:33 +0100 Gerhard Sittig wrote: > after device tree based clock lookup became available, the VIU driver > need no longer use the previous global "viu_clk" name, but should use > the "ipg" clock name specific to the OF node > > Cc: Mauro Carvalho Chehab > Cc: linux-me...

Re: [PATCH v6 14/17] net: can: mscan: adjust to common clock support for mpc512x

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:34 +0100 Gerhard Sittig wrote: > implement a .get_clock() callback for the MPC512x platform which uses > the common clock infrastructure (eliminating direct access to the clock > control registers from within the CAN network driver), and provide the > corresponding .put_

Re: [PATCH v6 15/17] net: can: mscan: remove non-CCF code for MPC512x

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:35 +0100 Gerhard Sittig wrote: > transition to the common clock framework has completed and the PPC_CLOCK > is no longer available for the MPC512x platform, remove the now obsolete > code path of the mpc5xxx mscan driver which accessed clock control module > registers di

Re: [PATCH v6 16/17] powerpc/mpc512x: improve DIU related clock setup

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:36 +0100 Gerhard Sittig wrote: > adapt the DIU clock initialization to the COMMON_CLK approach: > device tree based clock lookup, prepare and unprepare for clocks, > work with frequencies not dividers, call the appropriate clk_*() > routines and don't access CCM register

Re: [PATCH] powerpc 8xx: Loading kernels over 8Mbytes without CONFIG_PIN_TLB

2013-12-07 Thread christophe leroy
Le 06/12/2013 20:09, Scott Wood a écrit : On Wed, 2013-11-27 at 12:04 +0100, Christophe Leroy wrote: Today, the only way to load kernels whose size is greater than 8Mbytes is to activate CONFIG_PIN_TLB. Otherwise, the physical memory initially mapped is limited to 8Mbytes. This patch sets up 24

Re: [PATCH v6 17/17] clk: mpc512x: remove migration support workarounds

2013-12-07 Thread Anatolij Gustschin
On Sat, 30 Nov 2013 23:51:37 +0100 Gerhard Sittig wrote: > this change removes workarounds which have become obsolete after > migration to common clock support has completed > - remove clkdev registration calls (compatibility clock item aliases) > after all peripheral drivers were adjusted for

Re: [PATCH] powernv: fix VFIO support with PHB3

2013-12-07 Thread Thadeu Lima de Souza Cascardo
On Sat, Dec 07, 2013 at 11:58:44AM +1100, Alexey Kardashevskiy wrote: > On 12/06/2013 11:21 PM, Thadeu Lima de Souza Cascardo wrote: > > I have recently found out that no iommu_groups could be found under > > /sys/ on a P8. That prevents PCI passthrough from working. > > > > During my investigatio

questions: second of the 2 pcie controllers does not scan the bus.

2013-12-07 Thread Ruchika
Any ideas/pointers anyone ? Thank you On 12/6/2013 6:48 PM, Ruchika wrote: Hi, I am working with an p4080 based board. I am trying to get 2 PCIE controllers probed properly. In uboot I have no problems scanning and discovering what is connected to both controllers/PCI bridges. For both PCIE1/

Re: [PATCH] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-07 Thread Hong H. Pham
There is a typo in the v2 patch, please disregard it. The v3 patch with the correction will follow. Thanks, Hong On 12/06/2013 11:15 AM, Hong H. Pham wrote: Hi Aneesh, On 12/06/2013 05:38 AM, Aneesh Kumar K.V wrote: can you also specifiy the config details here. ie, 4K page size functions a

[PATCH v3] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-07 Thread Hong H. Pham
From: "Hong H. Pham" In pte_alloc_one(), pgtable_page_ctor() is passed an address that has not been converted by page_address() to the newly allocated PTE page. When the PTE is freed, __pte_free_tlb() calls pgtable_page_dtor() with an address to the PTE page that has been converted by page_addre

Re: [PATCH v3] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-07 Thread Benjamin Herrenschmidt
On Sat, 2013-12-07 at 09:06 -0500, Hong H. Pham wrote: > diff --git a/arch/powerpc/include/asm/pgalloc-32.h > b/arch/powerpc/include/asm/pgalloc-32.h > index 27b2386..842846c 100644 > --- a/arch/powerpc/include/asm/pgalloc-32.h > +++ b/arch/powerpc/include/asm/pgalloc-32.h > @@ -84,10 +84,8 @@ st

Re: [PATCH v3] powerpc: Fix PTE page address mismatch in pgtable ctor/dtor

2013-12-07 Thread Benjamin Herrenschmidt
On Sun, 2013-12-08 at 07:27 +1100, Benjamin Herrenschmidt wrote: > On Sat, 2013-12-07 at 09:06 -0500, Hong H. Pham wrote: > > > diff --git a/arch/powerpc/include/asm/pgalloc-32.h > > b/arch/powerpc/include/asm/pgalloc-32.h > > index 27b2386..842846c 100644 > > --- a/arch/powerpc/include/asm/pgall

Re: [PATCH] powerpc 8xx: Loading kernels over 8Mbytes without CONFIG_PIN_TLB

2013-12-07 Thread Benjamin Herrenschmidt
On Sat, 2013-12-07 at 10:39 +0100, christophe leroy wrote: > Function setup_initial_memory_limit() in mm/init_32.c defines the > limits > based on the parameters given by the bootloader. > As far as I know, the 8xx doesn't do speculative access just because > an area is loaded in a TLB Entry. Spe