From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>,
LKML <linux-kernel@vger.kernel.org>,
Linux PM list <linux-pm@vger.kernel.org>,
linux-pci@vger.kernel.org, Oliver Neukum <oneukum@suse.de>
Subject: Re: [PATCH] PCI / Hotplug: Fix the ordering of operations in pcied_cleanup()
Date: Wed, 23 Nov 2011 13:10:44 +0900 [thread overview]
Message-ID: <4ECC7244.8060302@jp.fujitsu.com> (raw)
In-Reply-To: <201111222305.16077.rjw@sisk.pl>
I've sent the patch to fix the problem a few weeks ago, and it is in
Jesse's -next tree.
Regards,
Kenji Kaneshige
(2011/11/23 7:05), Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki<rjw@sisk.pl>
>
> Make pcied_cleanup() unregister the port service before
> destroying workqueues that are flushed during the port service
> unregistration.
>
> Reported-by: Oliver Neukum<oneukum@suse.de>
> Signed-off-by: Rafael J. Wysocki<rjw@sisk.pl>
> ---
> drivers/pci/hotplug/pciehp_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux/drivers/pci/hotplug/pciehp_core.c
> ===================================================================
> --- linux.orig/drivers/pci/hotplug/pciehp_core.c
> +++ linux/drivers/pci/hotplug/pciehp_core.c
> @@ -366,9 +366,9 @@ static int __init pcied_init(void)
> static void __exit pcied_cleanup(void)
> {
> dbg("unload_pciehpd()\n");
> + pcie_port_service_unregister(&hpdriver_portdrv);
> destroy_workqueue(pciehp_ordered_wq);
> destroy_workqueue(pciehp_wq);
> - pcie_port_service_unregister(&hpdriver_portdrv);
> info(DRIVER_DESC " version: " DRIVER_VERSION " unloaded\n");
> }
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2011-11-23 4:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-22 22:05 [PATCH] PCI / Hotplug: Fix the ordering of operations in pcied_cleanup() Rafael J. Wysocki
2011-11-23 4:10 ` Kenji Kaneshige [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ECC7244.8060302@jp.fujitsu.com \
--to=kaneshige.kenji@jp.fujitsu.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=oneukum@suse.de \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.