Details
Description
Starting with Linux kernel 6.6, the RDCYCLE instruction for RISC-V cannot be used with userland:
We use this in `my_rdtsc.h` for RISC-V platforms, which means this code does not work any more.
Instead we should use RDTIME, which while less accurate has the advantage of being synchronized between CPU (and thus monotonic) and of constant frequency. This exists in earlier kernel versions too, so will not break backwards compatibility.
Attachments
Issue Links
- is duplicated by
-
MDEV-34815 SIGILL error when executing mariadbd compiled for RISC-V with Clang
- Stalled