linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Jason Jin <Jason.jin@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 2/4 V4] MSI support on 83xx/85xx/86xx board
Date: Fri, 09 May 2008 22:21:59 +1000	[thread overview]
Message-ID: <1210335719.11689.5.camel@localhost> (raw)
In-Reply-To: <1210323810-24833-2-git-send-email-Jason.jin@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On Fri, 2008-05-09 at 17:03 +0800, Jason Jin wrote:
> This MSI driver can be used on 83xx/85xx/86xx board.
> In this driver, virtual interrupt host and chip were
> setup. There are 256 MSI interrupts in this host, Every 32
> MSI interrupts cascaded to one IPIC/MPIC interrupt.
> The chip was treated as edge sensitive and some necessary
> functions were setup for this chip.

> diff --git a/arch/powerpc/sysdev/fsl_msi.c b/arch/powerpc/sysdev/fsl_msi.c
> new file mode 100644
> index 0000000..be3304d
> --- /dev/null
> +++ b/arch/powerpc/sysdev/fsl_msi.c
> @@ -0,0 +1,446 @@

...

> +static int fsl_msi_host_match(struct irq_host *h, struct device_node *node)
> +{
> +	/* Exact match*/
> +	return h->of_node == node;
> +}

This is the default behaviour, so technically you don't need this
routine - but I'm not fussed.

Acked-by: Michael Ellerman <michael@ellerman.id.au>

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-05-09 12:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-09  9:03 [PATCH 1/4 V2] booting-without-of for Freescale MSI Jason Jin
2008-05-09  9:03 ` [PATCH 2/4 V4] MSI support on 83xx/85xx/86xx board Jason Jin
2008-05-09 12:21   ` Michael Ellerman [this message]
2008-05-13  2:18     ` Jin Zhengxiong
2008-05-09 13:31   ` Grant Likely
2008-05-09  9:26 ` [PATCH 1/4 V2] booting-without-of for Freescale MSI Segher Boessenkool
2008-05-09  9:52   ` Jin Zhengxiong
2008-05-09 10:13     ` Segher Boessenkool
2008-05-09 10:18       ` Jin Zhengxiong
2008-05-09 10:51         ` Segher Boessenkool
2008-05-09 13:25 ` Grant Likely
2008-05-13  2:31   ` Jin Zhengxiong
2008-05-09 13:34 ` Grant Likely
2008-05-09 16:18   ` Timur Tabi
2008-05-09 16:24     ` Grant Likely

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=1210335719.11689.5.camel@localhost \
    --to=michael@ellerman.id.au \
    --cc=Jason.jin@freescale.com \
    --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 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).