[PATCH] arm/cortex-a: Fix cache flush/invalidate after u-boot.

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Aug 16 05:54:35 UTC 2016



On 16/08/16 07:40, Chris Johns wrote:
> On 16/08/2016 15:36, Sebastian Huber wrote:
>> On 16/08/16 07:35, Chris Johns wrote:
>>> On 16/08/2016 15:32, Sebastian Huber wrote:
>>>>
>>>> https://docs.rtems.org/doc-current/share/rtems/html/c_user/Interrupt-Manager-INTERRUPT_005fLOCAL_005fDISABLE-_002d-Disable-Interrupts-on-Current-Processor.html#Interrupt-Manager-INTERRUPT_005fLOCAL_005fDISABLE-_002d-Disable-Interrupts-on-Current-Processor 
>>>>
>>>>
>>>>
>>>
>>> Thank you. I will send a patch in for this.
>>
>> Is a local interrupt disable sufficient on SMP configurations?
>>
>
> I do not know. I am only fixing the code because it does not build on 
> SMP.

It is intentional that this code doesn't build on SMP. This change to 
rtems_interrupt_local_disable()
flags places which need some attention to correctly work on SMP or need 
to be disabled.

See also:

https://lists.rtems.org/pipermail/devel/2015-June/011535.html

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list