From mboxrd@z Thu Jan 1 00:00:00 1970 From: t-kristo@ti.com (Tero Kristo) Date: Mon, 7 Oct 2013 09:35:46 +0300 Subject: [PATCHv7 00/36] ARM: OMAP: clock data conversion to DT In-Reply-To: <20131007021556.GV8949@atomide.com> References: <1380098922-30340-1-git-send-email-t-kristo@ti.com> <524EE00F.7010208@ti.com> <20131007021556.GV8949@atomide.com> Message-ID: <52525642.8010307@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/07/2013 05:15 AM, Tony Lindgren wrote: > * Tero Kristo [131004 08:42]: >> Hi, >> >> Just a gentle reminder, anybody have any comments on this series or >> should we start queuing stuff? > > Well omap4 seems to work for me just fine, and omap3 in legacy > mode. But looks like omap3 device tree based booting is breaking > after I pulled in your test branch. I get the following on > 3630 based dm3730. Uart4 breaks because of the issue with basic DT blobs. You need at least this patch: http://linux-kernel.2935.n7.nabble.com/RFC-PATCH-ARM-OMAP3630-Add-generic-machine-descriptor-td722791.html ... from Nishanth to get it to work right. Otherwise the clock init tries to use omap3430 clock data for omap3630 which leaves uart4 nodes out. -Tero > > Regards, > > Tony > > > [ 0.187652] omap_hwmod: uart4: cannot clk_get main_clk uart4_fck > [ 0.187713] omap_hwmod: uart4: cannot _init_clocks > [ 0.187713] ------------[ cut here ]------------ > [ 0.187774] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2434 _init+0x6c/0x80() > [ 0.187774] omap_hwmod: uart4: couldn't init clocks > [ 0.187774] Modules linked in: > [ 0.187805] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.12.0-rc2-00020-gdea1778-dirty #791 > [ 0.187866] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x14/0x1c) > [ 0.187896] [] (show_stack+0x14/0x1c) from [] (dump_stack+0x6c/0x9c) > [ 0.187927] [] (dump_stack+0x6c/0x9c) from [] (warn_slowpath_common+0x64/0x84) > [ 0.187957] [] (warn_slowpath_common+0x64/0x84) from [] (warn_slowpath_fmt+0x30/0x40) > [ 0.187988] [] (warn_slowpath_fmt+0x30/0x40) from [] (_init+0x6c/0x80) > [ 0.188018] [] (_init+0x6c/0x80) from [] (omap_hwmod_for_each+0x50/0x64) > [ 0.188049] [] (omap_hwmod_for_each+0x50/0x64) from [] (__omap_hwmod_setup_all+0x34/0x4c) > [ 0.188079] [] (__omap_hwmod_setup_all+0x34/0x4c) from [] (do_one_initcall+0x2c/0x150) > [ 0.188110] [] (do_one_initcall+0x2c/0x150) from [] (do_basic_setup+0x94/0xd0) > [ 0.188140] [] (do_basic_setup+0x94/0xd0) from [] (kernel_init_freeable+0x7c/0x120) > [ 0.188171] [] (kernel_init_freeable+0x7c/0x120) from [] (kernel_init+0xc/0x164) > [ 0.188201] [] (kernel_init+0xc/0x164) from [] (ret_from_fork+0x14/0x2c) > [ 0.188415] ---[ end trace 1b75b31a2719ed1c ]--- > > [ 0.810241] ------------[ cut here ]------------ > [ 0.810302] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2126 _enable+0x254/0x280() > [ 0.810302] omap_hwmod: timer12: enabled state can only be entered from initialized, idle, or disabled state > [ 0.810333] Modules linked in: > [ 0.810363] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.12.0-rc2-00020-gdea1778-dirty #791 > [ 0.810394] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x14/0x1c) > [ 0.810424] [] (show_stack+0x14/0x1c) from [] (dump_stack+0x6c/0x9c) > [ 0.810455] [] (dump_stack+0x6c/0x9c) from [] (warn_slowpath_common+0x64/0x84) > [ 0.810485] [] (warn_slowpath_common+0x64/0x84) from [] (warn_slowpath_fmt+0x30/0x40) > [ 0.810516] [] (warn_slowpath_fmt+0x30/0x40) from [] (_enable+0x254/0x280) > [ 0.810546] [] (_enable+0x254/0x280) from [] (omap_hwmod_enable+0x28/0x40) > [ 0.810577] [] (omap_hwmod_enable+0x28/0x40) from [] (omap_device_enable+0x3c/0x80) > [ 0.810607] [] (omap_device_enable+0x3c/0x80) from [] (_od_runtime_resume+0x10/0x1c) > [ 0.810638] [] (_od_runtime_resume+0x10/0x1c) from [] (__rpm_callback+0x2c/0x80) > [ 0.810668] [] (__rpm_callback+0x2c/0x80) from [] (rpm_callback+0x24/0x78) > [ 0.810699] [] (rpm_callback+0x24/0x78) from [] (rpm_resume+0x3c0/0x60c) > [ 0.810729] [] (rpm_resume+0x3c0/0x60c) from [] (__pm_runtime_resume+0x4c/0x68) > [ 0.810760] [] (__pm_runtime_resume+0x4c/0x68) from [] (omap_dm_timer_probe+0x234/0x334) > [ 0.810791] [] (omap_dm_timer_probe+0x234/0x334) from [] (platform_drv_probe+0x1c/0x24) > [ 0.810821] [] (platform_drv_probe+0x1c/0x24) from [] (really_probe+0x70/0x200) > [ 0.810852] [] (really_probe+0x70/0x200) from [] (driver_probe_device+0x34/0x50) > [ 0.810852] [] (driver_probe_device+0x34/0x50) from [] (__driver_attach+0x94/0x98) > [ 0.810882] [] (__driver_attach+0x94/0x98) from [] (bus_for_each_dev+0x74/0x98) > [ 0.810913] [] (bus_for_each_dev+0x74/0x98) from [] (bus_add_driver+0xe8/0x278) > [ 0.810943] [] (bus_add_driver+0xe8/0x278) from [] (driver_register+0x5c/0xf8) > [ 0.810974] [] (driver_register+0x5c/0xf8) from [] (do_one_initcall+0x2c/0x150) > [ 0.811004] [] (do_one_initcall+0x2c/0x150) from [] (do_basic_setup+0x94/0xd0) > [ 0.811035] [] (do_basic_setup+0x94/0xd0) from [] (kernel_init_freeable+0x7c/0x120) > [ 0.811065] [] (kernel_init_freeable+0x7c/0x120) from [] (kernel_init+0xc/0x164) > [ 0.811096] [] (kernel_init+0xc/0x164) from [] (ret_from_fork+0x14/0x2c) > [ 0.811126] ---[ end trace 1b75b31a2719ed1d ]--- > > [ 0.811889] ------------[ cut here ]------------ > [ 0.811920] WARNING: CPU: 0 PID: 46 at arch/arm/mach-omap2/omap_hwmod.c:2224 _idle+0xd4/0xf8() > [ 0.811920] omap_hwmod: timer12: idle state can only be entered from enabled state > [ 0.811950] Modules linked in: > [ 0.811981] CPU: 0 PID: 46 Comm: kworker/0:1 Tainted: G W 3.12.0-rc2-00020-gdea1778-dirty #791 > [ 0.812011] Workqueue: pm pm_runtime_work > [ 0.812042] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x14/0x1c) > [ 0.812072] [] (show_stack+0x14/0x1c) from [] (dump_stack+0x6c/0x9c) > [ 0.812103] [] (dump_stack+0x6c/0x9c) from [] (warn_slowpath_common+0x64/0x84) > [ 0.812133] [] (warn_slowpath_common+0x64/0x84) from [] (warn_slowpath_fmt+0x30/0x40) > [ 0.812164] [] (warn_slowpath_fmt+0x30/0x40) from [] (_idle+0xd4/0xf8) > [ 0.812194] [] (_idle+0xd4/0xf8) from [] (omap_hwmod_idle+0x28/0x3c) > [ 0.812225] [] (omap_hwmod_idle+0x28/0x3c) from [] (omap_device_idle+0x3c/0x80) > [ 0.812225] [] (omap_device_idle+0x3c/0x80) from [] (_od_runtime_suspend+0x20/0x2c) > [ 0.812255] [] (_od_runtime_suspend+0x20/0x2c) from [] (__rpm_callback+0x2c/0x80) > [ 0.812286] [] (__rpm_callback+0x2c/0x80) from [] (rpm_callback+0x24/0x78) > [ 0.812316] [] (rpm_callback+0x24/0x78) from [] (rpm_suspend+0xf4/0x5e4) > [ 0.812347] [] (rpm_suspend+0xf4/0x5e4) from [] (pm_runtime_work+0x80/0xa4) > [ 0.812377] [] (pm_runtime_work+0x80/0xa4) from [] (process_one_work+0x204/0x594) > [ 0.812408] [] (process_one_work+0x204/0x594) from [] (worker_thread+0x148/0x480) > [ 0.812438] [] (worker_thread+0x148/0x480) from [] (kthread+0xa0/0xac) > [ 0.812469] [] (kthread+0xa0/0xac) from [] (ret_from_fork+0x14/0x2c) > [ 0.812499] ---[ end trace 1b75b31a2719ed1e ]--- > > > [ 2.595031] ------------[ cut here ]------------ > [ 2.599945] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2126 _enable+0x254/0x280() > [ 2.609313] omap_hwmod: uart4: enabled state can only be entered from initialized, idle, or disabled state > [ 2.619506] Modules linked in: > [ 2.622772] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 3.12.0-rc2-00020-gdea1778-dirty #791 > [ 2.632537] [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x14/0x1c) > [ 2.641540] [] (show_stack+0x14/0x1c) from [] (dump_stack+0x6c/0x9c) > [ 2.650115] [] (dump_stack+0x6c/0x9c) from [] (warn_slowpath_common+0x64/0x84) > [ 2.659576] [] (warn_slowpath_common+0x64/0x84) from [] (warn_slowpath_fmt+0x30/0x40) > [ 2.669708] [] (warn_slowpath_fmt+0x30/0x40) from [] (_enable+0x254/0x280) > [ 2.678802] [] (_enable+0x254/0x280) from [] (omap_hwmod_enable+0x28/0x40) > [ 2.687927] [] (omap_hwmod_enable+0x28/0x40) from [] (omap_device_enable+0x3c/0x80) > [ 2.697875] [] (omap_device_enable+0x3c/0x80) from [] (_od_runtime_resume+0x10/0x1c) > [ 2.707916] [] (_od_runtime_resume+0x10/0x1c) from [] (__rpm_callback+0x2c/0x80) > [ 2.717559] [] (__rpm_callback+0x2c/0x80) from [] (rpm_callback+0x24/0x78) > [ 2.726684] [] (rpm_callback+0x24/0x78) from [] (rpm_resume+0x3c0/0x60c) > [ 2.735595] [] (rpm_resume+0x3c0/0x60c) from [] (__pm_runtime_resume+0x4c/0x68) > [ 2.745178] [] (__pm_runtime_resume+0x4c/0x68) from [] (serial_omap_probe+0x294/0x4fc) > [ 2.755401] [] (serial_omap_probe+0x294/0x4fc) from [] (platform_drv_probe+0x1c/0x24) > [ 2.765502] [] (platform_drv_probe+0x1c/0x24) from [] (really_probe+0x70/0x200) > [ 2.775054] [] (really_probe+0x70/0x200) from [] (driver_probe_device+0x34/0x50) > [ 2.784729] [] (driver_probe_device+0x34/0x50) from [] (__driver_attach+0x94/0x98) > [ 2.794555] [] (__driver_attach+0x94/0x98) from [] (bus_for_each_dev+0x74/0x98) > [ 2.804138] [] (bus_for_each_dev+0x74/0x98) from [] (bus_add_driver+0xe8/0x278) > [ 2.813690] [] (bus_add_driver+0xe8/0x278) from [] (driver_register+0x5c/0xf8) > [ 2.823181] [] (driver_register+0x5c/0xf8) from [] (serial_omap_init+0x28/0x44) > [ 2.832763] [] (serial_omap_init+0x28/0x44) from [] (do_one_initcall+0x2c/0x150) > [ 2.842407] [] (do_one_initcall+0x2c/0x150) from [] (do_basic_setup+0x94/0xd0) > [ 2.851898] [] (do_basic_setup+0x94/0xd0) from [] (kernel_init_freeable+0x7c/0x120) > [ 2.861846] [] (kernel_init_freeable+0x7c/0x120) from [] (kernel_init+0xc/0x164) > [ 2.871490] [] (kernel_init+0xc/0x164) from [] (ret_from_fork+0x14/0x2c) > [ 2.880432] ---[ end trace 1b75b31a2719ed1f ]--- >