Re: Bad DMA from Marvell 9230

Benjamin Herrenschmidt
2014-05-30T10:38:22Z

On Fri, 2014-05-30 at 03:06 -0400, Jérôme Carretero wrote:
> On Thu, 27 Mar 2014 17:57:37 +1100
> Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> > I've been trying a 9230 on a power box here (a 9235 on the same
> > machine works fine) and it blows up with an IOMMU violation early
> > during init.
>
> Hi,
>
> That's https://bugzilla.kernel.org/show_bug.cgi?id=42679
> if you haven't already found it.

Somewhat... It's not the phantom function, the error I capture in my
IOMMU shows that it's trying to read from address 0 which is unmapped
but with the right initiator.

This device is a pile of crap. We've talked to Marvell support channel,
sent driver traces etc... but they didn't admit anything.

We've switched to a 9235 instead which seems to work fine.

Cheers,
Ben.