From: Tejun Heo <tj@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: benisty.e@gmail.com, linux-ide@vger.kernel.org
Subject: Re: [PATCH] ahci: only try to use multi-MSI mode if there is more than 1 port
Date: Wed, 19 Oct 2016 13:19:38 -0400 [thread overview]
Message-ID: <20161019171938.GC18532@htj.duckdns.org> (raw)
In-Reply-To: <1476774052-12662-1-git-send-email-hch@lst.de>
On Tue, Oct 18, 2016 at 09:00:52AM +0200, Christoph Hellwig wrote:
> We should only try to allocate multiple MSI or MSI-X vectors if the device
> actually has multiple ports. Otherwise pci_alloc_irq_vectors will return
> a single vector due to n_ports = 1, in which case we shouldn't set the
> AHCI_HFLAG_MULTI_MSI flag.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Fixes: 0b9e2988 ("ahci: use pci_alloc_irq_vectors")
> Reported-by: Emmanuel Benisty <benisty.e@gmail.com>
> Tested-by: Emmanuel Benisty <benisty.e@gmail.com>
Applied to libata/for-4.9-fixes.
Thanks.
--
tejun
prev parent reply other threads:[~2016-10-19 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 7:00 [PATCH] ahci: only try to use multi-MSI mode if there is more than 1 port Christoph Hellwig
2016-10-19 17:19 ` Tejun Heo [this message]
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=20161019171938.GC18532@htj.duckdns.org \
--to=tj@kernel.org \
--cc=benisty.e@gmail.com \
--cc=hch@lst.de \
--cc=linux-ide@vger.kernel.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).