Re: [PATCH] ioat2: catch and recover from broken vtdconfigurations v6

From: David Woodhouse
Date: Wed Aug 04 2010 - 13:49:37 EST


On Wed, 2010-08-04 at 10:47 -0700, Dan Williams wrote:
> On Fri, Jul 23, 2010 at 3:47 PM, Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
> > On some platforms (MacPro3,1) the BIOS assigns the ioatdma device to the
> > incorrect iommu causing faults when the driver initializes. Add a quirk
> > to catch this misconfiguration and try falling back to untranslated
> > operation (which works in the MacPro3,1 case).
> >
> > Assuming there are other platforms with misconfigured iommus teach the
> > ioatdma driver to treat initialization failures as non-fatal (just fail
> > the driver load and emit a warning instead of triggering a BUG_ON).
> >
> > This can be classified as a boot regression since 2.6.32 on affected
> > platforms since the ioatdma module did not autoload prior to that
> > kernel.
> >
> > Cc: <stable@xxxxxxxxxx>
> > Cc: David Woodhouse <David.Woodhouse@xxxxxxxxx>
> > Reported-by: Chris Li <lkml@xxxxxxxxxxx>
> > Tested-by: Chris Li <lkml@xxxxxxxxxxx>
> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> > ---
> > David, looking for your sign-off to take this final version through my
> > tree.
>
> Ping. I'm looking to include this in my 2.6.36 pull request.

Acked-By: David Woodhouse <David.Woodhouse@xxxxxxxxx>

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@xxxxxxxxx Intel Corporation


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/