> -----Original Message----- > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > ow...@vger.kernel.org] On Behalf Of Wang Dongsheng-B40534 > Sent: Wednesday, July 24, 2013 10:26 AM > To: Rafael J. Wysocki > Cc: daniel.lezc...@linaro.org; linux...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org > Subject: RE: [PATCH 1/2] cpuidle: fix cpu idle driver as a module can not > remove > > > > > -----Original Message----- > > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > > Sent: Wednesday, July 24, 2013 5:33 AM > > To: Wang Dongsheng-B40534 > > Cc: daniel.lezc...@linaro.org; linux...@vger.kernel.org; linuxppc- > > d...@lists.ozlabs.org > > Subject: Re: [PATCH 1/2] cpuidle: fix cpu idle driver as a module can > > not remove > > > > On Tuesday, July 23, 2013 05:28:00 PM Dongsheng Wang wrote: > > > From: Wang Dongsheng <dongsheng.w...@freescale.com> > > > > > > The module can not be removed when execute "rmmod". rmmod not use > > > "--force". > > > > > > Log: > > > root:~# rmmod cpuidle-e500 > > > incs[9], decs[1] > > > rmmod: can't unload 'cpuidle_e500': Resource temporarily unavailable > > > > > > Signed-off-by: Wang Dongsheng <dongsheng.w...@freescale.com> > > > > Can you please check the current linux-next branch of the linux-pm.git > > tree and see if that doesn't conflict with the material in there? > > > > Also please explain in the changelog how your changes help to fix the > > problem. > > > Yes, Linux-next branch also have this problem. > > Should I base on Linux-next to fix this problem?
I think Dongsheng is trying to make the platform cpuidle driver as a kernel module. My questions are: Is the cpuidle driver supposed to work as a module? Or it can only be built-in like many current drivers do? Regards, Leo _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev