Skip to content

Conversation

vnarapar
Copy link
Contributor

@vnarapar vnarapar commented Jun 4, 2025

This commit is to add QCS6490 support to watchdog test as it does not support upstream watchdog

@vnarapar vnarapar requested a review from smuppand June 4, 2025 18:12
@vnarapar
Copy link
Contributor Author

vnarapar commented Jun 4, 2025

log_pass "$TESTNAME : Test Passed"
echo "$TESTNAME PASS" > "$res_file"
else
log_fail "/dev/watchdog node is not present."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if /dev/watchdog is missing, test could still pass if the kernel configs are correct. But ideally.

  • Validate presence of a watchdog driver (eg: module loaded or DT node)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified and added checks to verify socid and skip if the target is qcs6490

log_fail "$TESTNAME : Test Failed"
echo "$TESTNAME FAIL" > "$res_file"
CONFIGS="CONFIG_WATCHDOG CONFIG_ARM_SMC_WATCHDOG CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED"
check_kernel_config "$CONFIGS" || {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better check for non-zero with condition for better debuggin in CI.
if [ $? -ne 0 ]; then log_fail "$TESTNAME : Required kernel configs missing" echo "$TESTNAME FAIL" > "$res_file" exit 1 fi

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the test to add log_fail "$TESTNAME : Required kernel configs missing"

Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Require few enhancements.

@vnarapar vnarapar force-pushed the watchdog branch 3 times, most recently from 841fb4b to aab2982 Compare July 7, 2025 09:10
@vnarapar vnarapar changed the title Added QCS6490 support for Watchdog test Added QCS6490 related changes for Watchdog test Jul 7, 2025
Moved PCIe directory out of FunctionalArea to simplify path structure

Signed-off-by: Sai-teja573 <[email protected]>
@vnarapar
Copy link
Contributor Author

Will address in different PR

@vnarapar vnarapar closed this Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants