[RFC] ARM: Make CPU_DCACHE_DISABLE depend on !SMP

Florian Fainelli
2015-01-09T18:35:33Z

On 09/01/15 08:16, Russell King - ARM Linux wrote:
> 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, submitted as 8276/1.
--
Florian