diff mbox

[06/19] cxl: Add shutdown hook

Message ID 1432034556-32400-7-git-send-email-mikey@neuling.org (mailing list archive)
State Accepted
Commit aa70775e9ae1f7406fcfb877e6dbb9c13aa34840
Delegated to: Michael Ellerman
Headers show

Commit Message

Michael Neuling May 19, 2015, 11:22 a.m. UTC
Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 drivers/misc/cxl/pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ian Munsie May 21, 2015, 9:06 a.m. UTC | #1
Looks like a good change to make sure the PSL & AFU is not still active
across a reboot :)

Wondering if this should be Cc: Stable - has there been any demonstrable
stability increase after a reboot with this?

Acked-by: Ian Munsie <imunsie@au1.ibm.com>

Excerpts from Michael Neuling's message of 2015-05-19 21:22:23 +1000:
> Signed-off-by: Michael Neuling <mikey@neuling.org>
> ---
>  drivers/misc/cxl/pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
> index b80f867..a9c90d2 100644
> --- a/drivers/misc/cxl/pci.c
> +++ b/drivers/misc/cxl/pci.c
> @@ -1135,4 +1135,5 @@ struct pci_driver cxl_pci_driver = {
>      .id_table = cxl_pci_tbl,
>      .probe = cxl_probe,
>      .remove = cxl_remove,
> +    .shutdown = cxl_remove,
>  };
diff mbox

Patch

diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index b80f867..a9c90d2 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -1135,4 +1135,5 @@  struct pci_driver cxl_pci_driver = {
 	.id_table = cxl_pci_tbl,
 	.probe = cxl_probe,
 	.remove = cxl_remove,
+	.shutdown = cxl_remove,
 };