Skip to content

Support device reset handler priority configuration

Stephanos Ioannidis qemu-arm qemu-devel 2 versions In review

Get series with b4
b4 am SLXP216MB028549666E28EDD5840A6525BDEB0@SLXP216MB0285.KORP216.PROD.OUTLOOK.COM

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/core: Support device reset handler priorityhw/core/reset.c include/sysemu/reset.h+54 -20 replies
2/2hw/arm/armv7m: Downgrade CPU reset handler priorityhw/arm/armv7m.c+2 -14 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Support device reset handler priority configuration

This series adds support for configuring device reset handler priority, and uses it to ensure that the ARMv7-M CPU reset handler is invoked after the ROM reset handler.

This fixes the STM32F405 boot failure issue when the kernel ELF image has the text and rodata sections linked at the non-aliased flash memory address (0x8000000), which is the default configuration used by many toolchains.

Stephanos Ioannidis (2):
hw/core: Support device reset handler priority hw/arm/armv7m: Downgrade CPU reset handler priority

 hw/arm/armv7m.c        |  3 ++-
 hw/core/reset.c        | 32 ++++++++++++++++++++++++++++++--
 include/sysemu/reset.h | 24 ++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 3 deletions(-)

--
2.17.1