Re: [PATCH] Fix fencepost error in x86_64 IOMMU (2.4)

From: Andi Kleen
Date: Tue Feb 17 2004 - 16:55:53 EST


On Tue, 17 Feb 2004 16:14:46 -0500
Jim Paradis <jparadis@xxxxxxxxxx> wrote:

> There's a fencepost error in the GART IOMMU handling on x86_64
> in the unmap path. When testing to see if the bus address is
> within the IOMMU window and needs to be unmapped, the start of
> the first page *beyond* the window also passes the test. This
> can cause the first doubleword of the next page beyond the gatt
> table to be smashed to zero, with unpredictable results depending
> on what that page is used for.
>
> Patch attached for 2.4. The same problem also exists in 2.6,
> for which I'll send a separate patch.

Thanks. I will add it to my tree.

-Andi
-
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/