Skip to content

armv7-m: exit on external reset request

Michael Davidsaver qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 5 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3armv7-m: Return DeviceState* from armv7m_init()hw/arm/armv7m.c hw/arm/stellaris.c hw/arm/stm32f205_soc.c +1 more+29 -260 replies
2/3armv7-m: Implement SYSRESETREQhw/intc/armv7m_nvic.c+8 -10 replies
3/3arm: stellaris: exit on external reset requesthw/arm/stellaris.c+12 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 0/3] armv7-m: exit on external reset request

Resending patch set. The only change from v3 is to the message of #3.

Changes armv7-m to implement the SYSRESETREQ register as GPIO. This necessitates some refactoring of armv7m_init() and the board code which calls it to allow the additional named GPIO to be used in board code.
The Stellaris board installs a handler which calls qemu_system_reset_request().

Michael Davidsaver (3):
armv7-m: Return DeviceState* from armv7m_init()
armv7-m: Implement SYSRESETREQ
arm: stellaris: exit on external reset request

 hw/arm/armv7m.c        |  9 ++-------
 hw/arm/stellaris.c     | 41 ++++++++++++++++++++++++++++++-----------
 hw/arm/stm32f205_soc.c | 15 ++++++++-------
 hw/intc/armv7m_nvic.c  |  9 ++++++++-
 include/hw/arm/arm.h   |  2 +-
 5 files changed, 49 insertions(+), 27 deletions(-)
Signature · 1 line
2.1.4