PNP: convert resource options to unified dynamic list, v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 12 repliesIn review
Change between v1 and v2 from the cover letter
- rewrote 8250_pnp modem identification (first patch in series)
- used bitmap_copy() rather than explicit loop to copy IRQ bitmaps
- added "(optional)" note in /sys/.../options for IORESOURCE_IRQ_OPTIONAL
- split out ISAPNP ENDDEP bug fix into a separate patch
- restored "clear auto resources" when auto-assignment fails
- removed 0x100 from option priority
- allocated 12 bits for dependent option priority, 16 bits for set number
- restored check for invalid dependent function priority
- fixed AD1815 quirk (set OPTIONAL flag in the correct "flags" field)
- fixed ioport.h ISA PnP comment (replaces Rene's pnpacpi-fix-irq-flag-decoding-comment-fix.patch)
- rename "pnp_dependent_option()" to "pnp_new_dependent_set()"
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | PNP: add pnp_possible_config() -- can a device could be configured this way?drivers/ drivers/ include/ | +71 | 1 reply | |
| 2/18 | PNP: whitespace/coding style fixesdrivers/ | +8 | 0 replies | |
| 3/18 | PNP: IORESOURCE_* flags are PNP-specific, not ISA PNP-specificinclude/ | +3 | 1 reply | |
| 4/18 | PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEMdrivers/ drivers/ drivers/ +3 more | +14 | 0 replies | |
| 5/18 | PNP: make resource option structures private to PNP subsystemdrivers/ include/ | +48 | 1 reply | |
| 6/18 | PNP: introduce pnp_irq_mask_t typedefdrivers/ drivers/ drivers/ +5 more | +17 | 0 replies | |
| 7/18 | PNP: increase I/O port & memory option address sizesdrivers/ drivers/ drivers/ | +29 | 0 replies | |
| 8/18 | PNP: improve resource assignment debugdrivers/ | +8 | 0 replies | |
| 9/18 | PNP: in debug resource dump, make empty list obviousdrivers/ | +6 | 0 replies | |
| 10/18 | PNP: make resource assignment functions return 0 (success) or -EBUSY (failure)drivers/ | +22 | 0 replies | |
| 11/18 | PNP: remove redundant pnp_can_configure() checkdrivers/ | +0 | 0 replies | |
| 12/18 | PNP: centralize resource option allocationsdrivers/ drivers/ drivers/ +2 more | +195 | 0 replies | |
| 13/18 | PNPACPI: ignore _PRS interrupt numbers larger than PNP_IRQ_NRdrivers/ | +10 | 0 replies | |
| 14/18 | PNP: rename pnp_register_*_resource() local variablesdrivers/ | +47 | 0 replies | |
| 15/18 | PNP: support optional IRQ resourcesdrivers/ drivers/ drivers/ +1 more | +39 | 3 replies | |
| 16/18 | PNP: remove extra 0x100 bit from option prioritydrivers/ drivers/ drivers/ | +7 | 1 reply | |
| 17/18 | ISAPNP: handle independent options following dependent onesdrivers/ | +7 | 1 reply | |
| 18/18 | PNP: convert resource options to single linked listdrivers/ drivers/ drivers/ +8 more | +565 | 2 replies |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Rene Herman |
|---|---|
| 1/18 | A-b |
| 2/18 | A-b |
| 3/18 | A-b |
| 4/18 | A-b |
| 5/18 | A-b |
| 6/18 | A-b |
| 7/18 | A-b |
| 8/18 | A-b |
| 9/18 | A-b |
| 10/18 | A-b |
| 11/18 | A-b |
| 12/18 | A-b |
| 13/18 | A-b |
| 14/18 | A-b |
| 15/18 | A-b |
| 16/18 | A-b |
| 17/18 | A-b |
| 18/18 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 00/18] PNP: convert resource options to unified dynamic list, v2
This patch series converts the PNP resource option structures to a unified linked list. This preserves resource order, which is important for some devices. The bulk of the series is in the last patch, and it has more a more detailed changelog.
Rene Herman did some testing of ISA devices and reviewed v1 of this series. I think I addressed all his comments. Any comments would be welcome.
This depends on some patches that are in -mm, but not yet upstream. In mmotm, these would probably go after pnp-dont-sort-by-type-in-sys-resources.patch
Note that I incorporated Rene's ioport.h comment fix (pnpacpi-fix-irq-flag-decoding-comment-fix.patch) into this series, so you should drop that if you pick up this series.
Change between v1 and v2:
- rewrote 8250_pnp modem identification (first patch in series)
- used bitmap_copy() rather than explicit loop to copy IRQ bitmaps
- added "(optional)" note in /sys/.../options for IORESOURCE_IRQ_OPTIONAL
- split out ISAPNP ENDDEP bug fix into a separate patch
- restored "clear auto resources" when auto-assignment fails
- removed 0x100 from option priority
- allocated 12 bits for dependent option priority, 16 bits for set number
- restored check for invalid dependent function priority
- fixed AD1815 quirk (set OPTIONAL flag in the correct "flags" field)
- fixed ioport.h ISA PnP comment (replaces Rene's pnpacpi-fix-irq-flag-decoding-comment-fix.patch)
- rename "pnp_dependent_option()" to "pnp_new_dependent_set()"
Bjorn