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


Groups > linux.kernel > #1279932

Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI
Date 2015-11-30 15:30 +0100
Message-ID <qAxCN-4L7-7@gated-at.bofh.it> (permalink)
References <qzp4E-243-71@gated-at.bofh.it> <qzpei-27s-3@gated-at.bofh.it> <qzsca-43w-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 2015-11-27 17:26:16, Max Filippov wrote:
Hi Max,

> > Another exception is Xtensa architecture that uses just a
> > fake NMI.
> 
> It's called fake because it's actually maskable, but sometimes
> it is safe to use it as NMI (when there are no other IRQs at the
> same priority level and that level equals EXCM level). That
> condition is checked in arch/xtensa/include/asm/processor.h
> So 'fake' here is to avoid confusion with real NMI that exists
> on xtensa (and is not currently used in linux), otherwise code
> that runs in fake NMI must follow the NMI rules.
> 
> To make xtensa compatible with your change we can add a
> choice whether fake NMI should be used to kconfig. It can
> then set HAVE_NMI accordingly. I'll post a patch for xtensa.

Thanks a lot for explanation. I'll wait for the destiny of
the patch adding CONFIG_XTENSA_FAKE_NMI. It is not easy
for me to review. Anyway, we could select HAVE_NMI for
Xtensa anytime later if this patchset goes in earlier.

Best Regards,
Petr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 0/5] Cleaning printk stuff in NMI context Petr Mladek <pmladek@suse.com> - 2015-11-27 12:10 +0100
  [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI Petr Mladek <pmladek@suse.com> - 2015-11-27 12:20 +0100
    Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI kbuild test robot <lkp@intel.com> - 2015-11-27 13:00 +0100
      Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Petr Mladek <pmladek@suse.com> - 2015-11-27 16:40 +0100
        Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Jiri Kosina <jikos@kernel.org> - 2015-12-02 00:30 +0100
          Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Petr Mladek <pmladek@suse.com> - 2015-12-04 18:00 +0100
    Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI Max Filippov <jcmvbkbc@gmail.com> - 2015-11-27 15:30 +0100
      Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Petr Mladek <pmladek@suse.com> - 2015-11-30 15:30 +0100
    Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Michael Ellerman <mpe@ellerman.id.au> - 2015-12-02 03:50 +0100
      Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in  NMI Petr Mladek <pmladek@suse.com> - 2015-12-04 16:30 +0100
  [PATCH v2 4/5] printk/nmi: Warn when some message has been lost in NMI context Petr Mladek <pmladek@suse.com> - 2015-11-27 12:20 +0100
  [PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer Petr Mladek <pmladek@suse.com> - 2015-11-27 12:20 +0100
    Re: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary buffer yalin wang <yalin.wang2010@gmail.com> - 2015-11-30 17:50 +0100
      RE: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary  buffer David Laight <David.Laight@ACULAB.COM> - 2015-12-02 17:30 +0100
        Re: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary  buffer Petr Mladek <pmladek@suse.com> - 2015-12-04 16:50 +0100
      Re: [PATCH v2 5/5] printk/nmi: Increase the size of the temporary  buffer Petr Mladek <pmladek@suse.com> - 2015-12-07 15:20 +0100
  [PATCH v2 2/5] printk/nmi: Use IRQ work only when ready Petr Mladek <pmladek@suse.com> - 2015-11-27 12:20 +0100
  [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI context Petr Mladek <pmladek@suse.com> - 2015-11-27 12:20 +0100
    Re: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI  context Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-12-02 00:50 +0100
      Re: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI  context Petr Mladek <pmladek@suse.com> - 2015-12-04 16:30 +0100
        Re: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI  context Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-12-04 18:20 +0100
          RE: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in  NMI context David Laight <David.Laight@ACULAB.COM> - 2015-12-07 17:00 +0100
            Re: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI  context Petr Mladek <pmladek@suse.com> - 2015-12-08 15:50 +0100
          Re: [PATCH v2 3/5] printk/nmi: Try hard to print Oops message in NMI  context Petr Mladek <pmladek@suse.com> - 2015-12-08 12:30 +0100

csiph-web