Skip to content

Commit

Permalink
tests: qmsi: remove soc watch sample
Browse files Browse the repository at this point in the history
Remove this feature specific to QMSI and available through samples only
to allow for migration to tracing hooks.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Aug 21, 2018
1 parent b6304e6 commit ac47070
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 140 deletions.
4 changes: 2 additions & 2 deletions arch/x86/soc/intel_quark/quark_se/soc_power.S
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SECTION_FUNC(TEXT, save_cpu_context)

pushf /* save flags */
pusha /* save GPRs */
#if defined (CONFIG_DEBUG) || defined (CONFIG_SOC_WATCH)
#if defined (CONFIG_DEBUG)
/* save the debug registers */
movl %dr0, %edx
pushl %edx
Expand All @@ -47,7 +47,7 @@ SECTION_FUNC(TEXT, _power_restore_cpu_context)
lgdtl _pm_save_gdtr /* restore gdtr */
lidtl _pm_save_idtr /* restore idtr */
movl _pm_save_esp, %esp /* restore saved stack ptr */
#if defined (CONFIG_DEBUG) || defined (CONFIG_SOC_WATCH)
#if defined (CONFIG_DEBUG)
/* restore the debug registers */
popl %edx
movl %edx, %dr7
Expand Down
6 changes: 0 additions & 6 deletions ext/hal/qmsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,4 @@ config QMSI_INSTALL_PATH
installed. Make sure this option is properly set when QMSI_LIBRARY
is enabled otherwise the build will fail.

config SOC_WATCH
bool "Enable SoCWatch drivers and related instrumentation"
depends on KERNEL_EVENT_LOGGER
help
This option enables the SoCWatch driver and related instrumentation.

endif
6 changes: 0 additions & 6 deletions tests/power/power_states/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <power.h>
#include <soc_power.h>
#include <string.h>
#include "soc_watch_logger.h"

static enum power_states states_list[] = {
SYS_POWER_STATE_CPU_LPS,
Expand Down Expand Up @@ -411,11 +410,6 @@ void test_power_state(void)

build_suspend_device_list();

#ifdef CONFIG_SOC_WATCH
/* Start the event monitoring thread */
soc_watch_logger_thread_start();
#endif

/* All our application does is putting the task to sleep so the kernel
* triggers the suspend operation.
*/
Expand Down
99 changes: 0 additions & 99 deletions tests/power/power_states/src/soc_watch_logger.c

This file was deleted.

21 changes: 0 additions & 21 deletions tests/power/power_states/src/soc_watch_logger.h

This file was deleted.

6 changes: 0 additions & 6 deletions tests/power/power_states/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ tests:
platform_exclude: tinytile
tags: power
depends_on: rtc
power_management.power_states.socwatch:
extra_args: CONF_FILE="prj_socwatch.conf"
filter: CONFIG_SOC_QUARK_SE_C1000
platform_exclude: tinytile
tags: power
depends_on: rtc

0 comments on commit ac47070

Please sign in to comment.