visionfive v1 has DDR memory mapped twice -- one in cached region (32GB@0x80000000) and the other in uncached region (32GB@0x1000000000). opensbi only has the pmp setup for cached region, leaving the uncached region unprotected. S mode can just modify opensbi through 0x1000000000, and effectively renders risc-v pmp useless.
visionfive v1 has DDR memory mapped twice -- one in cached region (32GB@0x80000000) and the other in uncached region (32GB@0x1000000000). opensbi only has the pmp setup for cached region, leaving the uncached region unprotected. S mode can just modify opensbi through 0x1000000000, and effectively renders risc-v pmp useless.