In RISC-V, new CSRs are planning to be added. This is the documentation on Github Page. It is addressed to two problems below.
• It introduces unpredictable noise to the counter values observed by the user.
• It leaks information about privileged software execution to user mode.
However, why there are no separate counters for different privilege modes to prevent leakage and noise? Adding mask registers will increase the complexity in hardware and address space in the CSR address part of instruction.