Skip to content

sparc64: interrupts and tick timers v1

Igor V. Kovalenko qemu-devel 1 version Applied

Status from this message: Thanks, applied all except 9/9.

Get series with b4
b4 am 20100107201810.16653.85771.stgit@skyserv

Versions newest first

  1. v1 Latest9 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9sparc64: change_pstate should have 32bit argumenttarget-sparc/op_helper.c+3 -30 replies
2/9sparc64: trace pstate and global register set changestarget-sparc/op_helper.c+20 -00 replies
3/9sparc64: add PIL to cpu state dumptarget-sparc/helper.c+1 -00 replies
4/9sparc64: use helper_wrpil to check pending irq on writetarget-sparc/helper.h target-sparc/op_helper.c target-sparc/translate.c+16 -40 replies
5/9sparc64: check for pending irq when pil, pstate or softint is changedtarget-sparc/op_helper.c+38 -30 replies
6/9sparc64: add macros to deal with softint and timer interrupthw/sun4u.c target-sparc/cpu.h+4 -10 replies
7/9sparc64: move cpu_interrupts_enabled to cpu.htarget-sparc/cpu.h target-sparc/exec.h+13 -130 replies
8/9sparc64: interrupt trap handlingcpu-exec.c hw/sun4u.c target-sparc/cpu.h+59 -270 replies
9/9sparc64: reimplement tick timershw/sun4u.c+146 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/9] sparc64: interrupts and tick timers v1

The following series is a cleanup over previous one.

v0 -> v1: post-review changes
- dropped patch "clear exception_index with -1 val" (applied)
- new patch "change_pstate should have 32bit argument"
- cleanups for coding style and hexadecimal output convention
- wrpil is no-op for CONFIG_USER_ONLY
- restored PIL 15 as non-maskable interrupt level on sparcv8
- check for PSTATE.IE is replaced with call to cpu_interrupts_enabled()
- in patch "sparc64: interrupt trap handling"
cleaned up change in cpu_exec; since sparc64 does not use CPU_INTERRUPT_TIMER now, corresponding code branch is unchanged

---

Igor V. Kovalenko (9):
sparc64: change_pstate should have 32bit argument
sparc64: trace pstate and global register set changes
sparc64: add PIL to cpu state dump
sparc64: use helper_wrpil to check pending irq on write
sparc64: check for pending irq when pil, pstate or softint is changed
sparc64: add macros to deal with softint and timer interrupt
sparc64: move cpu_interrupts_enabled to cpu.h
sparc64: interrupt trap handling
sparc64: reimplement tick timers

 cpu-exec.c               |   28 +++---
 hw/sun4u.c               |  225 +++++++++++++++++++++++++++++++++++++---------
 target-sparc/cpu.h       |   27 ++++++
 target-sparc/exec.h      |   13 ---
 target-sparc/helper.c    |    1 
 target-sparc/helper.h    |    1 
 target-sparc/op_helper.c |   81 +++++++++++++++--
 target-sparc/translate.c |    5 -
 8 files changed, 300 insertions(+), 81 deletions(-)
Signature · 2 lines
Kind regards,
Igor V. Kovalenko