Re: [PATCH 1/2] PCI/MSI/PPC: Remove arch_msi_check_device()
From: Alexander Gordeev <hidden>
Date: 2014-07-31 13:53:30
Also in:
linux-pci, lkml
From: Alexander Gordeev <hidden>
Date: 2014-07-31 13:53:30
Also in:
linux-pci, lkml
On Sat, Jul 12, 2014 at 01:21:07PM +0200, Alexander Gordeev wrote:
PowerPC is the only architecture that makes use of hook arch_msi_check_device() and does perform some checks to figure out if MSI/MSI-X could be enabled for a device. However, there are no reasons why those checks could not be done within arch_setup_msi_irqs() hook. Moving MSI checks into arch_setup_msi_irqs() makes code more readable and allows getting rid of unnecessary hook arch_msi_check_device().
Michael, Ben, Any feedback? Thanks! -- Regards, Alexander Gordeev agordeev@redhat.com