linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Grant Likely" <grant.likely@secretlab.ca>
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, 9 May 2008 07:31:37 -0600	[thread overview]
Message-ID: <fa686aa40805090631v2e8bc87fq24583f863872df97@mail.gmail.com> (raw)
In-Reply-To: <1210323810-24833-2-git-send-email-Jason.jin@freescale.com>

On Fri, May 9, 2008 at 3:03 AM, Jason Jin <Jason.jin@freescale.com> 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.
>
> Before using the MSI interrupt, PCI/PCIE device need to
> ask for a MSI interrupt in the 256 MSI interrupts. A 256bit
> bitmap show which MSI interrupt was used, reserve bit in
> the bitmap can be used to force the device use some designate
> MSI interrupt in the 256 MSI interrupts. Sometimes this is useful
> for testing the all the MSI interrupts. The msi-available-ranges
> property in the dts file was used for this purpose.
>
> Signed-off-by: Jason Jin <Jason.jin@freescale.com>
> ---
> Update to V4 version per the suggestion's from Michael Ellerman
> +static struct of_platform_driver fsl_of_msi_driver = {
> +       .name = "fsl-of-msi",
> +       .match_table = fsl_of_msi_ids,
> +       .probe = fsl_of_msi_probe,
> +};

nitpick: 'of' in 'fsl-of-msi' is redundant.  We *already* know that
this is an of_platform driver.  :-)

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

  parent reply	other threads:[~2008-05-09 13:31 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
2008-05-13  2:18     ` Jin Zhengxiong
2008-05-09 13:31   ` Grant Likely [this message]
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=fa686aa40805090631v2e8bc87fq24583f863872df97@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --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).