linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: Jean-Denis Boyer <jdboyer@m5t.com>
Cc: Steffen Rumler <Steffen.Rumler@siemens.com>,
	linuxppc <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Problem of concurrency in arch/ppc/8260_io/uart.c
Date: Mon, 15 Sep 2003 14:53:56 -0400	[thread overview]
Message-ID: <3F660AC4.8050003@embeddededge.com> (raw)
In-Reply-To: AB5AF73EAF23304EA1B932174137CED70303EA@m5tmail.m5t.com


Jean-Denis Boyer wrote:

> I have just tested your patch on 8260 and it fixes the problem when printk is called ...

The use of printk is strictly a debug function.  If it is necessary to see
it print out pretty, then use a different I/O path for the application or
dump out the log buffer separately.  Serial ports don't guarantee any
transactional operation with multiple users, printk isn't any different
although it does the bad thing of blocking interrupts while it processes
the message.

Adding this patch adds lots of interrupt latency and I would recommend
against it.  It appears there is a bug that should be fixed to ensure
the proper synchronization of the BDs, but not with such large scale
blocking of interrupts.

Thanks.


	-- Dan


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

  parent reply	other threads:[~2003-09-15 18:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 16:26 Problem of concurrency in arch/ppc/8260_io/uart.c Jean-Denis Boyer
2003-09-15 18:37 ` Joakim Tjernlund
2003-09-15 18:53 ` Dan Malek [this message]
2003-09-15 20:02   ` Joakim Tjernlund
2003-09-16 12:25     ` Joakim Tjernlund
2003-09-17  9:33       ` Joakim Tjernlund
2003-09-17 13:38         ` Joakim Tjernlund
2003-09-17 14:58         ` Dan Malek
2003-09-17 15:22           ` Joakim Tjernlund
2003-09-17 16:33             ` Joakim Tjernlund
2003-09-23  8:28               ` Joakim Tjernlund
2003-09-26 16:31               ` Tom Rini
2003-09-26 18:34                 ` Joakim Tjernlund
2003-09-26 18:38                   ` Tom Rini
2003-09-26 21:24               ` Tom Rini
2003-09-26 22:20                 ` Dan Malek
2003-09-26 22:39                   ` Joakim Tjernlund
2003-09-26 23:12                     ` Dan Malek
2003-09-27  8:07                       ` Joakim Tjernlund
2003-09-27 13:43                         ` Joakim Tjernlund
2003-09-29 15:33                           ` Tom Rini
2003-09-30 15:28                             ` Dan Malek
2003-10-01 14:26                               ` Kumar Gala
2003-10-01 14:32                                 ` Tom Rini
2003-10-01 14:48                                   ` Gary Thomas
2003-10-01 21:20                                     ` Joakim Tjernlund
2003-10-01 21:32                                       ` Tom Rini
2003-10-01 21:51                                         ` Joakim Tjernlund
2003-10-01 22:00                                           ` Tom Rini
2003-10-01 22:17                                             ` Joakim Tjernlund
2003-10-01 22:31                                               ` Tom Rini
2003-10-01 23:23                                                 ` Robin Gilks
2003-10-01 23:51                                                   ` Tom Rini
2003-10-02  0:47                                                     ` Wolfgang Denk
2003-10-02  6:03                                         ` Dan Kegel
2003-10-02 19:15                                           ` Tom Rini
     [not found] <3F8E8817.5ACD7ACB@siemens.com>
2003-10-16 14:11 ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2003-09-15 10:18 Steffen Rumler
2003-09-15 13:30 ` Joakim Tjernlund
2003-03-07 15:18 Jean-Denis Boyer
2003-03-07 12:52 Dayton, Dean
2003-03-06 21:39 Jean-Denis Boyer

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=3F660AC4.8050003@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=Steffen.Rumler@siemens.com \
    --cc=jdboyer@m5t.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /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).