lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: agpgart: when telling user you'll corrupt his data, at least do it at KERN_CRIT
On Fri, Mar 28, 2008 at 12:25:07PM +0100, Pavel Machek wrote:
>
> IOMMU off means very bad stuff may happen, like data corruption on

Actually swiotlb takes over then in this case. The printk really
predates the introduction of swiotlb and could be actually removed.
That is why swiotlb is always SELECTed for gart too.

> your hard drives. At least tells users this is serious...

No there shouldn't be any data corruption with the default options.

Also especially hard disk drivers are expected (and generally do)
check the dma_map_sg() etc. return values and bail out if the IOMMU
fails e.g. due to overflow.

-Andi


\
 
 \ /
  Last update: 2008-03-28 12:35    [W:0.122 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site