lkml.org 
[lkml]   [2008]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Intel IOMMU (and IOMMU for Virtualization) performances
From
On Mon, 09 Jun 2008 10:17:11 +0200
Andi Kleen <andi@firstfloor.org> wrote:

> "Grant Grundler" <grundler@google.com> writes:
> >
> > The historical DMA mapping "failure mode" is a kernel panic. Resizing or
>
> Hasn't been for a long time, except in some extreme cases. All drivers
> are expected to check return values for a long time now.

Agreed, but I think that lots of network drivers still assume that DMA
mapping always succeeds (they don't check return values).

Most of the SCSI drivers were fixed in this regard. Very old HBA
drivers (that are unlikely to be used with an IOMMU) just
crashes. Recent HBA drivers can handle the dma mapping failure (as far
as I know, the only exception is cciss.

Old IOMMU code has "failure mode" but new IOMMU code like VT-d doesn't
crash on the failure. Now drivers need to handle the dma mapping
failure properly.


\
 
 \ /
  Last update: 2008-06-09 11:43    [W:0.045 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site