2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/pnp
matthieu castet 2b8de5f50e [PATCH] pnpacpi: reject ACPI_PRODUCER resources
A patch in -mm kernel correct the parsing of "address resources" of pnpacpi.
Before we assumed it was memory only, but it could be also IO.

But this change show an hidden bug : some resources could be producer type
that are not handled by pnp layer.  So we should ignore the producer
resources.

This patch fixes bug 6292 (http://bugzilla.kernel.org/show_bug.cgi?id=6292).
Some devices like PNP0A03 have 0xd00-0xffff and 0x0-0xcf7 as IO producer
resources.

Before correcting "address resources" parsing, it was seen as memory and was
harmless, because nobody tried to reserve this memory range as it should be
IO.

With the correction it become IO resources, and make failed all others device
that want to register IO in this range and use pnp layer (like a ISA sound
card).

The solution is to ignore producer resources

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: "Brown, Len" <len.brown@intel.com>
Acked-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-08-06 08:57:49 -07:00
..
isapnp Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pnpacpi [PATCH] pnpacpi: reject ACPI_PRODUCER resources 2006-08-06 08:57:49 -07:00
pnpbios [PATCH] Fix swsusp with PNP BIOS 2006-07-31 13:28:41 -07:00
base.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
card.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
core.c [PATCH] drivers/pnp/: cleanups 2005-11-07 07:54:09 -08:00
driver.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
interface.c PNP: Add missing casts in printk() arguments 2006-08-03 13:20:06 -07:00
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
manager.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
quirks.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
resource.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
support.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
system.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00