All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Add support for using doorbells for SMP IPI
Date: Fri, 13 Feb 2009 13:46:40 +1100	[thread overview]
Message-ID: <1234493200.29851.79.camel@pasglop> (raw)
In-Reply-To: <1234482893-17712-1-git-send-email-galak@kernel.crashing.org>

On Thu, 2009-02-12 at 17:54 -0600, Kumar Gala wrote:
> The e500mc supports the new msgsnd/doorbell mechanisms that were added in
> the Power ISA 2.05 architecture.  We use the normal level doorbell for
> doing SMP IPIs at this point.
> 

Cool stuff. Haven't reviewed in details yet tho :-) But I was
thinking...

We should introduce a special xmon variant of local_irq_save/restore for
use by xmon that masks MSR:CE and use a crit doorbell for xmon IPI, that
would increase significantly the ability of xmon to catch deadlocked
CPUs, and we could use external CRITs as a more generic way of doing
IPIs, no ?

In fact, we should expose a local_crit_irq_save/restore (disable/enable)
too for things like watchdog drivers etc... which may want to use these.

Cheers,
Ben.

  reply	other threads:[~2009-02-13  2:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 23:54 [PATCH] powerpc: Add support for using doorbells for SMP IPI Kumar Gala
2009-02-13  2:46 ` Benjamin Herrenschmidt [this message]
2009-02-13  5:10   ` Kumar Gala
2009-02-13  5:25     ` Benjamin Herrenschmidt
2009-02-23  2:43 ` Benjamin Herrenschmidt
2009-02-23 16:23   ` Kumar Gala

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=1234493200.29851.79.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.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 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.