Re: N900 v3.19-rc5 errors

2015-01-23 Thread Pali Rohár
On Friday 23 January 2015 18:20:12 Guenter Roeck wrote: On Fri, Jan 23, 2015 at 02:15:56PM +0100, Pali Rohár wrote: Hello, I'm getting these two errors when booting DT linux v3.19-rc5 in n900 qemu: Hello Pali, can you send me the kernel confguration and qemu command line you are using

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Tyler Baker
-logs/tree/next-20150123 looks good and back to old status. Thank you folks for all the help. I just reviewed the boot logs for next-20150123 and there still seems to be a related issue. I've been boot testing multi_v7_defconfig+CONFIG_ARM_LPAE=y kernel configurations which still seem broken

Re: [PATCH 2/2] ARM: OMAP2+: Add dm816x hwmod support

2015-01-23 Thread Paul Walmsley
Hi Tony thought about this some more overnight... On Fri, 23 Jan 2015, Paul Walmsley wrote: On Tue, 20 Jan 2015, Tony Lindgren wrote: +/* L3 Interconnect entries */ +static struct omap_hwmod dm816x_l3_s_hwmod = { + .name = l3_s, Would suggest naming this l3_slow +

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Nishanth Menon
On 16:05-20150120, Kirill A. Shutemov wrote: [..] Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Reported-by: Nishanth Menon n...@ti.com Just to close on this thread: https://github.com/nmenon/kernel-test-logs/tree/next-20150123 looks good and back to old status. Thank you

Re: N900 v3.19-rc5 errors

2015-01-23 Thread Guenter Roeck
On Fri, Jan 23, 2015 at 02:15:56PM +0100, Pali Rohár wrote: Hello, I'm getting these two errors when booting DT linux v3.19-rc5 in n900 qemu: Hello Pali, can you send me the kernel confguration and qemu command line you are using ? Thanks, Guenter -- To unsubscribe from this list: send the

Re: [PATCH 4/4] ARM: dts: Add minimal support for dm8168-evm

2015-01-23 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150121 19:20]: On 19 January 2015 at 18:29, Tony Lindgren t...@atomide.com wrote: Hmm I sort of got the idea that dm814x and dm816x were done about the same time. Are you saying dm814x was actually done after dm816x? Well, it's hard to come up

Re: perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
Hi, On Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi wrote: Hi, I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is not able to capture any stack traces even though I CONFIG_STACKTRACE, CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. I wonder if anybody

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Kirill A. Shutemov
On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote: On 09:39-20150123, Tyler Baker wrote: Hi, On 23 January 2015 at 09:27, Nishanth Menon n...@ti.com wrote: On 16:05-20150120, Kirill A. Shutemov wrote: [..] Signed-off-by: Kirill A. Shutemov kirill.shute

perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
Hi, I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is not able to capture any stack traces even though I CONFIG_STACKTRACE, CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. I wonder if anybody else is facing similar issues. Here's console grab: perf record -e

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Nishanth Menon
On 09:39-20150123, Tyler Baker wrote: Hi, On 23 January 2015 at 09:27, Nishanth Menon n...@ti.com wrote: On 16:05-20150120, Kirill A. Shutemov wrote: [..] Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Reported-by: Nishanth Menon n...@ti.com Just to close

Re: perf not capturing stack traces

2015-01-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is not able to capture any stack traces even though I CONFIG_STACKTRACE, CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. I wonder if anybody else is

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Nishanth Menon
On 22:22-20150123, Kirill A. Shutemov wrote: On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote: On 09:39-20150123, Tyler Baker wrote: Hi, On 23 January 2015 at 09:27, Nishanth Menon n...@ti.com wrote: On 16:05-20150120, Kirill A. Shutemov wrote: [..] Signed

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-23 Thread Pali Rohár
On Friday 23 January 2015 22:39:55 Pali Rohár wrote: Hello, when I boot zImage with appended DT n900 in qemu fdt_open_into() function called from file arch/arm/boot/compressed/atags_to_fdt.c (in function atags_to_fdt) always returns -FDT_ERR_NOSPACE. It means that all ATAGS (including

N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-23 Thread Pali Rohár
Hello, when I boot zImage with appended DT n900 in qemu fdt_open_into() function called from file arch/arm/boot/compressed/atags_to_fdt.c (in function atags_to_fdt) always returns -FDT_ERR_NOSPACE. It means that all ATAGS (including cmdline arguments) passed by bootloader are ignored. On

Re: perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
On Fri, Jan 23, 2015 at 05:59:59PM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is not able to capture any stack traces even though I CONFIG_STACKTRACE,

Re: [GIT PULL 1/3] drop legacy booting for omap3517

2015-01-23 Thread Olof Johansson
On Tue, Jan 20, 2015 at 10:25:38AM -0800, Tony Lindgren wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [GIT PULL 2/3] omap defconfig changes for v3.20

2015-01-23 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [150123 13:50]: On Tue, Jan 20, 2015 at 10:25:39AM -0800, Tony Lindgren wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Tyler Baker
Hi Kirill, On 23 January 2015 at 12:22, Kirill A. Shutemov kir...@shutemov.name wrote: On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote: On 09:39-20150123, Tyler Baker wrote: Hi, On 23 January 2015 at 09:27, Nishanth Menon n...@ti.com wrote: On 16:05-20150120, Kirill

Re: [GIT PULL 3/3] omap device tree changes for v3.20, part 2

2015-01-23 Thread Olof Johansson
On Tue, Jan 20, 2015 at 10:25:40AM -0800, Tony Lindgren wrote: The following changes since commit 7300bfff886a1340cfeb252035303e265cd556d9: ARM: dts: omap3-gta04: Add handling for tv output (2015-01-13 08:02:21 -0800) are available in the git repository at:

Re: [GIT PULL 2/3] omap defconfig changes for v3.20

2015-01-23 Thread Olof Johansson
On Tue, Jan 20, 2015 at 10:25:39AM -0800, Tony Lindgren wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it disabled

2015-01-23 Thread NeilBrown
On Thu, 22 Jan 2015 13:40:53 -0800 Tony Lindgren t...@atomide.com wrote: * Marek Belisko ma...@goldelico.com [150122 12:42]: From: NeilBrown n...@brown.name Signed-off-by: NeilBrown n...@brown.name --- arch/arm/boot/dts/omap3-gta04.dtsi | 4 1 file changed, 4 insertions(+)

[PATCH 2/4] arm: dts: am4372: add missing debugss clocks

2015-01-23 Thread Felipe Balbi
These clocks are needed so that OMAP HWMOD can control them when we're using performance monitors. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 51 1 file changed, 51 insertions(+) diff --git

[PATCH 0/4] arm: am43xx: add PMU support

2015-01-23 Thread Felipe Balbi
Hi all, with these patches we can use perf with AM43xx devices and get actual statistics. Full boot logs: http://hastebin.com/yoxaxurohu Felipe Balbi (4): arm: omap: hwmod: 43xx: add DebugSS hwmod data arm: dts: am4372: add missing debugss clocks clk: ti: 43xx: add debugss clocks to

[PATCH 1/4] arm: omap: hwmod: 43xx: add DebugSS hwmod data

2015-01-23 Thread Felipe Balbi
Without hwmod data for DebugSS, performance monitors have no chance of running on AM43xx devices. Signed-off-by: Felipe Balbi ba...@ti.com --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 40 ++ arch/arm/mach-omap2/prcm43xx.h | 1 + 2 files changed, 41

[PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table

2015-01-23 Thread Felipe Balbi
without these entries, omap_hwmod will not be able to find debugss clocks. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/clk/ti/clk-43xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/ti/clk-43xx.c b/drivers/clk/ti/clk-43xx.c index 3795fce8a830..46a597c815c9

[PATCH 4/4] arm: dts: am4372: add pmu DT data

2015-01-23 Thread Felipe Balbi
with this patch, performance monitors work and show sensible data on AM43xx devices: ~# perf stat sleep 5 Performance counter stats for 'sleep 5': 6.079585 task-clock (msec) #0.001 CPUs utilized 3 context-switches #0.493 K/sec

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Kirill A. Shutemov
On Fri, Jan 23, 2015 at 02:42:17PM -0800, Tyler Baker wrote: Hi Kirill, On 23 January 2015 at 12:22, Kirill A. Shutemov kir...@shutemov.name wrote: On Fri, Jan 23, 2015 at 12:37:06PM -0600, Nishanth Menon wrote: On 09:39-20150123, Tyler Baker wrote: Hi, On 23 January 2015 at 09:27

Re: [PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table

2015-01-23 Thread Felipe Balbi
On Fri, Jan 23, 2015 at 05:11:43PM -0600, Felipe Balbi wrote: without these entries, omap_hwmod will not be able to find debugss clocks. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/clk/ti/clk-43xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 2/2] ARM: OMAP2+: Add dm816x hwmod support

2015-01-23 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [150123 10:24]: Hi Tony thought about this some more overnight... On Fri, 23 Jan 2015, Paul Walmsley wrote: On Tue, 20 Jan 2015, Tony Lindgren wrote: +/* L3 Interconnect entries */ +static struct omap_hwmod dm816x_l3_s_hwmod = { + .name

Re: [PATCH 12/13] ARM: dts: omap3-gta04: uart4 is not connected, so mark it disabled

2015-01-23 Thread Tony Lindgren
* NeilBrown ne...@suse.de [150123 14:31]: On Thu, 22 Jan 2015 13:40:53 -0800 Tony Lindgren t...@atomide.com wrote: +uart4 { + status = disabled; +}; + This you probably want to avoid from PM point of view. Depending on bootloader state of uart4, Linux may or may not be

Re: N900 v3.19-rc5 arm atags_to_fdt.c is broken

2015-01-23 Thread Pavel Machek
On Fri 2015-01-23 23:36:36, Pali Rohár wrote: On Friday 23 January 2015 22:39:55 Pali Rohár wrote: Hello, when I boot zImage with appended DT n900 in qemu fdt_open_into() function called from file arch/arm/boot/compressed/atags_to_fdt.c (in function atags_to_fdt) always returns

Re: [next-20150119]regression (mm)?

2015-01-23 Thread Nishanth Menon
On 03:13-20150124, Kirill A. Shutemov wrote: On 09:39-20150123, Tyler Baker wrote: [...] I just reviewed the boot logs for next-20150123 and there still seems to be a related issue. I've been boot testing multi_v7_defconfig+CONFIG_ARM_LPAE=y kernel configurations which still

Re: [PATCH 1/2] ARM: OMAP2+: Add clock domain support for dm816x

2015-01-23 Thread Paul Walmsley
Hi Tony On Tue, 20 Jan 2015, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [150120 18:08]: On Tue, 13 Jan 2015, Tony Lindgren wrote: +/* Common TI81XX */ I can't comment on how many of these are truly common; since I haven't cross-checked this file against the 814x TRM.

Re: [PATCH 2/2] ARM: OMAP2+: Add dm816x hwmod support

2015-01-23 Thread Paul Walmsley
Hi Tony just a few brief comments On Tue, 20 Jan 2015, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [150117 08:38]: And the sysc and syss offsets for mcspi1 need 0x100 added to them for it to work, like on am33xx. Updated patch below. Here's this one updated with the

Re: [PATCH v11 2/4] clk: Make clk API return per-user struct clk instances

2015-01-23 Thread Tomeu Vizoso
On 01/22/2015 07:59 PM, Stephen Boyd wrote: On 01/22, Tomeu Vizoso wrote: On 01/22/2015 02:01 AM, Stephen Boyd wrote: BTW, please try and fixup checkpatch warnings. What were you thinking of specifically? I'm running it with --max-line-length=106 and the other warnings are in clk-test.c that

[PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-01-23 Thread Tomeu Vizoso
Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that clk_get_parent() returns isn't owned by the caller,

[PATCH v13 4/6] clk: Add rate constraints to clocks

2015-01-23 Thread Tomeu Vizoso
Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set minimum rates, or by misc. drivers to set maximum rates to assure a minimum performance level. Changes the signature of the determine_rate callback by adding the parameters min_rate and

N900 v3.19-rc5 errors

2015-01-23 Thread Pali Rohár
Hello, I'm getting these two errors when booting DT linux v3.19-rc5 in n900 qemu: [0.309234] device-tree: Duplicate name in onenand@0,0, renamed to #1 [0.309417] device-tree: Duplicate name in onenand@0,0, renamed to #2 [0.309844] device-tree: Duplicate name in ethernet@gpmc, renamed

Re: [PATCH v2 3/5] usb: dwc3: Add quirk for Synopsis device disconnection errata

2015-01-23 Thread Felipe Balbi
Hi, On Wed, Jan 21, 2015 at 05:02:57PM +0800, Sneeker Yeh wrote: Hi Felipe: Thanks for reviewing these, 2015-01-19 22:50 GMT+08:00 Felipe Balbi ba...@ti.com: Hi, On Mon, Jan 19, 2015 at 03:56:47PM +0800, Sneeker Yeh wrote: Synopsis Designware USB3 IP earlier than v3.00a which is

Re: [PATCH 0/5] extcon: usb: Introduce USB GPIO extcon driver. Fix DRA7 USB.

2015-01-23 Thread Felipe Balbi
On Fri, Jan 23, 2015 at 09:26:56AM +0200, Roger Quadros wrote: Felipe, On 22/01/15 22:29, Felipe Balbi wrote: On Thu, Jan 22, 2015 at 04:57:56PM +0200, Roger Quadros wrote: On 22/01/15 15:32, Roger Quadros wrote: Felipe, On 20/01/15 21:02, Felipe Balbi wrote: On Mon, Jan 19, 2015

Re: [PATCH 1/2] ARM: OMAP2+: Add clock domain support for dm816x

2015-01-23 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [150123 01:19]: Hi Tony On Tue, 20 Jan 2015, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [150120 18:08]: On Tue, 13 Jan 2015, Tony Lindgren wrote: +/* Common TI81XX */ I can't comment on how many of these are truly common; since I