Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* UBIFS with dma on 4.6 kernel is not working
@ 2016-10-21  9:21 Naga Sureshkumar Relli
  2016-10-21  9:29 ` Richard Weinberger
  0 siblings, 1 reply; 8+ messages in thread
From: Naga Sureshkumar Relli @ 2016-10-21  9:21 UTC (permalink / raw)
  To: dwmw2@infradead.org, computersforpeace@gmail.com,
	dedekind1@gmail.com, richard@nod.at, adrian.hunter@intel.com,
	michal.simek@xilinx.com, Punnaiah Choudary Kalluri
  Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org

Hi,

This is regarding UBIFS on 4.6 kernel.
We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not working with dma on this kernel.
Controller driver: https://github.com/torvalds/linux/commits/master/drivers/spi/spi-zynqmp-gqspi.c
If I replace all vmalloc allocations in fs/ubifs/ to kmalloc then UBIFS with dma is working fine.
But whereas kernel before 4.6 without changing vmalloc to kmalloc, UBIFS is working fine with dma.
So is there any change in UBIFS in 4.6 kernel that to dma related?

May I know some info regarding this?
Why UBIFS on kernels before 4.6 is working with dma but not with 4.6?
Now a days, most of QSPI controllers have internal dmas.

Could you please provide some info regrading this dma issue?
We can change our controller driver to operate in IO mode (doesn't use dma) but performance wise it's not a preferred one.

Thanks,
Naga Sureshkumar Relli

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

end of thread, other threads:[~2016-10-25  5:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-21  9:21 UBIFS with dma on 4.6 kernel is not working Naga Sureshkumar Relli
2016-10-21  9:29 ` Richard Weinberger
2016-10-21 11:57   ` Cyrille Pitchen
2016-10-21 12:53   ` Christoph Hellwig
2016-10-21 13:07     ` Richard Weinberger
2016-10-21 13:15       ` Christoph Hellwig
2016-10-24  7:08         ` Richard Weinberger
2016-10-25  5:52         ` Naga Sureshkumar Relli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox