From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CE9FC7618B for ; Sat, 27 Jul 2019 15:39:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7ABB620840 for ; Sat, 27 Jul 2019 15:39:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tMbUMJLp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7ABB620840 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FspCaEY4bFyD3sSQfmcOiyY9zJnjz7zxxFzY5C7XdMY=; b=tMbUMJLprxISVo yGoSmvU4O7xvT8G8/bSs2aG66KodgZrOz/PBxh3+rThnzBRa4uyrV2BjfW0a/LTzUYIt8QB/3aJgt Nok1q/LfFBRXgL/JQGLZRxQDvYgkOrEfXimD73UtAJ57MUU/L1eDXlH2Rtw4z+OI548GQhVb7CjTl Eht32Bc/xztLf+j+DMyuoQRL79NR+PpYQfHGVfLkvIUj44Sk1uEIeKf/IX1fk3dGOD0Joj+34BIW/ gPQne17Z97fybyBemiq6cTigbbYb4AT0gIjZhC1aM4kpd7xZy4fUWIPWIFxBf5VwYAaSqZq3Vmior Bw5G2L/ABXQS5wKRyZAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hrOne-0001vS-3s; Sat, 27 Jul 2019 15:39:58 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hrOnZ-0001uh-Hj for linux-arm-kernel@lists.infradead.org; Sat, 27 Jul 2019 15:39:56 +0000 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hrOnR-00019o-C2; Sat, 27 Jul 2019 17:39:45 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1hrOnP-0005nI-HV; Sat, 27 Jul 2019 17:39:43 +0200 Date: Sat, 27 Jul 2019 17:39:43 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Alexandre Belloni Subject: Re: [PATCH v3 6/7] ARM: dts: at91: at91sam9x5: switch to new clock bindings Message-ID: <20190727153943.abjyfhkdnafq2u5w@pengutronix.de> References: <20181112133108.31021-1-alexandre.belloni@bootlin.com> <20181112133108.31021-7-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181112133108.31021-7-alexandre.belloni@bootlin.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190727_083953_583781_04A11629 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: info@acmesystems.it, Ludovic Desroches , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Alexandre, On Mon, Nov 12, 2018 at 02:31:07PM +0100, Alexandre Belloni wrote: > Switch at91sam9x5 boards to the new PMC clock bindings. This patch results in a broken dtb for my AriettaG25[1]. It compiles fine, but booting results in: SD/MMC: dt blob: Read file acme-arietta.dtb to 0x21000000 SD: Card Capacity: Standard SD: Specification Version 3.0X Booting zImage ...... zImage magic: 0x16f2818 is found Using device tree in place at 0x21000000 Starting linux kernel ..., machid: 0xffffffff Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 5.3.0-rc1+ (uwe@taurus) (gcc version 7.3.1 20180201 (OSELAS.= Toolchain-2018.02.0 7-20180201)) #4 Sat Jul 27 15:47:15 CEST 2019 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=3D0005317f CPU: VIVT data cache, VIVT instruction cache OF: fdt: Machine model: Acme Systems Arietta G25 printk: bootconsole [earlycon0] enabled printk: debug: ignoring loglevel setting. Memory policy: Data cache writeback On node 0 totalpages: 32768 Normal zone: 256 pages used for memmap Normal zone: 0 pages reserved Normal zone: 32768 pages, LIFO batch:7 pcpu-alloc: s0 r0 d32768 u32768 alloc=3D1*32768 pcpu-alloc: [0] 0 = Built 1 zonelists, mobility grouping on. Total pages: 32512 Kernel command line: earlyprintk ignore_loglevel mem=3D128M console=3Dtty= S0,115200 root=3D/dev/mmcblk0p2 rootfstype=3Dext4 rw rootwait Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 121352K/131072K available (5826K kernel code, 199K rwdata, 1892K r= odata, 232K init, 125K bss, 9720K reserved, 0K cma-reserved) NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 random: get_random_bytes called from start_kernel+0x294/0x474 with crng_in= it=3D0 bad: scheduling from the idle thread! CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc1+ #4 Hardware name: Atmel AT91SAM9 [] (unwind_backtrace) from [] (show_stack+0x10/0x18) [] (show_stack) from [] (dump_stack+0x18/0x24) [] (dump_stack) from [] (dequeue_task_idle+0x1c/0x34) [] (dequeue_task_idle) from [] (__schedule+0x250/0x38c) [] (__schedule) from [] (schedule+0x94/0xc8) [] (schedule) from [] (schedule_hrtimeout_range_clock+= 0xf4/0x13c) [] (schedule_hrtimeout_range_clock) from [] (schedule_= hrtimeout_range+0x18/0x24) [] (schedule_hrtimeout_range) from [] (usleep_range+0x= 70/0x98) [] (usleep_range) from [] (clk_slow_rc_osc_prepare+0x2= 8/0x34) [] (clk_slow_rc_osc_prepare) from [] (clk_core_prepare= +0x84/0xa0) [] (clk_core_prepare) from [] (clk_core_prepare+0x60/0= xa0) [] (clk_core_prepare) from [] (clk_prepare+0x1c/0x30) [] (clk_prepare) from [] (regmap_mmio_attach_clk+0x1c/= 0x24) [] (regmap_mmio_attach_clk) from [] (of_syscon_registe= r+0x218/0x268) [] (of_syscon_register) from [] (syscon_node_to_regmap= +0x30/0x58) [] (syscon_node_to_regmap) from [] (at91sam9x5_pmc_set= up+0x78/0x430) [] (at91sam9x5_pmc_setup) from [] (of_clk_init+0x188/0= x21c) [] (of_clk_init) from [] (time_init+0x1c/0x2c) [] (time_init) from [] (start_kernel+0x2c4/0x474) [] (start_kernel) from [<00000000>] (0x0) bad: scheduling from the idle thread! CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc1+ #4 Hardware name: Atmel AT91SAM9 [] (unwind_backtrace) from [] (show_stack+0x10/0x18) [] (show_stack) from [] (dump_stack+0x18/0x24) [] (dump_stack) from [] (dequeue_task_idle+0x1c/0x34) [] (dequeue_task_idle) from [] (__schedule+0x250/0x38c) [] (__schedule) from [] (schedule+0x94/0xc8) [] (schedule) from [] (schedule_hrtimeout_range_clock+= 0xf4/0x13c) [] (schedule_hrtimeout_range_clock) from [] (schedule_= hrtimeout_range+0x18/0x24) [] (schedule_hrtimeout_range) from [] (usleep_range+0x= 70/0x98) [] (usleep_range) from [] (clk_slow_rc_osc_prepare+0x2= 8/0x34) [] (clk_slow_rc_osc_prepare) from [] (clk_core_prepare= +0x84/0xa0) [] (clk_core_prepare) from [] (clk_core_prepare+0x60/0= xa0) [] (clk_core_prepare) from [] (clk_prepare+0x1c/0x30) [] (clk_prepare) from [] (regmap_mmio_attach_clk+0x1c/= 0x24) [] (regmap_mmio_attach_clk) from [] (of_syscon_registe= r+0x218/0x268) [] (of_syscon_register) from [] (syscon_node_to_regmap= +0x30/0x58) [] (syscon_node_to_regmap) from [] (at91sam9x5_pmc_set= up+0x78/0x430) [] (at91sam9x5_pmc_setup) from [] (of_clk_init+0x188/0= x21c) [] (of_clk_init) from [] (time_init+0x1c/0x2c) [] (time_init) from [] (start_kernel+0x2c4/0x474) [] (start_kernel) from [<00000000>] (0x0) bad: scheduling from the idle thread! CPU: 0 PID: 0 Comm: swapper Not tainted 5.3.0-rc1+ #4 Hardware name: Atmel AT91SAM9 ... The error message repeats without end. (I obviously didn't test until the end :-), but after 10 minutes the machine still prints this message.) With the old dtb Linux 5.3-rc1 boots just fine. I assume this is not related to my dts or .config so I'm not attaching these here. If you're interested I can provide them of course. Best regards Uwe [1] https://www.acmesystems.it/arietta -- = Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel