Skip to contentSkip to conversation

Cleanup for MSI

PATCH Applied Yijing Wang 2 participants 2 messages Jul 8, 2014 – Jul 16, 2014 PCI

lore
Share & tools
lore
#0 lore raw

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(-)
maintainer Applied
#1 lore raw
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 "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

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