From 1ba4db9f86b15d450c84f9cfc8b4aaed42d7a5d6 Mon Sep 17 00:00:00 2001 From: Rajashekar kuruva Date: Thu, 22 Feb 2024 14:23:19 +0530 Subject: [PATCH] arm64: defconfig: Enable USB LVS test compliance module for sdmsteppeauto The LVS test module is used to verify host link layer compliance, as it allows for control of specific root hub operations, such as bus power management. Enable the module in the kernel configuration, as it should only be used in debug builds for compliance testing. Change-Id: I2aed854e42410db58cf4b07ee205223ab946503b Signed-off-by: Rajashekar kuruva --- arch/arm64/configs/vendor/sdmsteppeauto_consolidate.config | 1 + sdmsteppeauto.bzl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/vendor/sdmsteppeauto_consolidate.config b/arch/arm64/configs/vendor/sdmsteppeauto_consolidate.config index 036910c74d32..985d0c49587f 100644 --- a/arch/arm64/configs/vendor/sdmsteppeauto_consolidate.config +++ b/arch/arm64/configs/vendor/sdmsteppeauto_consolidate.config @@ -4,3 +4,4 @@ CONFIG_LOCALVERSION="-gki-consolidate" CONFIG_LOCK_TORTURE_TEST=m CONFIG_RCU_TORTURE_TEST=m CONFIG_TEST_USER_COPY=m +CONFIG_USB_LINK_LAYER_TEST=m diff --git a/sdmsteppeauto.bzl b/sdmsteppeauto.bzl index 92c90f35ac1d..33b6a29ad549 100644 --- a/sdmsteppeauto.bzl +++ b/sdmsteppeauto.bzl @@ -154,6 +154,7 @@ def define_sdmsteppeauto(): _sdmsteppeauto_consolidate_in_tree_modules = _sdmsteppeauto_in_tree_modules + [ # keep sorted "drivers/misc/lkdtm/lkdtm.ko", + "drivers/usb/misc/lvstest.ko", "kernel/locking/locktorture.ko", "kernel/rcu/rcutorture.ko", "kernel/torture.ko",