The patch titled PNPACPI: support shareable interrupts has been added to the -mm tree. Its filename is pnpacpi-support-shareable-interrupts.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: PNPACPI: support shareable interrupts From: Bjorn Helgaas <bjorn.helgaas@xxxxxx> ACPI supplies a "shareable" indication, but PNPACPI ignores it. If a PNP device uses a shared interrupt, request_irq() fails because the PNP driver can't tell whether to supply SA_SHIRQ. This patch allows PNP drivers to test (pnp_irq_flags(dev, 0) & IORESOURCE_IRQ_SHAREABLE) Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx> Cc: Adam Belay <ambx1@xxxxxxxxxx> Cc: Matthieu Castet <castet.matthieu@xxxxxxx> Cc: Li Shaohua <shaohua.li@xxxxxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> Cc: Russell King <rmk@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/pnp/pnpacpi/rsparser.c | 11 ++++++++--- include/linux/ioport.h | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff -puN drivers/pnp/pnpacpi/rsparser.c~pnpacpi-support-shareable-interrupts drivers/pnp/pnpacpi/rsparser.c --- a/drivers/pnp/pnpacpi/rsparser.c~pnpacpi-support-shareable-interrupts +++ a/drivers/pnp/pnpacpi/rsparser.c @@ -74,7 +74,7 @@ static void decode_irq_flags(int flag, i static void pnpacpi_parse_allocated_irqresource(struct pnp_resource_table *res, u32 gsi, - int triggering, int polarity) + int triggering, int polarity, int shareable) { int i = 0; int irq; @@ -95,6 +95,9 @@ pnpacpi_parse_allocated_irqresource(stru return; } + if (shareable) + res->irq_resource[i].flags |= IORESOURCE_IRQ_SHAREABLE; + res->irq_resource[i].start = irq; res->irq_resource[i].end = irq; pcibios_penalize_isa_irq(irq, 1); @@ -197,7 +200,8 @@ static acpi_status pnpacpi_allocated_res pnpacpi_parse_allocated_irqresource(res_table, res->data.irq.interrupts[i], res->data.irq.triggering, - res->data.irq.polarity); + res->data.irq.polarity, + res->data.irq.sharable); } break; @@ -263,7 +267,8 @@ static acpi_status pnpacpi_allocated_res pnpacpi_parse_allocated_irqresource(res_table, res->data.extended_irq.interrupts[i], res->data.extended_irq.triggering, - res->data.extended_irq.polarity); + res->data.extended_irq.polarity, + res->data.extended_irq.sharable); } break; diff -puN include/linux/ioport.h~pnpacpi-support-shareable-interrupts include/linux/ioport.h --- a/include/linux/ioport.h~pnpacpi-support-shareable-interrupts +++ a/include/linux/ioport.h @@ -55,6 +55,7 @@ struct resource_list { #define IORESOURCE_IRQ_LOWEDGE (1<<1) #define IORESOURCE_IRQ_HIGHLEVEL (1<<2) #define IORESOURCE_IRQ_LOWLEVEL (1<<3) +#define IORESOURCE_IRQ_SHAREABLE (1<<4) /* ISA PnP DMA specific bits (IORESOURCE_BITS) */ #define IORESOURCE_DMA_TYPE_MASK (3<<0) _ Patches currently in -mm which might be from bjorn.helgaas@xxxxxx are origin.patch irq-use-sa_percpu_irq-not-irq_per_cpu-for-irqactionflags.patch irq-warning-message-cleanup.patch git-acpi.patch pnpacpi-reject-acpi_producer-resources.patch pnpacpi-support-shareable-interrupts.patch 2.6-sony_acpi4.patch git-klibc.patch e100-disable-interrupts-at-boot.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html