Skip to content

PNP: convert fixed tables to lists, v3

Bjorn Helgaas linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28PNP: add detail to debug resource dumpdrivers/pnp/support.c+26 -81 reply
2/28PNP: remove pnp_resource.indexdrivers/pnp/base.h drivers/pnp/interface.c drivers/pnp/isapnp/core.c +1 more+33 -760 replies
3/28PNP: add pnp_resource_type() internal interfacedrivers/pnp/base.h drivers/pnp/resource.c+7 -00 replies
4/28PNP: add pnp_resource_type_name() helper functiondrivers/pnp/base.h drivers/pnp/support.c+16 -00 replies
5/28PNP: make pnp_{port,mem,etc}_start(), et al work for invalid resourcesinclude/linux/pnp.h+60 -120 replies
6/28PNP: replace pnp_resource_table with dynamically allocated resourcesdrivers/pnp/base.h drivers/pnp/core.c drivers/pnp/interface.c +9 more+323 -4210 replies
7/28PNPACPI: keep disabled resources when parsing current configdrivers/pnp/pnpacpi/rsparser.c+52 -180 replies
8/28PNP: remove ratelimit on add resource failuresdrivers/pnp/resource.c+8 -260 replies
9/28PNP: dont sort by type in /sys/.../resourcesdrivers/pnp/interface.c+23 -350 replies
10/28PNP: add pnp_possible_config() -- can a device could be configured this way?drivers/pnp/resource.c drivers/serial/8250_pnp.c include/linux/pnp.h+72 -170 replies
11/28PNP: whitespace/coding style fixesdrivers/pnp/interface.c+8 -70 replies
12/28PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEMdrivers/pnp/interface.c drivers/pnp/isapnp/core.c drivers/pnp/pnpacpi/rsparser.c +3 more+14 -130 replies
13/28PNP: make resource option structures private to PNP subsystemdrivers/pnp/base.h include/linux/pnp.h+48 -480 replies
14/28PNP: introduce pnp_irq_mask_t typedefdrivers/pnp/base.h drivers/pnp/interface.c drivers/pnp/isapnp/core.c +5 more+17 -150 replies
15/28PNP: increase I/O port & memory option address sizesdrivers/pnp/base.h drivers/pnp/interface.c drivers/pnp/resource.c+29 -180 replies
16/28PNP: improve resource assignment debugdrivers/pnp/manager.c+8 -20 replies
17/28PNP: in debug resource dump, make empty list obviousdrivers/pnp/support.c+6 -10 replies
18/28PNP: make resource assignment functions return 0 (success) or -EBUSY (failure)drivers/pnp/manager.c+22 -190 replies
19/28PNP: remove redundant pnp_can_configure() checkdrivers/pnp/manager.c+0 -30 replies
20/28PNP: centralize resource option allocationsdrivers/pnp/base.h drivers/pnp/isapnp/core.c drivers/pnp/pnpacpi/rsparser.c +2 more+195 -2460 replies
21/28PNPACPI: ignore _PRS interrupt numbers larger than PNP_IRQ_NRdrivers/pnp/pnpacpi/rsparser.c+10 -30 replies
22/28PNP: rename pnp_register_*_resource() local variablesdrivers/pnp/resource.c+47 -470 replies
23/28PNP: support optional IRQ resourcesdrivers/pnp/interface.c drivers/pnp/manager.c drivers/pnp/quirks.c +1 more+39 -440 replies
24/28PNP: remove extra 0x100 bit from option prioritydrivers/pnp/isapnp/core.c drivers/pnp/pnpacpi/rsparser.c drivers/pnp/pnpbios/rsparser.c+7 -90 replies
25/28ISAPNP: handle independent options following dependent onesdrivers/pnp/isapnp/core.c+7 -20 replies
26/28PNP: convert resource options to single linked listdrivers/pnp/base.h drivers/pnp/core.c drivers/pnp/interface.c +8 more+560 -6330 replies
27/28PNP: avoid legacy IDE IRQsdrivers/pnp/resource.c+58 -111 reply
28/28PNPACPI: add support for HP vendor-specific CCSR descriptorsdrivers/pnp/pnpacpi/rsparser.c+60 -00 replies

Reviews trailers per patch

17 of 28 patches have a Reviewed-by or Acked-by.

PatchRene Herman
1/28
2/28
3/28
4/28
5/28
6/28
7/28
8/28
9/28
10/28A-b
11/28A-b
12/28A-b
13/28A-b
14/28A-b
15/28A-b
16/28A-b
17/28A-b
18/28A-b
19/28A-b
20/28A-b
21/28A-b
22/28A-b
23/28A-b
24/28A-b
25/28A-b
26/28A-b
27/28
28/28

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/28] PNP: convert fixed tables to lists, v3

This patch series contains all my PNP patches that are not yet in Linus' tree, including both the "convert resource table to dynamic list" series and the "convert resource options to unified dynamic list" series.

This series should replace all the PNP patches in -mm from

    pnp-add-detail-to-debug-resource-dump.patch
    ...
    not-for-merging-pnp-changes-suspend-oops.patch

except for isa-set-24-bit-dma_mask-for-isa-devices.patch, which got stuck in the middle but isn't really PNP-related.

I'll be on vacation for the rest of the week, so I won't be able to respond to any issues until Monday.

Here are the significant changes since the last posting:

- When replacing pnp_resource_table, the PNPACPI resource encoders have to explicitly handle disabled resources; previously any unused slots in the table were implicitly disabled. This should fix Jiri Slaby's oops on suspend/resume (though he hasn't tested this version).

This change is in the patch titled "PNP: replace pnp_resource_table with dynamically allocated resources".

- Added a new patch to keep disabled IRQ and DMA resources when parsing current config. This fixes a bug in the current (2.6.25) PNPACPI
code: consider a device with (mem, irq0, irq1, io), where irq0 is disabled. If we drop irq0 when parsing the _CRS, we will mistakenly put irq1 in the irq0 slot when we encode resources for an _SRS call.

- Added a new patch to avoid interrupts used by an IDE controller in compatibility mode. https://bugzilla.novell.com/show_bug.cgi?id=375836

- Added a new PNPACPI patch to support HP vendor-specific descriptors. This has long been supported by arch/ia64/kernel/acpi-ext.c, which provides an hp_acpi_csr_space() interface, but I think it's better and more generic to support it in PNPACPI.

Changes since v2 of "convert resource options to unified dynamic list":

- fixed bisection problem in quirk_ad1815_mpu_resources()
- fixed checkpatch warning in pnp_show_options() (pnp-convert-resource-options-to-single-linked-list-checkpatch-fixes.patch)
- replaced pnp_independent_option() with literal 0
- fixed coding style in pnp/manager.c
- added EXPORT_SYMBOL(pnp_possible_config) (pnp-add-pnp_possible_config-can-a-device-could-be-configured-this-way-fix.patch)

Bjorn