-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rp1_probe throws lockdep errors if CONFIG_LOCKDEP is enabled #5866
Comments
pelwell
added a commit
to pelwell/linux
that referenced
this issue
Jan 18, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
PR #5869 should resolve this. |
It does. Thank you very much. |
pelwell
added a commit
that referenced
this issue
Jan 18, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: #5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell
added a commit
that referenced
this issue
Jan 18, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: #5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
6by9
pushed a commit
to 6by9/linux
that referenced
this issue
Jan 18, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell
added a commit
that referenced
this issue
Jan 18, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: #5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this issue
Jan 22, 2024
kernel: drm: rp1: rp1-vec: Allow non-standard modes with various crops See: raspberrypi/linux#5845 kernel: vc4 DLIST patches for 6.1 See: raspberrypi/linux#5880 kernel: fixup! irqchip: irq-bcm2712-mip: Support for 2712's MIP See: raspberrypi/linux#5866 kernel: ARM: pl011: Add rs485 to the RP1 support See:https://forums.raspberrypi.com/viewtopic.php?p=2182093
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this issue
Jan 22, 2024
kernel: drm: rp1: rp1-vec: Allow non-standard modes with various crops See: raspberrypi/linux#5845 kernel: vc4 DLIST patches for 6.1 See: raspberrypi/linux#5880 kernel: fixup! irqchip: irq-bcm2712-mip: Support for 2712's MIP See: raspberrypi/linux#5866 kernel: ARM: pl011: Add rs485 to the RP1 support See:https://forums.raspberrypi.com/viewtopic.php?p=2182093
6by9
pushed a commit
to 6by9/linux
that referenced
this issue
Feb 8, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
6by9
pushed a commit
to 6by9/linux
that referenced
this issue
Feb 21, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
6by9
pushed a commit
to 6by9/linux
that referenced
this issue
Feb 23, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
jai-raptee
pushed a commit
to jai-raptee/iliteck1
that referenced
this issue
Apr 30, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi/linux#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
6by9
pushed a commit
to 6by9/linux
that referenced
this issue
Aug 12, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Demon000
pushed a commit
to Demon000/linux
that referenced
this issue
Sep 12, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi/linux#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Demon000
pushed a commit
to Demon000/linux
that referenced
this issue
Sep 16, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi/linux#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Demon000
pushed a commit
to Demon000/linux
that referenced
this issue
Nov 22, 2024
Use irq_domain_add_hierarchy so that the root pointer is initialised correctly. Failure to do so leads to (at least) lockdep warnings when they are enabled. See: raspberrypi/linux#5866 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Enable
CONFIG_LOCKDEP
in your kernel build, rebuild, and push to a Pi5.rp1_probe
logs lots of lockdep issues, all from the same spot inirq_domain_set_mapping
due to a mutex not being held kernel/irq/irqdomain.c:530@P33M @pelwell You know more about the interrupt hierarchy than I do. Could you have a look please?
Steps to reproduce the behaviour
Enable CONFIG_LOCKDEP and observe WARN on Pi5.
Device (s)
Raspberry Pi 5
System
I was testing on my mainline upstreaming branch, but has also been observed on rpi-6.6.y and rpi-6.7.y.
Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: