linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jiri Slaby <jslaby@suse.com>,
	linux-serial@vger.kernel.org,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Russell King <rmk+kernel@armlinux.org.uk>,
	Petr Mladek <pmladek@suse.com>
Subject: Re: [PATCH v3 0/6] serial: Disable DMA and PM on kernel console
Date: Mon, 17 Feb 2020 14:51:34 -0800	[thread overview]
Message-ID: <20200217225134.GQ16391@atomide.com> (raw)
In-Reply-To: <20200217114016.49856-1-andriy.shevchenko@linux.intel.com>

* Andy Shevchenko <andriy.shevchenko@linux.intel.com> [200217 11:41]:
> This is third version to get rid of problematic DMA and PM calls in
> the serial kernel console code.
> 
> Patches 1, 3 and 4 are preparatory ones.
> 
> After previous discussion Tony suggested to add a possibility to detach
> and attach back kernel console from user space. It's done in the patch 2.
> 
> Kernel console is sensitive to any kind of complex work needed to print
> out anything on it. One such case is emergency print during Oops.
> 
> More details on topic are in the commit messages of the patches 5 and 6.
> 
> The series has been tested on few Intel platforms.
> 
> Note, it depends to recently submitted and applied patches in
> the core console code [2, 3]. Petr, may you confirm that [3] is
> immutable or even send Greg KH a PR?
> 
> Greg, see above note before applying, thanks!
> 
> [1]: https://lore.kernel.org/patchwork/cover/905632/
> [2]: https://lore.kernel.org/lkml/20200203133130.11591-1-andriy.shevchenko@linux.intel.com/
> [3]: https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/log/?h=for-5.7-console-exit
> 
> Cc: Russell King <rmk+kernel@armlinux.org.uk>
> Cc: Petr Mladek <pmladek@suse.com>
> 
> Changelog v3:
> - dropped applied patches
> - dropped "cleanup" DMA patches, that they were not tested and actually are regressions
> - added DEVICE_ATTR_RO/_RW conversion patches (Greg)
> - added pr_*() to dev_*() conversion patch (Greg)
> - updated commit message to note OMAP behaviour change (Russell)
> - replace run-time PM callbacks to be _sync() (Tony)

Nice, works for my test cases now! Please feel free to add:

Reviewed-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>

  parent reply	other threads:[~2020-02-17 22:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-17 11:40 [PATCH v3 0/6] serial: Disable DMA and PM on kernel console Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 1/6] serial: core: Switch to use DEVICE_ATTR_RO() Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 2/6] serial: core: Allow detach and attach serial device for console Andy Shevchenko
2020-05-24 17:10   ` Guenter Roeck
2020-05-25 10:38     ` Andy Shevchenko
2020-05-25 13:59       ` Guenter Roeck
2020-07-02 14:48     ` Geert Uytterhoeven
2020-07-02 19:35       ` Tony Lindgren
2020-07-02 20:03         ` Geert Uytterhoeven
2020-07-02 20:35           ` Guenter Roeck
2020-07-02 20:39           ` Tony Lindgren
2020-07-03 11:31       ` Geert Uytterhoeven
2020-07-04 15:43         ` Andy Shevchenko
2020-07-04 16:33           ` Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 3/6] serial: 8250_port: Switch to use DEVICE_ATTR_RW() Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 4/6] serial: 8250_port: Use dev_*() instead of pr_*() Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 5/6] serial: 8250_port: Don't use power management for kernel console Andy Shevchenko
2020-02-17 11:40 ` [PATCH v3 6/6] serial: 8250_port: Disable DMA operations " Andy Shevchenko
2020-02-17 22:51 ` Tony Lindgren [this message]
2020-02-18  8:58 ` [PATCH v3 0/6] serial: Disable DMA and PM on " Petr Mladek
2020-02-24  9:09   ` Andy Shevchenko
2020-02-24 12:23     ` Petr Mladek
2020-03-10 13:44       ` Andy Shevchenko
2020-03-17 18:50         ` Greg Kroah-Hartman
2020-03-17 14:23       ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200217225134.GQ16391@atomide.com \
    --to=tony@atomide.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bigeasy@linutronix.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=pmladek@suse.com \
    --cc=rmk+kernel@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).