This is a note to let you know that I've just added the patch titled

    ACPI / hotplug: Do not execute "insert in progress" _OST

to the 3.11-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     acpi-hotplug-do-not-execute-insert-in-progress-_ost.patch
and it can be found in the queue-3.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 176a88d79d6b5aebabaff16734e8b3107efcaaad Mon Sep 17 00:00:00 2001
From: "Rafael J. Wysocki" <[email protected]>
Date: Thu, 7 Nov 2013 01:42:17 +0100
Subject: ACPI / hotplug: Do not execute "insert in progress" _OST

From: "Rafael J. Wysocki" <[email protected]>

commit 176a88d79d6b5aebabaff16734e8b3107efcaaad upstream.

According to the ACPI spec (5.0, Section 6.3.5), the "Device
insertion in progress (pending)" (0x80) _OST status code is
reserved for the "Insertion Processing" (0x200) source event
which is "a result of an OSPM action".  Specifically, it is not
a notification, so that status code should not be used during
notification processing, which unfortunately is done by
acpi_scan_bus_device_check().

For this reason, drop the ACPI_OST_SC_INSERT_IN_PROGRESS _OST
status evaluation from there (it was a mistake to put it in there
in the first place).

Signed-off-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/acpi/scan.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -359,8 +359,6 @@ static void acpi_scan_bus_device_check(a
                        goto out;
                }
        }
-       acpi_evaluate_hotplug_ost(handle, ost_source,
-                                 ACPI_OST_SC_INSERT_IN_PROGRESS, NULL);
        error = acpi_bus_scan(handle);
        if (error) {
                acpi_handle_warn(handle, "Namespace scan failure\n");


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.11/acpi-ec-ensure-lock-is-acquired-before-accessing-ec-struct-members.patch
queue-3.11/acpica-fix-for-a-store-argx-when-argx-contains-a-reference-to-a-field.patch
queue-3.11/acpica-derefof-operator-update-to-fully-resolve-fieldunit-and-bufferfield-refs.patch
queue-3.11/acpi-hotplug-fix-handle_root_bridge_removal.patch
queue-3.11/acpica-return-error-if-derefof-resolves-to-a-null-package-element.patch
queue-3.11/acpi-video-quirk-initial-backlight-level-0.patch
queue-3.11/acpi-hotplug-do-not-execute-insert-in-progress-_ost.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to