On 2022/2/22 16:50, liuqi (BA) wrote:
On 2022/2/22 14:24, Kai Liu wrote:
On 2022/02/21 Mon 21:06, Qi Liu wrote:
driver inclusion ategory: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4UA33
Enable configs for ultrasoc driver.
arch/arm64/configs/openeuler_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index 7bc72dfe9d05..9d2c4c9deab8 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -7223,9 +7223,14 @@ CONFIG_IO_STRICT_DEVMEM=y # CONFIG_PID_IN_CONTEXTIDR is not set # CONFIG_DEBUG_EFI is not set # CONFIG_ARM64_RELOC_TEST is not set -# CONFIG_CORESIGHT is not set # end of arm64 Debugging
+CONFIG_CORESIGHT=y +CONFIG_CORESIGHT_LINKS_AND_SINKS=y +CONFIG_CORESIGHT_SOURCE_ETM4X=y
Why not =m for these three?
because ultrasoc driver depend on CONFIG_CORESIGHT_LINKS_AND_SINKS, and CONFIG_CORESIGHT_LINKS_AND_SINKS depend on CONFIG_CORESIGHT, I'm afraid that setting them as m may influence the load of driver.
That's not a good reason. Maybe there is problem in your loading script.
+CONFIG_ULTRASOC_SMB=m +CONFIG_ETM4X_IMPDEF_FEATURE=y
# # Kernel Testing and Coverage # -- 2.33.0 _______________________________________________ Kernel mailing list -- kernel@openeuler.org To unsubscribe send an email to kernel-leave@openeuler.org
.