diff options
| author | Liang Hao <haohlliang@gmail.com> | 2026-07-05 15:47:59 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-07-07 14:32:01 +0200 |
| commit | aaf7766ba3b99a3834319e7cf939838afc705574 (patch) | |
| tree | e71f0574bbc19bdf310e3e3086fead7cc4956f9d /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | d775b9451eb8f52021dea6483ad758fef81dbf1e (diff) | |
gpio: dwapb: Mask interrupts at hardware initialization
GPIO interrupts may retain stale state across warm reboots when
peripherals remain powered. If a GPIO line is not explicitly
configured for interrupts, this can result in interrupt storms
due to missing handlers.
Fix this by ensuring all interrupts are masked and disabled at
hardware initialization time via the init_hw() callback. Pending
interrupts are also cleared to start from a known-safe state.
Interrupts will be unmasked only when explicitly configured by
userspace or kernel drivers.
Signed-off-by: Liang Hao <haohlliang@gmail.com>
Link: https://patch.msgid.link/20260705074759.47863-1-haohlliang@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
