linux-snps-arc.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* dmatest no longer works on ARC SDP with DW DMAC
@ 2016-08-10 11:06 Eugeniy Paltsev
  2016-08-10 12:15 ` Andy Shevchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Eugeniy Paltsev @ 2016-08-10 11:06 UTC (permalink / raw)
  To: linux-snps-arc

dmatest on ARC SDP with DW DMAC became broken after df5c7386
("dmaengine: dw: some Intel devices has no memcpy support") and
30cb2639 ("dmaengine: dw: don't override platform data with autocfg")
commits.
* After df5c7386 commit "DMA_MEMCPY" capability option doesn't
get set correctly in platform driver version.
* After 30cb2639 commit
"data_width" and "nollp" parameters don't get set correctly in platform
driver version.

This happens because in old driver version there are three sources?
of parameters: pdata, device tree and autoconfig hardware registers.?
Some parameters were read from pdata and others from autoconfig
hardware registers. If pdata was absent some pdata structure?
fields were filled with parameters from device tree. But 30cb2639
commit disabled overriding pdata with autocfg, so if we use platform
driver version without pdata some parameters will not be set.

I'm wondering what would be the best way to fix this situation?
Should we strictly read parameters from only one source (pdata/device
tree/autoconfig) or we may mix some of them (for example getting
missing data from autoconf regs)?

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

end of thread, other threads:[~2016-08-10 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-10 11:06 dmatest no longer works on ARC SDP with DW DMAC Eugeniy Paltsev
2016-08-10 12:15 ` Andy Shevchenko
2016-08-10 12:22   ` Alexey Brodkin
2016-08-10 12:46     ` Andy Shevchenko

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