Re: [PATCH] Revert "usb: chipidea: usbmisc_imx: delete clock information"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 14, 2015 at 09:22:37AM -0300, Fabio Estevam wrote:
> On Mon, Sep 14, 2015 at 1:54 AM, Peter Chen <peter.chen@xxxxxxxxxxxxx> wrote:
> > On Fri, Sep 11, 2015 at 10:17:20AM -0300, Fabio Estevam wrote:
> 
> > Sorry, a bug at former patch, it the clk_ahb has been override.
> > Mind to try below one?
> 
> Applied the patch and still see the issue:
> 
> Booting Linux on physical CPU 0x0
> Linux version 4.3.0-rc1-next-20150914-dirty (fabio@fabio-Latitude-E6410) (gcc v5
> CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=0005317f
> CPU: VIVT data cache, VIVT instruction cache
> Machine model: Freescale i.MX27 Product Development Kit
> Memory policy: Data cache writeback
> Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
> Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot=192.p
> PID hash table entries: 512 (order: -1, 2048 bytes)
> Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> Memory: 121952K/131072K available (5428K kernel code, 370K rwdata, 1636K rodata)
> Virtual kernel memory layout:
>     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
>     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
>     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
>     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
>     modules : 0xbf000000 - 0xc0000000   (  16 MB)
>       .text : 0xc0008000 - 0xc06ee5f8   (7066 kB)
>       .init : 0xc06ef000 - 0xc073a000   ( 300 kB)
>       .data : 0xc073a000 - 0xc0796aac   ( 371 kB)
>        .bss : 0xc0796aac - 0xc07b6a18   ( 128 kB)
> Preemptible hierarchical RCU implementation.
>         Build-time adjustment of leaf fanout to 32.
> NR_IRQS:16 nr_irqs:16 16
> MXC IRQ initialized
> CPU identified as i.MX27, silicon rev 2.1
> Switching to timer-based delay loop, resolution 75ns
> sched_clock: 32 bits at 13MHz, resolution 75ns, wraps every 161464936410ns
> clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: s
> Console: colour dummy device 80x30
> Calibrating delay loop (skipped), value calculated using timer frequency.. 26.6)
> 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 0xa0008400 - 0xa000847c
> devtmpfs: initialized
> clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 191s
> pinctrl core: initialized pinctrl subsystem
> NET: Registered protocol family 16
> DMA: preallocated 256 KiB pool for atomic coherent allocations
> imx27-pinctrl 10015000.iomuxc: initialized IMX pinctrl driver
> SCSI subsystem initialized
> usbcore: registered new interface driver usbfs
> usbcore: registered new interface driver hub
> usbcore: registered new device driver usb
> usbphy:usbphy@0 supply vcc not found, using dummy regulator
> Linux video capture interface: v2.00
> pps_core: LinuxPPS API ver. 1 registered
> pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@>
> PTP clock support registered
> Advanced Linux Sound Architecture Driver Initialized.
> clocksource: Switched to clocksource mxc_timer1
> NET: Registered protocol family 2
> 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.
> futex hash table entries: 256 (order: -1, 3072 bytes)
> jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
> io scheduler noop registered (default)
> 1000a000.serial: ttymxc0 at MMIO 0x1000a000 (irq = 36, base_baud = 831250) is aX
> console [ttymxc0] enabled
> nand: device found, Manufacturer ID: 0xec, Chip ID: 0xaa
> nand: Samsung NAND 256MiB 1,8V 8-bit
> nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
> Bad block table found at page 131008, version 0x01
> Bad block table found at page 130944, version 0x01
> mc13xxx spi1.0: mc13783: rev: 3.3, fin: 0, fab: 0, icid: 2/0
> spi_imx 1000f000.cspi: probed
> 1002b000.ethernet supply phy not found, using dummy regulator
> libphy: fec_enet_mii_bus: probed
> ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> ehci-mxc: Freescale On-Chip EHCI Host driver
> usbcore: registered new interface driver usb-storage
> imx_usb 10024000.usb: three clock have enabled
> Unhandled fault: external abort on non-linefetch (0x008) at 0xf4424600
> pgd = c0004000
> [f4424600] *pgd=10000452(bad)
> Internal error: : 8 [#1] PREEMPT ARM
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper Not tainted 4.3.0-rc1-next-20150914-dirty #56
> Hardware name: Freescale i.MX27 (Device Tree Support)
> task: c7832b60 ti: c783e000 task.ti: c783e000
> PC is at usbmisc_imx27_init+0x4c/0xbc
> LR is at usbmisc_imx27_init+0x40/0xbc
> pc : [<c03aee90>]    lr : [<c03aee84>]    psr: 60000093
> sp : c783fe00  ip : 00000000  fp : 00000000
> r10: 00000000  r9 : 0000009d  r8 : c055a9b0
> r7 : 01000000  r6 : 60000013  r5 : c7a8b370  r4 : c7a8b0b0
> r3 : f4424600  r2 : 00000000  r1 : 00000001  r0 : 00000001
> Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
> Control: 0005317f  Table: a0004000  DAC: 00000053
> Process swapper (pid: 1, stack limit = 0xc783e190)
> Stack: (0xc783fe00 to 0xc7840000)
> fe00: c03aee44 c7984210 c7984200 c79c5090 00000000 c03aeaa8 00000000 c03af6ac
> fe20: c78e9f00 00000100 00000000 00000000 c78c4870 00000000 0000010a 00000000
> fe40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> fe60: ffffffed c7984210 fffffdfb c077df3c 00000000 c02e4294 c02e424c c7984210
> fe80: c07ad030 00000000 c077df3c c02e28dc c7984210 c077df3c c7984244 00000000
> fea0: c07154ac c02e2a2c 00000000 c077df3c c02e29a0 c02e1008 c78a5dec c7998fd0
> fec0: c077df3c c7a86fa0 c0769b00 c02e1fd8 c0669fcc c02683f4 c077df3c c077df3c
> fee0: c073df78 c7a8b3c0 c0796ac0 c02e34c0 00000000 c073df78 c073df78 c00095f8
> ff00: c079ed8c c78ba480 c052ab0c 0000004f 00000000 00000000 00000000 c01419fc
> ff20: c7ffc890 c0540110 0000009d c0032c58 00000000 c066a7a4 c06c072c 00000006
> ff40: c7ffc897 00000006 c0742fb8 c7ffc840 c0738e4c 00000006 c072982c c0796ac0
> ff60: c06ef594 0000009d c0729838 c06efd1c 00000006 00000006 00000000 c06ef594
> ff80: c78327a0 c05214f4 00000000 c05214f4 00000000 00000000 00000000 00000000
> ffa0: 00000000 c05214fc 00000000 c000a370 00000000 00000000 00000000 00000000
> ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 bfffffff ffffefff
> [<c03aee90>] (usbmisc_imx27_init) from [<c03aeaa8>] (imx_usbmisc_init+0x2c/0x38)
> [<c03aeaa8>] (imx_usbmisc_init) from [<c03af6ac>] (ci_hdrc_imx_probe+0x22c/0x38)
> [<c03af6ac>] (ci_hdrc_imx_probe) from [<c02e4294>] (platform_drv_probe+0x48/0xa)
> [<c02e4294>] (platform_drv_probe) from [<c02e28dc>] (driver_probe_device+0x1e0/)
> [<c02e28dc>] (driver_probe_device) from [<c02e2a2c>] (__driver_attach+0x8c/0x90)
> [<c02e2a2c>] (__driver_attach) from [<c02e1008>] (bus_for_each_dev+0x5c/0x8c)
> [<c02e1008>] (bus_for_each_dev) from [<c02e1fd8>] (bus_add_driver+0xe8/0x1f8)
> [<c02e1fd8>] (bus_add_driver) from [<c02e34c0>] (driver_register+0x78/0xf4)
> [<c02e34c0>] (driver_register) from [<c00095f8>] (do_one_initcall+0x84/0x1f0)
> [<c00095f8>] (do_one_initcall) from [<c06efd1c>] (kernel_init_freeable+0xf8/0x1)
> [<c06efd1c>] (kernel_init_freeable) from [<c05214fc>] (kernel_init+0x8/0xec)
> [<c05214fc>] (kernel_init) from [<c000a370>] (ret_from_fork+0x14/0x24)
> Code: ebf228eb e5d43008 e3130001 e5953000 (e5932000)
> ---[ end trace fbcaae272e9fbd6d ]---
> note: swapper[1] exited with preempt_count 1
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
> 
> ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Would you try to insert udelay(100) at every clk_prepare_enable at
imx_prepare_enable_clks at ci_hdrc_imx.c?


-- 

Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux