Turning on mttcg exposed some bugs, the fixes for those are included in this
series.
A previous series (since landed) also provided some fixes for
TLB/barriers/LL-SC: https://lore.kernel.org/qemu-devel/20260927024347.3545385-1-brian.cain@oss.qualcomm.com/
Fully reviewed series, will show up in a pull req Real Soon Now.
In v2:
- Removed unnecessary change to configs/targets/hexagon-softmmu.mak
v1: https://lore.kernel.org/qemu-devel/20261019060911.1479329-1-brian.cain@oss.qualcomm.com/
Brian Cain (5):
target/hexagon: acquire BQL before reading interrupt state
target/hexagon: check exception_index in has_work
target/hexagon: drop a pending HALT when resuming
hw/intc: ciad should forward its mask to l2vic
target/hexagon: enable MTTCG for system emulation
include/hw/intc/hex-l2vic.h | 14 ++++++++++----
hw/intc/hex-l2vic.c | 10 +++++++---
target/hexagon/cpu.c | 6 ++++--
target/hexagon/cpu_helper.c | 1 +
target/hexagon/hex_interrupts.c | 8 +++++---
target/hexagon/op_helper.c | 14 +++++++++-----
6 files changed, 36 insertions(+), 17 deletions(-)
--
2.34.1