From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Ishizaki Kou <kou.ishizaki@toshiba.co.jp>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH 8/19] powerpc: supporting interrupts for Celleb
Date: Thu, 18 Jan 2007 11:22:39 +1100 [thread overview]
Message-ID: <1169079759.4965.7.camel@localhost.localdomain> (raw)
In-Reply-To: <200701120101.l0C11V4J026479@toshiba.co.jp>
On Fri, 2007-01-12 at 10:01 +0900, Ishizaki Kou wrote:
> This patch creates Celleb platform dependent files to support interrupts.
>
> Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
> Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
> ---
There might be ways to make this code simpler and possibily even remove
the spinlock, I have to think about it a bit more and maybe test when/if
we get some hardware here.
One thing is, since you need to mask interrupts while handling them,
you might as well use something like the level handler instead of
fasteoi (unless interrupts behave as edge on your HV in which case the
edge handle woudl do the job though it won't mask the same way).
Then you might also be able to use atomic operations rather than
spinlocks for the updates of the various masks.
There is nothing urgent about those change though, that I would consider
more as optimisations, and I need to better understand what your
hypervisor exactly does to be sure about it, so in the meantime,
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
next prev parent reply other threads:[~2007-01-18 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-12 1:01 [PATCH 8/19] powerpc: supporting interrupts for Celleb Ishizaki Kou
2007-01-18 0:22 ` Benjamin Herrenschmidt [this message]
2007-01-18 12:05 ` Ishizaki Kou
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=1169079759.4965.7.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=kou.ishizaki@toshiba.co.jp \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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