watchdog: disable the drivertest_watchdog_api testcase on some platform #3337
+6
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
When we support the watchdog interrupt on the Armv7-A platform with the TEE enabled, the watchdog interrupt needs to be configured as a FIQ to avoid the impact of interrupt disabling in the AP. In this case, the
drivertest_watchdog_apitestcase cannot pass the test in such a scenario.This is because the
drivertest_watchdog_apiitself requires calling a specified callback after the watchdog interrupt is triggered, instead of directly dumping the AP's context and then asserting the system.Therefore, when both
CONFIG_ARCH_ARMV7AandCONFIG_ARCH_HAVE_TRUSTZONEare enabled, we need to skip the currentdrivertest_watchdog_apitestcase.Impact
Testing
Verified that on Armv7‑A + TrustZone platforms, the watchdog test suite compiles and runs without the drivertest_watchdog_api test.