vcsm-cma fixes for lockdep warnings#6929
Merged
pelwell merged 2 commits intoraspberrypi:rpi-6.12.yfrom Jun 30, 2025
Merged
Conversation
lockdep throws warnings when using libcamera as buffers are mapped and unmapped as the dmabuf->resv lock hasn't been taken. Switch to using the _unlocked variants so that the framework takes the lock. raspberrypi#6814 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
There are no contexts where we should be calling the kernelid_map IDR functions where we can't sleep, so switch from using a spinlock to using a mutex. raspberrypi#6815 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This was referenced Jun 30, 2025
popcornmix
approved these changes
Jun 30, 2025
Contributor
|
Thanks! |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Jul 7, 2025
kernel: vcsm-cma fixes for lockdep warnings See: raspberrypi/linux#6929 kernel: dtoverlay: Add autorepeat option to gpio-key overlay See: raspberrypi/linux#6933 kernel: drivers: media: cfe: Workaround for 16-bit mismatch in the hardware See: raspberrypi/linux#6935 kernel: configs: Enable more packet classification options See: raspberrypi/linux#6938 kernel: overlays: ili9881-7inch: Fix overlay name in preamble See: raspberrypi/linux#6940 kernel: iommu: bcm2712-iommu: Add locking; fix address offset; tidy See: raspberrypi/linux#6939
popcornmix
added a commit
to raspberrypi/rpi-firmware
that referenced
this pull request
Jul 7, 2025
kernel: vcsm-cma fixes for lockdep warnings See: raspberrypi/linux#6929 kernel: dtoverlay: Add autorepeat option to gpio-key overlay See: raspberrypi/linux#6933 kernel: drivers: media: cfe: Workaround for 16-bit mismatch in the hardware See: raspberrypi/linux#6935 kernel: configs: Enable more packet classification options See: raspberrypi/linux#6938 kernel: overlays: ili9881-7inch: Fix overlay name in preamble See: raspberrypi/linux#6940 kernel: iommu: bcm2712-iommu: Add locking; fix address offset; tidy See: raspberrypi/linux#6939
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Raised as #6814 and #6815. The analysis appears correct, hence update the driver.