linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Hurley <peter@hurleysoftware.com>
To: Nishanth Menon <nm@ti.com>, Sekhar Nori <nsekhar@ti.com>
Cc: linux-omap@vger.kernel.org,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	Tony Lindgren <tony@atomide.com>
Subject: Re: [RFC PATCH] ARM: omap2plus_defconfig: Switch over to using 8250 driver
Date: Fri, 10 Apr 2015 15:40:39 -0400	[thread overview]
Message-ID: <55282737.8060407@hurleysoftware.com> (raw)
In-Reply-To: <1428689893-14605-1-git-send-email-nm@ti.com>

[ +Sebastian, +Tony ]

On 04/10/2015 02:18 PM, Nishanth Menon wrote:
> 8250 driver should be relatively feature complete. It can co-exist
> with omap-serial driver

Not really; if the omap_8250 is selected then it is probed first
and will be the only driver claiming omap UART ports.

omap-serial would just be dead-weight.

> , so just enable 8250 OMAP layer driver and
> route all ttyOx references to ttySx through the standard 8250 driver
> to ensure no breakage of userspace occurs.

Not quite; the only automatic handling is for console only, not for
userspace. Expect lots of userspace breakage.

Regards,
Peter Hurley

> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> Current upstream next-20150410 status: (all boards pass without this patch)
> Test is a basic boot test (using omap2plus_defconfig ofcourse)..
> 
> Ofcourse:
> [    0.001035] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
> does not help userspace when they are not able to dynamically handle switch.
> 
> Just curious if folks feel we are ready for this switch yet...
> 
> ttyS-change
>  1:                     am335x-evm: BOOT: PASS: http://paste.ubuntu.org.cn/2551733
>  2:                      am335x-sk: BOOT: FAIL: http://paste.ubuntu.org.cn/2551734
>  3:                     am3517-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551735
>  4:                      am37x-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551736
>  5:                      am437x-sk: BOOT: FAIL: http://paste.ubuntu.org.cn/2551737
>  6:                    am43xx-epos: BOOT: FAIL: http://paste.ubuntu.org.cn/2551738
>  7:                   am43xx-gpevm: BOOT: PASS: http://paste.ubuntu.org.cn/2551739
>  8:                 BeagleBoard-XM: BOOT: FAIL: http://paste.ubuntu.org.cn/2551740
>  9:            beagleboard-vanilla: BOOT: FAIL: http://paste.ubuntu.org.cn/2551741
> 10:               beaglebone-black: BOOT: PASS: http://paste.ubuntu.org.cn/2551742
> 11:                     beaglebone: BOOT: FAIL: http://paste.ubuntu.org.cn/2551743
> 12:                     craneboard: BOOT: FAIL: http://paste.ubuntu.org.cn/2551744
> 13:                     dra72x-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551745
> 14:                     dra7xx-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551746
> 15:         OMAP3430-Labrador(LDP): BOOT: FAIL: http://paste.ubuntu.org.cn/2551747
> 16:                           n900: BOOT: FAIL: http://paste.ubuntu.org.cn/2551748
> 17:                      omap5-evm: BOOT: FAIL: http://paste.ubuntu.org.cn/2551749
> 18:                  pandaboard-es: BOOT: FAIL: http://paste.ubuntu.org.cn/2551750
> 19:             pandaboard-vanilla: BOOT: FAIL: http://paste.ubuntu.org.cn/2551751
> 20:                        sdp2430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551752
> 21:                        sdp3430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551753
> 22:                        sdp4430: BOOT: FAIL: http://paste.ubuntu.org.cn/2551754
> TOTAL = 22 boards, Booted Boards = 3, No Boot boards = 19
> 
>  arc/arm/configs/omap2plus_defconfig |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index 9ff7b54b2a83..6ef76856ac8e 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -220,6 +220,8 @@ CONFIG_SERIAL_8250_MANY_PORTS=y
>  CONFIG_SERIAL_8250_SHARE_IRQ=y
>  CONFIG_SERIAL_8250_DETECT_IRQ=y
>  CONFIG_SERIAL_8250_RSA=y
> +CONFIG_SERIAL_8250_OMAP=y
> +CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y
>  CONFIG_SERIAL_OF_PLATFORM=y
>  CONFIG_SERIAL_OMAP=y
>  CONFIG_SERIAL_OMAP_CONSOLE=y
> 


  reply	other threads:[~2015-04-10 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10 18:18 [RFC PATCH] ARM: omap2plus_defconfig: Switch over to using 8250 driver Nishanth Menon
2015-04-10 19:40 ` Peter Hurley [this message]
2015-04-11 18:27   ` Nishanth Menon
2015-04-11 19:40     ` Peter Hurley
2015-04-12  0:23       ` Nishanth Menon
2015-04-13  7:43         ` Sebastian Andrzej Siewior

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=55282737.8060407@hurleysoftware.com \
    --to=peter@hurleysoftware.com \
    --cc=bigeasy@linutronix.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=nsekhar@ti.com \
    --cc=tony@atomide.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).