All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.linuxppc.org
Subject: Re: 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC)
Date: Mon, 29 Jul 2002 10:43:41 -0700	[thread overview]
Message-ID: <20020729174341.GA12964@opus.bloom.county> (raw)
In-Reply-To: <20020729181702.E25451@flint.arm.linux.org.uk>


On Mon, Jul 29, 2002 at 06:17:02PM +0100, Russell King wrote:


> 1. Serial port initialisation
> -----------------------------
>
> Firstly, one thing to bear in mind here is that, as Alan says "be nice
> to make sure it was much earlier".  I guess Alan's right, so we can get
> oopsen out of the the kernel relatively easily, even when we're using
> framebuffer consoles.
>
> I'm sure Alan will enlighten us with his specific reasons if required.
>
> There have been several suggestions around on how to fix this table:
>
> a. architectures provide a sub-module to 8250.c which contains the
>    per-port details, rather than a table in serial.h.  This would
>    ideally mean removing serial.h completely.  The relevant object
>    would be linked into 8250.c when 8250.c is built as a module.

I think this would work best.  On PPC this would allow us to change the
mess of include/asm-ppc/serial.h into a slightly cleaner Makefile
(especially if we do the automagic <platforms/platform.h> or
<asm/platform.h> bit that's been talked about in the past) magic and we
could use that object file as well in the bootwrapper as well.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

WARNING: multiple messages have this Message-ID (diff)
From: Tom Rini <trini@kernel.crashing.org>
To: Russell King <rmk@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.linuxppc.org
Subject: Re: 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC)
Date: Mon, 29 Jul 2002 10:43:41 -0700	[thread overview]
Message-ID: <20020729174341.GA12964@opus.bloom.county> (raw)
In-Reply-To: <20020729181702.E25451@flint.arm.linux.org.uk>

On Mon, Jul 29, 2002 at 06:17:02PM +0100, Russell King wrote:

 
> 1. Serial port initialisation
> -----------------------------
> 
> Firstly, one thing to bear in mind here is that, as Alan says "be nice
> to make sure it was much earlier".  I guess Alan's right, so we can get
> oopsen out of the the kernel relatively easily, even when we're using
> framebuffer consoles.
> 
> I'm sure Alan will enlighten us with his specific reasons if required.
> 
> There have been several suggestions around on how to fix this table:
> 
> a. architectures provide a sub-module to 8250.c which contains the
>    per-port details, rather than a table in serial.h.  This would
>    ideally mean removing serial.h completely.  The relevant object
>    would be linked into 8250.c when 8250.c is built as a module.

I think this would work best.  On PPC this would allow us to change the
mess of include/asm-ppc/serial.h into a slightly cleaner Makefile
(especially if we do the automagic <platforms/platform.h> or
<asm/platform.h> bit that's been talked about in the past) magic and we
could use that object file as well in the bootwrapper as well.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

  reply	other threads:[~2002-07-29 17:43 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-29  4:08 Serial core problems on embedded PPC David Gibson
2002-07-29  4:08 ` David Gibson
2002-07-29  9:00 ` Russell King
2002-07-29  9:00   ` Russell King
2002-07-29 14:44   ` Tom Rini
2002-07-29 14:44     ` Tom Rini
2002-07-29 17:17     ` [parisc-linux] 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC) Russell King
2002-07-29 17:17       ` Russell King
2002-07-29 17:17       ` Russell King
2002-07-29 17:43       ` Tom Rini [this message]
2002-07-29 17:43         ` Tom Rini
2002-07-29 18:13         ` Benjamin Herrenschmidt
2002-07-29 18:13           ` Benjamin Herrenschmidt
2002-07-29 19:07           ` Tom Rini
2002-07-29 19:07             ` Tom Rini
2002-07-29 19:09           ` 3 Serial issues up for discussion (was: " Dan Malek
2002-07-29 19:09             ` Dan Malek
2002-07-29 19:46             ` Remco Treffkorn
2002-07-29 19:46               ` Remco Treffkorn
2002-07-29 20:18               ` Russell King
2002-07-29 20:18                 ` Russell King
2002-07-30  2:54               ` 3 Serial issues up for discussion David S. Miller
2002-07-30  2:54                 ` David S. Miller
2002-07-30 18:23                 ` Remco Treffkorn
2002-07-30 18:47                   ` Nicolas Pitre
2002-07-30 18:51                   ` Russell King
2002-07-30 18:44                 ` Nicolas Pitre
2002-07-29 18:15         ` 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC) Matt Porter
2002-07-29 18:15           ` Matt Porter
2002-07-29 17:47       ` [parisc-linux] " Christoph Plattner
2002-07-29 17:47         ` Christoph Plattner
2002-07-29 22:19       ` Matthew Wilcox
2002-07-29 22:19         ` Matthew Wilcox
2002-07-30 14:36         ` Stuart MacDonald
2002-07-30 15:19           ` Matthew Wilcox
2002-07-30 15:43             ` Stuart MacDonald
2002-07-30 15:53               ` Russell King
2002-07-30 15:59                 ` Greg KH
2002-07-30 16:06                 ` Stuart MacDonald
2002-08-02  1:57         ` Jeff Randall
2002-07-30  2:51       ` 3 Serial issues up for discussion David S. Miller
2002-07-30  2:51         ` David S. Miller
2002-07-29 17:17     ` [parisc-linux] 3 Serial issues up for discussion (was: Re: Serial core problems on embedded PPC) Russell King
2002-08-02  6:01     ` symbol card with orinoco_cs on mpc823 shaowei dai
2002-08-02  6:23       ` David Gibson
2002-08-02  6:36         ` Matthew Locke
2002-08-02  7:01           ` shaowei dai
     [not found]       ` <3D4AC468.83BCD667@opensource.se>
2002-08-03  1:30         ` shaowei dai
2002-07-30  1:12   ` Serial core problems on embedded PPC David Gibson
2002-07-30  1:12     ` David Gibson

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=20020729174341.GA12964@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=rmk@arm.linux.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 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.