Re: [PATCH v10 09/24] coresight: etm3x: allow etm3x to be built as a module

2020-09-14 Thread Mathieu Poirier
On Sun, Sep 13, 2020 at 02:17:05PM +0100, Suzuki K Poulose wrote: > On 08/21/2020 04:44 AM, Tingwei Zhang wrote: > > From: Kim Phillips > > > > Allow to build coresight-etm3x as a module, for ease of development. > > > > - Kconfig becomes a tristate, to allow =m > > - append -core to source file

Re: [PATCH v10 09/24] coresight: etm3x: allow etm3x to be built as a module

2020-09-14 Thread Mathieu Poirier
On Mon, Sep 14, 2020 at 10:19:28AM +0800, Tingwei Zhang wrote: > On Sun, Sep 13, 2020 at 09:17:05PM +0800, Suzuki K Poulose wrote: > > On 08/21/2020 04:44 AM, Tingwei Zhang wrote: > > >From: Kim Phillips > > > > > >Allow to build coresight-etm3x as a module, for ease of development. > > > > > >- K

Re: [PATCH v10 09/24] coresight: etm3x: allow etm3x to be built as a module

2020-09-13 Thread Tingwei Zhang
On Sun, Sep 13, 2020 at 09:17:05PM +0800, Suzuki K Poulose wrote: > On 08/21/2020 04:44 AM, Tingwei Zhang wrote: > >From: Kim Phillips > > > >Allow to build coresight-etm3x as a module, for ease of development. > > > >- Kconfig becomes a tristate, to allow =m > >- append -core to source file name

Re: [PATCH v10 09/24] coresight: etm3x: allow etm3x to be built as a module

2020-09-13 Thread Suzuki K Poulose
On 08/21/2020 04:44 AM, Tingwei Zhang wrote: From: Kim Phillips Allow to build coresight-etm3x as a module, for ease of development. - Kconfig becomes a tristate, to allow =m - append -core to source file name to allow module to be called coresight-etm3x by the Makefile - add an etm_remove

[PATCH v10 09/24] coresight: etm3x: allow etm3x to be built as a module

2020-08-20 Thread Tingwei Zhang
From: Kim Phillips Allow to build coresight-etm3x as a module, for ease of development. - Kconfig becomes a tristate, to allow =m - append -core to source file name to allow module to be called coresight-etm3x by the Makefile - add an etm_remove function, for module unload - add a MODULE_DEVIC