ams.br

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. I compiled the kernel (branch next 4.19.y) applying a patch based in https://github.com/arctype-co/linux/commit/5fcb4e57eeaa4d670ef4acf5818c6fe16aa0d3d0 Strikes me as a more stable workaround, but I'm still evaluating. Patch: --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -328,16 +328,17 @@ * number of CPU cycles in 3 consecutive 24 MHz counter periods. */ #define __sun50i_a64_read_reg(reg) ({ \ - u64 _val; \ - int _retries = 150; \ + u64 _old, _new; \ + int _retries = 200; \ \ do { \ - _val = read_sysreg(reg); \ + _old = read_sysreg(reg); \ + _new = read_sysreg(reg); \ _retries--; \ - } while (((_val + 1) & GENMASK(9, 0)) <= 1 && _retries); \ + } while (unlikely(_old != _new) && _retries); \ \ WARN_ON_ONCE(!_retries); \ - _val; \ + _new; \ }) static u64 notrace sun50i_a64_read_cntpct_el0(void)
  2. I switched to 5.3.0-rc3, but not work. After +/- 8 days. Welcome to Debian Stretch with Armbian Linux 5.3.0-rc3-sunxi64 System load: 0.82 0.73 0.70 Up time: 24855 days # date Sat Dec 16 19:19:42 -03 2209
  3. Hi, for me the problem persist. I'm using 5.2.5-sunxi64 dev 5.92. I've already try other, stable, next, dev. After some time it's jump to 2114. My board is a Orange Pi Win Plus (a64), others boards 32bit work normaly