Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1680517 > unrolled thread

[PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one()

Started byNate Watterson <nwatters@codeaurora.org>
First post2017-07-03 20:10 +0200
Last post2017-07-05 17:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one() Nate Watterson <nwatters@codeaurora.org> - 2017-07-03 20:10 +0200
    Re: [PATCH 2/2] ata: ahci_platform: Handle shutdown with  ata_platform_shutdown_one() Tejun Heo <tj@kernel.org> - 2017-07-05 17:00 +0200

#1680517 — [PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one()

FromNate Watterson <nwatters@codeaurora.org>
Date2017-07-03 20:10 +0200
Subject[PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one()
Message-ID<tZdXk-51p-5@gated-at.bofh.it>
To avoid interfering with a new kernel started using kexec, quiesce
host controller DMA interrupts during driver shutdown with
ata_platform_remove_one().

Change-Id: Iedee7f7ba12172b3d34796a3e3b92dbb72d4ed9c
Signed-off-by: Nate Watterson <nwatters@codeaurora.org>
---
 drivers/ata/ahci_platform.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c
index 62a04c8..ca25b0d 100644
--- a/drivers/ata/ahci_platform.c
+++ b/drivers/ata/ahci_platform.c
@@ -93,6 +93,7 @@ static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend,
 static struct platform_driver ahci_driver = {
 	.probe = ahci_probe,
 	.remove = ata_platform_remove_one,
+	.shutdown = ata_platform_shutdown_one,
 	.driver = {
 		.name = DRV_NAME,
 		.of_match_table = ahci_of_match,
-- 
Qualcomm Datacenter Technologies, Inc. on behalf of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux
Foundation Collaborative Project.

[toc] | [next] | [standalone]


#1681572 — Re: [PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one()

FromTejun Heo <tj@kernel.org>
Date2017-07-05 17:00 +0200
SubjectRe: [PATCH 2/2] ata: ahci_platform: Handle shutdown with ata_platform_shutdown_one()
Message-ID<tZTWy-7BC-7@gated-at.bofh.it>
In reply to#1680517
On Mon, Jul 03, 2017 at 02:02:42PM -0400, Nate Watterson wrote:
> To avoid interfering with a new kernel started using kexec, quiesce
> host controller DMA interrupts during driver shutdown with
> ata_platform_remove_one().
> 
> Change-Id: Iedee7f7ba12172b3d34796a3e3b92dbb72d4ed9c
> Signed-off-by: Nate Watterson <nwatters@codeaurora.org>

Please drop the Change-Id when posting upstream.  Also, it probably
would be better to roll this into the previous patch.

Thanks.

-- 
tejun

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web