[RFC] ARM: Make CPU_DCACHE_DISABLE depend on !SMP

Russell King - ARM Linux
2015-01-09T16:16:24Z

On Thu, Jan 08, 2015 at 02:25:57PM -0800, Florian Fainelli wrote:
> On 08/01/15 14:13, Russell King - ARM Linux wrote:
> > On Thu, Jan 08, 2015 at 11:10:47PM +0100, Arnd Bergmann wrote:
> >> My guess is that any implementation that has working LDREX/STREX
> >> on uncached memory does not support SMP, because these instructions
> >> tend to be implemented through the cache coherency logic on SMP
> >> systems but could be implemented more easily without a dcache
> >> on uniprocessor cores.
> >
> > Yes, I negated Tony's patches... Tony was fixing pstore to use
> > writecombine memory.
> >
> > So this change is fine.
>
> Do you want me to submit the patch as-is to your patch tracking, or
> would you want to include Gregory's quotes for completeness?

I think as-is.

Thanks.

--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.