Re: [PATCH 4/9] ARC: mm: do_page_fault refactor #3: tidyup vma access permission code

2019-05-16 Thread Vineet Gupta
On 5/16/19 10:44 AM, Alexey Brodkin wrote: >> On 5/16/19 10:24 AM, Eugeniy Paltsev wrote: + unsigned int write = 0, exec = 0, mask; >>> Probably it's better to use 'bool' type for 'write' and 'exec' as we really >>> use them as a boolean >> variables. >> >> Right those are semantics, but the

RE: [PATCH 4/9] ARC: mm: do_page_fault refactor #3: tidyup vma access permission code

2019-05-16 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Thursday, May 16, 2019 8:38 PM > To: Eugeniy Paltsev > Cc: palt...@snyopsys.com; linux-ker...@vger.kernel.org; Alexey Brodkin > ; linux- > snps-...@lists.infradead.org > Subject: Re: [PATCH 4/9] ARC: mm: do_page_fault refactor

Re: [PATCH 4/9] ARC: mm: do_page_fault refactor #3: tidyup vma access permission code

2019-05-16 Thread Vineet Gupta
On 5/16/19 10:24 AM, Eugeniy Paltsev wrote: >> +unsigned int write = 0, exec = 0, mask; > Probably it's better to use 'bool' type for 'write' and 'exec' as we really > use them as a boolean variables. Right those are semantics, but the generated code for "bool" is not ideal - given it is inh

Re: [PATCH 4/9] ARC: mm: do_page_fault refactor #3: tidyup vma access permission code

2019-05-16 Thread Eugeniy Paltsev
On Tue, 2019-05-14 at 17:29 -0700, Vineet Gupta wrote: > The coding pattern to NOT intialize variables at declaration time but > rather near code which makes us eof them makes it much easier to grok > the overall logic, specially when the init is not simply 0 or 1 > > Signed-off-by: Vineet Gupta

[PATCH AUTOSEL 3.18 6/6] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH AUTOSEL 4.4 8/8] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH AUTOSEL 4.9 9/9] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH AUTOSEL 4.14 16/16] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH AUTOSEL 4.19 24/25] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH AUTOSEL 5.0 09/34] ARC: PAE40: don't panic and instead turn off hw ioc

2019-05-16 Thread Sasha Levin
From: Vineet Gupta [ Upstream commit 99bd5fcc505d65ea9c60619202f0b2d926eabbe9 ] HSDK currently panics when built for HIGHMEM/ARC_HAS_PAE40 because ioc is enabled with default which doesn't work for the 2 non contiguous memory nodes. So get PAE working by disabling ioc instead. Tested with !PAE4

[PATCH AUTOSEL 5.0 32/34] perf bench numa: Add define for RUSAGE_THREAD if not present

2019-05-16 Thread Sasha Levin
From: Arnaldo Carvalho de Melo [ Upstream commit bf561d3c13423fc54daa19b5d49dc15fafdb7acc ] While cross building perf to the ARC architecture on a fedora 30 host, we were failing with: CC /tmp/build/perf/bench/numa.o bench/numa.c: In function ‘worker_thread’: bench/numa.c:1261:1

[PATCH] ARC: [plat-axs10x] Specify PHY node in .dtsi

2019-05-16 Thread Alexey Brodkin
For completeness of the HW description add missing PHY entry in AXS10x base-board .dtsi. Cc: Trent Piepho Cc: Rob Herring Signed-off-by: Alexey Brodkin --- arch/arc/boot/dts/axs10x_mb.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/

kisskb: OK linus/axs103_smp_defconfig/arcv2 Thu May 16, 15:39

2019-05-16 Thread noreply
OK linus/axs103_smp_defconfig/arcv2 Thu May 16, 15:39 http://kisskb.ellerman.id.au/kisskb/buildresult/13806907/ Commit: Merge tag 'ktest-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest b06ed1e7a2fa9b636f368a9e97c3c8877623f8b2 Compiler: arc-linux-gcc.br_real

kisskb: OK linus/axs101_defconfig/arcompact Thu May 16, 15:39

2019-05-16 Thread noreply
OK linus/axs101_defconfig/arcompact Thu May 16, 15:39 http://kisskb.ellerman.id.au/kisskb/buildresult/13806908/ Commit: Merge tag 'ktest-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest b06ed1e7a2fa9b636f368a9e97c3c8877623f8b2 Compiler: arc-buildroot-linux-u