Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752633Ab3FNMbD (ORCPT ); Fri, 14 Jun 2013 08:31:03 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:47211 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471Ab3FNMbB (ORCPT ); Fri, 14 Jun 2013 08:31:01 -0400 MIME-Version: 1.0 In-Reply-To: <2301639.HY0nSRLtah@vostro.rjw.lan> References: <1371141152-9468-1-git-send-email-jiang.liu@huawei.com> <1371141152-9468-3-git-send-email-jiang.liu@huawei.com> <2448481.HbOiE9Npmq@vostro.rjw.lan> <2301639.HY0nSRLtah@vostro.rjw.lan> Date: Fri, 14 Jun 2013 18:30:58 +0600 Message-ID: Subject: Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification From: "Alexander E. Patrakov" To: "Rafael J. Wysocki" Cc: Jiang Liu , Bjorn Helgaas , Yinghai Lu , Greg Kroah-Hartman , Yijing Wang , Jiang Liu , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Rafael J. Wysocki" , stable@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1808 Lines: 55 2013/6/14 Rafael J. Wysocki : > What about the appended patch (on top of [1/9], untested)? > > Rafael Sorry, I have lost the track of which patches, on top of 3.10-rc5, I should include in my testing and which I shouldn't. Could you please restore my understanding? I.e., please provide a full list of LKML or Bugzilla links to patches which I should test during the next boot of the laptop. Thanks in advance. > --- > drivers/pci/hotplug/acpiphp_glue.c | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > > Index: linux-pm/drivers/pci/hotplug/acpiphp_glue.c > =================================================================== > --- linux-pm.orig/drivers/pci/hotplug/acpiphp_glue.c > +++ linux-pm/drivers/pci/hotplug/acpiphp_glue.c > @@ -145,9 +145,20 @@ static int post_dock_fixups(struct notif > return NOTIFY_OK; > } > > +static void handle_dock_event_func(acpi_handle handle, u32 event, void *context) > +{ > + if (event == ACPI_NOTIFY_EJECT_REQUEST) { > + struct acpiphp_func *func = context; > + > + if (!acpiphp_disable_slot(func->slot)) > + acpiphp_eject_slot(func->slot); > + } else { > + handle_hotplug_event_func(handle, event, context); > + } > +} > > static const struct acpi_dock_ops acpiphp_dock_ops = { > - .handler = handle_hotplug_event_func, > + .handler = handle_dock_event_func, > }; > > /* Check whether the PCI device is managed by native PCIe hotplug driver */ > -- Alexander E. Patrakov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/