mbox series

[0/2] ata: ahci: Add shutdown handler

Message ID 20191209163209.26284-1-hhhawa@amazon.com
Headers show
Series ata: ahci: Add shutdown handler | expand

Message

Hanna Hawa Dec. 9, 2019, 4:32 p.m. UTC
This series introduced AHCI shutdown handler for AHCI PCIe driver, to
disable host controller DMA and interrupts in order to avoid potentially
corrupting or otherwise interfering with a new kernel being started with
kexec.

Part of this patch move the common part between platform and pcie
drivers to libahci.c.

Hanna Hawa (2):
  ata: libahci: move ahci platform shutdown function to libahci
  ata: ahci: Add shutdown handler

 drivers/ata/ahci.c             |  9 +++++++++
 drivers/ata/ahci.h             |  1 +
 drivers/ata/libahci.c          | 33 +++++++++++++++++++++++++++++++++
 drivers/ata/libahci_platform.c | 20 +-------------------
 4 files changed, 44 insertions(+), 19 deletions(-)

Comments

Hans de Goede Dec. 10, 2019, 9:43 a.m. UTC | #1
HI,

On 09-12-2019 17:32, Hanna Hawa wrote:
> This series introduced AHCI shutdown handler for AHCI PCIe driver, to
> disable host controller DMA and interrupts in order to avoid potentially
> corrupting or otherwise interfering with a new kernel being started with
> kexec.
> 
> Part of this patch move the common part between platform and pcie
> drivers to libahci.c.

Series looks good to me:

Acked-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans



> 
> Hanna Hawa (2):
>    ata: libahci: move ahci platform shutdown function to libahci
>    ata: ahci: Add shutdown handler
> 
>   drivers/ata/ahci.c             |  9 +++++++++
>   drivers/ata/ahci.h             |  1 +
>   drivers/ata/libahci.c          | 33 +++++++++++++++++++++++++++++++++
>   drivers/ata/libahci_platform.c | 20 +-------------------
>   4 files changed, 44 insertions(+), 19 deletions(-)
>