qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] wdt_aspeed: Fix behaviour of control register
@ 2021-07-09  5:31 Andrew Jeffery
  2021-07-09  5:31 ` [PATCH 1/2] watchdog: aspeed: Sanitize control register values Andrew Jeffery
  2021-07-09  5:31 ` [PATCH 2/2] watchdog: aspeed: Fix sequential control writes Andrew Jeffery
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Jeffery @ 2021-07-09  5:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, qemu-arm, clg, joel

Hello,

I discovered a couple of bugs in the watchdog while testing a tool to poke
Aspeed BMCs over their various AHB bridges. The immediate observation was that
the model for the 2500 wasn't signalling use of the fixed 1MHz clock, which is
resolved in the first patch. The other observation was that sequential writes to
control weren't sticking if the enable bit wasn't toggled, which is fixed in the
second patch.

Please review.

Andrew

Andrew Jeffery (2):
  watchdog: aspeed: Sanitize control register values
  watchdog: aspeed: Fix sequential control writes

 hw/watchdog/wdt_aspeed.c         | 26 ++++++++++++++++++++++++--
 include/hw/watchdog/wdt_aspeed.h |  1 +
 2 files changed, 25 insertions(+), 2 deletions(-)

-- 
2.30.2



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

end of thread, other threads:[~2021-07-19 15:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-09  5:31 [PATCH 0/2] wdt_aspeed: Fix behaviour of control register Andrew Jeffery
2021-07-09  5:31 ` [PATCH 1/2] watchdog: aspeed: Sanitize control register values Andrew Jeffery
2021-07-19 15:53   ` Cédric Le Goater
2021-07-09  5:31 ` [PATCH 2/2] watchdog: aspeed: Fix sequential control writes Andrew Jeffery
2021-07-09  7:29   ` Philippe Mathieu-Daudé
2021-07-13  2:41     ` Andrew Jeffery
2021-07-19 15:54   ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).