All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] aspeed/smc: fix data corruption on witherspoon machines
@ 2020-02-06 11:26 Cédric Le Goater
  2020-02-06 11:26 ` [PATCH 1/2] aspeed/smc: Add some tracing Cédric Le Goater
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Cédric Le Goater @ 2020-02-06 11:26 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Andrew Jeffery, Andrew Geissler, qemu-devel, qemu-arm,
	Joel Stanley, Cédric Le Goater

Hello,

We have been seeing a squashfs corruption on the witherspoon-bmc
machine for quite some time. It boots but quickly after boot
corruption errors start to fill the console. This machine has two BMC
chips with UBIfs on them. The romulus-bmc machine has a similar
problem when both PNOR are enabled.

After some investigation, it appeared that the SPI transfers on the
two chips were getting mixed and after more investigation, the User
mode select/unselect scheme of the Aspeed SMC model proved to be
broken. It's been there since the right beginning of the model. Here
is a fix.

Kudos to Andrew J. for the time he spent on this and Andrew G. for his
patience.

I pushed the code on my github branch aspeed-5.0 for more testing.

Thanks,

C.

Cédric Le Goater (2):
  aspeed/smc: Add some tracing
  aspeed/smc: Fix User mode select/unselect scheme

 Makefile.objs       |  1 +
 hw/ssi/aspeed_smc.c | 56 ++++++++++++++++++++++++++++++++-------------
 hw/ssi/trace-events | 10 ++++++++
 3 files changed, 51 insertions(+), 16 deletions(-)
 create mode 100644 hw/ssi/trace-events

-- 
2.21.1



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

end of thread, other threads:[~2020-03-09 16:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 11:26 [PATCH 0/2] aspeed/smc: fix data corruption on witherspoon machines Cédric Le Goater
2020-02-06 11:26 ` [PATCH 1/2] aspeed/smc: Add some tracing Cédric Le Goater
2020-02-20  4:00   ` Andrew Jeffery
2020-02-26  3:45   ` Joel Stanley
2020-02-26 14:21   ` Philippe Mathieu-Daudé
2020-02-06 11:26 ` [PATCH 2/2] aspeed/smc: Fix User mode select/unselect scheme Cédric Le Goater
2020-02-20  4:05   ` Andrew Jeffery
2020-03-09 16:32 ` [PATCH 0/2] aspeed/smc: fix data corruption on witherspoon machines Cédric Le Goater
2020-03-09 16:53   ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.