[PATCH] riscv: vector: Fix output operands in context save

Paul Walmsley pjw at kernel.org
Fri Sep 18 17:49:04 PDT 2026


On Fri, 11 Sep 2026, Aurelien Jarno wrote:

> The __vstate_csr_save() inline assembly declares vcsr as an output
> operand while the assembly only writes vstart, vtype, and vl. Remove it
> as it is later saved by the C code.
> 
> Fixes: d863910eabaf ("riscv: vector: Support xtheadvector save/restore")
> Signed-off-by: Aurelien Jarno <aurelien at aurel32.net>

Thanks, queued for v7.3-rc.


- Paul



More information about the linux-riscv mailing list