Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346608

Re: [PATCH] printk/nmi: restore printk_func in nmi_panic

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] printk/nmi: restore printk_func in nmi_panic
Date 2016-03-01 14:20 +0100
Message-ID <r7Snw-1ci-11@gated-at.bofh.it> (permalink)
References (2 earlier) <r6CNP-4m4-1@gated-at.bofh.it> <r7tp9-1NN-29@gated-at.bofh.it> <r7u1R-2ia-19@gated-at.bofh.it> <r7OMW-7c9-5@gated-at.bofh.it> <r7QlI-8lK-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (03/01/16 12:05), Petr Mladek wrote:
[..]
> > > yes, well, that's true for panic() in general.
> > 
> > Petr, what do you think of this (added PRINTK_NMI_FLUSH_ON_PANIC)?
> > 
> > 1) zap_locks() in console_flush_on_panic()
> > 2) add PRINTK_NMI_FLUSH_ON_PANIC symbols
> > 3) add printk_nmi_flush_on_panic()
> 
> This is definitely better than nothing. Well, it seems that
> the printk/NMI patches that motivated this patch will be
> removed for a while, see
> http://thread.gmane.org/gmane.linux.ports.arm.kernel/482845/focus=483002
> 

Oh, thanks a lot for the link! wasn't aware of it.

> I want to play with the panic handling a bit more and make it better
> working out of box. It might be enough to put the messages into
> the rind buffer when crashdump is going to be produced. Also
> there is still the idea about using the lock-less early console.
> I think that the solution from this patch might be the last
> fallback.
> 
> Thanks a lot for proposals,

OK, good to know that.

	-ss

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-02-26 04:40 +0100
  Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Petr Mladek <pmladek@suse.com> - 2016-02-26 16:00 +0100
    Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-02-27 03:30 +0100
      Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-02-27 04:20 +0100
        Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-02-27 04:40 +0100
          Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-02-28 05:00 +0100
      Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Petr Mladek <pmladek@suse.com> - 2016-02-29 11:40 +0100
        Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-02-29 12:20 +0100
          Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-03-01 10:30 +0100
            Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Petr Mladek <pmladek@suse.com> - 2016-03-01 12:10 +0100
              Re: [PATCH] printk/nmi: restore printk_func in nmi_panic Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-03-01 14:20 +0100

csiph-web