From: rric@kernel.org (Robert Richter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/3] AHCI: Add generic MSI-X interrupt support to SATA PCI driver
Date: Wed, 27 May 2015 10:01:30 +0200 [thread overview]
Message-ID: <1432713693-4282-1-git-send-email-rric@kernel.org> (raw)
From: Robert Richter <rrichter@cavium.com>
This patch set adds generic support for MSI-X interrupts to the SATA
PCI driver.
The first 2 patches rework the code, one splits msi and intx code into
separate functions, the other changes interrupt initialization to
store the irq number in the ahci data structure (struct
ahci_host_priv). Both changes are needed to implement MSI-X support in
the last 3rd patch.
v3:
* store irq number in struct ahci_host_priv
* change initialization order from msix-msi-intx to msi-msix-intx
* improve comments in ahci_init_msix()
* improve error message in ahci_init_msix()
* do not enable MSI-X if MSI is actively disabled for the device
v2:
* determine irq vector from pci_dev->msi_list
Robert Richter (3):
ahci: Move interrupt enablement code to separate functions
ahci: Store irq number in struct ahci_host_priv
AHCI: Add generic MSI-X interrupt support to SATA PCI driver
drivers/ata/acard-ahci.c | 4 +-
drivers/ata/ahci.c | 138 ++++++++++++++++++++++++++++++++++++-----
drivers/ata/ahci.h | 4 +-
drivers/ata/libahci.c | 25 +++-----
drivers/ata/libahci_platform.c | 4 +-
drivers/ata/sata_highbank.c | 3 +-
6 files changed, 143 insertions(+), 35 deletions(-)
--
2.1.1
next reply other threads:[~2015-05-27 8:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-27 8:01 Robert Richter [this message]
2015-05-27 8:01 ` [PATCH v3 1/3] ahci: Move interrupt enablement code to separate functions Robert Richter
2015-05-27 18:09 ` Tejun Heo
2015-05-27 8:01 ` [PATCH v3 2/3] ahci: Store irq number in struct ahci_host_priv Robert Richter
2015-05-27 16:16 ` [PATCH] " Robert Richter
2015-05-27 18:14 ` Tejun Heo
2015-05-27 8:01 ` [PATCH v3 3/3] AHCI: Add generic MSI-X interrupt support to SATA PCI driver Robert Richter
2015-05-27 14:32 ` [PATCH v3 0/3] " Tejun Heo
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=1432713693-4282-1-git-send-email-rric@kernel.org \
--to=rric@kernel.org \
--cc=linux-arm-kernel@lists.infradead.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).