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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

鈿狅笍 remove WDT + TRNG interrupts; 馃悰 fix bug in core-complex clocking during sleep #858

Merged
merged 11 commits into from Mar 23, 2024

Conversation

stnolting
Copy link
Owner

馃悰 Fix Clocking of Core Complex

When the CPU is in sleep mode and clock gating is enabled the I- and D-caches are also halted. This can cause a problems if the clock of the caches gets halted while they are still performing bus operations (e.g. a synchronization flush).

鈿狅笍 Remove WDT Interrupt

The WDT should not "inform" the software of an impending watchdog timeout, as this could allow the software to reset the watchdog even if the main application is already running incorrectly.

See #844 (comment) by @mikaelsky.

鈿狅笍 Remove TRNG Interrupt

The TRNG interrupt was used to inform software that a certain amount of "entropy" is available. However, this feature seems to be over-engineered.

Note

This PR is part of a series that aims to unify (and simplify) the entire interrupt system of the processor.

@stnolting stnolting added bug Something isn't working HW hardware-related cleanup clean-up the codebase labels Mar 23, 2024
@stnolting stnolting self-assigned this Mar 23, 2024
@stnolting stnolting marked this pull request as ready for review March 23, 2024 15:35
@stnolting stnolting merged commit 1d64f5f into main Mar 23, 2024
10 checks passed
@stnolting stnolting deleted the wdt_trng_firq branch March 23, 2024 16:00
@stnolting stnolting added the experimental Experimental feature label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cleanup clean-up the codebase experimental Experimental feature HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant