From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: [PATCH 0/2] ACPI / platform: Put devices enumerated via ACPI into D0 before probing drivers Date: Sun, 25 Nov 2012 15:54:14 +0100 Message-ID: <1672179.qgDUs0YdYu@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7Bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: LKML Cc: Greg Kroah-Hartman , Linux PM list , ACPI Devel Maling List , Zhang Rui , "Svahn, Kai" , Mika Westerberg , Huang Ying , "Lan, Tianyu" , "Zheng, Lv" , Aaron Lu , Grant Likely List-Id: linux-pm@vger.kernel.org Hi All, The following two patches are meant to work around a problem where some devices may be in the ACPI D3cold power state (power off) before their drivers' .probe() routines are called, but those routines assume devices to be operational. They also allow ACPI PM to be used going forward with the devices in question. [1/2] - Allow ACPI PM attach/detach routines to change device power states. [2/2] - Call the ACPI PM attach/detach routines in the platform probe and remove/shutdown callbacks (and change power states of devices as necessary). The patches are on top of the current linux-next branch of the linux-pm.git tree. Thanks, Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.