[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141110205518.GY20170@rric.localhost>
Date: Mon, 10 Nov 2014 21:55:18 +0100
From: Robert Richter <rric@...nel.org>
To: Jiang Liu <jiang.liu@...ux.intel.com>
Cc: Tejun Heo <tj@...nel.org>, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
Sunil Goutham <sgoutham@...ium.com>,
Robert Richter <rrichter@...ium.com>
Subject: Re: [PATCH] AHCI: Add generic MSI-X interrupt support to SATA PCI
driver
On 10.11.14 22:51:44, Jiang Liu wrote:
> On 2014/11/10 13:30, Robert Richter wrote:
> > From: Sunil Goutham <sgoutham@...ium.com>
> > + /* only enable the first entry (entry.entry = 0) */
> > + rc = pci_enable_msix_exact(pdev, &entry, 1);
> > + if (rc < 0)
> > + return rc;
> > +
> > + pdev->irq = entry.vector;
> You can't overwrite pci_dev->irq for MSI-X, it's no way to
> recover original irq for INTx after unbinding ahci driver. Instead,
> you may access msi_desc->irq when requesting irq.
Right, I have a version now that determines the irq vector from
pdev->msi_list.
-Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists