Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 106a33fb authored by Patrick Daly's avatar Patrick Daly
Browse files

Kconfig: Mark IOMMU_DEBUG_TRACKING as broken



commit 9fd4dcec ("debugfs: prevent access to possibly dead
file_operations at file open") makes removing debugfs files from within
another debugfs file illegal.

-001|context_switch(inline)
-001|__schedule()
-002|__preempt_count_sub(inline)
-002|schedule()
-003|schedule_timeout()
-004|do_wait_for_common(inline)
-004|__wait_for_common(inline)
-004|wait_for_common()
-005|wait_for_completion()
-006|__synchronize_srcu()
-007|synchronize_srcu()
-008|debugfs_remove_recursive()
-009|iommu_debug_detach_device()
-010|__iommu_detach_device()
-011|__iommu_group_for_each_dev(inline)
-011|__iommu_detach_group()
-012|iommu_detach_device()
-013|iommu_debug_device_profiling()
-014|iommu_debug_device_show()
-015|seq_read()
-016|full_proxy_read()
-017|__vfs_read()
-018|vfs_read()

full_proxy_read() acquires the srcu_read_lock for debugfs_srcu.
debufs_remove_recursive() waits for all readers of this same lock to
go away. Therefore, it waits forever in the above call stack.

Change-Id: I2851bc80e411bd8c4fa715e5fa0dd2e9c52ba49d
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 42296fb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment