qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/i2c: Reset fixes
@ 2023-03-20 22:14 Joe Komlodi
  2023-03-20 22:14 ` [PATCH 1/2] hw/i2c: smbus_slave: Reset state on reset Joe Komlodi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joe Komlodi @ 2023-03-20 22:14 UTC (permalink / raw)
  To: cminyard; +Cc: qemu-devel, komlodi

Hi all,

This series fixes some I2C state variables not being reset when a reset
would happen.

These stale variables would infrequently cause issues, something around
the order of 5/1000 runs, since the machine would have to be reset at a
point where they would be in a state that would cause problems.

Thanks!
Joe

Joe Komlodi (2):
  hw/i2c: smbus_slave: Reset state on reset
  hw/i2c: core: Add reset

 hw/i2c/core.c        | 25 ++++++++++++++++++++++---
 hw/i2c/smbus_slave.c |  9 +++++++++
 2 files changed, 31 insertions(+), 3 deletions(-)

-- 
2.40.0.rc2.332.ga46443480c-goog



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

end of thread, other threads:[~2023-03-21 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-20 22:14 [PATCH 0/2] hw/i2c: Reset fixes Joe Komlodi
2023-03-20 22:14 ` [PATCH 1/2] hw/i2c: smbus_slave: Reset state on reset Joe Komlodi
2023-03-21 13:43   ` Philippe Mathieu-Daudé
2023-03-20 22:14 ` [PATCH 2/2] hw/i2c: core: Add reset Joe Komlodi
2023-03-20 22:56 ` [PATCH 0/2] hw/i2c: Reset fixes Corey Minyard

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).