Introduce pcim_alloc_irq_vectors()
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest4 patches 16 repliesIn review
- v64 patches 3 repliesSuperseded
- v54 patches 12 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 4 patches | 15 replies | Superseded | |
| v3 | 4 patches | 13 replies | Superseded | |
| v2 | 4 patches | 3 replies | Superseded | |
| v1 | 4 patches | 8 replies | Superseded |
Changes in v7 from the cover letter
- rebase to PCI next branch
- add a stub for pci_is_managed() when disable PCI for fix build error in sparc architecture.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PCI: Introduce pcim_alloc_irq_vectors()drivers/ include/ | +26 | 12 replies | |
| 2/4 | Documentation: devres: Add pcim_alloc_irq_vectors()Documentation/ | +1 | 1 reply | |
| 3/4 | i2c: designware: Use pcim_alloc_irq_vectors() to allocate IRQ vectorsdrivers/ | +4 | 1 reply | |
| 4/4 | i2c: thunderx: Use pcim_alloc_irq_vectors() to allocate IRQ vectorsdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Robert Richter | Andy Shevchenko | Bjorn Helgaas | Jarkko Nikula | Wolfram Sang |
|---|---|---|---|---|---|
| 1/4 | R-b | R-b | A-b | ||
| 2/4 | R-b | R-b | |||
| 3/4 | R-b | A-b | A-b | A-b | |
| 4/4 | A-b | A-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 5 reviewers.
Cover letter [PATCH v7 0/4] Introduce pcim_alloc_irq_vectors()
Introduce pcim_alloc_irq_vectors(), a device-managed version of pci_alloc_irq_vectors(), In some i2c drivers, If pcim_enable_device() has been called before, then pci_alloc_irq_vectors() is actually a device-managed function. It is used as a device-managed function, So replace it with pcim_alloc_irq_vectors().
Changelog
---------
v6 -> v7:
- rebase to PCI next branch
- add a stub for pci_is_managed() when disable PCI for fix build error in sparc architecture.
v5 -> v6:
- rebase to 5.13-rc4
v4 -> v5:
- Remove the check of enable device in pcim_alloc_irq_vectors() and make it as a static line function.
- Modify the subject name in patch 3 and patch 4.
v3 -> v4:
- add some commit comments for patch 3
v2 -> v3:
- Add some commit comments for replace some codes in pcim_release() by pci_free_irq_vectors().
- Simplify the error handling path in i2c designware driver.
v1 -> v2:
- Use pci_free_irq_vectors() to replace some code in pcim_release().
- Modify some commit messages.
Dejin Zheng (4):
PCI: Introduce pcim_alloc_irq_vectors()
Documentation: devres: Add pcim_alloc_irq_vectors()
i2c: designware: Use pcim_alloc_irq_vectors() to allocate IRQ vectors
i2c: thunderx: Use pcim_alloc_irq_vectors() to allocate IRQ vectors
.../driver-api/driver-model/devres.rst | 1 + drivers/i2c/busses/i2c-designware-pcidrv.c | 15 +++-------- drivers/i2c/busses/i2c-thunderx-pcidrv.c | 2 +- drivers/pci/pci.c | 5 +--- include/linux/pci.h | 25 +++++++++++++++++++ 5 files changed, 32 insertions(+), 16 deletions(-)
Signature · 1 line
2.30.1