[PATCH v7 00/25] coresight: allow to build coresight as modules
Suzuki K Poulose
suzuki.poulose at arm.com
Thu Aug 6 07:23:19 EDT 2020
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 at 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 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.
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
More information about the linux-arm-kernel
mailing list