On 8/18/2026 6:31 PM, Brian Cain wrote:
> tlbp now records a pending imprecise exception (via env->imprecise_exception)
> when the lookup matches multiple entries, and the translator raises it after
> the tlbp packet.  Implement the HEX_EVENT_IMPRECISE delivery path so the
> guest sees HEX_CAUSE_IMPRECISE_MULTI_TLB_MATCH instead of the exception
> being silently dropped.
> 
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  include/hw/hexagon/hexagon_tlb.h |  3 ++-
>  target/hexagon/cpu.h             |  1 +
>  hw/hexagon/hexagon_tlb.c         |  5 ++++-
>  target/hexagon/hex_mmu.c         |  5 ++++-
>  target/hexagon/hexswi.c          | 37 +++++++++++++++++++++++++++++---
>  target/hexagon/machine.c         |  5 +++--
>  target/hexagon/translate.c       | 29 +++++++++++++++++++++++++
>  7 files changed, 77 insertions(+), 8 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to