Re: [PATCH 00/50] Add log level to show_stack()

2019-11-08 Thread Sergey Senozhatsky
On (19/11/06 09:35), Petr Mladek wrote: > I agree with all the other justification. > > I would add. The backtrace is really useful for debugging. It should > be possible to print it even in less critical situations. Hmm, I don't know. Do we really need debug/info level backtraces? May be all bac

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-08 Thread Petr Mladek
On Fri 2019-11-08 19:37:19, Sergey Senozhatsky wrote: > On (19/11/06 09:35), Petr Mladek wrote: > > I agree with all the other justification. > > > > I would add. The backtrace is really useful for debugging. It should > > be possible to print it even in less critical situations. > > Hmm, I don't

[PATCH v3] ARC: ARCv2: jump label: implement jump label patching

2019-11-08 Thread Eugeniy Paltsev
Implement jump label patching for ARC. Jump labels provide an interface to generate dynamic branches using self-modifying code. This allows us to implement conditional branches where changing branch direction is expensive but branch selection is basically 'free' This implementation uses 32-bit NO

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-08 Thread Dmitry Safonov
On 11/6/19 8:34 PM, Peter Zijlstra wrote: > On Wed, Nov 06, 2019 at 04:27:33PM +, Dmitry Safonov wrote: [..] >> Sorry, I should have tried to describe better. >> >> I'm trying to remove external users of console_loglevel by following >> reasons: > > I suppose since all my machines have 'debug i

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-08 Thread Russell King - ARM Linux admin
On Fri, Nov 08, 2019 at 04:28:30PM +, Dmitry Safonov wrote: > On 11/6/19 8:34 PM, Peter Zijlstra wrote: > > On Wed, Nov 06, 2019 at 04:27:33PM +, Dmitry Safonov wrote: > [..] > >> Sorry, I should have tried to describe better. > >> > >> I'm trying to remove external users of console_logleve

[PATCH 1/3] arch/config.in.arc: Introduce the ARC optimized hs38 config

2019-11-08 Thread Vineet Gupta
This corresponds to -mcu=hs38 with mpy-option=9 (64-bit multiplier) Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index c65bb01f1f4f..284951b82cee 100644 --- a/

[PATCH 2/3] arch/config.in.arc: Introduce ARC ISA toggle to ease downstream toggles

2019-11-08 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/Config.in.arc | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/Config.in.arc b/arch/Config.in.arc index 284951b82cee..dbc608db39c6 100644 --- a/arch/Config.in.arc +++ b/arch/Config.in.arc @@ -1,3 +1,18 @@ +cho

[PATCH 0/3] ARC buildroot fixes/updates

2019-11-08 Thread Vineet Gupta
Hi, I have some fixes/updates from ongoing glibc work. Please review/apply. Thx, -Vineet Vineet Gupta (3): arch/config.in.arc: Introduce the ARC optimized hs38 config arch/config.in.arc: Introduce ARC ISA toggle to ease downstream toggles package/ffmpeg: Enable ARC glibc builds arch/

[PATCH 3/3] package/ffmpeg: Enable ARC glibc builds

2019-11-08 Thread Vineet Gupta
ARC glibc fenv.h has the needed macros for quite some time now so allow ffmpeg builds Signed-off-by: Vineet Gupta --- package/ffmpeg/Config.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/ffmpeg/Config.in b/package/ffmpeg/Config.in index a5c05d9c1c8e..47a1c510db01 100644 --- a/pa

Re: [PATCH 00/50] Add log level to show_stack()

2019-11-08 Thread Dmitry Safonov
On 11/8/19 5:30 PM, Russell King - ARM Linux admin wrote: > On Fri, Nov 08, 2019 at 04:28:30PM +, Dmitry Safonov wrote: [..] >> >> Well, the use-case for lower log-level is that everything goes into logs >> (/var/log/dmesg or /var/log/messages whatever rsyslog has settting). >> >> That has it

Re: [PATCH v3] ARC: ARCv2: jump label: implement jump label patching

2019-11-08 Thread Vineet Gupta
On 11/8/19 8:20 AM, Eugeniy Paltsev wrote: > Implement jump label patching for ARC. Jump labels provide > an interface to generate dynamic branches using > self-modifying code. > > This allows us to implement conditional branches where > changing branch direction is expensive but branch selection >