revyos / th1520-linux-kernel

TH1520 linux kernel
Other
11 stars 6 forks source link

cpufreq: error message on kernel boot #6

Closed cyyself closed 8 months ago

cyyself commented 8 months ago

Boot Log:

Starting kernel ...

OpenSBI v1.3.1-5-g5e27b43
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|___/_____|
        | |
        |_|

Platform Name             : Sipeed Lichee Pi 4A
Platform Features         : medeleg
Platform HART Count       : 4
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 3000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : ---
Platform PMU Device       : ---
Platform Reboot Device    : thead_reset
Platform Shutdown Device  : thead_reset
Platform Suspend Device   : ---
Platform CPPC Device      : ---
Firmware Base             : 0x0
Firmware Size             : 352 KB
Firmware RW Offset        : 0x40000
Firmware RW Size          : 96 KB
Firmware Heap Offset      : 0x4e000
Firmware Heap Size        : 40 KB (total), 2 KB (reserved), 9 KB (used), 28 KB (free)
Firmware Scratch Size     : 4096 B (total), 760 B (used), 3336 B (free)
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*,1*,2*,3*
Domain0 Region00          : 0x000000ffdc008000-0x000000ffdc00bfff M: (I,R,W) S/U: ()
Domain0 Region01          : 0x000000ffdc000000-0x000000ffdc007fff M: (I,R,W) S/U: ()
Domain0 Region02          : 0x0000000000040000-0x000000000005ffff M: (R,W) S/U: ()
Domain0 Region03          : 0x0000000000000000-0x000000000003ffff M: (R,X) S/U: ()
Domain0 Region04          : 0x0000000000000000-0xffffffffffffffff M: (R,W,X) S/U: (R,W,X)
Domain0 Next Address      : 0x0000000000200000
Domain0 Next Arg1         : 0x0000000002800000
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes
Domain0 SysSuspend        : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART Priv Version    : v1.11
Boot HART Base ISA        : rv64imafdcvx
Boot HART ISA Extensions  : time
Boot HART PMP Count       : 0
Boot HART PMP Granularity : 0
Boot HART PMP Address Bits: 0
Boot HART MHPM Count      : 16
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109
[    0.000000] Linux version 6.6.4+ (cyy@cyy-pc) (riscv64-linux-gnu-gcc (Debian 13.2.0-7) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41.50.20231206) #1 SMP Thu Dec 14 15:21:23 CST 2023
[    0.000000] Machine model: Sipeed Lichee Pi 4A
[    0.000000] SBI specification v1.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10003
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] OF: reserved mem: 0x0000000000000000..0x000000000003ffff (256 KiB) nomap non-reusable mmode_resv1@0
[    0.000000] OF: reserved mem: 0x0000000000040000..0x000000000005ffff (128 KiB) nomap non-reusable mmode_resv0@40000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x1ffdd6640-0x1ffdd7fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000005ffff]
[    0.000000]   node   0: [mem 0x0000000000060000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000001ffffffff]
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: cpu 0 has no node -1 or node-local memory
[    0.000000] percpu: Embedded 29 pages/cpu s80680 r8192 d29912 u118784
[    0.000000] Kernel command line: root=/dev/mmcblk0p3 console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth= rootrwoptions=rw,noatime rootrwreset=yes
[    0.000000] Unknown kernel command line parameters "eth= rootrwoptions=rw,noatime rootrwreset=yes", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2064384
[    0.000000] Policy zone: Normal
[    0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
[    0.000000] Memory: 4225584K/8388608K available (10156K kernel code, 5270K rwdata, 8192K rodata, 2555K init, 502K bss, 279636K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 36517 entries in 143 pages
[    0.000000] ftrace: allocated 143 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@ffd8000000: mapped 240 interrupts with 4 handlers for 8 contexts.
[    0.000000] riscv: providing IPIs using SBI IPI extension
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[    0.000001] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[    0.009492] Console: colour dummy device 80x25
[    0.017249] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.027880] pid_max: default: 32768 minimum: 301
[    0.038767] LSM: initializing lsm=capability,landlock,yama,apparmor,tomoyo,bpf,integrity
[    0.047461] landlock: Up and running.
[    0.051342] Yama: becoming mindful.
[    0.055242] AppArmor: AppArmor initialized
[    0.059610] TOMOYO Linux initialized
[    0.063325] LSM support for eBPF active
[    0.069468] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.077361] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.094569] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.102686] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.110978] riscv: ELF compat mode unsupported
[    0.111081] ASID allocator using 16 bits (65536 entries)
[    0.121749] rcu: Hierarchical SRCU implementation.
[    0.126738] rcu:     Max phase no-delay instances is 1000.
[    0.133583] EFI services will not be available.
[    0.139227] smp: Bringing up secondary CPUs ...
[    0.168180] cpu1: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[    0.200304] cpu2: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[    0.232446] cpu3: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[    0.242668] smp: Brought up 1 node, 4 CPUs
[    0.364693] node 0 deferred pages initialised in 116ms
[    0.374215] devtmpfs: initialized
[    0.390867] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.401042] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.409158] pinctrl core: initialized pinctrl subsystem
[    0.417857] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.425874] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.433917] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.444856] audit: initializing netlink subsys (disabled)
[    0.451125] audit: type=2000 audit(0.348:1): state=initialized audit_enabled=0 res=1
[    0.452069] thermal_sys: Registered thermal governor 'fair_share'
[    0.459219] thermal_sys: Registered thermal governor 'bang_bang'
[    0.465683] thermal_sys: Registered thermal governor 'step_wise'
[    0.472075] thermal_sys: Registered thermal governor 'user_space'
[    0.478461] thermal_sys: Registered thermal governor 'power_allocator'
[    0.484853] cpuidle: using governor ladder
[    0.496105] cpuidle: using governor menu
[    0.524399] cpu0: Ratio of byte access time to unaligned word access is 6.14, unaligned accesses are fast
[    0.539010] platform soc: Fixed dependency cycle(s) with /soc/interrupt-controller@ffd8000000
[    0.573498] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.580736] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.596960] pps_core: LinuxPPS API ver. 1 registered
[    0.602204] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.611812] PTP clock support registered
[    0.618461] NetLabel: Initializing
[    0.622160] NetLabel:  domain hash size = 128
[    0.626796] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.632948] NetLabel:  unlabeled traffic allowed by default
[    0.639391] vgaarb: loaded
[    0.642749] clocksource: Switched to clocksource riscv_clocksource
[    0.655502] VFS: Disk quotas dquot_6.6.0
[    0.659957] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.669001] AppArmor: AppArmor Filesystem Enabled
[    0.702921] NET: Registered PF_INET protocol family
[    0.708646] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.734704] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.743987] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.752398] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.761628] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    0.772259] TCP: Hash tables configured (established 65536 bind 65536)
[    0.780210] MPTCP token hash table entries: 8192 (order: 5, 196608 bytes, linear)
[    0.788710] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.796065] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.804869] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.810967] NET: Registered PF_XDP protocol family
[    0.816128] PCI: CLS 0 bytes, default 64
[    0.823241] Initialise system trusted keyrings
[    0.823267] Trying to unpack rootfs image as initramfs...
[    0.828134] Key type blacklist registered
[    0.838891] workingset: timestamp_bits=44 max_order=21 bucket_order=0
[    0.845640] zbud: loaded
[    0.865296] integrity: Platform Keyring initialized
[    0.870450] integrity: Machine keyring initialized
[    0.875454] Key type asymmetric registered
[    0.879733] Asymmetric key parser 'x509' registered
[    1.106872] Freeing initrd memory: 5168K
[    1.180531] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.188948] io scheduler mq-deadline registered
[    1.235149] light-fm-clk ffef010000.clock-controller: succeed to register light fullmask clock driver
[    1.246488] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.258490] printk: console [ttyS0] disabled
[    1.263806] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 18, base_baud = 6250000) is a 16550A
[    1.273686] printk: console [ttyS0] enabled
[    1.273686] printk: console [ttyS0] enabled
[    1.282336] printk: bootconsole [uart0] disabled
[    1.282336] printk: bootconsole [uart0] disabled
[    1.297930] mousedev: PS/2 mouse device common for all mice
[    1.305222] sdhci: Secure Digital Host Controller Interface driver
[    1.311491] sdhci: Copyright(c) Pierre Ossman
[    1.315953] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.323907] sdhci-dwcmshc ffe7090000.sd: can't request region for resource [mem 0xffe7090000-0xffe709ffff]
[    1.333691] sdhci-dwcmshc ffe7090000.sd: sdhci_pltfm_init failed -16
[    1.340116] sdhci-dwcmshc: probe of ffe7090000.sd failed with error -16
[    1.346819] ledtrig-cpu: registered to indicate activity on CPUs
[    1.350814] mmc0: SDHCI controller on ffe7080000.mmc [ffe7080000.mmc] using ADMA 64-bit
[    1.354559] riscv-pmu-sbi: SBI PMU extension is available
[    1.359127] mmc1: SDHCI controller on ffe7090000.mmc [ffe7090000.mmc] using ADMA 64-bit
[    1.374704] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    1.421808] mmc0: new HS400 MMC card at address 0001
[    1.428990] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    1.443966]  mmcblk0: p1 p2 p3
[    1.445278] NET: Registered PF_INET6 protocol family
[    1.449368] mmcblk0boot0: mmc0:0001 8GTF4R 4.00 MiB
[    1.454862] mmc2: SDHCI controller on ffe70a0000.sd [ffe70a0000.sd] using ADMA 64-bit
[    1.467899] mmcblk0boot1: mmc0:0001 8GTF4R 4.00 MiB
[    1.470523] sdhci-dwcmshc ffe70a0000.sd: card claims to support voltages below defined range
[    1.483658] mmcblk0rpmb: mmc0:0001 8GTF4R 512 KiB, chardev (246:0)
[    1.495082] Segment Routing with IPv6
[    1.495897] mmc2: new high speed SDIO card at address 0001
[    1.498928] In-situ OAM (IOAM) with IPv6
[    1.508570] mip6: Mobile IPv6
[    1.511613] NET: Registered PF_PACKET protocol family
[    1.517082] mpls_gso: MPLS GSO support
[    1.533682] registered taskstats version 1
[    1.538488] Loading compiled-in X.509 certificates
[    1.570067] Key type .fscrypt registered
[    1.574057] Key type fscrypt-provisioning registered
[    1.614854] Key type encrypted registered
[    1.618962] AppArmor: AppArmor sha1 policy hashing enabled
[    1.624564] ima: No TPM chip found, activating TPM-bypass!
[    1.630104] ima: Allocated hash algorithm: sha256
[    1.634903] ima: No architecture policies found
[    1.639569] evm: Initialising EVM extended attributes:
[    1.644749] evm: security.selinux
[    1.648100] evm: security.SMACK64 (disabled)
[    1.652422] evm: security.SMACK64EXEC (disabled)
[    1.657072] evm: security.SMACK64TRANSMUTE (disabled)
[    1.662153] evm: security.SMACK64MMAP (disabled)
[    1.666804] evm: security.apparmor
[    1.670215] evm: security.ima
[    1.673213] evm: security.capability
[    1.676820] evm: HMAC attrs: 0x1
[    2.769184] succeed to create power domain debugfs direntry
[    2.811090] ------------[ cut here ]------------
[    2.815739] cpu_pll1_foutpostdiv already disabled
[    2.820494] WARNING: CPU: 2 PID: 36 at drivers/clk/clk.c:1090 clk_core_disable+0x114/0x118
[    2.820525] Modules linked in:
[    2.820537] CPU: 2 PID: 36 Comm: kworker/u11:0 Not tainted 6.6.4+ #1
[    2.820549] Hardware name: Sipeed Lichee Pi 4A (DT)
[    2.820557] Workqueue: events_unbound deferred_probe_work_func
[    2.820574] epc : clk_core_disable+0x114/0x118
[    2.820588]  ra : clk_core_disable+0x114/0x118
[    2.820600] epc : ffffffff80613504 ra : ffffffff80613504 sp : ffffffc8001534b0
[    2.820609]  gp : ffffffff819a2540 tp : ffffffd900356040 t0 : 5f00000000000000
[    2.820618]  t1 : 0000000000000063 t2 : 5f316c6c705f7570 s0 : ffffffc8001534d0
[    2.820630]  s1 : ffffffd901fbcc00 a0 : 0000000000000025 a1 : ffffffff81896220
[    2.820639]  a2 : 0000000000000010 a3 : ffffffff81896220 a4 : 0000000000000000
[    2.820647]  a5 : 0000000000000000 a6 : ffffffff81826058 a7 : 0000000000000000
[    2.820656]  s2 : ffffffd901fbcc00 s3 : 0000000000000001 s4 : ffffffff80c6b6c8
[    2.820664]  s5 : ffffffff819a7690 s6 : ffffffff819e2368 s7 : 00000000000c3500
[    2.820672]  s8 : 00000000000c3500 s9 : 00000000000b71b0 s10: ffffffd902ccf840
[    2.820681]  s11: ffffffff819a76a8 t3 : ffffffff819b6cf7 t4 : ffffffff819b6cf7
[    2.820689]  t5 : ffffffff819b6cf8 t6 : ffffffc8001532a8
[    2.820697] status: 0000000200000100 badaddr: 0000000000000000 cause: 0000000000000003
[    2.820708] [<ffffffff80613504>] clk_core_disable+0x114/0x118
[    2.820724] [<ffffffff8061353c>] clk_disable+0x34/0x4c
[    2.820738] [<ffffffff8075fccc>] light_set_target+0x304/0x680
[    2.820755] [<ffffffff8075afe0>] __cpufreq_driver_target+0x24a/0x5d8
[    2.820774] [<ffffffff8075cf48>] cpufreq_online+0x964/0xa44
[    2.820786] [<ffffffff8075d0f6>] cpufreq_add_dev+0xac/0xbc
[    2.820799] [<ffffffff8067feec>] subsys_interface_register+0xfa/0x122
[    2.820820] [<ffffffff807598cc>] cpufreq_register_driver+0x14c/0x2c0
[    2.820839] [<ffffffff8075f674>] light_cpufreq_probe+0x396/0x504
[    2.820852] [<ffffffff80684d72>] platform_probe+0x5e/0xba
[    2.820869] [<ffffffff80681dcc>] really_probe+0xa0/0x35a
[    2.820882] [<ffffffff80682100>] __driver_probe_device+0x7a/0x138
[    2.820895] [<ffffffff806821f6>] driver_probe_device+0x38/0xc6
[    2.820908] [<ffffffff80682306>] __device_attach_driver+0x82/0xe4
[    2.820921] [<ffffffff8067fc22>] bus_for_each_drv+0x70/0xc6
[    2.820939] [<ffffffff80682716>] __device_attach+0x94/0x18a
[    2.820950] [<ffffffff80682a0a>] device_initial_probe+0x1a/0x22
[    2.820963] [<ffffffff80680c0e>] bus_probe_device+0x96/0x98
[    2.820977] [<ffffffff8067dfb6>] device_add+0x5b8/0x788
[    2.820992] [<ffffffff8079f63a>] of_device_add+0x3c/0x4c
[    2.821012] [<ffffffff8079f6fc>] of_platform_device_create_pdata+0x80/0xb6
[    2.821026] [<ffffffff8079fa0c>] of_platform_bus_create+0x172/0x2dc
[    2.821041] [<ffffffff8079fd06>] of_platform_populate+0x58/0x10a
[    2.821057] [<ffffffff8079fe36>] devm_of_platform_populate+0x52/0x9c
[    2.821072] [<ffffffff8079a60a>] light_aon_probe+0xfa/0x154
[    2.821085] [<ffffffff80684d72>] platform_probe+0x5e/0xba
[    2.821099] [<ffffffff80681dcc>] really_probe+0xa0/0x35a
[    2.821112] [<ffffffff80682100>] __driver_probe_device+0x7a/0x138
[    2.821124] [<ffffffff806821f6>] driver_probe_device+0x38/0xc6
[    2.821136] [<ffffffff80682306>] __device_attach_driver+0x82/0xe4
[    2.821150] [<ffffffff8067fc22>] bus_for_each_drv+0x70/0xc6
[    2.821167] [<ffffffff80682716>] __device_attach+0x94/0x18a
[    2.821180] [<ffffffff80682a0a>] device_initial_probe+0x1a/0x22
[    2.821193] [<ffffffff80680c0e>] bus_probe_device+0x96/0x98
[    2.821205] [<ffffffff806819d6>] deferred_probe_work_func+0xb2/0x102
[    2.821219] [<ffffffff8003a1f6>] process_one_work+0x18a/0x32a
[    2.821235] [<ffffffff8003adb8>] worker_thread+0x2fc/0x44a
[    2.821249] [<ffffffff80043972>] kthread+0xc4/0xe4
[    2.821259] [<ffffffff809ece6e>] ret_from_fork+0xe/0x20
[    2.821276] ---[ end trace 0000000000000000 ]---
[    3.173322] ------------[ cut here ]------------
[    3.177977] cpu_pll1_foutpostdiv already unprepared
[    3.182916] WARNING: CPU: 2 PID: 36 at drivers/clk/clk.c:949 clk_core_unprepare+0x160/0x17a
[    3.182938] Modules linked in:
[    3.182947] CPU: 2 PID: 36 Comm: kworker/u11:0 Tainted: G        W          6.6.4+ #1
[    3.182959] Hardware name: Sipeed Lichee Pi 4A (DT)
[    3.182966] Workqueue: events_unbound deferred_probe_work_func
[    3.182980] epc : clk_core_unprepare+0x160/0x17a
[    3.182989]  ra : clk_core_unprepare+0x160/0x17a
[    3.182999] epc : ffffffff80613394 ra : ffffffff80613394 sp : ffffffc8001534b0
[    3.183007]  gp : ffffffff819a2540 tp : ffffffd900356040 t0 : 5f00000000000000
[    3.183014]  t1 : 0000000000000063 t2 : 5f316c6c705f7570 s0 : ffffffc8001534d0
[    3.183021]  s1 : ffffffd901fbcc00 a0 : 0000000000000027 a1 : ffffffff81896220
[    3.183028]  a2 : 0000000000000010 a3 : ffffffff81896220 a4 : 0000000000000000
[    3.183034]  a5 : 0000000000000000 a6 : ffffffff81826058 a7 : 0000000000000000
[    3.183041]  s2 : 000000002faf0800 s3 : 0000000000000001 s4 : ffffffff80c6b6c8
[    3.183048]  s5 : ffffffff819a7690 s6 : ffffffff819e2368 s7 : 00000000000c3500
[    3.183056]  s8 : 00000000000c3500 s9 : 00000000000b71b0 s10: ffffffd902ccf840
[    3.183065]  s11: ffffffff819a76a8 t3 : ffffffff819b6cf7 t4 : ffffffff819b6cf7
[    3.183073]  t5 : ffffffff819b6cf8 t6 : ffffffc8001532a8
[    3.183080] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    3.183089] [<ffffffff80613394>] clk_core_unprepare+0x160/0x17a
[    3.183103] [<ffffffff806133dc>] clk_unprepare+0x2e/0x42
[    3.183115] [<ffffffff8075fcd6>] light_set_target+0x30e/0x680
[    3.183129] [<ffffffff8075afe0>] __cpufreq_driver_target+0x24a/0x5d8
[    3.183146] [<ffffffff8075cf48>] cpufreq_online+0x964/0xa44
[    3.183156] [<ffffffff8075d0f6>] cpufreq_add_dev+0xac/0xbc
[    3.183167] [<ffffffff8067feec>] subsys_interface_register+0xfa/0x122
[    3.183186] [<ffffffff807598cc>] cpufreq_register_driver+0x14c/0x2c0
[    3.183201] [<ffffffff8075f674>] light_cpufreq_probe+0x396/0x504
[    3.183213] [<ffffffff80684d72>] platform_probe+0x5e/0xba
[    3.183227] [<ffffffff80681dcc>] really_probe+0xa0/0x35a
[    3.183240] [<ffffffff80682100>] __driver_probe_device+0x7a/0x138
[    3.183252] [<ffffffff806821f6>] driver_probe_device+0x38/0xc6
[    3.183263] [<ffffffff80682306>] __device_attach_driver+0x82/0xe4
[    3.183275] [<ffffffff8067fc22>] bus_for_each_drv+0x70/0xc6
[    3.183292] [<ffffffff80682716>] __device_attach+0x94/0x18a
[    3.183304] [<ffffffff80682a0a>] device_initial_probe+0x1a/0x22
[    3.183317] [<ffffffff80680c0e>] bus_probe_device+0x96/0x98
[    3.183330] [<ffffffff8067dfb6>] device_add+0x5b8/0x788
[    3.183346] [<ffffffff8079f63a>] of_device_add+0x3c/0x4c
[    3.183361] [<ffffffff8079f6fc>] of_platform_device_create_pdata+0x80/0xb6
[    3.183377] [<ffffffff8079fa0c>] of_platform_bus_create+0x172/0x2dc
[    3.183392] [<ffffffff8079fd06>] of_platform_populate+0x58/0x10a
[    3.183407] [<ffffffff8079fe36>] devm_of_platform_populate+0x52/0x9c
[    3.183422] [<ffffffff8079a60a>] light_aon_probe+0xfa/0x154
[    3.183434] [<ffffffff80684d72>] platform_probe+0x5e/0xba
[    3.183449] [<ffffffff80681dcc>] really_probe+0xa0/0x35a
[    3.183461] [<ffffffff80682100>] __driver_probe_device+0x7a/0x138
[    3.183474] [<ffffffff806821f6>] driver_probe_device+0x38/0xc6
[    3.183487] [<ffffffff80682306>] __device_attach_driver+0x82/0xe4
[    3.183500] [<ffffffff8067fc22>] bus_for_each_drv+0x70/0xc6
[    3.183516] [<ffffffff80682716>] __device_attach+0x94/0x18a
[    3.183529] [<ffffffff80682a0a>] device_initial_probe+0x1a/0x22
[    3.183542] [<ffffffff80680c0e>] bus_probe_device+0x96/0x98
[    3.183554] [<ffffffff806819d6>] deferred_probe_work_func+0xb2/0x102
[    3.183567] [<ffffffff8003a1f6>] process_one_work+0x18a/0x32a
[    3.183581] [<ffffffff8003adb8>] worker_thread+0x2fc/0x44a
[    3.183595] [<ffffffff80043972>] kthread+0xc4/0xe4
[    3.183604] [<ffffffff809ece6e>] ret_from_fork+0xe/0x20
[    3.183618] ---[ end trace 0000000000000000 ]---
[    3.183645] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 750000 KHz, changing to: 800000 KHz
[    3.559913] cpu cpu0: finish to register cpufreq driver
[    3.565452] thead,light-aon-test aon:light-aon-test: Successfully registered
[    3.573568] clk: Not disabling unused clocks
[    3.578281] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[    3.587651] Freeing unused kernel image (initmem) memory: 2552K
[    3.593660] Run /init as init process
RevySR commented 8 months ago

预期行为 thead-kernel也会报同样错误 这个本质是同一个实现