On Tue, Feb 27, 2024 at 10:55:35PM -0800, Samuel Holland wrote:
The value of the [ms]envcfg CSR is lost when entering a nonretentive idle state, so the CSR must be rewritten when resuming the CPU.
Cc: stable@vger.kernel.org # v6.7+ Fixes: 43c16d51a19b ("RISC-V: Enable cbo.zero in usermode") Signed-off-by: Samuel Holland samuel.holland@sifive.com
Reviewed-by: Conor Dooley conor.dooley@microchip.com
Cheers, Conor.