linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: Gabriel Paubert <paubert@iram.es>, linuxppc-dev@lists.linuxppc.org
Subject: Re: bootstrap stuffs
Date: Tue, 16 Feb 1999 19:11:48 +0100	[thread overview]
Message-ID: <19990216191148.002398@mail.mipsys.com> (raw)
In-Reply-To: <Pine.HPP.3.96.990216174706.1977L-100000@gra-ux1.iram.es>


On Tue, Feb 16, 1999, Gabriel Paubert <paubert@iram.es> wrote:

>So, if I'm not mistaken, a read from the same location is the only
>operation that guarantees that the register has actually been updated, but
>it's even slower than a sync :-(

On a side note, there is an interesting implementation of interrupts in
MkLinux mach kernel. Since they consider the controller as a really slow
device (and this seems to be confirmed by the bogus interrupt we had on
PowerMacs), they actually do it differently:

Mach maintains the current interrupt mask locally in RAM. When it
disables an interrupt, it does so only in the mask, the controller gets
updated only if this interrupt actually occurs. The enable code will
enable it in the mask only if it has been disabled by the interrupt.


-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

  reply	other threads:[~1999-02-16 18:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-14 14:02 bootstrap stuffs Benjamin Herrenschmidt
1999-02-14 17:03 ` David Edelsohn
1999-02-14 18:58   ` Benjamin Herrenschmidt
1999-02-15 17:57     ` David Edelsohn
1999-02-15 18:20       ` Benjamin Herrenschmidt
1999-02-16  0:02       ` Paul Mackerras
1999-02-16 11:24         ` Gabriel Paubert
1999-02-16 11:44       ` Gabriel Paubert
1999-02-16 16:43         ` Geert Uytterhoeven
1999-02-16 17:39           ` Gabriel Paubert
1999-02-16 18:11             ` Benjamin Herrenschmidt [this message]
1999-02-17  6:23               ` Cort Dougan
     [not found] <19990216134514.022163@mail.mipsys.com>
1999-02-16 13:18 ` Gabriel Paubert

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=19990216191148.002398@mail.mipsys.com \
    --to=bh40@calva.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paubert@iram.es \
    /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).