From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: "Martin Hundebøll" <martin@geanix.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: linux-serial <linux-serial@vger.kernel.org>
Subject: Re: [PATCH v3 3/4] serial: 8250: skip platform device registration with no runtime ports
Date: Fri, 28 Oct 2022 12:40:17 +0300 (EEST) [thread overview]
Message-ID: <d27b3f5d-8766-fa1c-c369-31ebe344f87@linux.intel.com> (raw)
In-Reply-To: <b6619d9-5b91-e06c-f2a0-af92128937d2@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]
On Fri, 28 Oct 2022, Ilpo Järvinen wrote:
> On Wed, 26 Oct 2022, Ilpo Järvinen wrote:
>
> > On Tue, 25 Oct 2022, Martin Hundebøll wrote:
> >
> > > Skip registration of the platform device used for built-in ports, if no
> > > such ports are configured/created.
> > >
> > > Signed-off-by: Martin Hundebøll <martin@geanix.com>
> >
> > For patches 1-3:
> >
> > Tested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> > Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> >
> > Please include these tags into the next version of your submission.
> > Thank you.
>
> Actually, I just found out that some set of cmdline parameters do no
> longer work the same. So I'm retracting both of my tags for now.
>
> =0 did work as expected due to this change which I tested and some other
> values >4 but there now seems to be problem of the console not showing up
> like previously when I don't give nr_uarts at all.
NAK from me until the problem is resolved adequately.
Already the patch 1/4 causes an unacceptable reassignment of ttySx
targets. This is going to break people's cmdline console setups so you
need to find a better way.
Before any of these patches:
[ 0.000000] Command line: console=ttyS0,115200n8 8250.nr_uarts=4
[ 0.021031] Kernel command line: console=ttyS0,115200n8 8250.nr_uarts=4
[ 0.441924] printk: console [ttyS0] enabled
[ 2.243165] printk: console [ttyS0] disabled
[ 2.245682] dw-apb-uart.6: ttyS0 at MMIO 0x4010006000 (irq = 33, base_baud = 115200) is a 16550A
[ 4.010237] printk: console [ttyS0] enabled
[ 5.933887] dw-apb-uart.7: ttyS1 at MMIO 0x4010007000 (irq = 16, base_baud = 6250000) is a 16550A
[ 5.952829] dw-apb-uart.8: ttyS2 at MMIO 0x4010008000 (irq = 17, base_baud = 6250000) is a 16550A
After 1/4 ttyS0 is no longer the same:
[ 0.000000] Command line: console=ttyS0,115200n8 8250.nr_uarts=4
[ 0.021023] Kernel command line: console=ttyS0,115200n8 8250.nr_uarts=4
[ 0.441872] printk: console [ttyS0] enabled
[ 2.233584] dw-apb-uart.6: ttyS4 at MMIO 0x4010006000 (irq = 33, base_baud = 115200) is a 16550A
[ 2.241955] dw-apb-uart.7: ttyS5 at MMIO 0x4010007000 (irq = 16, base_baud = 6250000) is a 16550A
[ 2.249804] dw-apb-uart.8: ttyS6 at MMIO 0x4010008000 (irq = 17, base_baud = 6250000) is a 16550A
--
i.
next prev parent reply other threads:[~2022-10-28 9:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-25 7:39 [PATCH v3 1/4] serial: 8250: allow use of non-runtime configured uart ports Martin Hundebøll
2022-10-25 7:39 ` [PATCH v3 2/4] serial: 8250: allow zero runtime-configured ports Martin Hundebøll
2022-10-25 7:39 ` [PATCH v3 3/4] serial: 8250: skip platform device registration with no runtime ports Martin Hundebøll
2022-10-26 11:31 ` Ilpo Järvinen
2022-10-28 9:13 ` Ilpo Järvinen
2022-10-28 9:40 ` Ilpo Järvinen [this message]
2022-11-01 8:32 ` Martin Hundebøll
2022-11-01 11:44 ` Ilpo Järvinen
2022-11-01 12:41 ` Martin Hundebøll
2022-11-01 13:22 ` Ilpo Järvinen
2022-11-01 14:16 ` Martin Hundebøll
2022-11-01 15:19 ` Ilpo Järvinen
2022-10-25 7:39 ` [PATCH v3 4/4] tty: 8250: update description of RUNTIME_PORTS / nr_uarts Martin Hundebøll
2022-10-26 11:25 ` Ilpo Järvinen
2022-11-01 8:33 ` Martin Hundebøll
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=d27b3f5d-8766-fa1c-c369-31ebe344f87@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-serial@vger.kernel.org \
--cc=martin@geanix.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.