[patch 00/28] PNP: convert fixed tables to lists, v4
- Date: Fri, 27 Jun 2008 16:56:51 -0600
- From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
- Subject: [patch 00/28] PNP: convert fixed tables to lists, v4
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 fixes all checkpatch warnings except a "do not add new typedefs"
warning. I kept the pnp_irq_mask_t typedef because I don't see a
better way to declare bitmaps in various places and pass around pointers
to them.
Len, I told you I was going to send incremental patches, but this is
a replacement instead.
Changes since v3:
- Move IRQ test from pnpacpi_parse_irq_option() to
pnpacpi_parse_ext_irq_option() (fixes "comparison is always true"
warning noticed by David Howells)
- Use pci_get_legacy_ide_irq(), not ATA_PRIMARY_IRQ()/ATA_SECONDARY_IRQ()
(thanks to Bartlomiej Zolnierkiewicz)
- Use snprintf() to make printks atomic
- Fix checkpatch warnings (line length, "//" comments)
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
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 00/28] PNP: convert fixed tables to lists, v4
- From: Len Brown
- [patch 24/28] PNP: remove extra 0x100 bit from option priority
- From: Bjorn Helgaas
- [patch 25/28] ISAPNP: handle independent options following dependent ones
- From: Bjorn Helgaas
- [patch 27/28] PNP: avoid legacy IDE IRQs
- From: Bjorn Helgaas
- [patch 26/28] PNP: convert resource options to single linked list
- From: Bjorn Helgaas
- [patch 28/28] PNPACPI: add support for HP vendor-specific CCSR descriptors
- From: Bjorn Helgaas
- [patch 22/28] PNP: rename pnp_register_*_resource() local variables
- From: Bjorn Helgaas
- [patch 23/28] PNP: support optional IRQ resources
- From: Bjorn Helgaas
- [patch 20/28] PNP: centralize resource option allocations
- From: Bjorn Helgaas
- [patch 21/28] PNPACPI: ignore _PRS interrupt numbers larger than PNP_IRQ_NR
- From: Bjorn Helgaas
- [patch 19/28] PNP: remove redundant pnp_can_configure() check
- From: Bjorn Helgaas
- [patch 18/28] PNP: make resource assignment functions return 0 (success) or -EBUSY (failure)
- From: Bjorn Helgaas
- [patch 15/28] PNP: increase I/O port & memory option address sizes
- From: Bjorn Helgaas
- [patch 16/28] PNP: improve resource assignment debug
- From: Bjorn Helgaas
- [patch 17/28] PNP: in debug resource dump, make empty list obvious
- From: Bjorn Helgaas
- [patch 10/28] PNP: add pnp_possible_config() -- can a device could be configured this way?
- From: Bjorn Helgaas
- [patch 12/28] PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEM
- From: Bjorn Helgaas
- [patch 13/28] PNP: make resource option structures private to PNP subsystem
- From: Bjorn Helgaas
- [patch 14/28] PNP: introduce pnp_irq_mask_t typedef
- From: Bjorn Helgaas
- [patch 11/28] PNP: whitespace/coding style fixes
- From: Bjorn Helgaas
- [patch 09/28] PNP: dont sort by type in /sys/.../resources
- From: Bjorn Helgaas
- [patch 06/28] PNP: replace pnp_resource_table with dynamically allocated resources
- From: Bjorn Helgaas
- [patch 08/28] PNP: remove ratelimit on add resource failures
- From: Bjorn Helgaas
- [patch 07/28] PNPACPI: keep disabled resources when parsing current config
- From: Bjorn Helgaas
- [patch 05/28] PNP: make pnp_{port,mem,etc}_start(), et al work for invalid resources
- From: Bjorn Helgaas
- [patch 04/28] PNP: add pnp_resource_type_name() helper function
- From: Bjorn Helgaas
- [patch 02/28] PNP: remove pnp_resource.index
- From: Bjorn Helgaas
- [patch 01/28] PNP: add detail to debug resource dump
- From: Bjorn Helgaas
- [patch 03/28] PNP: add pnp_resource_type() internal interface
- From: Bjorn Helgaas
- Re: [patch 00/28] PNP: convert fixed tables to lists, v4
- Prev by Date: Re: [PATCH 5/13] EDAC mpc85xx fix pci ofdev
- Next by Date: [patch 03/28] PNP: add pnp_resource_type() internal interface
- Previous by thread: [PATCH 3/3] Fix copy_user on x86_64
- Next by thread: [patch 03/28] PNP: add pnp_resource_type() internal interface
- Index(es):