Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-31 Thread Florian Fainelli
On 10/25/18 12:26 PM, Andrew Lunn wrote: > On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the kernel. >> >> Facilitate the

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-31 Thread Florian Fainelli
On 10/25/18 12:26 PM, Andrew Lunn wrote: > On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the kernel. >> >> Facilitate the

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Andrew Lunn
On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: > Some software such as perf makes unconditional use of the special > [vectors] page which is only provided when CONFIG_KUSER_HELPERS is > enabled in the kernel. > > Facilitate the debugging of such situations by printing a debug

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Andrew Lunn
On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: > Some software such as perf makes unconditional use of the special > [vectors] page which is only provided when CONFIG_KUSER_HELPERS is > enabled in the kernel. > > Facilitate the debugging of such situations by printing a debug

[PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
Some software such as perf makes unconditional use of the special [vectors] page which is only provided when CONFIG_KUSER_HELPERS is enabled in the kernel. Facilitate the debugging of such situations by printing a debug message to the kernel log showing the task name and the faulting address.

[PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
Some software such as perf makes unconditional use of the special [vectors] page which is only provided when CONFIG_KUSER_HELPERS is enabled in the kernel. Facilitate the debugging of such situations by printing a debug message to the kernel log showing the task name and the faulting address.