| From c2979ad561678c03652e1c381a297bcbbf9c1eb9 Mon Sep 17 00:00:00 2001 |
| From: Joerg Roedel <jroedel@suse.de> |
| Date: Wed, 22 Mar 2017 18:33:25 +0100 |
| Subject: [PATCH] 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> |
| Cc: All applicable <stable@vger.kernel.org> |
| Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c |
| index 159f7f19abce..4e5771f2ca19 100644 |
| --- a/drivers/acpi/acpi_platform.c |
| +++ b/drivers/acpi/acpi_platform.c |
| @@ -24,9 +24,11 @@ |
| ACPI_MODULE_NAME("platform"); |
| |
| static const struct acpi_device_id forbidden_id_list[] = { |
| - {"PNP0000", 0}, /* PIC */ |
| - {"PNP0100", 0}, /* Timer */ |
| - {"PNP0200", 0}, /* AT DMA Controller */ |
| + {"PNP0000", 0}, /* PIC */ |
| + {"PNP0100", 0}, /* Timer */ |
| + {"PNP0200", 0}, /* AT DMA Controller */ |
| + {"ACPI0009", 0}, /* IOxAPIC */ |
| + {"ACPI000A", 0}, /* IOAPIC */ |
| {"", 0}, |
| }; |
| |
| -- |
| 2.12.0 |
| |