Messages in this thread | | | Date | Thu, 24 Jul 2008 10:31:58 -0400 | From | Prarit Bhargava <> | Subject | Re: [PATCH]: PCI: GART iommu alignment fixes [v2] |
| |
>> 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 ;)
P.
| |