Re: [PATCH]: PCI: GART iommu alignment fixes [v2]
From: FUJITA Tomonori
Date: Thu Jul 24 2008 - 10:55:45 EST
On Thu, 24 Jul 2008 10:31:58 -0400
Prarit Bhargava <prarit@xxxxxxxxxx> wrote:
>
> >> But I think Prarit is right with this change. If the interface defines
> >> this behavior the IOMMU drivers have to implement it. I am just
> >> wondering that the problem never showed up before. The GART driver is a
> >> few years old now.
> >>
> >
> > Yeah, I'm not against fixing IOMMUs to make alloc_consistent return
> > the reqeuested size aligned memory. My point is that it's not likely
> > to fix anything. Even with the patch, we hit the above problem because
> > as I explained, the root cause of the problem is the boundary issue;
> > we need to fix pci-dma.c
> >
> >
>
> Sorry, I misquoted code up there and was looking for a clear example of
> where this would happen. The issue I'm trying to resolve didn't happen
> on the skge -- it was just a convenient piece of code to examine and
> point out ;)
So please tell us what driver you hit the bug with. Can you give us
the details?
Thanks,
--
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/