Skip to content

xilinx: warning call trace in clk_core_enable during boot (5.10) #6

@ricardosalveti

Description

@ricardosalveti

With d9b9223, sometimes there will be a warning call trace in clk_core_enable during boot, causing a failure when initializing spi0.

[    9.010062] ------------[ cut here ]------------
[    9.014680] Enabling unprepared  �����������
[    9.019333] WARNING: CPU: 2 PID: 24 at drivers/clk/clk.c:1011 clk_core_enable+0xd4/0x254
[    9.027411] Modules linked in: uio_pdrv_genirq sch_fq_codel fuse
[    9.033422] CPU: 2 PID: 24 Comm: kworker/2:0H Not tainted 5.10.33-lmp-standard #1
[    9.040891] Hardware name: Avnet XCZU3EG-SFVA625 SoM (DT)
[    9.046282] Workqueue: kblockd blk_mq_run_work_fn
[    9.050980] pstate: 80000085 (Nzcv daIf -PAN -UAO -TCO BTYPE=--)
[    9.056980] pc : clk_core_enable+0xd4/0x254
[    9.061153] lr : clk_core_enable+0xd4/0x254
[    9.065325] sp : ffffffc01191b280
[    9.068623] x29: ffffffc01191b280 x28: ffffff8001fe8148
[    9.073927] x27: 0000000000000000 x26: 0000000218db7a8c
[    9.079230] x25: 0000000000000001 x24: ffffff800257ea80
[    9.084533] x23: ffffff8003e42828 x22: ffffffc01175d6a0
[    9.089837] x21: ffffff8003f1b800 x20: 0000000000000000
[    9.095141] x19: ffffff8003f1b808 x18: 0000000000000030
[    9.100445] x17: 0000000000000003 x16: 0000b46ebc490038
[    9.105748] x15: ffffff8001e90518 x14: ffffffffffffffff
[    9.111051] x13: ffffffc09191af37 x12: ffffffc01191af40
[    9.116355] x11: ffffffc011607240 x10: 00000000fffff000
[    9.121658] x9 : ffffffc0101486bc x8 : ffffffc0115af240
[    9.126962] x7 : ffffffc011607240 x6 : 0000000000000001
[    9.132265] x5 : ffffff807db9ba80 x4 : 0000000000000000
[    9.137569] x3 : 0000000000000027 x2 : 0000000000000023
[    9.142872] x1 : 5ad4d12ab04b7300 x0 : 0000000000000000
[    9.148177] Call trace:
[    9.150612]  clk_core_enable+0xd4/0x254
[    9.154437]  clk_enable+0x38/0x5c
[    9.157748]  zynqmp_runtime_resume+0x30/0x90
[    9.162008]  pm_generic_runtime_resume+0x38/0x50
[    9.166619]  __genpd_runtime_resume+0x38/0xb0
[    9.170966]  genpd_runtime_resume+0xb8/0x2d0
[    9.175225]  __rpm_callback+0x140/0x1b0
[    9.179052]  rpm_callback+0x64/0x90
[    9.182524]  rpm_resume+0x4c8/0x890
[    9.185997]  __pm_runtime_resume+0x84/0xd0
[    9.190087]  spi_mem_access_start.isra.0+0x38/0xcc
[    9.194869]  spi_mem_exec_op+0x3b4/0x430
[    9.198785]  spi_nor_read_sr+0x80/0x120
[    9.202612]  spi_nor_wait_till_ready_with_timeout+0xc0/0x3f0
[    9.208261]  spi_nor_read+0x1ac/0x3c0
[    9.211908]  mtd_read_oob_std+0x80/0x90
[    9.215735]  mtd_read_oob+0x8c/0x150
[    9.219302]  mtd_read+0x54/0x80
[    9.222437]  mtdblock_readsect+0x8c/0x190
[    9.226440]  mtd_queue_rq+0x2c4/0x580
[    9.230094]  blk_mq_dispatch_rq_list+0x11c/0x79c
[    9.234703]  __blk_mq_do_dispatch_sched+0x208/0x280
[    9.239571]  __blk_mq_sched_dispatch_requests+0x1b4/0x210
[    9.244961]  blk_mq_sched_dispatch_requests+0x44/0x80
[    9.250007]  __blk_mq_run_hw_queue+0xa0/0x110
[    9.254353]  blk_mq_run_work_fn+0x2c/0x40
[    9.258356]  process_one_work+0x1fc/0x480
[    9.262356]  worker_thread+0x84/0x4ec
[    9.266010]  kthread+0x134/0x140
[    9.269232]  ret_from_fork+0x10/0x38
[    9.272798] ---[ end trace 984b6c1e14be2cfd ]---
[    9.277579] zynqmp-qspi ff0f0000.spi: Cannot enable APB clock.
[    9.283470] spi_master spi0: Failed to power device: -108
[    9.288885] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions