Re: [PATCH] ARC: ARCv2: jump label: implement jump label patching

2019-06-28 Thread Vineet Gupta
On 6/18/19 9:16 AM, Vineet Gupta wrote:
> On 6/14/19 9:41 AM, Eugeniy Paltsev wrote:
>> Implement jump label patching for ARC. Jump labels provide
>> an interface to generate dynamic branches using
>> self-modifying code.
>>
>> This allows us to implement conditional branches where
>> changing branch direction is expensive but branch selection
>> is basically 'free'
>>
>> This implementation uses 32-bit NOP and BRANCH instructions
>> which forced to be aligned by 4 to guarantee that they don't
>> cross L1 cache line and can be update atomically.
>>
>> Signed-off-by: Eugeniy Paltsev 
> 
> LGTM overall - nits below.

@Peter can we have your reviewed/ack or some such assuming you don't have any
objections !

Thx,
-Vineet
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc


[GIT PULL] ARC fixes for 5.2-rc7

2019-06-28 Thread Vineet Gupta
Hi Linus,

Please pull some fixes for ARC.

Thx,
-Vineet

->
The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008:

  Linux 5.2-rc4 (2019-06-08 20:24:46 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ tags/arc-5.2-rc7

for you to fetch changes up to ec9b4feb1e41587c15d43d237844193318389dc3:

  ARC: [plat-hsdk]: unify memory apertures configuration (2019-06-11 11:48:34 
-0700)


ARC fixes for 5.2-rc7

 - hsdk platform unifying apertures

 - build system CROSS_COMPILE prefix


Alexey Brodkin (1):
  ARC: build: Try to guess CROSS_COMPILE with cc-cross-prefix

Eugeniy Paltsev (1):
  ARC: [plat-hsdk]: unify memory apertures configuration

 arch/arc/Makefile |   4 ++
 arch/arc/plat-hsdk/platform.c | 161 +++---
 2 files changed, 157 insertions(+), 8 deletions(-)
___
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc