Re: remoteproc: wkup_m3: suspend/resume for am335x bbone

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

 



here the full dmesg output, it contains a deadlock warning from lockdep

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.2.0-rc2-00284-gc11a8fb-dirty
(afenkart@sandwurm) (gcc version 4.9.2 (Buildroot
2014.11-00099-g8d0fd78-dirty) ) #1175 PREEMPT Thu Jul 16 17:06:34 5
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[    0.000000] Machine model: StreamUnlimited Board (AM33xx)
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65280
[    0.000000] free_area_init_node: node 0, pgdat c088dad8,
node_mem_map cfcf9000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65280 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES1.0 (neon )
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 64768
[    0.000000] Kernel command line: console=ttyO0,115200n8
root=/dev/nfs nfsroot=192.168.13.1:/home/afenkart/OE/rootfs/yocto-mine,nolock
rw ip=192.168.13.141
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 241448K/261120K available (6027K kernel code,
371K rwdata, 2088K rodata, 240K init, 8278K bss, 19672K reserved, 0K
cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07f51c8   (8117 kB)
[    0.000000]       .init : 0xc07f6000 - 0xc0832000   ( 240 kB)
[    0.000000]       .data : 0xc0832000 - 0xc088ed40   ( 372 kB)
[    0.000000]        .bss : 0xc088ed40 - 0xc10a47a8   (8279 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Running RCU self tests
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with
128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
[    0.000018] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps
every 85899345900ns
[    0.000046] clocksource: timer1: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 76450417870 ns
[    0.000098] OMAP clocksource: timer1 at 25000000 Hz
[    0.000659] Console: colour dummy device 80x30
[    0.000729] Lock dependency validator: Copyright (c) 2006 Red Hat,
Inc., Ingo Molnar
[    0.000740] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000749] ... MAX_LOCK_DEPTH:          48
[    0.000758] ... MAX_LOCKDEP_KEYS:        8191
[    0.000767] ... CLASSHASH_SIZE:          4096
[    0.000776] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000785] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000794] ... CHAINHASH_SIZE:          32768
[    0.000803]  memory used by lock dependency info: 5167 kB
[    0.000812]  per task-struct memory footprint: 1536 bytes
[    0.000861] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[    0.098513] pid_max: default: 4096 minimum: 301
[    0.098768] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.098785] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102097] CPU: Testing write buffer coherency: ok
[    0.103688] Setting up static identity map for 0x80008200 - 0x80008258
[    0.110245] devtmpfs: initialized
[    0.148748] VFP support v0.3: implementor 41 architecture 3 part 30
variant c rev 3
[    0.199835] omap_hwmod: tptc0 using broken dt data from edma
[    0.200398] omap_hwmod: tptc1 using broken dt data from edma
[    0.200930] omap_hwmod: tptc2 using broken dt data from edma
[    0.210914] omap_hwmod: debugss: _wait_target_disable failed
[    0.267841] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269374] pinctrl core: initialized pinctrl subsystem
[    0.275990] NET: Registered protocol family 16
[    0.277140] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.308667] cpuidle: using governor ladder
[    0.338536] cpuidle: using governor menu
[    0.348684] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[    0.349714] OMAP GPIO hardware version 0.1
[    0.351787] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[    0.354007] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[    0.356109] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[    0.370737] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    0.371000] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    0.376846] No ATAGs?
[    0.376889] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.450975] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.451595] of_get_named_gpiod_flags: can't parse 'gpio' property
of node '/reg_vmmc_gpio[0]'
[    0.452695] of_get_named_gpiod_flags: parsed 'gpio' property of
node '/reg_vcc_3v3[0]' - status (0)
[    0.455107] SCSI subsystem initialized
[    0.455950] usbcore: registered new interface driver usbfs
[    0.456147] usbcore: registered new interface driver hub
[    0.456432] usbcore: registered new device driver usb
[    0.457584] omap_i2c 44e0b000.i2c: could not find pctldev for node
/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins,
deferring probe
[    0.457715] omap_i2c 4819c000.i2c: could not find pctldev for node
/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins,
deferring probe
[    0.458039] pps_core: LinuxPPS API ver. 1 registered
[    0.458055] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@xxxxxxxx>
[    0.458133] PTP clock support registered
[    0.460062] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.460831] Advanced Linux Sound Architecture Driver Initialized.
[    0.465205] cfg80211: Calling CRDA to update world regulatory domain
[    0.466302] clocksource: Switched to clocksource timer1
[    0.499455] NET: Registered protocol family 2
[    0.502095] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.502175] TCP bind hash table entries: 2048 (order: 4, 73728 bytes)
[    0.503004] TCP: Hash tables configured (established 2048 bind 2048)
[    0.503235] UDP hash table entries: 128 (order: 1, 10240 bytes)
[    0.503363] UDP-Lite hash table entries: 128 (order: 1, 10240 bytes)
[    0.504444] NET: Registered protocol family 1
[    0.506042] RPC: Registered named UNIX socket transport module.
[    0.506067] RPC: Registered udp transport module.
[    0.506080] RPC: Registered tcp transport module.
[    0.506093] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.507292] hw perfevents: Failed to parse /pmu/interrupt-affinity[0]
[    0.507384] hw perfevents: enabled with armv7_cortex_a8 PMU driver,
5 counters available
[    0.512961] futex hash table entries: 16 (order: -3, 704 bytes)
[    0.543736] VFS: Disk quotas dquot_6.6.0
[    0.544446] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.558435] fuse init (API version 7.23)
[    0.567892] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 250)
[    0.568115] io scheduler noop registered
[    0.568146] io scheduler deadline registered
[    0.568245] io scheduler cfq registered (default)
[    0.569376] pinctrl-single 44e10800.pinmux: mux offset out of
range: 0x9b0 (0x238)
[    0.569404] pinctrl-single 44e10800.pinmux: could not add functions
for eth_wake_s0 2480x
[    0.569886] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.572117] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    0.573796] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.580453] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.580492] of_get_named_gpiod_flags: can't parse 'rts-gpio'
property of node '/ocp/serial@44e09000[0]'
[    0.581350] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 155,
base_baud = 3000000) is a OMAP UART0
[    1.294598] console [ttyO0] enabled
[    1.301912] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.339712] brd: module loaded
[    1.360525] loop: module loaded
[    1.365890] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.373620] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
[    1.380355] nand: Toshiba NAND 256MiB 3,3V 8-bit
[    1.385203] nand: 256 MiB, SLC, erase size: 128 KiB, page size:
2048, OOB size: 64
[    1.393229] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.398839] platform 48080000.elm: Unable to configure elm - device
not probed?
[    1.413844] usbcore: registered new interface driver usb-storage
[    1.422962] am335x-phy-driver 47401300.usb-phy: GPIO lookup for
consumer reset
[    1.422992] am335x-phy-driver 47401300.usb-phy: using device tree
for GPIO lookup
[    1.423017] of_get_named_gpiod_flags: can't parse 'reset-gpios'
property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[    1.423035] of_get_named_gpiod_flags: can't parse 'reset-gpio'
property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[    1.423050] am335x-phy-driver 47401300.usb-phy: using lookup tables
for GPIO lookup
[    1.423357] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
[    1.423378] am335x-phy-driver 47401300.usb-phy: GPIO lookup for
consumer vbus-detect
[    1.423393] am335x-phy-driver 47401300.usb-phy: using device tree
for GPIO lookup
[    1.423414] of_get_named_gpiod_flags: can't parse
'vbus-detect-gpios' property of node
'/ocp/usb@47400000/usb-phy@47401300[0]'
[    1.423431] of_get_named_gpiod_flags: can't parse
'vbus-detect-gpio' property of node
'/ocp/usb@47400000/usb-phy@47401300[0]'
[    1.423446] am335x-phy-driver 47401300.usb-phy: using lookup tables
for GPIO lookup
[    1.423464] am335x-phy-driver 47401300.usb-phy: lookup for GPIO
vbus-detect failed
[    1.423567] 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.460309] musb-hdrc musb-hdrc.0.auto: Need DT for the DMA engine.
[    1.467010] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk
combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    1.467029] musb-hdrc: MHDRC RTL version 2.0
[    1.467042] musb-hdrc: setup fifo_mode 4
[    1.467068] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    1.467632] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[    1.474592] musb-hdrc musb-hdrc.0.auto: new USB bus registered,
assigned bus number 1
[    1.484551] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.491734] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    1.499338] usb usb1: Product: MUSB HDRC host driver
[    1.504549] usb usb1: Manufacturer: Linux
4.2.0-rc2-00284-gc11a8fb-dirty musb-hcd
[    1.512422] usb usb1: SerialNumber: musb-hdrc.0.auto
[    1.522304] hub 1-0:1.0: USB hub found
[    1.526830] hub 1-0:1.0: 1 port detected
[    1.578267] omap_rtc 44e3e000.rtc: already running
[    1.585105] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.593026] i2c /dev entries driver
[    1.600635] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.609721] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    1.609751] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.609776] of_get_named_gpiod_flags: can't parse 'cd-gpios'
property of node '/ocp/mmc@48060000[0]'
[    1.609794] of_get_named_gpiod_flags: can't parse 'cd-gpio'
property of node '/ocp/mmc@48060000[0]'
[    1.609809] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.609832] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
[    1.609855] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    1.609869] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    1.609886] of_get_named_gpiod_flags: can't parse 'wp-gpios'
property of node '/ocp/mmc@48060000[0]'
[    1.609902] of_get_named_gpiod_flags: can't parse 'wp-gpio'
property of node '/ocp/mmc@48060000[0]'
[    1.609915] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    1.609933] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    1.610288] platform pwrseq: GPIO lookup for consumer reset
[    1.610306] platform pwrseq: using device tree for GPIO lookup
[    1.610342] of_get_named_gpiod_flags: parsed 'reset-gpios' property
of node '/pwrseq[0]' - status (0)
[    1.610383] omap_hsmmc 48060000.mmc: allocated mmc-pwrseq
[    1.617027] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
[    1.648874] of_get_named_gpiod_flags: parsed 'gpios' property of
node '/ocp/leds/Debug_LED0[0]' - status (0)
[    1.649873] of_get_named_gpiod_flags: parsed 'gpios' property of
node '/ocp/leds/i2c2_sda_as_led[0]' - status (0)
[    1.650377] of_get_named_gpiod_flags: parsed 'gpios' property of
node '/ocp/leds/i2c2_scl_as_led[0]' - status (0)
[    1.652116]  remoteproc0: wkup_m3 is available
[    1.657149]  remoteproc0: Note: remoteproc is still under
development and considered experimental.
[    1.666647]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED,
and backward compatibility isn't yet guaranteed.
[    1.686648] usbcore: registered new interface driver snd-usb-audio
[    1.699828] Initializing XFRM netlink socket
[    1.707462] NET: Registered protocol family 10
[    1.716910] sit: IPv6 over IPv4 tunneling driver
[    1.724229] NET: Registered protocol family 17
[    1.729231] NET: Registered protocol family 15
[    1.734582] Key type dns_resolver registered
[    1.739342] omap_voltage_late_init: Voltage driver support not added
[    1.747483] ThumbEE CPU extension supported.
[    1.752018] Registering SWP/SWPB emulation handler
[    1.757140] am33xx_pm_init !!!!!!!
[    1.760720] am33xx_pm_init 1
[    1.763739] am33xx_pm_init 2
[    1.766790] PM: am33xx_push_sram_idle: EMIF function copy failed
[    1.830732] tps65217 0-0024: TPS65217 ID 0xf version 1.1
[    1.838295] at24 0-0050: 1024 byte 24c08 EEPROM, writable, 16 bytes/write
[    1.845933] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
[    1.855157] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[    1.862975] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
[    1.870123]  remoteproc0: powering up wkup_m3
[    1.874734]  remoteproc0: Booting fw image am335x-pm-firmware.elf,
size 153943
[    1.882387] nand: Toshiba NAND 256MiB 3,3V 8-bit
[    1.887269] nand: 256 MiB, SLC, erase size: 128 KiB, page size:
2048, OOB size: 64
[    1.895290] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.901368]  remoteproc0: remote processor wkup_m3 is now up
[    1.901394] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[    1.915177] 9 ofpart partitions found on MTD device omap2-nand.0
[    1.921708] Creating 9 MTD partitions on "omap2-nand.0":
[    1.927411] 0x000000000000-0x000000020000 : "SPL"
[    1.939695] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.949264] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.958623] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.968101] 0x000000080000-0x000000180000 : "U-Boot"
[    1.977591] 0x000000180000-0x0000001a0000 : "U-Boot Env"
[    1.986666] 0x0000001a0000-0x0000007a0000 : "Kernel"
[    2.000336] 0x0000007a0000-0x0000007e0000 : "DTB"
[    2.009365] 0x0000007e0000-0x000010000000 : "File System"
[    2.230961] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[    2.230989] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    2.231016] of_get_named_gpiod_flags: can't parse 'cd-gpios'
property of node '/ocp/mmc@48060000[0]'
[    2.231035] of_get_named_gpiod_flags: can't parse 'cd-gpio'
property of node '/ocp/mmc@48060000[0]'
[    2.231050] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    2.231082] omap_hsmmc 48060000.mmc: lookup for GPIO cd failed
[    2.231107] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[    2.231121] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[    2.231138] of_get_named_gpiod_flags: can't parse 'wp-gpios'
property of node '/ocp/mmc@48060000[0]'
[    2.231154] of_get_named_gpiod_flags: can't parse 'wp-gpio'
property of node '/ocp/mmc@48060000[0]'
[    2.231168] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[    2.231187] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[    2.231511] platform pwrseq: GPIO lookup for consumer reset
[    2.231531] platform pwrseq: using device tree for GPIO lookup
[    2.231577] of_get_named_gpiod_flags: parsed 'reset-gpios' property
of node '/pwrseq[0]' - status (0)
[    2.231628] omap_hsmmc 48060000.mmc: allocated mmc-pwrseq
[    2.330241] mmc0: new high speed SDIO card at address 0001
[    2.346428] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.352841] libphy: 4a101000.mdio: probed
[    2.359999] Atheros 8030 ethernet 4a101000.mdio:04: GPIO lookup for
consumer reset
[    2.360030] Atheros 8030 ethernet 4a101000.mdio:04: using device
tree for GPIO lookup
[    2.360170] of_get_named_gpiod_flags: parsed 'reset-gpios' property
of node '/ocp/ethernet@4a100000/mdio@4a101000/phy@4[0]' - status (0)
[    2.361049] davinci_mdio 4a101000.mdio: phy[4]: device
4a101000.mdio:04, driver Atheros 8030 ethernet
[    2.372493] cpsw 4a100000.ethernet: Detected MACID = 78:c5:e5:90:d9:36
[    2.384662] of_get_named_gpiod_flags: parsed 'gpios' property of
node '/ocp/gpio-keys/Wakeup[0]' - status (0)
[    2.384736] of_get_named_gpiod_flags: parsed 'gpios' property of
node '/ocp/gpio-keys/wps[0]' - status (0)
[    2.386178] input: ocp:gpio-keys as
/devices/platform/ocp/ocp:gpio-keys/input/input0
[    2.397491] omap_rtc 44e3e000.rtc: setting system clock to
2014-06-20 23:17:41 UTC (1403306261)
[    2.432202] net eth0: initializing cpsw version 1.12 (0)
[    2.438005]
[    2.439574] ======================================================
[    2.446055] [ INFO: possible circular locking dependency detected ]
[    2.452633] 4.2.0-rc2-00284-gc11a8fb-dirty #1175 Not tainted
[    2.458567] -------------------------------------------------------
[    2.465141] kworker/0:1/13 is trying to acquire lock:
[    2.470440]  (class){......}, at: [<c00730c0>] __irq_get_desc_lock+0x58/0x98
[    2.477892]
[    2.477892] but task is already holding lock:
[    2.484009]  (&(&dev->power.lock)->rlock){......}, at: [<c031b27c>]
pm_runtime_work+0x14/0xa8
[    2.492988]
[    2.492988] which lock already depends on the new lock.
[    2.492988]
[    2.501568]
[    2.501568] the existing dependency chain (in reverse order) is:
[    2.509416]
[    2.509416] -> #1 (&(&dev->power.lock)->rlock){......}:
[    2.515101]        [<c031abec>] __pm_runtime_resume+0x3c/0x64
[    2.521138]        [<c02d3a58>] omap_gpio_irq_type+0x9c/0x1a4
[    2.527187]        [<c0074430>] __irq_set_trigger+0x58/0x14c
[    2.533132]        [<c00759d0>] irq_set_irq_type+0x34/0x5c
[    2.538894]        [<c0078fa8>] irq_create_of_mapping+0x118/0x16c
[    2.545295]        [<c03f307c>] irq_of_parse_and_map+0x24/0x2c
[    2.551424]        [<c03f309c>] of_irq_to_resource+0x18/0xbc
[    2.557364]        [<c03f317c>] of_irq_to_resource_table+0x3c/0x54
[    2.563854]        [<c03f0de4>] of_device_alloc+0x104/0x170
[    2.569718]        [<c03f0ea0>] of_platform_device_create_pdata+0x50/0xc0
[    2.576847]        [<c03f0ff4>] of_platform_bus_create+0xd8/0x2fc
[    2.583246]        [<c03f1050>] of_platform_bus_create+0x134/0x2fc
[    2.589737]        [<c03f1344>] of_platform_populate+0x5c/0xb8
[    2.595863]        [<c08027cc>] pdata_quirks_init+0x38/0x44
[    2.601720]        [<c0802528>] omap_generic_init+0x14/0x1c
[    2.607570]        [<c07f817c>] customize_machine+0x20/0x40
[    2.613424]        [<c00096f8>] do_one_initcall+0x8c/0x1d8
[    2.619188]        [<c07f6d68>] kernel_init_freeable+0x134/0x1d4
[    2.625494]        [<c05b2618>] kernel_init+0x8/0xe8
[    2.630712]        [<c000f538>] ret_from_fork+0x14/0x3c
[    2.636206]
[    2.636206] -> #0 (class){......}:
[    2.639977]        [<c05bd210>] _raw_spin_lock_irqsave+0x48/0x5c
[    2.646288]        [<c00730c0>] __irq_get_desc_lock+0x58/0x98
[    2.652322]        [<c0074314>] enable_irq+0x1c/0x70
[    2.657535]        [<c031a01c>] rpm_suspend+0xd0/0x4b4
[    2.662931]        [<c031b2dc>] pm_runtime_work+0x74/0xa8
[    2.668600]        [<c004b4dc>] process_one_work+0x168/0x404
[    2.674543]        [<c004b7c4>] worker_thread+0x4c/0x488
[    2.680121]        [<c0051458>] kthread+0xdc/0xf0
[    2.685068]        [<c000f538>] ret_from_fork+0x14/0x3c
[    2.690555]
[    2.690555] other info that might help us debug this:
[    2.690555]
[    2.698953]  Possible unsafe locking scenario:
[    2.698953]
[    2.705161]        CPU0                    CPU1
[    2.709908]        ----                    ----
[    2.714656]   lock(&(&dev->power.lock)->rlock);
[    2.719417]                                lock(class);
[    2.724904]                                lock(&(&dev->power.lock)->rlock);
[    2.732305]   lock(class);
[    2.735152]
[    2.735152]  *** DEADLOCK ***
[    2.735152]
[    2.741365] 3 locks held by kworker/0:1/13:
[    2.745749]  #0:  ("pm"){.+.+..}, at: [<c004b470>]
process_one_work+0xfc/0x404
[    2.753360]  #1:  ((&dev->power.work)){+.+...}, at: [<c004b470>]
process_one_work+0xfc/0x404
[    2.762243]  #2:  (&(&dev->power.lock)->rlock){......}, at:
[<c031b27c>] pm_runtime_work+0x14/0xa8
[    2.771675]
[    2.771675] stack backtrace:
[    2.776251] CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted
4.2.0-rc2-00284-gc11a8fb-dirty #1175
[    2.785194] Hardware name: Generic AM33XX (Flattened Device Tree)
[    2.791592] Workqueue: pm pm_runtime_work
[    2.795826] [<c0014f80>] (unwind_backtrace) from [<c0012a14>]
(show_stack+0x10/0x14)
[    2.803965] [<c0012a14>] (show_stack) from [<c05b4cbc>]
(print_circular_bug+0x2d4/0x2e0)
[    2.812472] [<c05b4cbc>] (print_circular_bug) from [<c0069190>]
(__lock_acquire+0x1d8c/0x20b0)
[    2.821514] [<c0069190>] (__lock_acquire) from [<c0069d8c>]
(lock_acquire+0x6c/0x8c)
[    2.829645] [<c0069d8c>] (lock_acquire) from [<c05bd210>]
(_raw_spin_lock_irqsave+0x48/0x5c)
[    2.838503] [<c05bd210>] (_raw_spin_lock_irqsave) from [<c00730c0>]
(__irq_get_desc_lock+0x58/0x98)
[    2.848000] [<c00730c0>] (__irq_get_desc_lock) from [<c0074314>]
(enable_irq+0x1c/0x70)
[    2.856403] [<c0074314>] (enable_irq) from [<c031a01c>]
(rpm_suspend+0xd0/0x4b4)
[    2.864167] [<c031a01c>] (rpm_suspend) from [<c031b2dc>]
(pm_runtime_work+0x74/0xa8)
[    2.872294] [<c031b2dc>] (pm_runtime_work) from [<c004b4dc>]
(process_one_work+0x168/0x404)
[    2.881059] [<c004b4dc>] (process_one_work) from [<c004b7c4>]
(worker_thread+0x4c/0x488)
[    2.889551] [<c004b7c4>] (worker_thread) from [<c0051458>]
(kthread+0xdc/0xf0)
[    2.897132] [<c0051458>] (kthread) from [<c000f538>]
(ret_from_fork+0x14/0x3c)
[    2.986818] net eth0: phy found : id is : 0x4dd076
[    2.991961] libphy: PHY 4a101000.mdio:05 not found
[    2.997027] net eth0: phy 4a101000.mdio:05 not found on slave 1
[    3.009163] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.027232] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full
- flow control rx/tx
[    7.046377] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.056764] cfg80211: Calling CRDA to update world regulatory domain
[    7.066373] IP-Config: Guessing netmask 255.255.255.0
[    7.072048] IP-Config: Complete:
[    7.075450]      device=eth0, hwaddr=78:c5:e5:90:d9:36,
ipaddr=192.168.13.141, mask=255.255.255.0, gw=255.255.255.255
[    7.086863]      host=192.168.13.141, domain=, nis-domain=(none)
[    7.093179]      bootserver=255.255.255.255,
rootserver=192.168.13.1, rootpath=
[    7.101095] vdd-3v3: disabling
[    7.104485] ALSA device list:
[    7.107922]   No soundcards found.
[    7.119941] VFS: Mounted root (nfs filesystem) on device 0:14.
[    7.126764] devtmpfs: mounted
[    7.130303] Freeing unused kernel memory: 240K (c07f6000 - c0832000)

2015-07-16 17:24 GMT+02:00 Andreas Fenkart <afenkart@xxxxxxxxx>:
> Dave,
>
> thanks for rebasing your branch
>
> 2015-07-15 23:28 GMT+02:00 Dave Gerlach <d-gerlach@xxxxxx>:
>>> I tried to merge that branch into current v4.2-rc2, but I made quite a mess out
>>> of it. I'll try probably try cherry-picking next or will just wait for an update
>>
>> Yes, there are some additional patches, wkup_m3_rproc is just part of the whole
>> collection. However I did rebase my pm branch on v4.2-rc2 today in preparation
>> of sending the next series so you can check that out here:
>> https://github.com/dgerlach/linux-pm/tree/pm-v4.2-rc2-amx3-suspend.
>>
>> The firmware you need can be found here:
>> https://git.ti.com/ti-cm3-pm-firmware/amx3-cm3/commits/next-upstream.
>
> The file '/sys/power/state' is still empty, it seems that
> suspend_set_ops are never
> installed.
>
> [    1.617027] omap_hsmmc 48060000.mmc: unable to get vmmc regulator -517
> [    1.652116]  remoteproc0: wkup_m3 is available
> [    1.657149]  remoteproc0: Note: remoteproc is still under
> development and considered experimental.
> [    1.666647]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED,
> and backward compatibility isn't yet guaranteed.
> [    1.686648] usbcore: registered new interface driver snd-usb-audio
> [    1.699828] Initializing XFRM netlink socket
> [    1.707462] NET: Registered protocol family 10
> [    1.716910] sit: IPv6 over IPv4 tunneling driver
> [    1.724229] NET: Registered protocol family 17
> [    1.729231] NET: Registered protocol family 15
> [    1.734582] Key type dns_resolver registered
> [    1.739342] omap_voltage_late_init: Voltage driver support not added
> [    1.747483] ThumbEE CPU extension supported.
> [    1.752018] Registering SWP/SWPB emulation handler
> [    1.757140] am33xx_pm_init !!!!!!!
> [    1.760720] am33xx_pm_init 1
> [    1.763739] am33xx_pm_init 2
> [    1.766790] PM: am33xx_push_sram_idle: EMIF function copy failed
> ^^^^^^^
> next line in am33xx_pm_init would have installed the callbacks
>
> [    1.830732] tps65217 0-0024: TPS65217 ID 0xf version 1.1
> [    1.838295] at24 0-0050: 1024 byte 24c08 EEPROM, writable, 16 bytes/write
> [    1.845933] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
> [    1.855157] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
> [    1.862975] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
> [    1.870123]  remoteproc0: powering up wkup_m3
> [    1.874734]  remoteproc0: Booting fw image am335x-pm-firmware.elf,
> size 153943
> [    1.882387] nand: Toshiba NAND 256MiB 3,3V 8-bit
> [    1.887269] nand: 256 MiB, SLC, erase size: 128 KiB, page size:
> 2048, OOB size: 64
> [    1.895290] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
> [    1.901368]  remoteproc0: remote processor wkup_m3 is now up
> [    1.901394] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
> [    1.915177] 9 ofpart partitions found on MTD device omap2-nand.0
>
> kind regards,
> Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux