Messages in this thread | | | Date | Fri, 28 Mar 2008 12:35:08 +0100 | From | Andi Kleen <> | Subject | Re: 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
| |