[PATCH 5.5 19/65] riscv: set pmp configuration if kernel is running in M-mode