Skip to content

Commit ac47070

Browse files
committed
tests: qmsi: remove soc watch sample
Remove this feature specific to QMSI and available through samples only to allow for migration to tracing hooks. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent b6304e6 commit ac47070

File tree

6 files changed

+2
-140
lines changed

6 files changed

+2
-140
lines changed

arch/x86/soc/intel_quark/quark_se/soc_power.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SECTION_FUNC(TEXT, save_cpu_context)
2121

2222
pushf /* save flags */
2323
pusha /* save GPRs */
24-
#if defined (CONFIG_DEBUG) || defined (CONFIG_SOC_WATCH)
24+
#if defined (CONFIG_DEBUG)
2525
/* save the debug registers */
2626
movl %dr0, %edx
2727
pushl %edx
@@ -47,7 +47,7 @@ SECTION_FUNC(TEXT, _power_restore_cpu_context)
4747
lgdtl _pm_save_gdtr /* restore gdtr */
4848
lidtl _pm_save_idtr /* restore idtr */
4949
movl _pm_save_esp, %esp /* restore saved stack ptr */
50-
#if defined (CONFIG_DEBUG) || defined (CONFIG_SOC_WATCH)
50+
#if defined (CONFIG_DEBUG)
5151
/* restore the debug registers */
5252
popl %edx
5353
movl %edx, %dr7

ext/hal/qmsi/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,4 @@ config QMSI_INSTALL_PATH
4141
installed. Make sure this option is properly set when QMSI_LIBRARY
4242
is enabled otherwise the build will fail.
4343

44-
config SOC_WATCH
45-
bool "Enable SoCWatch drivers and related instrumentation"
46-
depends on KERNEL_EVENT_LOGGER
47-
help
48-
This option enables the SoCWatch driver and related instrumentation.
49-
5044
endif

tests/power/power_states/src/main.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <power.h>
1717
#include <soc_power.h>
1818
#include <string.h>
19-
#include "soc_watch_logger.h"
2019

2120
static enum power_states states_list[] = {
2221
SYS_POWER_STATE_CPU_LPS,
@@ -411,11 +410,6 @@ void test_power_state(void)
411410

412411
build_suspend_device_list();
413412

414-
#ifdef CONFIG_SOC_WATCH
415-
/* Start the event monitoring thread */
416-
soc_watch_logger_thread_start();
417-
#endif
418-
419413
/* All our application does is putting the task to sleep so the kernel
420414
* triggers the suspend operation.
421415
*/

tests/power/power_states/src/soc_watch_logger.c

Lines changed: 0 additions & 99 deletions
This file was deleted.

tests/power/power_states/src/soc_watch_logger.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

tests/power/power_states/testcase.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,3 @@ tests:
44
platform_exclude: tinytile
55
tags: power
66
depends_on: rtc
7-
power_management.power_states.socwatch:
8-
extra_args: CONF_FILE="prj_socwatch.conf"
9-
filter: CONFIG_SOC_QUARK_SE_C1000
10-
platform_exclude: tinytile
11-
tags: power
12-
depends_on: rtc

0 commit comments

Comments
 (0)