Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel/wdog: Add to restore executing wdog and dump in assert #6629

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ewoodev
Copy link
Contributor

@ewoodev ewoodev commented Jan 14, 2025

If wdog is corrupted or if prefetch abort is occuring in wdog callback, current assertion log is not enough for debugging.

Therefore, during the executing wdog expireation, we save the executing wdog address, and printing wdog information during the assert log printing.

If wdog is corrupted or if prefetch abort is occuring in wdog callback,
current assertion log is not enough for debugging.

Therefore, during the executing wdog expireation, we save the executing wdog address,
and printing wdog information during the assert log printing.

Signed-off-by: eunwoo.nam <[email protected]>
lldbg_noarg("===========================================================\n");
lldbg_noarg("Asserted wdog details\n");
lldbg_noarg("===========================================================\n");
wd_corruption_dbg(g_wdog_debug);
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it duplicated with wd_corruption_dbg in wd_start.c:173?

			switch (wdog->argc) {
			default:
				wd_corruption_dbg(wdog);
				DEBUGPANIC();
				break;

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.

2 participants