diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2025-09-05 18:53:50 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2025-09-24 10:29:43 -0700 |
commit | 55b490b58fbfb4079186f05a1a63da1633239cbf (patch) | |
tree | 2b054fe869696b8d674abf4e1edb0ac52540109e /scripts/qapi/parser.py | |
parent | 521c9e1b1adcbca90d1d84e1dc00ec63f17256ee (diff) | |
download | qemu-55b490b58fbfb4079186f05a1a63da1633239cbf.zip qemu-55b490b58fbfb4079186f05a1a63da1633239cbf.tar.gz qemu-55b490b58fbfb4079186f05a1a63da1633239cbf.tar.bz2 |
target/riscv: Record misa_ext in TCGTBCPUState.cs_base
The tb_flush within write_misa was incorrect. It assumed
that we could adjust the ISA of the current processor and
discard all TB and all would be well. But MISA is per vcpu,
so globally flushing TB does not mean that the TB matches
the MISA of any given vcpu.
By recording misa in the tb state, we ensure that the code
generated matches the vcpu.
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions