Skip to content

Commit 566a871

Browse files
joergroedelgregkh
authored andcommitted
ACPI: Do not create a platform_device for IOAPIC/IOxAPIC
commit 08f63d97749185fab942a3a47ed80f5bd89b8b7d upstream. No platform-device is required for IO(x)APICs, so don't even create them. [ rjw: This fixes a problem with leaking platform device objects after IOAPIC/IOxAPIC hot-removal events.] Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 3342857 commit 566a871

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

drivers/acpi/acpi_platform.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@
2424
ACPI_MODULE_NAME("platform");
2525

2626
static const struct acpi_device_id forbidden_id_list[] = {
27-
{"PNP0000", 0}, /* PIC */
28-
{"PNP0100", 0}, /* Timer */
29-
{"PNP0200", 0}, /* AT DMA Controller */
27+
{"PNP0000", 0}, /* PIC */
28+
{"PNP0100", 0}, /* Timer */
29+
{"PNP0200", 0}, /* AT DMA Controller */
30+
{"ACPI0009", 0}, /* IOxAPIC */
31+
{"ACPI000A", 0}, /* IOAPIC */
3032
{"", 0},
3133
};
3234

0 commit comments

Comments
 (0)