Re: [PATCH] amd iommu: force flush of iommu prior during shutdown

From: Chris Wright
Date: Thu Apr 01 2010 - 20:31:51 EST


* Neil Horman (nhorman@xxxxxxxxxxxxx) wrote:
> On Thu, Apr 01, 2010 at 10:14:34PM +0200, Joerg Roedel wrote:
> > On Thu, Apr 01, 2010 at 01:11:49PM -0400, Neil Horman wrote:
> > > On Thu, Apr 01, 2010 at 05:56:43PM +0200, Joerg Roedel wrote:
> >
> > > > The possible fix will be to enable the hardware earlier in the
> > > > initialization path.
> > > >
> > > That sounds like a reasonable theory, I'll try hack something together
> > > shortly.
> >
> > Great. So the problem might be already fixed when I am back in the
> > office ;-)
> >
> Don't hold your breath, but I'll try my best :)

The problem we had before was a combo of not clearing PDE and not having
the command buffer set up properly. Now we have basically the same
problem. The attach is running too early, so the invalidate commands
are falling on deaf ears.

thanks,
-chris
--
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/