Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751897AbaKFIpG (ORCPT ); Thu, 6 Nov 2014 03:45:06 -0500 Received: from mail-ig0-f175.google.com ([209.85.213.175]:33610 "EHLO mail-ig0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750901AbaKFIpD (ORCPT ); Thu, 6 Nov 2014 03:45:03 -0500 MIME-Version: 1.0 In-Reply-To: <1414941415-13146-1-git-send-email-robert.jarzmik@free.fr> References: <1414941415-13146-1-git-send-email-robert.jarzmik@free.fr> Date: Thu, 6 Nov 2014 12:45:02 +0400 Message-ID: Subject: Re: [PATCH v1 0/3] Transition pxa25x clock to common clocks From: Dmitry Eremin-Solenikov To: Robert Jarzmik Cc: Haojian Zhuang , Mike Turquette , Marek Vasut , Ian Molton , linux-arm-kernel , Daniel Mack , kernel list Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 2014-11-02 18:16 GMT+03:00 Robert Jarzmik : > Hello pxa25x board maintainers, > > This patchset will move the clock code out of pxa subarchitecture into the > common clock framework. As this change can bring a lot of regression, I'd like > to test it on your boards. > > I prepared for you a git tree based on v3.18-rc : > - git fetch https://github.com:rjarzmik/linux.git work/clocks-pxa:try > - git checkout try > > - it contains all the common clock fixes for pxa and this pathset > - it builds and runs on lubbock (thanks Russell for the board) > - make your defconfig, kernel, boot > - test > - if it does run normally, tell me > - if it doesn't boot, retry once with the kernel command line argument "clk_ignore_unused" and tell me if it fixed or not the problem > - be aware of the GPIO11 clock change > => this is especially true for Ian as my change doesn't look good > > If you could give me feedback if it works for you there will be less breakage. > > And if you want to give a review, even better. Tested in qemu (pxa25x target). 0) Had to revert 23c4a3a5212701ad34bd30591fa33d7bacef9c5f to get kernel to build for pxa25x + pxa27x. 1) I got the following backtrace early in the boot: Division by zero in kernel. CPU: 0 PID: 0 Comm: swapper Not tainted 3.18.0-rc2-00011-g7805b78 #97 [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (Ldiv0+0x8/0x10) [] (Ldiv0) from [] (clk_pxa25x_memory_get_rate+0x28/0x30) [] (clk_pxa25x_memory_get_rate) from [] (clk_composite_recalc_rate+0x20/0x24) [] (clk_composite_recalc_rate) from [] (__clk_init+0x1d0/0x4e8) [] (__clk_init) from [] (clk_register+0x100/0x1c4) [] (clk_register) from [] (clk_register_composite+0x17c/0x250) [] (clk_register_composite) from [] (pxa25x_clocks_init+0x194/0x240) [] (pxa25x_clocks_init) from [] (pxa_timer_init+0x18/0x64) [] (pxa_timer_init) from [] (time_init+0x1c/0x2c) [] (time_init) from [] (start_kernel+0x268/0x3e8) [] (start_kernel) from [] (0xa0008040) It might be due to something being not emulated properly, but I'd suggest to add a check anyway. 2) sa1100-rtc could not find a clock and thus failed to be probed. 3) Had to patch tc6393xb driver to call clk_prepare_enable/clk_disable_unprepare - will submit a patch shortly. 4) Got an issue with IrDA driver - it gets -ENODEV for UARTCLK clock -- With best wishes Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/