]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: Do not receive interrupts sent by dummy ports
authorAlexander Gordeev <agordeev@redhat.com>
Thu, 17 Apr 2014 16:06:15 +0000 (18:06 +0200)
committerTejun Heo <tj@kernel.org>
Fri, 18 Apr 2014 19:55:57 +0000 (15:55 -0400)
commit6015b29cb73171c15664a16b647e3fd43cc43cb7
tree61593d1bf73f1fa14d2c203f7b7ec52c0ec69b58
parent7df28239af49081861c2058723814a5dded1e688
ahci: Do not receive interrupts sent by dummy ports

In multiple MSI mode all AHCI ports (including dummy) get assigned
separate MSI vectors and (as result of execution
pci_enable_msi_exact() function) separate IRQ numbers, (mapped to the
MSI vectors).

Therefore, although interrupts from dummy ports are not desired they
are still enabled. We do not request IRQs for dummy ports, but that
only means we do not assign AHCI-specific ISRs to corresponding IRQ
numbers.

As result, dummy port interrupts still could come and traverse all the
way from the PCI device to the kernel, causing unnecessary overhead.

This update disables IRQs for dummy ports and prevents the described
issue.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Tested-by: David Milburn <dmilburn@redhat.com>
Cc: linux-ide@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 4a467da935a4 ("AHCI: Support multiple MSIs")
drivers/ata/ahci.c