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

2017-09-12 Thread Mathieu Desnoyers
- On Sep 12, 2017, at 12:37 AM, Max Filippov jcmvb...@gmail.com wrote: > Hi Mathieu, > > On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers > wrote: >> - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >>> On Mon, Aug 28, 2017 at

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

2017-09-12 Thread Mathieu Desnoyers
- On Sep 12, 2017, at 12:37 AM, Max Filippov jcmvb...@gmail.com wrote: > Hi Mathieu, > > On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers > wrote: >> - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >>> On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers >>>

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

2017-09-11 Thread Max Filippov
Hi Mathieu, On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers wrote: > - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >> On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers >> wrote: >>> The membarrier

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

2017-09-11 Thread Max Filippov
Hi Mathieu, On Tue, Aug 29, 2017 at 11:55 AM, Mathieu Desnoyers wrote: > - On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: >> On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers >> wrote: >>> The membarrier system call now requires all architectures to implement >>>

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

2017-08-29 Thread Mathieu Desnoyers
- On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: > Hi Mathieu, > > On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers > wrote: >> The membarrier system call now requires all architectures to implement >> sync_core(). On Xtensa, it is

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

2017-08-29 Thread Mathieu Desnoyers
- On Aug 28, 2017, at 1:12 PM, Max Filippov jcmvb...@gmail.com wrote: > Hi Mathieu, > > On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers > wrote: >> The membarrier system call now requires all architectures to implement >> sync_core(). On Xtensa, it is provided by the EXTW instruction.

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

2017-08-28 Thread Max Filippov
Hi Mathieu, On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers 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

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

2017-08-28 Thread Max Filippov
Hi Mathieu, On Mon, Aug 28, 2017 at 12:36 AM, Mathieu Desnoyers 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

[PATCH] Fix: xtensa: add missing sync_core

2017-08-27 Thread Mathieu Desnoyers
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 ? ] Signed-off-by:

[PATCH] Fix: xtensa: add missing sync_core

2017-08-27 Thread Mathieu Desnoyers
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 ? ] Signed-off-by: