+ serial-allow-shared-8250_pnp-interrupts.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     SERIAL: allow shared 8250_pnp interrupts

has been added to the -mm tree.  Its filename is

     serial-allow-shared-8250_pnp-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: SERIAL: allow shared 8250_pnp interrupts
From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>

PNP devices can use shared interrupts, so check to see whether we'll need
SA_SHIRQ for request_irq().

The builtin PDH UART on the HP rx8640 is an example of an ACPI/PNP device
that uses a shareable level-triggered, active-low interrupt.  The interrupt
can be shared in very large I/O configurations or by artificially lowering
IA64_DEF_LAST_DEVICE_VECTOR.

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/serial/8250_pnp.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/serial/8250_pnp.c~serial-allow-shared-8250_pnp-interrupts drivers/serial/8250_pnp.c
--- a/drivers/serial/8250_pnp.c~serial-allow-shared-8250_pnp-interrupts
+++ a/drivers/serial/8250_pnp.c
@@ -431,6 +431,8 @@ serial_pnp_probe(struct pnp_dev *dev, co
 #endif
 
 	port.flags |= UPF_SKIP_TEST | UPF_BOOT_AUTOCONF;
+	if (pnp_irq_flags(dev, 0) & IORESOURCE_IRQ_SHAREABLE)
+		port.flags |= UPF_SHARE_IRQ;
 	port.uartclk = 1843200;
 	port.dev = &dev->dev;
 
_

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
serial-allow-shared-8250_pnp-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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux