linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Pete McCormick <pete261@yahoo.com>
To: Dan Malek <dan@embeddededge.com>,
	Hans Feldt <Hans.Feldt@uab.ericsson.se>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 8260 CPM commands, need better resource ctrl?
Date: Wed, 23 Oct 2002 06:06:37 -0700 (PDT)	[thread overview]
Message-ID: <20021023130637.80868.qmail@web9502.mail.yahoo.com> (raw)
In-Reply-To: <3DB58D93.50008@embeddededge.com>


Dan,

> different contexts in which drivers send these commands.  It
> doesn't make sense for a driver to continue without waiting for
> the command to complete, so there isn't any need to wait for this
> prior to sending a command.

I think that a driver should not wait forever for a CPM command to complete, as
this could possibly halt the entire kernel.  Granted, if this happens then the
state of the system is flaky at best, but it might still be possible to
function, maybe even enough to debug the real problem.

Since the CPM is a shared resource between different drivers, I don't think it
is such a bad idea to have some software help in sharing it, as opposed to just
hoping everyone behaves properly.

Actually, on a complicated CPU such as the 8260, there are many common
resources that are shared that might be better protected in software, e.g. io
port pins, internal dpram, baud rate generators, timers, mutually exclusive
features, etc.

Along the same lines, what is the current vision of future linux support for
the 8260?

Pete


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

      reply	other threads:[~2002-10-23 13:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 16:10 8260 CPM commands, need better resource ctrl? Hans Feldt
2002-10-22 17:40 ` Dan Malek
2002-10-23 13:06   ` Pete McCormick [this message]

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=20021023130637.80868.qmail@web9502.mail.yahoo.com \
    --to=pete261@yahoo.com \
    --cc=Hans.Feldt@uab.ericsson.se \
    --cc=dan@embeddededge.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).