All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kallol Biswas <kallol@nucleodyne.com>
To: "Nguyen, Tom L" <tom.l.nguyen@intel.com>
Cc: Jeff Garzik <jgarzik@pobox.com>, linux-ide@vger.kernel.org
Subject: RE: MSI question
Date: 19 Jul 2005 07:50:15 -0700	[thread overview]
Message-ID: <1121784615.8967.13.camel@driver> (raw)
In-Reply-To: <C7AB9DA4D0B1F344BF2489FA165E502409337D9A@orsmsx404.amr.corp.intel.com>

Hello Long,
          Here are the  steps I had followed:

1) Enabled MSI on the card, also programed the address and data
register.
2) Programmed the bridge  to accept the transaction to the address with
the data and convert them to a MSI interrupt.
3) Changed the pic_ack routine in kernel to acknowledge the MSI
interrupt indication.
4) Changed the isr to return IRQ handled always.

The  PCI-X bus analyzer showed that the card did generate the write
transaction for the interrupt.

The bridge converted the write and set a MSI interrupt indication
on its interrupt status register.

The driver isr got called, then the pic_ack routine cleared the MSI
interrupt indication on the bridge.

At this point, the card put more status to the memory, but no more
MSI transaction.

I did not get time to check if MSI got disabled on the adapter. Not
sure how to re-enable the MSI. I do not have access to the adapter's
manual. I will try to set the MSI enable bit again on config space.

Thanks for help,
Kallol

On Mon, 2005-07-18 at 10:37, Nguyen, Tom L wrote:
> On Saturday, July 09, 2005 5:08 PM, Kallol wrote:
> > The problem is that the card generates the MSI transaction only once.
> I
> > guess we have to enable the card to generate another MSI transaction 
> > again, right?
> 
> Have you verified whether the Promise adapter driver's interrupt service
> routine associated with MSI vector is called once the card generates the
> MSI? Does this driver handle MSI generated from its device
> appropriately? If yes, you can enable the card to generate another MSI
> transaction.
> 
> Thanks,
> Long
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2005-07-19 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 17:37 MSI question Nguyen, Tom L
2005-07-19 14:50 ` Kallol Biswas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-10  0:07 kallol

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=1121784615.8967.13.camel@driver \
    --to=kallol@nucleodyne.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=tom.l.nguyen@intel.com \
    /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.