Re: [PATCH v2 2/3] target/riscv/cpu.c: create flag for ziccrse

2025-02-21 Thread Andrew Jones
On Fri, Feb 21, 2025 at 11:18:33AM -0300, Daniel Henrique Barboza wrote: > At this moment ziccrse is a TCG always enabled named feature for > priv_ver > 1.11 that has no exclusive flag. In the next patch we'll make > the KVM driver update ziccrse as well, turning it on/off depending on > host setti

[PATCH v2 2/3] target/riscv/cpu.c: create flag for ziccrse

2025-02-21 Thread Daniel Henrique Barboza
At this moment ziccrse is a TCG always enabled named feature for priv_ver > 1.11 that has no exclusive flag. In the next patch we'll make the KVM driver update ziccrse as well, turning it on/off depending on host settings, but for that we'll need an ext_ziccrse flag in the CPU state. Create an exc