RFC: staging: vchiq_arm: prevent platform driver unload

Greg Kroah-Hartman gregkh at linuxfoundation.org
Sun Nov 5 12:54:45 UTC 2017


On Sun, Nov 05, 2017 at 01:32:26PM +0100, Stefan Wahren wrote:
> Hi,
> 
> in a recent discussion [1] with Phil Elwell pointed out that the VPU
> firmware of the Raspberry Pi isn't aware of an unload of the vchiq
> kernel module after a successful registration.

Why not fix that to allow the module to unload properly?

> So my question is there a proper way to prevent a platform driver from unloading?

Nope, you can always forcefully unload a driver from a device, and
that's a good thing :)

But, it's not a normal operation at all, nothing should ever
unbind/unload unless you are developer working on the kernel.

thanks,

greg k-h


More information about the devel mailing list