AnsweredAssumed Answered

why print 'cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 900000000, volt: 1275000, enabled: 1. New: freq: 900000000, volt: 1275000, enabled: 1'

Question asked by he lun on Nov 12, 2019
Latest reply on Nov 15, 2019 by jimmychan

u-boot: 2016-03

kernel: 4.19.35

board: imx6ull     chip id:   xxxxx08aa

i use my config boot the kernel, in last it print duplicate OPPs detected,it's that: 

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.35-g2019-11-12-1867824-dirty (helun@r2700) (gcc version 4.9.2 (GCC)) #29 SMP PREEMPT Wed Nov 13 10:18:32 CST 2019
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Yytek,mbfiulf-1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x8a000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x404 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s36544 r8192 d20800 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttymxc0,115200 cma=96m root=/dev/ram rw 706s
[ 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: 165048K/262144K available (9216K kernel code, 695K rwdata, 3412K rodata, 1024K init, 440K bss, 31560K reserved, 65536K 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 : 0x90800000 - 0xff800000 (1776 MB)
[ 0.000000] lowmem : 0x80000000 - 0x90000000 ( 256 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (10208 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 696 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 441 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000012] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000040] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001980] Console: colour dummy device 80x30
[ 0.002040] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.002065] pid_max: default: 32768 minimum: 301
[ 0.002287] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002311] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003212] CPU: Testing write buffer coherency: ok
[ 0.003769] CPU0: update cpu_capacity 1024
[ 0.003793] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060508] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080502] rcu: Hierarchical SRCU implementation.
[ 0.120690] smp: Bringing up secondary CPUs ...
[ 0.120726] smp: Brought up 1 node, 1 CPU
[ 0.120741] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[ 0.120755] CPU: All CPU(s) started in SVC mode.
[ 0.121915] devtmpfs: initialized
[ 0.129468] Duplicate name in lcdif@21c8000, renamed to "display#1"
[ 0.132055] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.132705] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.132748] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.136558] pinctrl core: initialized pinctrl subsystem
[ 0.138325] NET: Registered protocol family 16
[ 0.151928] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.153593] cpuidle: using governor ladder
[ 0.153661] cpuidle: using governor menu
[ 0.164911] vdd3p0: supplied by regulator-dummy
[ 0.165820] cpu: supplied by regulator-dummy
[ 0.166699] vddsoc: supplied by regulator-dummy
[ 0.167860] mxs_phy 20c9000.usbphy: Linked as a consumer to regulator.1
[ 0.168745] mxs_phy 20ca000.usbphy: Linked as a consumer to regulator.1
[ 0.182525] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.182554] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.185352] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.186048] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.187858] imx rpmsg driver is registered.
[ 0.247669] SCSI subsystem initialized
[ 0.252320] usbcore: registered new interface driver usbfs
[ 0.252415] usbcore: registered new interface driver hub
[ 0.252586] usbcore: registered new device driver usb
[ 0.253885] imx-i2c 21a4000.i2c: can't get pinctrl, bus recovery not supported
[ 0.254489] i2c i2c-1: IMX I2C adapter registered
[ 0.254521] i2c i2c-1: can't use DMA, using PIO instead.
[ 0.254900] videodev: Linux video capture interface: v2.00
[ 0.255001] pps_core: LinuxPPS API ver. 1 registered
[ 0.255017] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.255057] PTP clock support registered
[ 0.256754] MIPI CSI2 driver module loaded
[ 0.257038] Advanced Linux Sound Architecture Driver Initialized.
[ 0.258943] clocksource: Switched to clocksource mxc_timer1
[ 0.259180] VFS: Disk quotas dquot_6.6.0
[ 0.259289] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.274029] NET: Registered protocol family 2
[ 0.274965] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.275015] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.275064] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.275118] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.275299] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.275355] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.275837] NET: Registered protocol family 1
[ 0.307056] RPC: Registered named UNIX socket transport module.
[ 0.307085] RPC: Registered udp transport module.
[ 0.307098] RPC: Registered tcp transport module.
[ 0.307110] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.307476] Trying to unpack rootfs image as initramfs...
[ 0.308467] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 0.387045] Freeing initrd memory: 13488K
[ 0.390098] Bus freq driver module loaded
[ 0.392093] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.411348] NFS: Registering the id_resolver key type
[ 0.411411] Key type id_resolver registered
[ 0.411425] Key type id_legacy registered
[ 0.411494] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.411954] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.412741] fuse init (API version 7.27)
[ 0.427734] io scheduler noop registered
[ 0.427763] io scheduler deadline registered
[ 0.428043] io scheduler cfq registered (default)
[ 0.428061] io scheduler mq-deadline registered
[ 0.428075] io scheduler kyber registered
[ 0.436465] imx-sdma 20ec000.sdma: Falling back to syfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.443637] mxs-dma 1804000.dma-apbh: initialized
[ 0.447631] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a IMX
[ 1.141754] console [ttymxc0] enabled
[ 1.147064] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 67, base_baud = 5000000) is a IMX
[ 1.156999] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 68, base_baud = 5000000) is a IMX
[ 1.166855] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 69, base_baud = 5000000) is a IMX
[ 1.176803] 21fc000.serial: ttymxc5 at MMIO 0x21fc000 (irq = 70, base_baud = 5000000) is a IMX
[ 1.188713] imx sema4 driver is registered.
[ 1.194100] [drm] Initialized vivante 1.0.0 20120216 for platform:Vivante GCCore on minor 0
[ 1.202672] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 1.226583] brd: module loaded
[ 1.244043] loop: module loaded
[ 1.251072] fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
[ 1.258287] fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
[ 1.264876] fsl-quadspi: probe of 21e0000.qspi failed with error -2
[ 1.275708] spi_imx 2008000.ecspi: probed
[ 1.282110] spi_imx 2010000.ecspi: probed
[ 1.287494] libphy: Fixed MDIO Bus: probed
[ 1.292462] tun: Universal TUN/TAP device driver, 1.6
[ 1.297921] CAN device driver interface
[ 1.302475] flexcan 2090000.can: 2090000.can supply xceiver not found, using dummy regulator
[ 1.311255] flexcan 2090000.can: Linked as a consumer to regulator.0
[ 1.318843] flexcan 2090000.can: device registered (reg_base=(ptrval), irq=26)
[ 1.326680] flexcan 2094000.can: 2094000.can supply xceiver not found, using dummy regulator
[ 1.335376] flexcan 2094000.can: Linked as a consumer to regulator.0
[ 1.343021] flexcan 2094000.can: device registered (reg_base=(ptrval), irq=27)
[ 1.352814] fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
[ 1.361747] fec 20b4000.ethernet: Linked as a consumer to regulator.0
[ 1.369247] pps pps0: new PPS source ptp0
[ 1.374495] libphy: fec_enet_mii_bus: probed
[ 1.392309] fec 20b4000.ethernet eth0: registered PHC device 0
[ 1.400027] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
[ 1.408816] fec 2188000.ethernet: Linked as a consumer to regulator.0
[ 1.416407] pps pps1: new PPS source ptp1
[ 1.422491] fec 2188000.ethernet eth1: registered PHC device 1
[ 1.429955] usbcore: registered new interface driver cdc_ether
[ 1.435905] usbcore: registered new interface driver cdc_subset
[ 1.442143] usbcore: registered new interface driver qmi_wwan
[ 1.447920] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.454636] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.460326] usbcore: registered new interface driver cdc_acm
[ 1.466017] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.474186] usbcore: registered new interface driver cdc_wdm
[ 1.480005] usbcore: registered new interface driver usb-storage
[ 1.486218] usbcore: registered new interface driver usbserial_generic
[ 1.492904] usbserial: USB Serial support registered for generic
[ 1.499162] usbcore: registered new interface driver option
[ 1.504810] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.511928] usbcore: registered new interface driver usb_ehset_test
[ 1.520162] usbmisc_imx 2184800.usbmisc: 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 1.530428] usbmisc_imx 2184800.usbmisc: Linked as a consumer to regulator.0
[ 1.538901] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 1.547363] imx_usb 2184000.usb: Linked as a consumer to regulator.0
[ 1.557380] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 1.562425] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 1.599018] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 1.605993] hub 1-0:1.0: USB hub found
[ 1.610035] hub 1-0:1.0: 1 port detected
[ 1.625898] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 1.634485] imx_usb 2184200.usb: Linked as a consumer to regulator.0
[ 1.644510] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.649545] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 1.679025] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.685952] hub 2-0:1.0: USB hub found
[ 1.689991] hub 2-0:1.0: 1 port detected
[ 1.706502] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 1.715870] mousedev: PS/2 mouse device common for all mice
[ 1.723031] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 2.239103] rtc-ds1307: probe of 1-0032 failed with error -110
[ 2.245151] i2c /dev entries driver
[ 2.249329] IR NEC protocol handler initialized
[ 2.253894] IR RC5(x/sz) protocol handler initialized
[ 2.259156] IR RC6 protocol handler initialized
[ 2.263713] IR JVC protocol handler initialized
[ 2.268258] IR Sony protocol handler initialized
[ 2.272990] IR SANYO protocol handler initialized
[ 2.277713] IR Sharp protocol handler initialized
[ 2.282469] IR MCE Keyboard/mouse protocol handler initialized
[ 2.288316] IR XMP protocol handler initialized
[ 2.295247] pxp-v4l2 pxp_v4l2: initialized
[ 2.302433] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.309947] sdhci: Secure Digital Host Controller Interface driver
[ 2.316167] sdhci: Copyright(c) Pierre Ossman
[ 2.320634] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.328064] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 2.367927] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.385053] random: fast init done
[ 2.422694] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.438463] usbcore: registered new interface driver usbhid
[ 2.444365] usbhid: USB HID core driver
[ 2.466891] NET: Registered protocol family 26
[ 2.478323] xt_time: kernel timezone is -0000
[ 2.483032] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
[ 2.489687] IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
[ 2.502664] IPVS: ipvs loaded.
[ 2.509348] IPVS: [rr] scheduler registered.
[ 2.514865] IPVS: [wrr] scheduler registered.
[ 2.521638] IPVS: [lc] scheduler registered.
[ 2.526032] IPVS: [wlc] scheduler registered.
[ 2.531754] mmc1: new DDR MMC card at address 0001
[ 2.536682] IPVS: [fo] scheduler registered.
[ 2.543056] IPVS: [ovf] scheduler registered.
[ 2.547731] IPVS: [lblc] scheduler registered.
[ 2.552408] IPVS: [lblcr] scheduler registered.
[ 2.556962] IPVS: [dh] scheduler registered.
[ 2.562409] mmcblk1: mmc1:0001 MMC04G 3.52 GiB
[ 2.568031] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
[ 2.574278] IPVS: [sh] scheduler registered.
[ 2.578584] IPVS: [mh] scheduler registered.
[ 2.582943] IPVS: [sed] scheduler registered.
[ 2.590448] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
[ 2.596777] IPVS: [nq] scheduler registered.
[ 2.601365] mmcblk1rpmb: mmc1:0001 MMC04G partition 3 128 KiB, chardev (246:0)
[ 2.608827] IPVS: ftp: loaded support on port[0] = 21
[ 2.615175] IPVS: [sip] pe registered.
[ 2.621007] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[ 2.628756] NET: Registered protocol family 17
[ 2.633642] Bridge firewalling registered
[ 2.638535] can: controller area network core (rev 20170425 abi 9)
[ 2.646481] NET: Registered protocol family 29
[ 2.651418] can: raw protocol (rev 20170425)
[ 2.658095] can: broadcast manager protocol (rev 20170425 t)
[ 2.664282] mmcblk1: p1 p2
[ 2.667362] can: netlink gateway (rev 20170425) max_hops=1
[ 2.679711] 8021q: 802.1Q VLAN Support v1.8
[ 2.684125] Key type dns_resolver registered
[ 2.689668] cpu cpu0: Linked as a consumer to regulator.2
[ 2.695237] cpu cpu0: Linked as a consumer to regulator.3
[ 2.758239] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 900000000, volt: 1275000, enabled: 1. New: freq: 900000000, volt: 1275000, enabled: 1
[ 2.773486] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 792000000, volt: 1225000, enabled: 1. New: freq: 792000000, volt: 1225000, enabled: 1
[ 2.788523] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 528000000, volt: 1175000, enabled: 1. New: freq: 528000000, volt: 1175000, enabled: 1
[ 2.803538] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 396000000, volt: 1025000, enabled: 1. New: freq: 396000000, volt: 1025000, enabled: 1
[ 2.818548] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 198000000, volt: 950000, enabled: 1. New: freq: 198000000, volt: 950000, enabled: 1
[ 2.835018] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 900000000, volt: 1275000, enabled: 1. New: freq: 900000000, volt: 1275000, enabled: 1
[ 2.850135] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 792000000, volt: 1225000, enabled: 1. New: freq: 792000000, volt: 1225000, enabled: 1
[ 2.865156] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 528000000, volt: 1175000, enabled: 1. New: freq: 528000000, volt: 1175000, enabled: 1
[ 2.880169] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 396000000, volt: 1025000, enabled: 1. New: freq: 396000000, volt: 1025000, enabled: 1
[ 2.895177] cpu cpu0: _opp_is_duplicate: duplicate OPPs detected. Existing: freq: 198000000, volt: 950000, enabled: 1. New: freq: 198000000, volt: 950000, enabled: 1

 

what's wrong with it ? it's a err msg?  how to avoid it, maybe my kernel config or dts is incorrect? 

and i note that dir  of '/sys/devices/system/cpu/cpu0' doesn't contain the dir of 'cpufreq ', but have the dir of '/sys/devices/system/cpu/cpufreq', it's empty in it

Attachments

Outcomes