Message ID | 20200805025458.2978-1-tingwei@codeaurora.org (mailing list archive) |
---|---|
Headers | show |
Series | coresight: allow to build coresight as modules | expand |
On 08/05/2020 03:54 AM, Tingwei Zhang wrote: > Allow to build coresight as modules. This gives developers the feasibility to > test their code without reboot. > I ran this on my Juno and modules are auto loaded. However: root@juno-server:~# lsmod Module Size Used by coresight_tmc 40960 -2 coresight_etm4x 61440 -2 coresight_funnel 20480 -2 coresight_stm 24576 -2 coresight_replicator 20480 -2 coresight_cpu_debug 20480 -2 coresight_tpiu 20480 -2 coresight 45056 -2 The used by count is -2 for all of them. Does anyone hit this ? I am unable to remove the modules. Suzuki
I had no issues on Juno, though I was manually insmod / rmmod them Mike On Wed, 5 Aug 2020 at 18:12, Suzuki K Poulose <suzuki.poulose@arm.com> wrote: > > On 08/05/2020 03:54 AM, Tingwei Zhang wrote: > > Allow to build coresight as modules. This gives developers the feasibility to > > test their code without reboot. > > > > I ran this on my Juno and modules are auto loaded. However: > > root@juno-server:~# lsmod > Module Size Used by > coresight_tmc 40960 -2 > coresight_etm4x 61440 -2 > coresight_funnel 20480 -2 > coresight_stm 24576 -2 > coresight_replicator 20480 -2 > coresight_cpu_debug 20480 -2 > coresight_tpiu 20480 -2 > coresight 45056 -2 > > > The used by count is -2 for all of them. Does anyone hit this ? > I am unable to remove the modules. > > Suzuki
On Thu, Aug 06, 2020 at 01:17:23AM +0800, Suzuki K Poulose wrote: > On 08/05/2020 03:54 AM, Tingwei Zhang wrote: > >Allow to build coresight as modules. This gives developers the > feasibility to > >test their code without reboot. > > > > I ran this on my Juno and modules are auto loaded. However: > > root@juno-server:~# lsmod > Module Size Used by > coresight_tmc 40960 -2 > coresight_etm4x 61440 -2 > coresight_funnel 20480 -2 > coresight_stm 24576 -2 > coresight_replicator 20480 -2 > coresight_cpu_debug 20480 -2 > coresight_tpiu 20480 -2 > coresight 45056 -2 > > > The used by count is -2 for all of them. Does anyone hit this ? > I am unable to remove the modules. > I tested on db845c and modules are auto loaded. I didn't see this issue. Module can be removed. Thanks, Tingwei > Suzuki > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Just tried autoload on DB410 - all good. Mike On Thu, 6 Aug 2020 at 04:06, Tingwei Zhang <tingweiz@codeaurora.org> wrote: > > On Thu, Aug 06, 2020 at 01:17:23AM +0800, Suzuki K Poulose wrote: > > On 08/05/2020 03:54 AM, Tingwei Zhang wrote: > > >Allow to build coresight as modules. This gives developers the > > feasibility to > > >test their code without reboot. > > > > > > > I ran this on my Juno and modules are auto loaded. However: > > > > root@juno-server:~# lsmod > > Module Size Used by > > coresight_tmc 40960 -2 > > coresight_etm4x 61440 -2 > > coresight_funnel 20480 -2 > > coresight_stm 24576 -2 > > coresight_replicator 20480 -2 > > coresight_cpu_debug 20480 -2 > > coresight_tpiu 20480 -2 > > coresight 45056 -2 > > > > > > The used by count is -2 for all of them. Does anyone hit this ? > > I am unable to remove the modules. > > > I tested on db845c and modules are auto loaded. > I didn't see this issue. Module can be removed. > > Thanks, > Tingwei > > > Suzuki > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
On 08/06/2020 10:38 AM, Mike Leach wrote: > Just tried autoload on DB410 - all good. > > Mike > > On Thu, 6 Aug 2020 at 04:06, Tingwei Zhang <tingweiz@codeaurora.org> wrote: >> >> On Thu, Aug 06, 2020 at 01:17:23AM +0800, Suzuki K Poulose wrote: >>> On 08/05/2020 03:54 AM, Tingwei Zhang wrote: >>>> Allow to build coresight as modules. This gives developers the >>> feasibility to >>>> test their code without reboot. >>>> >>> >>> I ran this on my Juno and modules are auto loaded. However: >>> >>> root@juno-server:~# lsmod >>> Module Size Used by >>> coresight_tmc 40960 -2 >>> coresight_etm4x 61440 -2 >>> coresight_funnel 20480 -2 >>> coresight_stm 24576 -2 >>> coresight_replicator 20480 -2 >>> coresight_cpu_debug 20480 -2 >>> coresight_tpiu 20480 -2 >>> coresight 45056 -2 >>> >>> >>> The used by count is -2 for all of them. Does anyone hit this ? >>> I am unable to remove the modules. Apologies, it was my mistake. It had the module_unload disabled in config. It is all normal now. I will test the misc_device race Cheers Suzuki