[PATCH] ARC: mm: allow mprotect to make stack mappings executable

2018-07-12 Thread Vineet Gupta
mprotect(EXEC) was failing for stack mappings as default vm flags was missing MAYEXEC. This was triggered by glibc test suite nptl/tst-execstack testcase What is surprising is that despite running LTP for years on, we didn't catch this issue as it lacks a directed test case. gcc dejagnu tests wi

Re: [PATCH] ARC: [plat-axs10x] Get rid of auto-selected CONFIG_AX10x options

2018-07-12 Thread Alexey Brodkin
Hi Vineet, On Thu, 2018-07-12 at 10:36 -0700, Vineet Gupta wrote: > On 07/11/2018 10:13 AM, Alexey Brodkin wrote: > > Commit 4fbaf649ebbc ("ARC: [plat-axs10x] auto-select AXS101 or AXS103 given > > the ISA config") > > made selection of CONFIG_AXS10x option automatic so there's no point > > in k

Re: [PATCH] ARC: [plat-axs10x] Get rid of auto-selected CONFIG_AX10x options

2018-07-12 Thread Vineet Gupta
On 07/11/2018 10:13 AM, Alexey Brodkin wrote: > Commit 4fbaf649ebbc ("ARC: [plat-axs10x] auto-select AXS101 or AXS103 given > the ISA config") > made selection of CONFIG_AXS10x option automatic so there's no point > in keeping them in defconfigs. > > Signed-off-by: Alexey Brodkin Can you regene

Re: [PATCH] ARC: Improve handling of fatal signals in do_page_fault()

2018-07-12 Thread Alexey Brodkin
Hi Vineet, On Fri, 2018-06-29 at 11:20 -0700, Alexey Brodkin wrote: > This was triggered by investigation of a deadlock after OOM killer invocation, > see [1] for more details. > > Looks like our handling of fatal signal in do_page_fault() has some issues: > > 1. We only want to do special (read