Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before checking the atomic variable, disable IRQs to avoid missing the wake-up event. https://marc.info/?l=linux-arm-kernel&m=114684008423863&w=2 https://electronics.stackexchange.com/questions/12601/best-pattern-for-wfi-wait-for-interrupt-on-cortex-arm-microcontrolers add dsb before wfi torvalds/linux@8553cb6 https://github.com/torvalds/linux/blob/master/arch/arm/mm/proc-v7.S https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/idle.c torvalds/linux@9cce7a4 it works with wfe, without disabling IRQs
- Loading branch information