[PATCH 4/4] riscv: Enable perf counters user access only through perf

Bagas Sanjaya bagasdotme at gmail.com
Sun Apr 30 19:09:38 PDT 2023


On 4/13/23 23:17, Alexandre Ghiti wrote:
> +The default value is 2, it enables the legacy mode, that is user space has
> +direct access to cycle, time and insret CSRs only.
>  

"The default value is 2, which enables legacy mode (user space has direct
access to cycle, time, and insret CSRs only)."

-- 
An old man doll... just what I always wanted! - Clara




More information about the linux-arm-kernel mailing list