OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix eic770x warm reset
@ 2026-06-05  7:57 Bo Gan
  2026-06-05  7:57 ` [PATCH v2 1/2] include: utils/hsm: Add __noreturn attribute for sifive_cease Bo Gan
  2026-06-05  7:57 ` [PATCH v2 2/2] platform: generic: eswin: Add eic770x_hsm and fix warm reset issues Bo Gan
  0 siblings, 2 replies; 3+ messages in thread
From: Bo Gan @ 2026-06-05  7:57 UTC (permalink / raw)
  To: opensbi; +Cc: nick.hu, linmin, gaohan, me

Use the CEASE instruction as documented in the SoC datasheet to fix
the warm reset issue observed on my EIC7700/Hifive P550. Refer to
PATCH 2/2 for a more detailed description.

Signed-off-by: Bo Gan <ganboing@gmail.com>
---
Changes in v2:
 - Clear the disableDCacheClockGate bit in EIC770X_CSR_FEAT0
   See more detailed comments in function eic770x_hart_stop

---
Bo Gan (2):
  include: utils/hsm: Add __noreturn attribute for sifive_cease
  platform: generic: eswin: Add eic770x_hsm and fix warm reset issues

 include/sbi_utils/hsm/fdt_hsm_sifive_inst.h |   3 +-
 platform/generic/eswin/eic770x.c            | 118 ++++++++++++++++++--
 platform/generic/eswin/hfp.c                |   4 +-
 platform/generic/include/eswin/eic770x.h    |  20 +++-
 4 files changed, 128 insertions(+), 17 deletions(-)

-- 
2.34.1


-- 
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-05  7:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-05  7:57 [PATCH v2 0/2] Fix eic770x warm reset Bo Gan
2026-06-05  7:57 ` [PATCH v2 1/2] include: utils/hsm: Add __noreturn attribute for sifive_cease Bo Gan
2026-06-05  7:57 ` [PATCH v2 2/2] platform: generic: eswin: Add eic770x_hsm and fix warm reset issues Bo Gan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox