linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dma api errors with swiotlb
@ 2019-09-04  7:59 Thomas Hellström (VMware)
  2019-09-04 12:17 ` Christoph Hellwig
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Hellström (VMware) @ 2019-09-04  7:59 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: linux-kernel

Hi, Cristoph.

Another DMA related question before I start to post patches in this area 
again..

Our virtual SCSI device (which BTW is fully DMA compliant) has a large 
queue depth and therefore runs out of SWIOTLB space => The scsi middle 
layer behaves nicely and asks the driver to retry the dma mapping 
operation. All fine.

The problem is that while this happens, the kernel log spits out a 
number of dma- and SWIOTLB errors, which are really harmless.

While one could probably just say go and increase the SWIOTLB size, but 
on some systems that might not be doable.

We could reduce the queue depth when SEV is active, which is probably 
one of those hacky solutions you dislike.

We could silence the dma- and swiotlb errors? At least selectively for 
some devices?

Do you have any guidance into the best solution here?

Thanks,
Thomas.







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

end of thread, other threads:[~2019-09-04 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04  7:59 dma api errors with swiotlb Thomas Hellström (VMware)
2019-09-04 12:17 ` Christoph Hellwig
2019-09-04 12:54   ` Thomas Hellström (VMware)
2019-09-04 12:55     ` Christoph Hellwig
2019-09-04 13:02       ` Thomas Hellström (VMware)
2019-09-04 13:16         ` Christoph Hellwig
2019-09-04 13:21           ` Thomas Hellström (VMware)

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