Hi all,
This regarding to the plan to build coresight drivers as Kernel module. Currently, it doesn't support that. I noticed there's some patch to add the ability to build as module but that patch doesn't end to be merged.
I'd like to know whether anyone is working on this or has plan for this. I'm interesting in this since there's some trend on mobile device especially Android device that all drivers should be built as Kernel modules. Coresight drivers are important for mobile device to debug SW/HW issues.
Thanks, Tingwei
Hello Tingwei,
On Fri, 14 Feb 2020 at 19:09, tingwei@codeaurora.org wrote:
Hi all,
This regarding to the plan to build coresight drivers as Kernel module. Currently, it doesn't support that. I noticed there's some patch to add the ability to build as module but that patch doesn't end to be merged.
I'd like to know whether anyone is working on this or has plan for this.
A fellow from Suse sent me a patchset in January to do just that[1]. I don't know where his work is currently at.
This is something that has been attempted at least a couple of times in the past. The challenge has always been to make sure any single driver can be removed without having an effect on other drivers that may currently depend on them (or at any time in the future).
Thanks, Mathieu
[1]. https://patchwork.kernel.org/cover/11339339/
I'm interesting in this since there's some trend on mobile device especially Android device that all drivers should be built as Kernel modules. Coresight drivers are important for mobile device to debug SW/HW issues.
Thanks, Tingwei _______________________________________________ CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight
Thanks for the valuable information, Mathieu.
I didn't see any comment on his thread yet.
I'll get in touch with author to understand the status whether I can help on this.
Thanks, Tingwei
-----Original Message----- From: Mathieu Poirier mathieu.poirier@linaro.org Sent: Tuesday, February 18, 2020 1:07 AM To: Tingwei Zhang tingwei@codeaurora.org Cc: Coresight ML coresight@lists.linaro.org Subject: Re: Build coresight drivers as module
Hello Tingwei,
On Fri, 14 Feb 2020 at 19:09, tingwei@codeaurora.org wrote:
Hi all,
This regarding to the plan to build coresight drivers as Kernel module. Currently, it doesn't support that. I noticed there's some patch to add the ability to build as module but that patch doesn't end to be merged.
I'd like to know whether anyone is working on this or has plan for this.
A fellow from Suse sent me a patchset in January to do just that[1]. I don't know where his work is currently at.
This is something that has been attempted at least a couple of times in the past. The challenge has always been to make sure any single driver can be removed without having an effect on other drivers that may currently depend on them (or at any time in the future).
Thanks, Mathieu
[1]. https://patchwork.kernel.org/cover/11339339/
I'm interesting in this since there's some trend on mobile device especially Android device that all drivers should be built as Kernel modules. Coresight drivers are important for mobile device to debug SW/HW issues.
Thanks, Tingwei _______________________________________________ CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight