Re: [PATCH v2 0/3] Replace opencoded set_mask_bits

2019-02-08 Thread Vineet Gupta
On 1/23/19 12:33 PM, Vineet Gupta wrote: > Hi, > > Repost of [1] rebased on 5.0-rc3 + accumulated Acked-by/Reviewed-by. > No code changes since v1. > > Please consider applying. > > [1] > http://lists.infradead.org/pipermail/linux-snps-arc/2019-January/005201.html > > Thx, > -Vineet Ping ! @P

Re: [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Khem Raj
On Fri, Feb 8, 2019 at 9:35 AM Alexey Brodkin wrote: > > Hi Khem, > > > -Original Message- > > From: Khem Raj > > Sent: Friday, February 8, 2019 8:28 PM > > To: Alexey Brodkin > > Cc: Patches and discussions about the oe-core layer > > ; Ross > > Burton ; linux-snps-arc@lists.infradead.

RE: [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Alexey Brodkin
Hi Khem, > -Original Message- > From: Khem Raj > Sent: Friday, February 8, 2019 8:28 PM > To: Alexey Brodkin > Cc: Patches and discussions about the oe-core layer > ; Ross > Burton ; linux-snps-arc@lists.infradead.org; Bruce > Ashfield > > Subject: Re: [PATCH] linux-yocto: Add depende

Re: [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Khem Raj
On Fri, Feb 8, 2019 at 7:32 AM Alexey Brodkin wrote: > > As of now in case of ARC there's no in-kernel implementation of basic libgcc > functions used for millicode, multiplication, division etc instead we simply > link with libgcc.a which provides everything used by the compiler. > this is somet

Re: [linux-yocto] [PATCH] ARC: Add nsimhs- and hsdk-standard configs

2019-02-08 Thread Bruce Ashfield
On Fri, Feb 8, 2019 at 10:30 AM Alexey Brodkin wrote: > > Hi Bruce, > > > -Original Message- > > From: linux-snps-arc On Behalf > > Of Bruce Ashfield > > Sent: Friday, February 8, 2019 6:16 PM > > To: Alexey Brodkin > > Cc: linux-snps-arc@lists.infradead.org; Development list for the >

Re: [OE-core] [PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Bruce Ashfield
On Fri, Feb 8, 2019 at 10:32 AM Alexey Brodkin wrote: > > As of now in case of ARC there's no in-kernel implementation of basic libgcc > functions used for millicode, multiplication, division etc instead we simply > link with libgcc.a which provides everything used by the compiler. I'll grab this

[PATCH] linux-yocto: Add dependency on libgcc for ARC

2019-02-08 Thread Alexey Brodkin
As of now in case of ARC there's no in-kernel implementation of basic libgcc functions used for millicode, multiplication, division etc instead we simply link with libgcc.a which provides everything used by the compiler. Signed-off-by: Alexey Brodkin --- meta/recipes-kernel/linux/linux-yocto.inc

RE: [linux-yocto] [PATCH] ARC: Add nsimhs- and hsdk-standard configs

2019-02-08 Thread Alexey Brodkin
Hi Bruce, > -Original Message- > From: linux-snps-arc On Behalf > Of Bruce Ashfield > Sent: Friday, February 8, 2019 6:16 PM > To: Alexey Brodkin > Cc: linux-snps-arc@lists.infradead.org; Development list for the linux-yocto > repositories yo...@yoctoproject.org>; Khem Raj > Subject:

Re: [linux-yocto] [PATCH] ARC: Add nsimhs- and hsdk-standard configs

2019-02-08 Thread Bruce Ashfield
On Fri, Feb 8, 2019 at 9:29 AM Alexey Brodkin wrote: > > With ARC support ramping-up in upstream OE we're ready to > build more complicated distributions and linux-yocto is > a nice and configurable base for that. > > This commit adds support of 1 simulated board (nSIM) and > the mast affordable a

[PATCH] ARC: Add nsimhs- and hsdk-standard configs

2019-02-08 Thread Alexey Brodkin
With ARC support ramping-up in upstream OE we're ready to build more complicated distributions and linux-yocto is a nice and configurable base for that. This commit adds support of 1 simulated board (nSIM) and the mast affordable and powerful to date development board (HSDK). Once Qemu port for A

[PATCH] ARC: Explicitly set ARCH_SLAB_MINALIGN = 8

2019-02-08 Thread Alexey Brodkin
By default ARCH_SLAB_MINALIGN is defined in "include/linux/slab.h" as "__alignof__(unsigned long long)" which looks fine but not for ARC. ARC tools ABI sets align of "long long" the same as for "long" = 4 instead of 8 one may think of. Thus slab allocator may easily allocate a buffer which is 32-