Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)