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

From: Benjamin Herrenschmidt
Date: Mon May 26 2008 - 15:52:33 EST



On Mon, 2008-05-26 at 20:47 +0200, Pavel Machek wrote:
> Hi!
>
> +++ b/arch/x86/kernel/pci-gart_64.c
> @@ -774,6 +778,7 @@ #endif
>
> /*
> * 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
>
> Could someone explain? Which bug is being worked around? CPUs
> prefetching over NULL?

P2P bridge prefetching on DMA reads.

Ben.


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