Received: by 10.192.165.148 with SMTP id m20csp1991214imm; Thu, 3 May 2018 08:36:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqpwRrNIIgZXvJqgq2wKRJICdkxZwFGOO3xtP0pFT7qFJgnIhwfG2Wm+LtJpmzBQCUKuRmG X-Received: by 2002:a65:5a07:: with SMTP id y7-v6mr19624911pgs.15.1525361772194; Thu, 03 May 2018 08:36:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525361772; cv=none; d=google.com; s=arc-20160816; b=SQ8cuyD6rsyCQItjOo7QRaBERyDK6ItHP0sKxG0jqtJkZncQu7RtjZWf0gn4yvWJjq yKvvergWD9XWSl7UFxFCNUJ7SkPgWYs4VYXo7yw6iZuRj+WP9lZDkxdm/BeLo21Lai0D acSQrehnsed7o0OpB2m7bW40riVQP3936o+ksWrwuFoOUyYOhv+Y4sJc4bbge6mkao8L e1tztEmzt6bZ/DMb3d/IqLT64dL+7Gi4TItSATft6kGL4Lui3yOu4j8k5MkNegLMXLXu Ck53F2rr5iueX48S18vdH/yvLgzgE5/kGymFSl2/zHAiKAfLv95HXJt95vT6BgzB4Q4m eTog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=D0ZMVdA06BRo55kVNMitCWqiunH+ERG4mOUj2EcM4qg=; b=eJgI+Li4XFW3q1+Oonu3vru6UW8psUMeQXqCdk2AArLf7CKmNObYTXxrnKX+Vu2P02 ZX19/89JygwZz0GjmjvUTvCgb+4DmBpPpYwCzxE1n7ST+wctmjyh0gyDAx020HK5FNrA bnCxQ88EMhUVwTzuxe65pVzTgGXzIhP8mPPFo5JuxcS1bXoc36FY93PnV42IKk9arKwh 6MhOkYZFCdVV34tlXivhCM6IW+z/ItKdAIhUnqL3lkVc7+IY/OWpbcQ4GIDc9PsstbAy t76Zc7zu45ij3Qi4LSyiaRjcXoefQBH9PGm66oPcdKdrBbyudMDIZnglJBByWq9wFw6g qU6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pCtHGeZa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15-v6si11612656pgu.112.2018.05.03.08.35.57; Thu, 03 May 2018 08:36:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pCtHGeZa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbeECPf1 (ORCPT + 99 others); Thu, 3 May 2018 11:35:27 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:63080 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751088AbeECPfX (ORCPT ); Thu, 3 May 2018 11:35:23 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w43FYCLE005251; Thu, 3 May 2018 10:34:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525361652; bh=D0ZMVdA06BRo55kVNMitCWqiunH+ERG4mOUj2EcM4qg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=pCtHGeZaCRhXZXsSVJC5sPDDabGMLV8sASfD6FaZN3HyrndjXNWHugQKByFNvVgk3 oDoernjLefeAlue5EYUKM3V/QMyEFECLGqR0048nyIcMnrmhYKibv5NBZ2KYu3wISr mgHknKzbHz9uwvrrDg06L6+w+anJD39gmOUHW188= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w43FYCVE017123; Thu, 3 May 2018 10:34:12 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 3 May 2018 10:34:12 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 3 May 2018 10:34:12 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w43FY372003689; Thu, 3 May 2018 10:34:03 -0500 Subject: Re: [PATCH v9 07/27] ARM: davinci: dm355: add new clock init using common clock framework To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <20180427001745.4116-1-david@lechnology.com> <20180427001745.4116-8-david@lechnology.com> From: Sekhar Nori Message-ID: Date: Thu, 3 May 2018 21:04:02 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180427001745.4116-8-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 27 April 2018 05:47 AM, David Lechner wrote: > This adds the new board-specific clock init in mach-davinci/dm355.c > using the new common clock framework drivers. > > The #ifdefs are needed to prevent compile errors until the entire > ARCH_DAVINCI is converted. > > Also clean up the #includes since we are adding some here. > > Signed-off-by: David Lechner I am having trouble booting DM355 EVM with the series applied. Still to debug what is going wrong. Thanks, Sekhar Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 4.17.0-rc2-08642-g4dee494ef1ee (a0875516@psplinux063) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #202 PREEM8 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f CPU: VIVT data cache, VIVT instruction cache Machine: DaVinci DM355 EVM Memory policy: Data cache writethrough cma: Reserved 16 MiB at 0x86c00000 DaVinci dm355 variant 0x0 random: get_random_bytes called from start_kernel+0x88/0x3f4 with crng_init=0 Built 1 zonelists, mobility grouping on. Total pages: 32512 Kernel command line: console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=172.24.210.141:/datalocal/Sekhar/new/debian/armel ip=dhcp Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 107044K/131072K available (4684K kernel code, 283K rwdata, 1068K rodata, 240K init, 134K bss, 7644K reserved, 16384K cma-res) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0x(ptrval) - 0x(ptrval) (4686 kB) .init : 0x(ptrval) - 0x(ptrval) ( 240 kB) .data : 0x(ptrval) - 0x(ptrval) ( 284 kB) .bss : 0x(ptrval) - 0x(ptrval) ( 135 kB) SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Preemptible hierarchical RCU implementation. Tasks RCU enabled. NR_IRQS: 245 clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns Console: colour dummy device 80x30 Calibrating delay loop... 106.90 BogoMIPS (lpj=534528) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0x80008400 - 0x80008458 Hierarchical SRCU implementation. devtmpfs: initialized Built 1 zonelists, mobility grouping on. Total pages: 30857 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: -1, 3072 bytes) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations mux: initialized INT_EDMA_CC mux: Setting register INT_EDMA_CC mux: INTMUX (0x00000018) = 0x00000000 -> 0x00000004 cpuidle: using governor menu edma edma.0: Legacy memcpy is enabled, things might not work edma edma.0: TI EDMA DMA engine driver dm355evm_msp 1-0025: firmware v.A5, TVP5146 as video-in clocksource: Switched to clocksource timer0_1 NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. workingset: timestamp_bits=30 max_order=15 bucket_order=0 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) io scheduler noop registered (default) io scheduler mq-deadline registered io scheduler kyber registered Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled console [ttyS0] disabled serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40, base_baud = 1500000) is a 16550A console [ttyS0] enabled serial8250.1: ttyS1 at MMIO 0x1c20400 (irq = 41, base_baud = 1500000) is a 16550A serial8250 serial8250.2: unable to register port at index 0 (IO0 MEM1e06000 IRQ14): -22 brd: module loaded libphy: Fixed MDIO Bus: probed dm9000 dm9000: incomplete constraints, dummy supplies not allowed eth0: dm9000a at (ptrval),(ptrval) IRQ 65 MAC: 00:0e:99:02:cb:91 (eeprom) i2c /dev entries driver davinci-wdt davinci-wdt: heartbeat 60 sec Division by zero in kernel. CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 Hardware name: DaVinci DM355 EVM Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r7:00000000 r6:00000000 r5:fee11000 r4:c6acd400 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (__div0+0x18/0x20) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) r9:c6ac6b80 r8:c05ed140 r7:0000001a r6:00000001 r5:c6acd5e8 r4:c6acd400 [] (mmc_davinci_set_ios) from [] (mmc_set_initial_state+0x9c/0xa0) r5:c6acd5e8 r4:c6acd400 [] (mmc_set_initial_state) from [] (mmc_power_up.part.8+0x38/0x110) r5:00000015 r4:c6acd400 [] (mmc_power_up.part.8) from [] (mmc_start_host+0x94/0xa8) r7:0000001a r6:c05ed130 r5:00000000 r4:c6acd400 [] (mmc_start_host) from [] (mmc_add_host+0x60/0x88) r5:00000000 r4:c6acd400 [] (mmc_add_host) from [] (davinci_mmcsd_probe+0x3f8/0x5dc) r5:c6acd754 r4:c6acd400 [] (davinci_mmcsd_probe) from [] (platform_drv_probe+0x58/0xb4) r10:c05a61d4 r9:00000000 r8:00000000 r7:fffffdfb r6:c061f3e4 r5:ffffffed r4:c05ed140 [] (platform_drv_probe) from [] (driver_probe_device+0x258/0x33c) r7:c061f3e4 r6:00000000 r5:c06458d0 r4:c05ed140 [] (driver_probe_device) from [] (__driver_attach+0xac/0xb0) r9:00000000 r8:ffffe000 r7:c05e7008 r6:c05ed174 r5:c061f3e4 r4:c05ed140 [] (__driver_attach) from [] (bus_for_each_dev+0x78/0xbc) r7:c05e7008 r6:c02d0464 r5:c061f3e4 r4:00000000 [] (bus_for_each_dev) from [] (driver_attach+0x20/0x28) r7:00000000 r6:c061b670 r5:c6ad7960 r4:c061f3e4 [] (driver_attach) from [] (bus_add_driver+0x178/0x20c) [] (bus_add_driver) from [] (driver_register+0x80/0xfc) r7:00000000 r6:c05c4a30 r5:c05e7008 r4:c061f3e4 [] (driver_register) from [] (__platform_driver_register+0x34/0x48) r5:c05e7008 r4:c062ae60 [] (__platform_driver_register) from [] (davinci_mmcsd_driver_init+0x18/0x20) [] (davinci_mmcsd_driver_init) from [] (do_one_initcall+0x50/0x1a4) [] (do_one_initcall) from [] (kernel_init_freeable+0x120/0x1e4) r8:c05a8614 r7:c05d4830 r6:00000007 r5:c062ae60 r4:c05e2ae8 [] (kernel_init_freeable) from [] (kernel_init+0x10/0xfc) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04940e4 r4:00000000 [] (kernel_init) from [] (ret_from_fork+0x14/0x34) Exception stack(0xc6839fb0 to 0xc6839ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r5:c04940e4 r4:00000000 Division by zero in kernel. CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 Hardware name: DaVinci DM355 EVM Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r7:00000000 r6:00000000 r5:fee11000 r4:c6acd400 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (__div0+0x18/0x20) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) r9:c6ac6b80 r8:c05ed140 r7:00000000 r6:00000001 r5:c6acd5e8 r4:c6acd400 [] (mmc_davinci_set_ios) from [] (mmc_power_up.part.8+0xf8/0x110) r5:c6acd5e8 r4:c6acd400 [] (mmc_power_up.part.8) from [] (mmc_start_host+0x94/0xa8) r7:0000001a r6:c05ed130 r5:00000000 r4:c6acd400 [] (mmc_start_host) from [] (mmc_add_host+0x60/0x88) r5:00000000 r4:c6acd400 [] (mmc_add_host) from [] (davinci_mmcsd_probe+0x3f8/0x5dc) r5:c6acd754 r4:c6acd400 [] (davinci_mmcsd_probe) from [] (platform_drv_probe+0x58/0xb4) r10:c05a61d4 r9:00000000 r8:00000000 r7:fffffdfb r6:c061f3e4 r5:ffffffed r4:c05ed140 [] (platform_drv_probe) from [] (driver_probe_device+0x258/0x33c) r7:c061f3e4 r6:00000000 r5:c06458d0 r4:c05ed140 [] (driver_probe_device) from [] (__driver_attach+0xac/0xb0) r9:00000000 r8:ffffe000 r7:c05e7008 r6:c05ed174 r5:c061f3e4 r4:c05ed140 [] (__driver_attach) from [] (bus_for_each_dev+0x78/0xbc) r7:c05e7008 r6:c02d0464 r5:c061f3e4 r4:00000000 [] (bus_for_each_dev) from [] (driver_attach+0x20/0x28) r7:00000000 r6:c061b670 r5:c6ad7960 r4:c061f3e4 [] (driver_attach) from [] (bus_add_driver+0x178/0x20c) [] (bus_add_driver) from [] (driver_register+0x80/0xfc) r7:00000000 r6:c05c4a30 r5:c05e7008 r4:c061f3e4 [] (driver_register) from [] (__platform_driver_register+0x34/0x48) r5:c05e7008 r4:c062ae60 [] (__platform_driver_register) from [] (davinci_mmcsd_driver_init+0x18/0x20) [] (davinci_mmcsd_driver_init) from [] (do_one_initcall+0x50/0x1a4) [] (do_one_initcall) from [] (kernel_init_freeable+0x120/0x1e4) r8:c05a8614 r7:c05d4830 r6:00000007 r5:c062ae60 r4:c05e2ae8 [] (kernel_init_freeable) from [] (kernel_init+0x10/0xfc) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04940e4 r4:00000000 [] (kernel_init) from [] (ret_from_fork+0x14/0x34) Exception stack(0xc6839fb0 to 0xc6839ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r5:c04940e4 r4:00000000 Division by zero in kernel. CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 davinci_mmc dm6441-mmc.0: Using DMA, 4-bit mode Division by zero in kernel. Hardware name: DaVinci DM355 EVM Workqueue: events_freezable mmc_rescan Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 Hardware name: DaVinci DM355 EVM Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r7:00000000 r6:00000000 r5:fee11000 r4:c6acd400 [] (show_stack) from [] (dump_stack+0x20/0x28) r7:00000000 r6:00000000 r5:fee00000 r4:c6acd800 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (__div0+0x18/0x20) [] (dump_stack) from [] (__div0+0x18/0x20) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) r9:00000000 r8:c05ff7b0 r7:60000013 r6:c6acd400 r5:c6acd5e8 r4:c6acd400 r9:c6ac6d00 r8:c05ed2e0 r7:0000001b r6:00000001 r5:c6acd9e8 r4:c6acd800 [] (mmc_davinci_set_ios) from [] (mmc_set_initial_state+0x9c/0xa0) [] (mmc_davinci_set_ios) from [] (mmc_set_initial_state+0x9c/0xa0) r5:c6acd5e8 r4:c6acd400 [] (mmc_set_initial_state) from [] (mmc_power_off.part.9+0x30/0x44) r5:c6acd9e8 r4:c6acd800 [] (mmc_set_initial_state) from [] (mmc_power_up.part.8+0x38/0x110) r5:00000000 r4:c6acd400 [] (mmc_power_off.part.9) from [] (mmc_rescan+0x3b8/0x500) r5:00000015 r4:c6acd800 [] (mmc_power_up.part.8) from [] (mmc_start_host+0x94/0xa8) r5:00000000 r4:c6acd640 [] (mmc_rescan) from [] (process_one_work+0x1d8/0x41c) r7:0000001b r6:c05ed2d0 r5:00000000 r4:c6acd800 [] (mmc_start_host) from [] (mmc_add_host+0x60/0x88) r9:00000000 r8:c05ff7b0 r7:00000000 r6:c7ee9500 r5:c68156c0 r4:c6acd640 [] (process_one_work) from [] (worker_thread+0x3c/0x670) r10:00000008 r9:c05ff7c4 r8:c060f080 r7:c68156d8 r6:ffffe000 r5:c05ff7b0 r5:00000000 r4:c6acd800 [] (mmc_add_host) from [] (davinci_mmcsd_probe+0x3f8/0x5dc) r5:c6acdb54 r4:c6acd800 [] (davinci_mmcsd_probe) from [] (platform_drv_probe+0x58/0xb4) r4:c68156c0 [] (worker_thread) from [] (kthread+0x134/0x14c) r10:c05a61d4 r9:00000000 r8:00000000 r7:fffffdfb r6:c061f3e4 r5:ffffffed r4:c05ed2e0 r10:c6847e90 r9:c0032024 r8:c68156c0 r7:c6878000 r6:00000000 r5:c680dee0 r4:c6868300 [] (kthread) from [] (ret_from_fork+0x14/0x34) [] (platform_drv_probe) from [] (driver_probe_device+0x258/0x33c) Exception stack(0xc6879fb0 to 0xc6879ff8) 9fa0: 00000000 00000000 00000000 00000000 r7:c061f3e4 r6:00000000 r5:c06458d0 r4:c05ed2e0 [] (driver_probe_device) from [] (__driver_attach+0xac/0xb0) 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 r9:00000000 r8:ffffe000 r7:c05e7008 r6:c05ed314 r5:c061f3e4 r4:c05ed2e0 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c003814c [] (__driver_attach) from [] (bus_for_each_dev+0x78/0xbc) r7:c05e7008 r6:c02d0464 r5:c061f3e4 r4:00000000 r4:c680dee0 [] (bus_for_each_dev) from [] (driver_attach+0x20/0x28) r7:00000000 r6:c061b670 r5:c6ad7960 r4:c061f3e4 [] (driver_attach) from [] (bus_add_driver+0x178/0x20c) [] (bus_add_driver) from [] (driver_register+0x80/0xfc) r7:00000000 r6:c05c4a30 r5:c05e7008 r4:c061f3e4 [] (driver_register) from [] (__platform_driver_register+0x34/0x48) r5:c05e7008 r4:c062ae60 [] (__platform_driver_register) from [] (davinci_mmcsd_driver_init+0x18/0x20) [] (davinci_mmcsd_driver_init) from [] (do_one_initcall+0x50/0x1a4) [] (do_one_initcall) from [] (kernel_init_freeable+0x120/0x1e4) r8:c05a8614 r7:c05d4830 r6:00000007 r5:c062ae60 r4:c05e2ae8 [] (kernel_init_freeable) from [] (kernel_init+0x10/0xfc) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04940e4 random: fast init done r4:00000000 [] (kernel_init) from [] (ret_from_fork+0x14/0x34) Exception stack(0xc6839fb0 to 0xc6839ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r5:c04940e4 r4:00000000 Division by zero in kernel. CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 Hardware name: DaVinci DM355 EVM Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r7:00000000 r6:00000000 r5:fee00000 r4:c6acd800 [] (show_stack) from [] (dump_stack+0x20/0x28) [] (dump_stack) from [] (__div0+0x18/0x20) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) r9:c6ac6d00 r8:c05ed2e0 r7:00000000 r6:00000001 r5:c6acd9e8 r4:c6acd800 [] (mmc_davinci_set_ios) from [] (mmc_power_up.part.8+0xf8/0x110) r5:c6acd9e8 r4:c6acd800 [] (mmc_power_up.part.8) from [] (mmc_start_host+0x94/0xa8) r7:0000001b r6:c05ed2d0 r5:00000000 r4:c6acd800 [] (mmc_start_host) from [] (mmc_add_host+0x60/0x88) r5:00000000 r4:c6acd800 [] (mmc_add_host) from [] (davinci_mmcsd_probe+0x3f8/0x5dc) r5:c6acdb54 r4:c6acd800 [] (davinci_mmcsd_probe) from [] (platform_drv_probe+0x58/0xb4) r10:c05a61d4 r9:00000000 r8:00000000 r7:fffffdfb r6:c061f3e4 r5:ffffffed r4:c05ed2e0 [] (platform_drv_probe) from [] (driver_probe_device+0x258/0x33c) r7:c061f3e4 r6:00000000 r5:c06458d0 r4:c05ed2e0 [] (driver_probe_device) from [] (__driver_attach+0xac/0xb0) r9:00000000 r8:ffffe000 r7:c05e7008 r6:c05ed314 r5:c061f3e4 r4:c05ed2e0 [] (__driver_attach) from [] (bus_for_each_dev+0x78/0xbc) r7:c05e7008 r6:c02d0464 r5:c061f3e4 r4:00000000 [] (bus_for_each_dev) from [] (driver_attach+0x20/0x28) r7:00000000 r6:c061b670 r5:c6ad7960 r4:c061f3e4 [] (driver_attach) from [] (bus_add_driver+0x178/0x20c) [] (bus_add_driver) from [] (driver_register+0x80/0xfc) r7:00000000 r6:c05c4a30 r5:c05e7008 r4:c061f3e4 [] (driver_register) from [] (__platform_driver_register+0x34/0x48) r5:c05e7008 r4:c062ae60 [] (__platform_driver_register) from [] (davinci_mmcsd_driver_init+0x18/0x20) [] (davinci_mmcsd_driver_init) from [] (do_one_initcall+0x50/0x1a4) [] (do_one_initcall) from [] (kernel_init_freeable+0x120/0x1e4) r8:c05a8614 r7:c05d4830 r6:00000007 r5:c062ae60 r4:c05e2ae8 [] (kernel_init_freeable) from [] (kernel_init+0x10/0xfc) r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c04940e4 r4:00000000 [] (kernel_init) from [] (ret_from_fork+0x14/0x34) Exception stack(0xc6839fb0 to 0xc6839ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r5:c04940e4 r4:00000000 Division by zero in kernel. CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 4.17.0-rc2-08642-g4dee494ef1ee #202 davinci_mmc dm6441-mmc.1: Using DMA, 4-bit mode NET: Registered protocol family 10 Hardware name: DaVinci DM355 EVM Workqueue: events_freezable mmc_rescan Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c) r7:00000000 r6:00000000 r5:fee00000 r4:c6acd800 [] (show_stack) from [] (dump_stack+0x20/0x28) Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 [] (dump_stack) from [] (__div0+0x18/0x20) [] (__div0) from [] (Ldiv0+0x8/0x10) [] (calculate_clk_divider) from [] (mmc_davinci_set_ios+0x58/0x168) r9:00000000 r8:c05ff7b0 r7:60000013 r6:c6acd800 r5:c6acd9e8 r4:c6acd800 [] (mmc_davinci_set_ios) from [] (mmc_set_initial_state+0x9c/0xa0) r5:c6acd9e8 r4:c6acd800 [] (mmc_set_initial_state) from [] (mmc_power_off.part.9+0x30/0x44) r5:00000000 r4:c6acd800 [] (mmc_power_off.part.9) from [] (mmc_rescan+0x3b8/0x500) r5:00000000 r4:c6acda40 [] (mmc_rescan) from [] (process_one_work+0x1d8/0x41c) r9:00000000 r8:c05ff7b0 r7:00000000 r6:c7ee9500 r5:c68156c0 r4:c6acda40 [] (process_one_work) from [] (worker_thread+0x3c/0x670) r10:00000008 r9:c05ff7c4 r8:c060f080 r7:c68156d8 r6:ffffe000 r5:c05ff7b0 r4:c68156c0 [] (worker_thread) from [] (kthread+0x134/0x14c) r10:c6847e90 r9:c0032024 r8:c68156c0 r7:c6878000 r6:00000000 r5:c680dee0 r4:c6868300 [] (kthread) from [] (ret_from_fork+0x14/0x34) Exception stack(0xc6879fb0 to 0xc6879ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c003814c r4:c680dee0 console [netcon0] enabled netconsole: network logging started hctosys: unable to open rtc device (rtc0) dm9000 dm9000 eth0: link down IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Sending DHCP requests . dm9000 dm9000 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 , OK IP-Config: Got DHCP answer from 172.24.188.3, my address is 172.24.190.9 IP-Config: Complete: device=eth0, hwaddr=00:0e:99:02:cb:91, ipaddr=172.24.190.9, mask=255.255.252.0, gw=172.24.188.1 host=172.24.190.9, domain=india.ti.com, nis-domain=(none) bootserver=0.0.0.0, rootserver=172.24.210.141, rootpath= nameserver0=192.0.2.2, nameserver1=192.0.2.3 this is MT29F16G08FAA device