[PATCH] Use Normal uncached memory rather than Strongly Ordered on ARMv6+
Woodruff, Richard
r-woodruff2 at ti.com
Fri Oct 23 14:35:40 EDT 2009
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: Friday, October 23, 2009 12:12 PM
> As far as I'm concerned, we've spent far too long discussing this issue -
> there's nothing really to discuss. We need dma_alloc_coherent() to use
> its own page protection modifier, which causes it to behave the same as
> dma_alloc_writecombine() on ARMv7, and with the existing behaviour (for
> the time being) on ARMv6 and below. We should leave pgprot_noncached()
> well alone until we know that its other places need to be changed.
We do have a few ARMv7 versions in the pipeline at various stages. ARM has projected speculative access is going to be an issue and we do believe them. Any tools which will help here and finding the problems will be useful. Some of these probably will be internal hack patches. However, once hardware is fully out there having some conditionals out there would help everyone out.
This week there was some odd coherency issue yet to be explained. That eventual debug will look at this as one of the angles.
On CortexA8-OMAP3430 in the field, if L2-Speculative access is enabled using AuxCR, defiantly we did run into some issues. In instance I know about the L2 speculative fetch had some collision with secure protection. This happened across a SMI to monitor mode. Perhaps it could have as easily been elsewhere like what will be up coming.
Regards,
Richard W.
More information about the linux-arm-kernel
mailing list