devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 00/13] ARM: shmobile: dts: Update console parameters
Date: Thu, 10 Dec 2015 16:02:42 +0900	[thread overview]
Message-ID: <20151210070239.GA17682@verge.net.au> (raw)
In-Reply-To: <1449597258-32623-1-git-send-email-geert+renesas@glider.be>

On Tue, Dec 08, 2015 at 06:54:05PM +0100, Geert Uytterhoeven wrote:
> 	Hi Simon, Magnus,
> 
> This patch series updates the console parameters in the DTSes for
> various Renesas ARM boards.
> 
>   - For all of them, the serial port config is added to
>     chosen/stdout-path, as per current best practices,
>   - On some boards (armadillo, bockw, kzm9d, kzm9g), "console="
>     parameters are removed from the kernel command lines, as they're no
>     longer needed for DT-only platforms,
>   - On some boards (genmai, kzm9g), the console alias is changed to
>     "serial0", for consistency with other boards (the first serial port
>     is always called "serial0", unless labeled otherwise); this does
>     mean the device changes its name to /dev/ttySC0 in userspace, which
>     also happened on R-Car Gen2 before,
>   - On kzm9d, a console alias is added.
> 	    
> Tested on r8a73a4/ape6evm, r8a7740/armadillo, r8a7778/bockw,
> r8a7779/marzen, r8a7791/koelsch, and sh73a0/kzm9g.
> 
> Thanks for applying!
> 
> Geert Uytterhoeven (13):
>   ARM: shmobile: alt dts: Add serial port config to chosen/stdout-path
>   ARM: shmobile: ape6evm dts: Add serial port config to
>     chosen/stdout-path

alt and ape6evm tested ok.
I have queued up the changes for those boards.

>   ARM: shmobile: armadillo800eva dts: Update console parameters

I would prefer not to take the serial1 -> serial0 portion of this change at
this time as it causes a user-space visible change: the console moves from
ttySC1 to ttySC0. I noticed this because I no longer made it all the way
to user-space which was expecting a console on ttySC1.

-- start before --
[    0.050000] e6c50000.serial: ttySC1 at MMIO 0xe6c50000 (irq = 25, base_baud = 0) is a scifa
[    0.780000] console [ttySC1] enabled
-- end before -- 

-- start after --
[    0.050000] e6c50000.serial: ttySC0 at MMIO 0xe6c50000 (irq = 25, base_baud = 0) is a scifa
[    0.780000] console [ttySC0] enabled
-- end after -- 

>   ARM: shmobile: bockw dts: Update console parameters

bockw tested ok.
I have queued up the change for that board.

>   ARM: shmobile: genmai dts: Update console parameters

As per my remarks regarding the armadillo800eva I would prefer not
to make the serial2 -> serial0 portion of this change.

As a bonus the  serial2 -> serial0 portion of this change seems to prevent
console output during boot too. I've posted some debuging using earlyprintk
in reply to this patch in case its useful.

>   ARM: shmobile: gose dts: Add serial port config to chosen/stdout-path
>   ARM: shmobile: koelsch dts: Add serial port config to
>     chosen/stdout-path

gose and koelsch tested ok.
I have queued up the change for those boards.

>   ARM: shmobile: kzm9d dts: Update console parameters

I am wary of the new serial1 alias.
Have you checked to see if there is any user-space visible change
as a result of this?

>   ARM: shmobile: kzm9g dts: Update console parameters

As per my remarks regarding the armadillo800eva I would prefer not
to make the serial4 -> serial0 portion of this change.

>   ARM: shmobile: lager dts: Add serial port config to chosen/stdout-path

lager tested ok.
I have queued up the change for this board.

>   ARM: shmobile: marzen dts: Add serial port config to
>     chosen/stdout-path

Changing &scif2 to serial0 creates a user-space visible change:
the console moves from ttySC2 to ttySC0.

I'm unsure how we can update to use the new syntax without encountering
this problem.

>   ARM: shmobile: porter dts: Add serial port config to
>     chosen/stdout-path
>   ARM: shmobile: silk dts: Add serial port config to chosen/stdout-path

I'm unable to test porter and silk but they look ok to me.
I have queued up the changes for those boards.


  parent reply	other threads:[~2015-12-10  7:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 17:54 [PATCH 00/13] ARM: shmobile: dts: Update console parameters Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 01/13] ARM: shmobile: alt dts: Add serial port config to chosen/stdout-path Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 02/13] ARM: shmobile: ape6evm " Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 03/13] ARM: shmobile: armadillo800eva dts: Update console parameters Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 04/13] ARM: shmobile: bockw " Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 05/13] ARM: shmobile: genmai " Geert Uytterhoeven
2015-12-10  7:04   ` Simon Horman
2016-06-14 14:01     ` Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 06/13] ARM: shmobile: gose dts: Add serial port config to chosen/stdout-path Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 07/13] ARM: shmobile: koelsch " Geert Uytterhoeven
     [not found] ` <1449597258-32623-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-12-08 17:54   ` [PATCH 08/13] ARM: shmobile: kzm9d dts: Update console parameters Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 09/13] ARM: shmobile: kzm9g " Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 10/13] ARM: shmobile: lager dts: Add serial port config to chosen/stdout-path Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 11/13] ARM: shmobile: marzen " Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 12/13] ARM: shmobile: porter " Geert Uytterhoeven
2015-12-08 17:54 ` [PATCH 13/13] ARM: shmobile: silk " Geert Uytterhoeven
2015-12-10  7:02 ` Simon Horman [this message]
     [not found]   ` <20151210070239.GA17682-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2015-12-18 14:05     ` [PATCH 00/13] ARM: shmobile: dts: Update console parameters Geert Uytterhoeven

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=20151210070239.GA17682@verge.net.au \
    --to=horms@verge.net.au \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.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 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).