Linux-Amlogic Archive on lore.kernel.org
 help / Atom feed
* Odroidc1 DVFS
@ 2019-02-07 14:52 Piero
  2019-02-08 19:44 ` Martin Blumenstingl
  0 siblings, 1 reply; 4+ messages in thread
From: Piero @ 2019-02-07 14:52 UTC (permalink / raw)
  To: linux-amlogic

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

Hi,

   looking at linux-meson website[1] it looks like DVFS is available
for odroidc1 but from my test compiling 5.0.0-rc5 from amlogic integ
branch[2] I cannot see it working: what am I missing?
Attached you can find dmesg.

Thanks in advance
**Bye
Piero

[1]http://linux-meson.com/doku.php
[2]https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/?h=integ

[-- Attachment #2: linux-5.0.0-rc5-odroidc1.txt --]
[-- Type: text/plain, Size: 20190 bytes --]

[    0.000000] Booting Linux on physical CPU 0x200
[    0.000000] Linux version 5.0.0-rc5-odroidc1 (root@ubuntu-bionic) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5.74 SMP Thu Feb 7 12:00:17 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Hardkernel ODROID-C1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x3c000000
[    0.000000] On node 0 totalpages: 261632
[    0.000000]   Normal zone: 1724 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196096 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0x7c/0x468 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s40460 r8192 d20980 u69632
[    0.000000] pcpu-alloc: s40460 r8192 d20980 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
[    0.000000] Kernel command line: root=UUID=dd21bb52-5ccf-4482-9d23-0b5d2655c174 rootwait rw console=ttyAML0,115200n8 rootfstype=ext4 loglevel=3 no_console_suspend consoleblank=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=1080p m_bpp=32 vout=hdmi disableuhs disablehpd=true monitor_onoff=false max_freq=1536 usbhid.quirks=0x0eef:0x0005:0x0004
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 949052K/1046528K available (11264K kernel code, 1022K rwdata, 2996K rodata, 1024K init, 323K bss, 31940K reserved, 65536K cma-reserved, 196608K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (12256 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1023 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 324 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x02460000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x36460000
[    0.000014] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000029] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000062] Switching to timer-based delay loop, resolution 1000ns
[    0.000607] Console: colour dummy device 80x30
[    0.000641] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.000651] pid_max: default: 32768 minimum: 301
[    0.000790] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000800] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001519] CPU: Testing write buffer coherency: ok
[    0.001822] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.002542] Setting up static identity map for 0x300000 - 0x300060
[    0.002672] rcu: Hierarchical SRCU implementation.
[    0.003565] EFI services will not be available.
[    0.003770] smp: Bringing up secondary CPUs ...
[    0.004353] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.005030] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.005674] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.005767] smp: Brought up 1 node, 4 CPUs
[    0.005775] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.005778] CPU: All CPU(s) started in SVC mode.
[    0.006631] devtmpfs: initialized
[    0.011211] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.011404] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.011419] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.014525] xor: measuring software checksum speed
[    0.110240]    arm4regs  :  1002.800 MB/sec
[    0.210239]    8regs     :   847.200 MB/sec
[    0.310234]    32regs    :   928.000 MB/sec
[    0.410236]    neon      :   832.800 MB/sec
[    0.410242] xor: using function: arm4regs (1002.800 MB/sec)
[    0.410302] pinctrl core: initialized pinctrl subsystem
[    0.410967] DMI not present or invalid.
[    0.411350] NET: Registered protocol family 16
[    0.415730] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.416941] cpuidle: using governor menu
[    0.417711] No ATAGs?
[    0.417819] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.417824] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.418362] Serial: AMBA PL011 UART driver
[    0.600304] raid6: neonx8   gen()   375 MB/s
[    0.770244] raid6: neonx8   xor()   365 MB/s
[    0.940275] raid6: neonx4   gen()   574 MB/s
[    1.110283] raid6: neonx4   xor()   531 MB/s
[    1.280337] raid6: neonx2   gen()   554 MB/s
[    1.450272] raid6: neonx2   xor()   546 MB/s
[    1.620368] raid6: neonx1   gen()   388 MB/s
[    1.790228] raid6: neonx1   xor()   420 MB/s
[    1.960429] raid6: int32x8  gen()   155 MB/s
[    2.130363] raid6: int32x8  xor()   109 MB/s
[    2.300404] raid6: int32x4  gen()   160 MB/s
[    2.470287] raid6: int32x4  xor()   125 MB/s
[    2.640524] raid6: int32x2  gen()   153 MB/s
[    2.810400] raid6: int32x2  xor()   152 MB/s
[    2.980354] raid6: int32x1  gen()   143 MB/s
[    3.150329] raid6: int32x1  xor()   141 MB/s
[    3.150334] raid6: using algorithm neonx4 gen() 574 MB/s
[    3.150338] raid6: .... xor() 531 MB/s, rmw enabled
[    3.150341] raid6: using neon recovery algorithm
[    3.151850] VCC1V8: supplied by P5V0
[    3.152121] VCC3V3: supplied by P5V0
[    3.152368] DDR_VDDC: supplied by P5V0
[    3.152614] VDD_RTC: supplied by VCC3V3
[    3.154615] vgaarb: loaded
[    3.155294] SCSI subsystem initialized
[    3.155483] libata version 3.00 loaded.
[    3.155694] usbcore: registered new interface driver usbfs
[    3.155734] usbcore: registered new interface driver hub
[    3.155802] usbcore: registered new device driver usb
[    3.156156] pps_core: LinuxPPS API ver. 1 registered
[    3.156161] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.156179] PTP clock support registered
[    3.156302] EDAC MC: Ver: 3.0.0
[    3.158216] clocksource: Switched to clocksource timer
[    3.641608] NET: Registered protocol family 2
[    3.642273] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    3.642300] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.642382] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.642484] TCP: Hash tables configured (established 8192 bind 8192)
[    3.642596] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.642638] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.642819] NET: Registered protocol family 1
[    3.643342] RPC: Registered named UNIX socket transport module.
[    3.643347] RPC: Registered udp transport module.
[    3.643350] RPC: Registered tcp transport module.
[    3.643353] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.643362] PCI: CLS 0 bytes, default 64
[    3.643719] Trying to unpack rootfs image as initramfs...
[    3.846064] Freeing initrd memory: 3836K
[    3.847576] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    3.848836] Initialise system trusted keyrings
[    3.849040] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.856030] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.856639] NFS: Registering the id_resolver key type
[    3.856662] Key type id_resolver registered
[    3.856665] Key type id_legacy registered
[    3.856703] ntfs: driver 2.1.32 [Flags: R/O].
[    3.857138] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.958098] Key type asymmetric registered
[    3.958105] Asymmetric key parser 'x509' registered
[    3.958170] bounce: pool size: 64 pages
[    3.958328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.958523] io scheduler mq-deadline registered
[    3.958528] io scheduler kyber registered
[    3.961584] GPIO line 417 (usb-hub-reset) hogged as output/high
[    3.964017] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
[    3.964645] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.012372] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    4.014184] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 25, base_baud = 9960937) is a meson_uart
[    4.014243] printk: console [ttyAML0] enabled
[    4.014690] STMicroelectronics ASC driver initialized
[    4.025977] brd: module loaded
[    4.033940] loop: module loaded
[    4.036753] libphy: Fixed MDIO Bus: probed
[    4.037757] CAN device driver interface
[    4.038350] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.038354] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.038401] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    4.038405] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.039510] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    4.040026] meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    4.040036] meson8b-dwmac c9410000.ethernet:         DWMAC1000
[    4.040044] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    4.040049] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    4.040056] meson8b-dwmac c9410000.ethernet: COE Type 2
[    4.040061] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    4.040066] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    4.040103] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    4.040109] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    4.040115] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.118257] libphy: stmmac: probed
[    4.123586] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.123647] usbcore: registered new interface driver pegasus
[    4.123689] usbcore: registered new interface driver asix
[    4.123718] usbcore: registered new interface driver ax88179_178a
[    4.123747] usbcore: registered new interface driver cdc_ether
[    4.123784] usbcore: registered new interface driver smsc75xx
[    4.123823] usbcore: registered new interface driver smsc95xx
[    4.123858] usbcore: registered new interface driver net1080
[    4.123889] usbcore: registered new interface driver cdc_subset
[    4.123917] usbcore: registered new interface driver zaurus
[    4.123962] usbcore: registered new interface driver cdc_ncm
[    4.125107] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.125112] ehci-pci: EHCI PCI platform driver
[    4.125144] ehci-platform: EHCI generic platform driver
[    4.125277] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.125296] ohci-pci: OHCI PCI platform driver
[    4.125333] ohci-platform: OHCI generic platform driver
[    4.125795] usbcore: registered new interface driver usb-storage
[    4.127650] i2c /dev entries driver
[    4.129521] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=0)
[    4.130899] sdhci: Secure Digital Host Controller Interface driver
[    4.130902] sdhci: Copyright(c) Pierre Ossman
[    4.132484] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.133046] ledtrig-cpu: registered to indicate activity on CPUs
[    4.133405] usbcore: registered new interface driver usbhid
[    4.133409] usbhid: USB HID core driver
[    4.133993] meson-saradc c1108680.adc: Linked as a consumer to regulator.2
[    4.135469] Initializing XFRM netlink socket
[    4.136063] NET: Registered protocol family 10
[    4.137078] Segment Routing with IPv6
[    4.137148] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.137700] NET: Registered protocol family 17
[    4.137745] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.137749] can: controller area network core (rev 20170425 abi 9)
[    4.137803] NET: Registered protocol family 29
[    4.137808] can: raw protocol (rev 20170425)
[    4.137813] can: broadcast manager protocol (rev 20170425 t)
[    4.137821] can: netlink gateway (rev 20170425) max_hops=1
[    4.138094] Key type dns_resolver registered
[    4.138840] ThumbEE CPU extension supported.
[    4.138851] Registering SWP/SWPB emulation handler
[    4.139407] Loading compiled-in X.509 certificates
[    4.141103] Btrfs loaded, crc32c=crc32c-generic
[    4.149904] TFLASH_VDD: supplied by VCC3V3
[    4.151111] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.151897] dwc2 c90c0000.usb: c90c0000.usb supply vusb_d not found, using dummy regulator
[    4.151957] dwc2 c90c0000.usb: Linked as a consumer to regulator.0
[    4.151970] dwc2 c90c0000.usb: c90c0000.usb supply vusb_a not found, using dummy regulator
[    4.218242] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm=1
[    4.218252] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    4.218259] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter besl=1
[    4.218265] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    4.219137] dwc2 c90c0000.usb: DWC OTG Controller
[    4.219164] dwc2 c90c0000.usb: new USB bus registered, assigned bus number 1
[    4.219200] dwc2 c90c0000.usb: irq 26, io mem 0xc90c0000
[    4.219970] hub 1-0:1.0: USB hub found
[    4.220014] hub 1-0:1.0: 1 port detected
[    4.220942] iio_hwmon: probe of iio-hwmon failed with error -22
[    4.222965] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.6
[    4.223020] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.7
[    4.223389] platform c1108c20.mmc:slot@1: Got CD GPIO
[    4.250037] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.251015] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.251783] hctosys: unable to open rtc device (rtc0)
[    4.252143] DDR_VDDC: disabling
[    4.252150] VDD_RTC: disabling
[    4.252156] TF_IO: disabling
[    4.254639] Freeing unused kernel memory: 1024K
[    4.298364] Run /init as init process
[    4.349905] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.350506] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.350638] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.388515] mmc0: new SDHC card at address aaaa
[    4.389066] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[    4.406149]  mmcblk0: p1
[    4.407459] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    4.658265] usb 1-1: new high-speed USB device number 2 using dwc2
[    4.690779] random: fast init done
[    4.910645] hub 1-1:1.0: USB hub found
[    4.911000] hub 1-1:1.0: 4 ports detected
[    4.914089] pwm-regulator regulator-vcck: Failed to get PWM: -517
[    5.971471] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.272782] systemd[1]: System time before build time, advancing clock.
[    7.369496] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.369956] systemd[1]: Detected architecture arm.
[    7.399578] systemd[1]: Set hostname to <odroidc1>.
[    8.104481] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.128603] systemd[1]: Listening on udev Control Socket.
[    8.158514] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.188599] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.218386] systemd[1]: Reached target Encrypted Volumes.
[    8.248517] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    8.278533] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.609781] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    9.444376] systemd-journald[232]: Received request to flush runtime journal from PID 1
[   10.915382] zram: Added device: zram0
[   10.917932] zram: Added device: zram1
[   10.926077] zram: Added device: zram2
[   10.927684] zram: Added device: zram3
[   10.934391] zram: Added device: zram4
[   10.940187] zram: Added device: zram5
[   11.117781] zram1: detected capacity change from 0 to 130490368
[   11.548328] Adding 127428k swap on /dev/zram1.  Priority:5 extents:1 across:127428k SS
[   11.551168] zram2: detected capacity change from 0 to 130490368
[   11.587999] Adding 127428k swap on /dev/zram2.  Priority:5 extents:1 across:127428k SS
[   11.591152] zram3: detected capacity change from 0 to 130490368
[   11.625298] Adding 127428k swap on /dev/zram3.  Priority:5 extents:1 across:127428k SS
[   11.627638] zram4: detected capacity change from 0 to 130490368
[   11.660850] Adding 127428k swap on /dev/zram4.  Priority:5 extents:1 across:127428k SS
[   11.864681] zram0: detected capacity change from 0 to 52428800
[   12.148292] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   13.309435] random: crng init done
[   13.309443] random: 7 urandom warning(s) missed due to ratelimiting
[   18.295575] EXT4-fs (mmcblk0p1): resizing filesystem from 262144 to 915840 blocks
[   30.168316] EXT4-fs (mmcblk0p1): resized to 524288 blocks
[   50.280574] EXT4-fs (mmcblk0p1): resized filesystem to 915840
[   51.816789] systemd[1]: apt-daily-upgrade.timer: Adding 35min 38.019240s random time.
[   59.181309] meson8b-dwmac c9410000.ethernet eth0: device MAC address 66:f6:65:b7:f3:96
[   59.183411] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=40)
[   59.185656] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   59.185671] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   59.187502] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   59.187545] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   86.337718] systemd[1]: apt-daily-upgrade.timer: Adding 42min 38.210741s random time.
[   87.430720] systemd[1]: apt-daily-upgrade.timer: Adding 6min 35.818165s random time.
[   94.593128] systemd[1]: apt-daily-upgrade.timer: Adding 44min 58.400343s random time.

[-- Attachment #3: Type: text/plain, Size: 167 bytes --]

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroidc1 DVFS
  2019-02-07 14:52 Odroidc1 DVFS Piero
@ 2019-02-08 19:44 ` Martin Blumenstingl
  2019-02-12 10:27   ` Piero
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Blumenstingl @ 2019-02-08 19:44 UTC (permalink / raw)
  To: Piero; +Cc: linux-amlogic

Hi,

On Thu, Feb 7, 2019 at 3:53 PM Piero <ottuzzi@gmail.com> wrote:
>
> Hi,
>
>    looking at linux-meson website[1] it looks like DVFS is available
> for odroidc1 but from my test compiling 5.0.0-rc5 from amlogic integ
> branch[2] I cannot see it working: what am I missing?
can you please show us your kernel .config as well?
I believe you're missing the PWM driver: CONFIG_PWM_MESON

> Attached you can find dmesg.
pwm-regulator regulator-vcck: Failed to get PWM: -517
it's "OK" that this message is shown a few times (assuming you have
CONFIG_PWM_MESON=m). Linux will solve it once modules are loaded, then
you'll get the following message:
pwm-regulator: supplied by regulator-dummy
(from that point on "lscpu", "cpupower frequency-info" or other tools
should show DVFS support)


Regards
Martin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroidc1 DVFS
  2019-02-08 19:44 ` Martin Blumenstingl
@ 2019-02-12 10:27   ` Piero
  2019-02-17 14:13     ` Martin Blumenstingl
  0 siblings, 1 reply; 4+ messages in thread
From: Piero @ 2019-02-12 10:27 UTC (permalink / raw)
  To: Martin Blumenstingl; +Cc: linux-amlogic

[-- Attachment #1: Type: text/plain, Size: 1737 bytes --]

Hi Martin,

   I recompiled integ branch with CONFIG_PWM_MESON=y and now DVFS is
working as expected.
I did some tests using sbc-bench:

* Original Odroid Ubuntu 16.04 with 3.10 kernel (1824MHz): http://ix.io/1zdB
* Armbian 5.75 with 5.0.0-rc5 kernel (1536MHz DVFS): http://ix.io/1APH

Original 3.10 kernel has a big big margin on tinymembench (about twice
as fast as 5.0.0-rc5 with DVFS); 3.10 is 50% faster in OpenSSL and
both kernels are tie on 7-zip (a bit faster 5.0.0-rc5). Do you have
any idea on how to explain the difference in tinymembench? I do not
think 300MHz overclocking is enough to explain the difference.

Attached the kernel-config I used to build kernel as reference and dmesg.

Thanks for your help.
*Ciao
Piero

Il giorno ven 8 feb 2019 alle ore 20:44 Martin Blumenstingl
<martin.blumenstingl@googlemail.com> ha scritto:
>
> Hi,
>
> On Thu, Feb 7, 2019 at 3:53 PM Piero <ottuzzi@gmail.com> wrote:
> >
> > Hi,
> >
> >    looking at linux-meson website[1] it looks like DVFS is available
> > for odroidc1 but from my test compiling 5.0.0-rc5 from amlogic integ
> > branch[2] I cannot see it working: what am I missing?
> can you please show us your kernel .config as well?
> I believe you're missing the PWM driver: CONFIG_PWM_MESON
>
> > Attached you can find dmesg.
> pwm-regulator regulator-vcck: Failed to get PWM: -517
> it's "OK" that this message is shown a few times (assuming you have
> CONFIG_PWM_MESON=m). Linux will solve it once modules are loaded, then
> you'll get the following message:
> pwm-regulator: supplied by regulator-dummy
> (from that point on "lscpu", "cpupower frequency-info" or other tools
> should show DVFS support)
>
>
> Regards
> Martin



-- 
Stupid is as stupid does.
Forrest Gump

[-- Attachment #2: linux-5.0.0-rc5-dmesg.txt --]
[-- Type: text/plain, Size: 19669 bytes --]

[    0.000000] Booting Linux on physical CPU 0x200
[    0.000000] Linux version 5.0.0-rc5-odroidc1 (root@ubuntu-bionic) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #5.75 SMP Mon Feb 11 13:16:30 UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Hardkernel ODROID-C1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 64 MiB at 0x3c000000
[    0.000000] On node 0 totalpages: 261632
[    0.000000]   Normal zone: 1724 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196096 pages, LIFO batch:63
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x478 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s39948 r8192 d21492 u69632
[    0.000000] pcpu-alloc: s39948 r8192 d21492 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259908
[    0.000000] Kernel command line: root=UUID=eadb7c1e-0051-4721-9655-26ba51344eaf rootwait rw console=ttyAML0,115200n8 rootfstype=ext4 loglevel=3 no_console_suspend consoleblank=0 vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=1080p m_bpp=32 vout=hdmi disableuhs disablehpd=true monitor_onoff=false max_freq=1536 usbhid.quirks=0x0eef:0x0005:0x0004
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 947992K/1046528K available (12288K kernel code, 1021K rwdata, 3048K rodata, 1024K init, 322K bss, 33000K reserved, 65536K cma-reserved, 196608K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (13280 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1022 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 323 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] irq_meson_gpio: 119 to 8 gpio interrupt mux initialized
[    0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x02460000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x4100a0c9, AUX_CTRL 0x36460000
[    0.000015] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000030] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000061] Switching to timer-based delay loop, resolution 1000ns
[    0.000541] Console: colour dummy device 80x30
[    0.000576] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.000585] pid_max: default: 32768 minimum: 301
[    0.000728] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000739] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001377] CPU: Testing write buffer coherency: ok
[    0.001661] CPU0: thread -1, cpu 0, socket 2, mpidr 80000200
[    0.002345] Setting up static identity map for 0x300000 - 0x300060
[    0.002468] rcu: Hierarchical SRCU implementation.
[    0.003247] EFI services will not be available.
[    0.003446] smp: Bringing up secondary CPUs ...
[    0.004013] CPU1: thread -1, cpu 1, socket 2, mpidr 80000201
[    0.004669] CPU2: thread -1, cpu 2, socket 2, mpidr 80000202
[    0.005293] CPU3: thread -1, cpu 3, socket 2, mpidr 80000203
[    0.005385] smp: Brought up 1 node, 4 CPUs
[    0.005392] SMP: Total of 4 processors activated (8.00 BogoMIPS).
[    0.005396] CPU: All CPU(s) started in SVC mode.
[    0.006208] devtmpfs: initialized
[    0.009970] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
[    0.010138] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010153] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.013083] xor: measuring software checksum speed
[    0.110223]    arm4regs  :  1009.200 MB/sec
[    0.210221]    8regs     :   849.200 MB/sec
[    0.310221]    32regs    :   932.400 MB/sec
[    0.410217]    neon      :  1015.600 MB/sec
[    0.410222] xor: using function: neon (1015.600 MB/sec)
[    0.410286] pinctrl core: initialized pinctrl subsystem
[    0.410919] DMI not present or invalid.
[    0.411290] NET: Registered protocol family 16
[    0.415460] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.416669] cpuidle: using governor menu
[    0.417284] hw-breakpoint: found 2 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.417289] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.417741] Serial: AMBA PL011 UART driver
[    0.600298] raid6: neonx8   gen()   539 MB/s
[    0.770267] raid6: neonx8   xor()   517 MB/s
[    0.940282] raid6: neonx4   gen()   642 MB/s
[    1.110250] raid6: neonx4   xor()   593 MB/s
[    1.280298] raid6: neonx2   gen()   572 MB/s
[    1.450263] raid6: neonx2   xor()   553 MB/s
[    1.620350] raid6: neonx1   gen()   390 MB/s
[    1.790284] raid6: neonx1   xor()   416 MB/s
[    1.960289] raid6: int32x8  gen()   251 MB/s
[    2.130242] raid6: int32x8  xor()   161 MB/s
[    2.300385] raid6: int32x4  gen()   232 MB/s
[    2.470272] raid6: int32x4  xor()   185 MB/s
[    2.640224] raid6: int32x2  gen()   187 MB/s
[    2.810315] raid6: int32x2  xor()   167 MB/s
[    2.980537] raid6: int32x1  gen()   146 MB/s
[    3.150399] raid6: int32x1  xor()   158 MB/s
[    3.150403] raid6: using algorithm neonx4 gen() 642 MB/s
[    3.150406] raid6: .... xor() 593 MB/s, rmw enabled
[    3.150409] raid6: using neon recovery algorithm
[    3.151844] VCC1V8: supplied by P5V0
[    3.152081] VCC3V3: supplied by P5V0
[    3.152304] DDR_VDDC: supplied by P5V0
[    3.152529] VDD_RTC: supplied by VCC3V3
[    3.154211] vgaarb: loaded
[    3.154867] SCSI subsystem initialized
[    3.155052] libata version 3.00 loaded.
[    3.155261] usbcore: registered new interface driver usbfs
[    3.155299] usbcore: registered new interface driver hub
[    3.155379] usbcore: registered new device driver usb
[    3.155713] pps_core: LinuxPPS API ver. 1 registered
[    3.155717] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.155732] PTP clock support registered
[    3.155843] EDAC MC: Ver: 3.0.0
[    3.157478] clocksource: Switched to clocksource timer
[    3.632190] NET: Registered protocol family 2
[    3.632801] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    3.632829] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.632904] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.633006] TCP: Hash tables configured (established 8192 bind 8192)
[    3.633111] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.633151] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.633334] NET: Registered protocol family 1
[    3.633815] RPC: Registered named UNIX socket transport module.
[    3.633820] RPC: Registered udp transport module.
[    3.633822] RPC: Registered tcp transport module.
[    3.633825] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.633833] PCI: CLS 0 bytes, default 64
[    3.634165] Trying to unpack rootfs image as initramfs...
[    3.825725] Freeing initrd memory: 3876K
[    3.826807] hw perfevents: enabled with armv7_cortex_a5 PMU driver, 3 counters available
[    3.828014] Initialise system trusted keyrings
[    3.828293] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    3.834878] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.835460] NFS: Registering the id_resolver key type
[    3.835483] Key type id_resolver registered
[    3.835486] Key type id_legacy registered
[    3.835517] ntfs: driver 2.1.32 [Flags: R/O].
[    3.835940] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.930512] Key type asymmetric registered
[    3.930520] Asymmetric key parser 'x509' registered
[    3.930583] bounce: pool size: 64 pages
[    3.930641] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.930819] io scheduler mq-deadline registered
[    3.930825] io scheduler kyber registered
[    3.933558] GPIO line 417 (usb-hub-reset) hogged as output/high
[    3.936241] soc soc0: Amlogic Meson8b (S805) RevA (1b - 0:B72) detected
[    3.936888] pwm-regulator: supplied by regulator-dummy
[    3.984201] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    3.985794] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 25, base_baud = 9960937) is a meson_uart
[    3.985848] printk: console [ttyAML0] enabled
[    3.986253] STMicroelectronics ASC driver initialized
[    3.996614] brd: module loaded
[    4.003866] loop: module loaded
[    4.006486] libphy: Fixed MDIO Bus: probed
[    4.007536] CAN device driver interface
[    4.007944] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.007947] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.007990] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    4.007992] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.009000] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    4.009506] meson8b-dwmac c9410000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    4.009516] meson8b-dwmac c9410000.ethernet:         DWMAC1000
[    4.009523] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    4.009528] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    4.009533] meson8b-dwmac c9410000.ethernet: COE Type 2
[    4.009538] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    4.009543] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    4.009548] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    4.009553] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    4.009557] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.087511] libphy: stmmac: probed
[    4.092678] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.092730] usbcore: registered new interface driver pegasus
[    4.092768] usbcore: registered new interface driver asix
[    4.092796] usbcore: registered new interface driver ax88179_178a
[    4.092824] usbcore: registered new interface driver cdc_ether
[    4.092861] usbcore: registered new interface driver smsc75xx
[    4.092904] usbcore: registered new interface driver smsc95xx
[    4.092934] usbcore: registered new interface driver net1080
[    4.092961] usbcore: registered new interface driver cdc_subset
[    4.092987] usbcore: registered new interface driver zaurus
[    4.093029] usbcore: registered new interface driver cdc_ncm
[    4.094005] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.094010] ehci-pci: EHCI PCI platform driver
[    4.094040] ehci-platform: EHCI generic platform driver
[    4.094160] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.094178] ohci-pci: OHCI PCI platform driver
[    4.094213] ohci-platform: OHCI generic platform driver
[    4.094594] usbcore: registered new interface driver usb-storage
[    4.096252] i2c /dev entries driver
[    4.098023] meson_wdt c1109900.watchdog: Watchdog enabled (timeout=8 sec, nowayout=0)
[    4.098634] cpu cpu0: Linked as a consumer to regulator.6
[    4.098676] cpu cpu0: Dropping the link to regulator.6
[    4.098819] cpu cpu0: Linked as a consumer to regulator.6
[    4.100189] sdhci: Secure Digital Host Controller Interface driver
[    4.100192] sdhci: Copyright(c) Pierre Ossman
[    4.103581] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.104022] ledtrig-cpu: registered to indicate activity on CPUs
[    4.104292] usbcore: registered new interface driver usbhid
[    4.104295] usbhid: USB HID core driver
[    4.104779] meson-saradc c1108680.adc: Linked as a consumer to regulator.2
[    4.105997] Initializing XFRM netlink socket
[    4.106471] NET: Registered protocol family 10
[    4.107263] Segment Routing with IPv6
[    4.107311] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.107789] NET: Registered protocol family 17
[    4.107827] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    4.107831] can: controller area network core (rev 20170425 abi 9)
[    4.107869] NET: Registered protocol family 29
[    4.107874] can: raw protocol (rev 20170425)
[    4.107877] can: broadcast manager protocol (rev 20170425 t)
[    4.107883] can: netlink gateway (rev 20170425) max_hops=1
[    4.108129] Key type dns_resolver registered
[    4.108487] ThumbEE CPU extension supported.
[    4.108496] Registering SWP/SWPB emulation handler
[    4.108934] Loading compiled-in X.509 certificates
[    4.110283] Btrfs loaded, crc32c=crc32c-generic
[    4.116709] USB_VBUS: supplied by P5V0
[    4.117041] TFLASH_VDD: supplied by VCC3V3
[    4.118252] dwc2 c90c0000.usb: c90c0000.usb supply vusb_d not found, using dummy regulator
[    4.118301] dwc2 c90c0000.usb: Linked as a consumer to regulator.0
[    4.118311] dwc2 c90c0000.usb: c90c0000.usb supply vusb_a not found, using dummy regulator
[    4.187639] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm=1
[    4.187667] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[    4.187689] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter besl=1
[    4.187710] dwc2 c90c0000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[    4.189702] dwc2 c90c0000.usb: DWC OTG Controller
[    4.189777] dwc2 c90c0000.usb: new USB bus registered, assigned bus number 1
[    4.189872] dwc2 c90c0000.usb: irq 26, io mem 0xc90c0000
[    4.192089] hub 1-0:1.0: USB hub found
[    4.192233] hub 1-0:1.0: 1 port detected
[    4.194920] iio_hwmon: probe of iio-hwmon failed with error -22
[    4.202056] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.8
[    4.202124] platform c1108c20.mmc:slot@1: Linked as a consumer to regulator.9
[    4.202631] platform c1108c20.mmc:slot@1: Got CD GPIO
[    4.228075] hctosys: unable to open rtc device (rtc0)
[    4.228454] DDR_VDDC: disabling
[    4.228461] VDD_RTC: disabling
[    4.228468] USB_VBUS: disabling
[    4.228475] TF_IO: disabling
[    4.230877] Freeing unused kernel memory: 1024K
[    4.267811] Run /init as init process
[    4.353638] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.354271] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.354416] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    4.375111] mmc0: new SDHC card at address aaaa
[    4.375599] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[    4.392828]  mmcblk0: p1
[    4.627597] usb 1-1: new high-speed USB device number 2 using dwc2
[    4.678501] random: fast init done
[    4.879627] hub 1-1:1.0: USB hub found
[    4.879946] hub 1-1:1.0: 4 ports detected
[    6.223151] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.798833] systemd[1]: System time before build time, advancing clock.
[    7.922267] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    7.922884] systemd[1]: Detected architecture arm.
[    7.949006] systemd[1]: Set hostname to <odroidc1>.
[    8.894859] systemd[1]: Reached target Swap.
[    8.929641] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.958665] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.988527] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    9.025001] systemd[1]: Created slice User and Session Slice.
[    9.047985] systemd[1]: Listening on udev Control Socket.
[    9.078471] systemd[1]: Listening on Syslog Socket.
[    9.746495] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[   10.403369] systemd-journald[233]: Received request to flush runtime journal from PID 1
[   12.070911] zram: Added device: zram0
[   12.071333] zram: Added device: zram1
[   12.072516] zram: Added device: zram2
[   12.073007] zram: Added device: zram3
[   12.073441] zram: Added device: zram4
[   12.074831] zram: Added device: zram5
[   12.303941] zram1: detected capacity change from 0 to 130359296
[   12.442448] Adding 127300k swap on /dev/zram1.  Priority:5 extents:1 across:127300k SS
[   12.448369] zram2: detected capacity change from 0 to 130359296
[   12.475859] Adding 127300k swap on /dev/zram2.  Priority:5 extents:1 across:127300k SS
[   12.479210] zram3: detected capacity change from 0 to 130359296
[   12.505540] Adding 127300k swap on /dev/zram3.  Priority:5 extents:1 across:127300k SS
[   12.507736] zram4: detected capacity change from 0 to 130359296
[   12.542943] Adding 127300k swap on /dev/zram4.  Priority:5 extents:1 across:127300k SS
[   12.709276] zram0: detected capacity change from 0 to 52428800
[   12.956516] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[   13.779583] random: crng init done
[   13.779591] random: 7 urandom warning(s) missed due to ratelimiting
[   19.826632] EXT4-fs (mmcblk0p1): resizing filesystem from 263168 to 915840 blocks
[   47.564513] EXT4-fs (mmcblk0p1): resized filesystem to 915840
[   49.781619] systemd[1]: apt-daily-upgrade.timer: Adding 10min 49.413172s random time.
[   58.499913] meson8b-dwmac c9410000.ethernet eth0: device MAC address 3e:32:f7:9c:ad:7d
[   58.509202] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=40)
[   58.517508] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   58.517521] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   58.521641] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   58.521699] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[-- Attachment #3: linux-odroidc1-next.config --]
[-- Type: application/octet-stream, Size: 163408 bytes --]

[-- Attachment #4: Type: text/plain, Size: 167 bytes --]

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Odroidc1 DVFS
  2019-02-12 10:27   ` Piero
@ 2019-02-17 14:13     ` Martin Blumenstingl
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Blumenstingl @ 2019-02-17 14:13 UTC (permalink / raw)
  To: Piero; +Cc: linux-amlogic

Hi Piero,

On Tue, Feb 12, 2019 at 11:27 AM Piero <ottuzzi@gmail.com> wrote:
>
> Hi Martin,
>
>    I recompiled integ branch with CONFIG_PWM_MESON=y and now DVFS is
> working as expected.
great - thank you for the feedback! :)

> I did some tests using sbc-bench:
>
> * Original Odroid Ubuntu 16.04 with 3.10 kernel (1824MHz): http://ix.io/1zdB
> * Armbian 5.75 with 5.0.0-rc5 kernel (1536MHz DVFS): http://ix.io/1APH
>
> Original 3.10 kernel has a big big margin on tinymembench (about twice
> as fast as 5.0.0-rc5 with DVFS); 3.10 is 50% faster in OpenSSL and
> both kernels are tie on 7-zip (a bit faster 5.0.0-rc5). Do you have
> any idea on how to explain the difference in tinymembench? I do not
> think 300MHz overclocking is enough to explain the difference.
Did you compare kernel 3.10 with 5.0.0-rc on other hardware as well?
I have no idea why it there's such a huge difference between these two
kernel versions (in some of your tests). The only thing that came to
my mind is all the hardening for the "spectre" vulnerabilities, but I
can't tell if for example tinymembench really suffers from that.


Regards
Martin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 14:52 Odroidc1 DVFS Piero
2019-02-08 19:44 ` Martin Blumenstingl
2019-02-12 10:27   ` Piero
2019-02-17 14:13     ` Martin Blumenstingl

Linux-Amlogic Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-amlogic/0 linux-amlogic/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-amlogic linux-amlogic/ https://lore.kernel.org/linux-amlogic \
		linux-amlogic@lists.infradead.org linux-amlogic@archiver.kernel.org
	public-inbox-index linux-amlogic


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-amlogic


AGPL code for this site: git clone https://public-inbox.org/ public-inbox