Re: [PATCH 2/4] mm: speed up mremap by 500x on large regions (v2)

2018-10-17 Thread Vlastimil Babka
On 10/16/18 9:43 PM, Joel Fernandes wrote: > On Tue, Oct 16, 2018 at 01:29:52PM +0200, Vlastimil Babka wrote: >> On 10/16/18 12:33 AM, Joel Fernandes wrote: >>> On Mon, Oct 15, 2018 at 02:42:09AM -0700, Christoph Hellwig wrote: On Fri, Oct 12, 2018 at 06:31:58PM -0700, Joel Fernandes (Google)

[PATCH v4] libgpg-error: Add ARC support

2018-10-17 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- Changes v3 -> v4: * Fixed breakage for i586 This was due to not replaced i686-pc-linux-gnu with i686-unknown-linux-gnu Build-tested for MACHINE = "qemux86" Changes v2 -> v3: * Use proper [recently upstreamed] fix for ARC Glibc toolchain * Fix compilatio

[PATCH v2] clocksource/drivers/arc_timer: Utilize generic sched_clock

2018-10-17 Thread Alexey Brodkin
It turned out we used to use default implementation of sched_clock() from kernel/sched/clock.c which was as precise as 1/HZ, i.e. by default we had 10 msec granularity of time measurement. Now given ARC built-in timers are clocked with the same frequency as CPU cores we may get much higher precisi

[PATCH v3] ARC: HSDK: improve reset driver

2018-10-17 Thread Eugeniy Paltsev
As for today HSDK reset driver implements only .reset() callback. In case of driver which implements one of standard reset controller usage pattern (call *_deassert() in probe(), call *_assert() in remove()) that leads to inoperability of this reset driver. Improve HSDK reset driver by calling .r

Re: [PATCH v2] ARC: HSDK: improve reset driver

2018-10-17 Thread Eugeniy Paltsev
On Fri, 2018-10-12 at 14:08 +0200, Philipp Zabel wrote: > Hi Eugeniy, > > thank you for the update. > > On Fri, 2018-09-28 at 19:28 +0300, Eugeniy Paltsev wrote: > > As for today HSDK reset driver implements only > > .reset() callback. > > > > In case of driver which implements one of standard >

Re: [PATCH v2] ARC: HSDK: improve reset driver

2018-10-17 Thread Philipp Zabel
Hi Eugeniy, On Wed, 2018-10-17 at 13:54 +, Eugeniy Paltsev wrote: [...] > > The documentation states that calling reset_control_assert "on an > > exclusive reset controller guarantees that the reset will be asserted." > > Since this is clearly not the case with this driver, it is appropriate >

Re: [PATCH v3] ARC: HSDK: improve reset driver

2018-10-17 Thread Philipp Zabel
On Wed, 2018-10-17 at 17:05 +0300, Eugeniy Paltsev wrote: > As for today HSDK reset driver implements only .reset() callback. > > In case of driver which implements one of standard > reset controller usage pattern > (call *_deassert() in probe(), call *_assert() in remove()) > that leads to inoper

RE: [PATCH] ARC: Get rid of toolchain check

2018-10-17 Thread Alexey Brodkin
Hello, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Friday, September 14, 2018 12:04 AM > To: alexey.brod...@synopsys.com > Cc: linux-snps-arc@lists.infradead.org; Linux Kernel Mailing List > ; vineet.gup...@synopsys.com > Subject: Re: [PATCH] ARC: Get rid of

RE: [PATCH] ARC: Don't set CROSS_COMPILE in arch's Makefile

2018-10-17 Thread Alexey Brodkin
Hello, > -Original Message- > From: Alexey Brodkin [mailto:abrod...@synopsys.com] > Sent: Sunday, September 16, 2018 11:48 PM > To: linux-snps-arc@lists.infradead.org > Cc: linux-ker...@vger.kernel.org; Vineet Gupta ; Alexey > Brodkin ; Masahiro > Yamada ; Rob Herring > Subject: [PATCH]