Re: [PATCH for-next] RDMA/hns: Add support function clear when removing module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 26, 2019 at 06:12:11PM +0800, Liuyixian (Eason) wrote:

>     However, I have talked with our chip team about function clear
>     functionality. We think it is necessary to inform the chip to
>     perform the outstanding task and some cleanup work and restore
>     hardware resources in time when rmmod ko. Otherwise, it is
>     dangerous to reuse the hardware as it can not guarantee those
>     work can be done well without the notification from our driver.

If it is dangerous to reuse the hardware then you have to do this
cleanup on device startup, not on device removal.

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux