On Thu, Jul 27, 2023 at 03:20:05PM +0800, Haibo Xu wrote:> Borrow some of the csr definitions and operations from kernel's> arch/riscv/include/asm/csr.h to tools/ for riscv.You should copy the entire file verbatim.Thanks,drew