linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unsynchronized access to spi bus by mmc_rescan?
@ 2016-04-22 21:28 Rich Felker
  2016-05-04 22:44 ` Rich Felker
  0 siblings, 1 reply; 8+ messages in thread
From: Rich Felker @ 2016-04-22 21:28 UTC (permalink / raw)
  To: linux-spi, linux-mmc

I'm working on a driver for the J-core (http://j-core.org) SPI master,
which is currently limited to PIO and using the spi-bitbang framework
(probably not the right thing to use, but planned to change, and seems
orthogonal to the issue at hand). We're using it to access an SD card
via the mmc_spi mmc host driver, and experiencing crashes/corruption
that I tracked down to mmc_rescan (we don't yet have an interrupt for
media change) happening during SPI message transfers. Which locks are
supposed to preclude this from happening? Is it likely something wrong
our driver is using, or is there possibly a general bug in the MMC/SPI
subsystem(s)?

Rich

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

end of thread, other threads:[~2016-07-21 23:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 21:28 Unsynchronized access to spi bus by mmc_rescan? Rich Felker
2016-05-04 22:44 ` Rich Felker
     [not found]   ` <20160504224445.GW21636-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2016-07-21 20:44     ` Rich Felker
     [not found]       ` <20160721204451.GE15995-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2016-07-21 21:40         ` Rich Felker
     [not found]           ` <20160721214015.GG15995-C3MtFaGISjmo6RMmaWD+6Sb1p8zYI1N1@public.gmane.org>
2016-07-21 22:43             ` Mark Brown
     [not found]               ` <20160721224308.GT6509-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2016-07-21 23:06                 ` Rich Felker
2016-07-21 23:27                   ` Mark Brown
2016-07-21 23:12                 ` Mark Brown

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