v3
2026-10-13
regmap 缓存生命周期锁修复 · v3
regmap 修复 Apple GPIO 探测的 lockdep 等待上下文警告,调整 debugfs 拆除顺序并在 cache 初始化/退出时释放 map 锁。
原始补丁链接
子 Patch(2)
1/2
regmap: Remove debugfs before cache teardown
From: Michael Reeves michael.reeves077@gmail.com regmap_exit() and regmap_reinit_cache() destroy the register cache before removing debugfs. A concurrent debugfs cache operation can therefore acces
2/2
regmap: Drop map lock during cache init and exit
From: Michael Reeves michael.reeves077@gmail.com On systems with CONFIG_PROVE_RAW_LOCK_NESTING enabled, Apple GPIO probe triggers an “Invalid wait context” lockdep warning. The driver uses a regma