On Tue, Feb 27, 2024 at 10:55:33PM -0800, Samuel Holland wrote:
When the kernel is running in M-mode, the CBZE bit must be set in the menvcfg CSR, not in senvcfg.
Cc: stable@vger.kernel.org Fixes: 43c16d51a19b ("RISC-V: Enable cbo.zero in usermode") Reviewed-by: Andrew Jones ajones@ventanamicro.com Signed-off-by: Samuel Holland samuel.holland@sifive.com
Reviewed-by: Conor Dooley conor.dooley@microchip.com
Cheers, Conor.