[PATCH 1/2] riscv: add audit support