On Sat, Mar 22, 2025 at 4:03 AM Michael Tokarev <m...@tls.msk.ru> wrote: > > On 06.03.2025 09:46, Deepak Gupta wrote: > > Commit:8205bc1 ("target/riscv: introduce ssp and enabling controls for > > zicfiss") introduced CSR_SSP but it mis-interpreted the spec on access > > to CSR_SSP in M-mode. Gated to CSR_SSP is not gated via `xSSE`. But > > rather rules clearly specified in section "22.2.1. Shadow Stack Pointer > > (ssp) CSR access contr" in the priv spec. > > > > Fixes: 8205bc127a83 ("target/riscv: introduce ssp and enabling controls > > for zicfiss". Thanks to Adam Zabrocki for bringing this to attention. > > Is this patchset (including "[2/2] target/riscv: fixes a bug against > `ssamoswap` behavior in M-mode") applicable for stable qemu series?
Yes, if it applies it is (it probably won't apply to older stables as it's a new-ish feature). Alistair > > Thanks, > > /mjt >