]> git.hungrycats.org Git - linux/commit
[PATCH] Fix fencepost error in x86_64 IOMMU
authorJim Paradis <jparadis@redhat.com>
Tue, 17 Feb 2004 05:23:23 +0000 (21:23 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 17 Feb 2004 05:23:23 +0000 (21:23 -0800)
commitf65196a42056fa991b02714cb2d7ee62a0905689
treeb2fb6861a08ade867b2b295976acce94341c80ab
parentab5f03ce1782e035f774a6ba3725d719c5a047f1
[PATCH] Fix fencepost error in x86_64 IOMMU

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.
arch/x86_64/kernel/pci-gart.c