[PATCH 0/2] Hexagon: implement nmi, pause

Brian Cain posted 2 patches 1 month, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261005194519.2945862-1-brian.cain@oss.qualcomm.com
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
target/hexagon/cpu.h        |  1 +
target/hexagon/cpu_helper.h |  1 +
target/hexagon/gen_tcg.h    | 10 ++++++++++
target/hexagon/sys_macros.h |  3 +--
target/hexagon/cpu.c        | 11 ++++++++++-
target/hexagon/cpu_helper.c | 17 +++++++++++++++++
6 files changed, 40 insertions(+), 3 deletions(-)
[PATCH 0/2] Hexagon: implement nmi, pause
Posted by Brian Cain 1 month, 2 weeks ago
nmi and pause instructions were nops.  Now nmi raises interrupts on all of
the enabled CPUs and pause raises an EXCP_YIELD.

Brian Cain (2):
  target/hexagon: yield on system-mode pause
  target/hexagon: implement nmi

 target/hexagon/cpu.h        |  1 +
 target/hexagon/cpu_helper.h |  1 +
 target/hexagon/gen_tcg.h    | 10 ++++++++++
 target/hexagon/sys_macros.h |  3 +--
 target/hexagon/cpu.c        | 11 ++++++++++-
 target/hexagon/cpu_helper.c | 17 +++++++++++++++++
 6 files changed, 40 insertions(+), 3 deletions(-)

-- 
2.34.1

Re: [PATCH 0/2] Hexagon: implement nmi, pause
Posted by Brian Cain 1 month, 2 weeks ago
On 10/5/2026 2:45 PM, Brian Cain wrote:
> nmi and pause instructions were nops.  Now nmi raises interrupts on all of
> the enabled CPUs and pause raises an EXCP_YIELD.

Whoops - didn't take enough time to write this message clearly:

     all of the enabled CPUs ... in the nmi mask operand.

>
> Brian Cain (2):
>    target/hexagon: yield on system-mode pause
>    target/hexagon: implement nmi
>
>   target/hexagon/cpu.h        |  1 +
>   target/hexagon/cpu_helper.h |  1 +
>   target/hexagon/gen_tcg.h    | 10 ++++++++++
>   target/hexagon/sys_macros.h |  3 +--
>   target/hexagon/cpu.c        | 11 ++++++++++-
>   target/hexagon/cpu_helper.c | 17 +++++++++++++++++
>   6 files changed, 40 insertions(+), 3 deletions(-)
>