PNP resource_table cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest37 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/37 | ISAPNP: move config register addresses out of isapnp.hdrivers/ include/ | +8 | 0 replies | |
| 2/37 | PNPACPI: continue after _CRS and _PRS errorsdrivers/ | +2 | 0 replies | |
| 3/37 | PNP: make pnp_add_id() internal to PNP coredrivers/ drivers/ drivers/ +1 more | +3 | 0 replies | |
| 4/37 | PNP: change pnp_add_id() to allocate its own pnp_id structuresdrivers/ drivers/ drivers/ +3 more | +43 | 0 replies | |
| 5/37 | ISAPNP: pull pnp_add_id() out of isapnp_parse_id()drivers/ | +9 | 0 replies | |
| 6/37 | PNP: add pnp_alloc_dev()drivers/ drivers/ drivers/ +2 more | +37 | 0 replies | |
| 7/37 | PNP: make pnp_add_card_id() internal to PNP coredrivers/ include/ | +1 | 0 replies | |
| 8/37 | PNP: change pnp_add_card_id() to allocate its own pnp_id structuresdrivers/ drivers/ drivers/ | +33 | 0 replies | |
| 9/37 | ISAPNP: pull pnp_add_card_id() out of isapnp_parse_card_id()drivers/ | +4 | 0 replies | |
| 10/37 | PNP: add pnp_alloc_card()drivers/ drivers/ drivers/ | +30 | 0 replies | |
| 11/37 | PNPACPI: pnpacpi_encode_ext_irq() wrongly set "irq" instead of "extended_irq"drivers/ | +2 | 0 replies | |
| 12/37 | PNPACPI: use temporaries to reduce repetitiondrivers/ | +103 | 0 replies | |
| 13/37 | PNPACPI: hoist dma_flags() out of pnpacpi_parse_allocated_dmaresource()drivers/ | +4 | 0 replies | |
| 14/37 | PNPACPI: extend irq_flags() to set IORESOURCE_IRQ_SHAREABLE when appropriatedrivers/ | +15 | 0 replies | |
| 15/37 | PNPACPI: pass pnp_dev instead of acpi_handledrivers/ drivers/ drivers/ | +5 | 0 replies | |
| 16/37 | PNP: remove pnp_resource_table from internal get/set interfacesdrivers/ drivers/ drivers/ +3 more | +16 | 0 replies | |
| 17/37 | PNP: remove more pnp_resource_table argumentsdrivers/ drivers/ drivers/ +4 more | +73 | 0 replies | |
| 18/37 | PNP: add pnp_init_resources(struct pnp_dev *) interfacedrivers/ drivers/ drivers/ +5 more | +16 | 0 replies | |
| 19/37 | PNP: remove pnp_resource_table from internal pnp_clean_resource_table interfacedrivers/ | +5 | 0 replies | |
| 20/37 | PNP: make generic pnp_add_irq_resource()drivers/ drivers/ drivers/ +3 more | +40 | 0 replies | |
| 21/37 | PNP: make generic pnp_add_dma_resource()drivers/ drivers/ drivers/ +3 more | +34 | 0 replies | |
| 22/37 | PNP: make generic pnp_add_io_resource()drivers/ drivers/ drivers/ +3 more | +43 | 0 replies | |
| 23/37 | PNP: make generic pnp_add_mem_resource()drivers/ drivers/ drivers/ +3 more | +46 | 0 replies | |
| 24/37 | PNP: use dev_printk when possibledrivers/ drivers/ drivers/ | +44 | 0 replies | |
| 25/37 | PNPACPI: remove redundant warnings about _CRS/_PRS failuresdrivers/ | +4 | 0 replies | |
| 26/37 | PNPACPI: remove some pnp_dbg callsdrivers/ | +0 | 0 replies | |
| 27/37 | PNP: use conventional "i" for loop indicesdrivers/ | +46 | 0 replies | |
| 28/37 | PNP: add pnp_get_resource() interfacedrivers/ include/ | +27 | 1 reply | |
| 29/37 | PNP: convert encoders to use pnp_get_resource(), not pnp_resource_tabledrivers/ drivers/ drivers/ | +50 | 0 replies | |
| 30/37 | PNP: convert resource accessors to use pnp_get_resource(), not pnp_resource_tableinclude/ | +64 | 0 replies | |
| 31/37 | PNP: convert resource checks to use pnp_get_resource(), not pnp_resource_tabledrivers/ | +58 | 0 replies | |
| 32/37 | PNP: convert resource assign functions to use pnp_get_resource(), not pnp_resource_tabledrivers/ | +28 | 0 replies | |
| 33/37 | PNP: remove PNP_MAX_* usesdrivers/ drivers/ drivers/ +1 more | +64 | 0 replies | |
| 34/37 | PNP: remove unused interfaces using pnp_resource_tabledrivers/ include/ | +3 | 0 replies | |
| 35/37 | rtc: dont reference pnp_resource_table directlydrivers/ | +4 | 0 replies | |
| 36/37 | PNP: make pnp_resource_table private to PNP coredrivers/ drivers/ drivers/ +2 more | +29 | 0 replies | |
| 37/37 | PNP: make interfaces private to the PNP coredrivers/ include/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/37] PNP resource_table cleanups
This series of patches does some PNP housecleaning and consolidation.
PNP currently uses a fixed-size table (pnp_resource_table) to track the IO, MMIO, IRQ, and DMA resources used by a device. Some motherboard devices have many resources, so we've been plagued by table overflows and we've had to drastically increase the table size, which wastes a lot of memory.
The end goal is to replace that fixed-size table with something more dynamic. These patches don't go that far, but they do make pnp_resource_table private to the PNP core and centralize all references to it in a small set of shared functions.
In addition, this series contains a number of related cleanups, like centralized allocation of struct pnp_dev, conversion to dev_printk when possible, removing many PNP core internal functions from the public interface, and alignment of the ISAPNP, PNPBIOS, and PNPACPI backends.
Bjorn