Skip to content

Commit

Permalink
pci-gart_64.c: could we get better explanation?
Browse files Browse the repository at this point in the history
Add better explanation to pci-gart.

Signed-off-by: Pavel 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: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Pavel Machek authored and Ingo Molnar committed Jun 26, 2008
1 parent 037a607 commit fa3d319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/pci-gart_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,10 @@ void __init gart_iommu_init(void)
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.
* 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);
if (!scratch)
Expand Down

0 comments on commit fa3d319

Please sign in to comment.