Re: [PATCH] Fix: xtensa: add missing sync_core

From: Max Filippov
Date: Mon Aug 28 2017 - 13:12:29 EST


Hi Mathieu,

On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers
<mathieu.desnoyers@xxxxxxxxxxxx> wrote:
> The membarrier system call now requires all architectures to implement
> sync_core(). On Xtensa, it is provided by the EXTW instruction.
>
> [ Completely untested! Can someone on the xtensa side confirm whether
> EXTW is the right way to serialize core execution and try it out ? ]

Thanks for the patch. I'm currently travelling, I'll give it a try next week
once I'm back at work.

--
Thanks.
-- Max