genirq/msi: Spring cleaning
Status from this message: The following commit has been merged into the irq/msi branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest14 patches 21 repliesApplied
- v310 patches 5 repliesSuperseded
- v210 patches 9 repliesSuperseded
Changes in v4 from the cover letter
- Cast retain_ptr() to void so it can't be used instead of return_ptr()
- James
- Split up the PCI/MSI changes
- Move setting of pci_dev::msi_enabled to the success path
- Fix a logic inversion in the UFS change and use a cleanup function to simplify the error path - James
- Collect Reviewed/Tested/Acked-by tags where appropriate
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | cleanup: Provide retain_ptr()include/ | +16 | 1 reply | |
| 2/14 | genirq/msi: Use lock guards for MSI descriptor lockinginclude/ include/ kernel/ | +45 | 0 replies | |
| 3/14 | soc: ti: ti_sci_inta_msi: Switch MSI descriptor locking to guard()drivers/ | +3 | 0 replies | |
| 4/14 | NTB/msi: Switch MSI descriptor locking to lock guard()drivers/ | +8 | 0 replies | |
| 5/14 | PCI/MSI: Use guard(msi_desc_lock) where applicabledrivers/ drivers/ | +8 | 1 reply | |
| 6/14 | PCI/MSI: Set pci_dev::msi_enabled latedrivers/ | +3 | 1 reply | |
| 7/14 | PCI/MSI: Use __free() for affinity masksdrivers/ | +4 | 1 reply | |
| 8/14 | PCI/MSI: Switch msi_capability_init() to guard(msi_desc_lock)drivers/ | +36 | 1 reply | |
| 9/14 | PCI/MSI: Switch msix_capability_init() to guard(msi_desc_lock)drivers/ | +20 | 13 replies | |
| 10/14 | PCI: hv: Switch MSI descriptor locking to guard()drivers/ | +4 | 0 replies | |
| 11/14 | PCI/MSI: Provide a sane mechanism for TPHdrivers/ drivers/ | +56 | 2 replies | |
| 12/14 | PCI/TPH: Replace the broken MSI-X control word updatedrivers/ | +1 | 0 replies | |
| 13/14 | scsi: ufs: qcom: Remove the MSI descriptor abusedrivers/ | +48 | 1 reply | |
| 14/14 | genirq/msi: Rename msi_[un]lock_descs()include/ kernel/ | +14 | 0 replies |
Reviews trailers per patch
All 14 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Cameron | Nishanth Menon | Dhruva Gole | Logan Gunthorpe | Dave Jiang | Michael Kelley | Wei Liu | Bjorn Helgaas | James Bottomley | Srikanth Aithal | Andy Shevchenko | Venkat Rao Bagalkote | Borislav Petkov (AMD) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/14 | R-b | R-b | |||||||||||
| 2/14 | R-b | ||||||||||||
| 3/14 | R-b | T-b | R-b | ||||||||||
| 4/14 | R-b | R-b | A-b | ||||||||||
| 5/14 | A-b | ||||||||||||
| 6/14 | A-b | ||||||||||||
| 7/14 | A-b | ||||||||||||
| 8/14 | A-b | ||||||||||||
| 9/14 | A-b | T-b | T-b | T-b | T-b | ||||||||
| 10/14 | R-b | R-b | A-b | A-b | |||||||||
| 11/14 | A-b | ||||||||||||
| 12/14 | A-b | ||||||||||||
| 13/14 | R-b | ||||||||||||
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 13 reviewers.
Cover letter [patch V4 00/14] genirq/msi: Spring cleaning
This is version 4 of the cleanup work. The previous version can be found here:
https://lore.kernel.org/all/[email protected]
While converting the MSI descriptor locking to a lock guard() I stumbled over various abuse of MSI descriptors (again).
The following series cleans up the offending code and converts the MSI descriptor locking over to lock guards.
Changes vs. V3:
- Cast retain_ptr() to void so it can't be used instead of return_ptr()
- James
- Split up the PCI/MSI changes
- Move setting of pci_dev::msi_enabled to the success path
- Fix a logic inversion in the UFS change and use a cleanup function to simplify the error path - James
- Collect Reviewed/Tested/Acked-by tags where appropriate
The series applies on:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/msi
and is available from git:
git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/msi
Thanks,
tglx
--- drivers/ntb/msi.c | 22 +--- drivers/pci/controller/pci-hyperv.c | 14 -- drivers/pci/msi/api.c | 6 - drivers/pci/msi/msi.c | 175 ++++++++++++++++++++++-------------- drivers/pci/pci.h | 9 + drivers/pci/tph.c | 44 --------- drivers/soc/ti/ti_sci_inta_msi.c | 10 -- drivers/ufs/host/ufs-qcom.c | 85 +++++++++-------- include/linux/cleanup.h | 16 +++ include/linux/irqdomain.h | 2 include/linux/msi.h | 7 + kernel/irq/msi.c | 125 ++++++++++--------------- 12 files changed, 258 insertions(+), 257 deletions(-)