Re: [PATCH v4 1/1] printk: fix zero-valued printk timestamps in early boot
From: Roberto A. Foglietta
Date: Wed Apr 15 2026 - 09:08:35 EST
Follow up V5 integrated into kdev: uChaos supports _USE_RAW_CYCLES in
new v0.6.5:
~> https://github.com/robang74/uchaosys/commit/e48de8f
[ 0.183957] Linux version 5.15.202 (roberto@x280) (x86_64-linux-musl-gcc
(GCC) 14.3.0, GNU ld (GNU Binutils) 2.44) #1 Wed A6
[ 0.183969] Command line: HOST=x86_64 root=/dev/ram0 init=/init
console=ttyS0,115200n8 net.ifnames=0 nokaslr
[ 0.183972] KERNEL supported cpus:
[ 0.183973] Intel GenuineIntel
[ 0.183975] AMD AuthenticAMD
[ 0.184138] BIOS-provided physical RAM map:
[ 0.184140] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.184144] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.184147] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.184149] BIOS-e820: [mem 0x0000000000100000-0x0000000001fdefff] usable
[ 0.184152] BIOS-e820: [mem 0x0000000001fdf000-0x0000000001ffffff] reserved
[ 0.184154] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved
[ 0.184157] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[ 0.184159] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[ 0.184161] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.184207] NX (Execute Disable) protection: active
[ 0.184214] Hypervisor detected: KVM
[ 0.184218] kvm-clock: Using msrs 4b564d01 and 4b564d00
[ 0.184241] kvm-clock: cpu 0, msr bac001, primary cpu clock
--------- time skew here ---------
[ 0.000001] kvm-clock: using sched offset of 55985760 cycles
[ 0.000003] clocksource: kvm-clock: mask: 0xffffffffffffffff
max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000005] tsc: Detected 1896.002 MHz processor
[ 0.000324] last_pfn = 0x1fdf max_arch_pfn = 0x400000000
[............]
[ 0.235538] uchaos: Init mts 4096B access x7 times: 115 < 196.3 > 594 uP
without _USE_RAW_CYCLES:
[ 0.245907] uchaos: Init mts 4096B access x7 times: 64 < 134.4 > 322 uS
Cheers,
--
Roberto A. Foglietta
+49.176.274.75.661
+39.349.33.30.697