commit | 211c7f9bb817ca7bb7855535da4db5ca80a8aa1d | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Feb 18 11:09:15 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue May 20 08:04:19 2025 +0200 |
tree | 73cfe0cf59ed7d9f133d9d01607f23d395785ec3 | |
parent | 357ce8171a9c7581ba02475874c8c28ed5220d9e [diff] |
target/riscv: update max_satp_mode based on QOM properties Almost all users of cpu->cfg.satp_mode care about the "max" value satp_mode_max_from_map(cpu->cfg.satp_mode.map). Convert the QOM properties back into it. For TCG, deduce the bitmap of supported modes from valid_vm[]. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>