Commit fa3d319a authored by Pavel Machek's avatar Pavel Machek Committed by Ingo Molnar

pci-gart_64.c: could we get better explanation?

Add better explanation to pci-gart.
Signed-off-by: default avatarPavel Machek <pavel@suse.cz>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Trivial patch monkey <trivial@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 037a6079
...@@ -824,10 +824,10 @@ void __init gart_iommu_init(void) ...@@ -824,10 +824,10 @@ void __init gart_iommu_init(void)
wbinvd(); wbinvd();
/* /*
* Try to workaround a bug (thanks to BenH) * Try to workaround a bug (thanks to BenH):
* Set unmapped entries to a scratch page instead of 0. * Set unmapped entries to a scratch page instead of 0.
* Any prefetches that hit unmapped entries won't get an bus abort * Any prefetches that hit unmapped entries won't get an bus abort
* then. * then. (P2P bridge may be prefetching on DMA reads).
*/ */
scratch = get_zeroed_page(GFP_KERNEL); scratch = get_zeroed_page(GFP_KERNEL);
if (!scratch) if (!scratch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment