[PATCH v7 00/25] coresight: allow to build coresight as modules

Mike Leach mike.leach at linaro.org
Wed Aug 5 15:39:01 EDT 2020


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 at 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 at 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



-- 
Mike Leach
Principal Engineer, ARM Ltd.
Manchester Design Centre. UK



More information about the linux-arm-kernel mailing list