Re: [PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-29 Thread Ryan Finnie
On 05/28/2018 02:21 PM, Sinan Kaya wrote: > It is up to a driver to implement shutdown() callback. If shutdown() > callback is not implemented, PCI device can have pending interrupt and > even do DMA transactions while the system is going down. > > If kexec is in use, this can damage the newly

Re: [PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-29 Thread Ryan Finnie
On 05/28/2018 02:21 PM, Sinan Kaya wrote: > It is up to a driver to implement shutdown() callback. If shutdown() > callback is not implemented, PCI device can have pending interrupt and > even do DMA transactions while the system is going down. > > If kexec is in use, this can damage the newly

[PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-28 Thread Sinan Kaya
It is up to a driver to implement shutdown() callback. If shutdown() callback is not implemented, PCI device can have pending interrupt and even do DMA transactions while the system is going down. If kexec is in use, this can damage the newly booting kexec kernel or even prevent it from booting

[PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-28 Thread Sinan Kaya
It is up to a driver to implement shutdown() callback. If shutdown() callback is not implemented, PCI device can have pending interrupt and even do DMA transactions while the system is going down. If kexec is in use, this can damage the newly booting kexec kernel or even prevent it from booting