mbox series

[0/7] target/nios2: Rewrite interrupt handling

Message ID 20220227182125.21809-1-richard.henderson@linaro.org
Headers show
Series target/nios2: Rewrite interrupt handling | expand

Message

Richard Henderson Feb. 27, 2022, 6:21 p.m. UTC
This fixes the problems that I pointed out with respect to the
existing Internal Interrupt Controller, and a few cleanups on the way.
It passes check-avocado, which is the only nios2 test I know of,
so more testing would be appreciated.


r~


Richard Henderson (7):
  target/nios2: Remove mmu_read_debug
  target/nios2: Replace MMU_LOG with tracepoints
  target/nios2: Only build mmu.c for system mode
  target/nios2: Hoist R_ZERO check in rdctl
  target/nios2: Split mmu_write
  target/nios2: Special case ipending in rdctl and wrctl
  target/nios2: Rewrite interrupt handling

 meson.build               |   1 +
 target/nios2/cpu.h        |   1 -
 target/nios2/helper.h     |   6 +-
 target/nios2/mmu.h        |   1 -
 target/nios2/cpu.c        |  10 +-
 target/nios2/mmu.c        | 265 ++++++++++++++------------------------
 target/nios2/op_helper.c  |  29 -----
 target/nios2/translate.c  |  71 +++++-----
 target/nios2/meson.build  |   3 +-
 target/nios2/trace-events |  10 ++
 10 files changed, 150 insertions(+), 247 deletions(-)
 create mode 100644 target/nios2/trace-events