Cleanup for MSI
v3 cover Cleanup for MSI
This patchset is based Bjorn's pci/msi branch.
v2->v3: Fix the misuse of MSI and MSIX default mask functions.
Integrate "Use irq_get_msi_desc() to simplify code" into patchset.v1->v2: Modify msi_setup_entry() return type suggested by Bjorn.
Post a new s390 MSI patch to fix and simplify MSI code. Post another 3 cleanup patch for MSI.
Yijing Wang (6):
PCI/MSI: MSI cleanup, msi_setup_entry()
s390/MSI: Use standard mask and unmask funtions PCI/MSI: Remove unused function msi_remove_pci_irq_vectors() PCI/MSI: Retrieve first MSI irq from msi_desc rather than pci_dev PCI/MSI: Clean up the useless code
PCI/MSI: Use irq_get_msi_desc() to simplify code
arch/s390/pci/pci.c | 49 ++++-------------------------- drivers/pci/msi.c | 84 +++++++++++++++++++++++--------------------------- include/linux/pci.h | 2 - 3 files changed, 45 insertions(+), 90 deletions(-)
Quoted 16 lines · Yijing Wang
This patchset is based Bjorn's pci/msi branch.
v2->v3: Fix the misuse of MSI and MSIX default mask functions.
Integrate "Useirq_get_msi_desc()to simplify code" into patchset.v1->v2: Modifymsi_setup_entry()return type suggested by Bjorn.
Post a new s390 MSI patch to fix and simplify MSI code. Post another 3 cleanup patch for MSI.Yijing Wang (6):
PCI/MSI: MSI cleanup,msi_setup_entry()
s390/MSI: Use standard mask and unmask funtions PCI/MSI: Remove unused functionmsi_remove_pci_irq_vectors()PCI/MSI: Retrieve first MSI irq frommsi_descrather thanpci_devPCI/MSI: Clean up the useless code
PCI/MSI: Useirq_get_msi_desc()to simplify code
Quoted 4 lines
arch/s390/pci/pci.c | 49 ++++-------------------------- drivers/pci/msi.c | 84 +++++++++++++++++++++++--------------------------- include/linux/pci.h | 2 - 3 files changed, 45 insertions(+), 90 deletions(-)
I applied these (except the s390 one, which Sebastian took) to pci/msi for v3.17, thanks!
Bjorn