Skip to content
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

Handle PIO probe failures (i.e. old EEPROMs) #6599

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Jan 10, 2025

The RP1 firmware drive will fail to probe if the EEPROM image is too old to support it. Make sure that the various drivers handle that case gracefully.

Link: #6593

Ensure that rp1_pio_open fails if the device failed to probe.

Link: raspberrypi#6593

Signed-off-by: Phil Elwell <[email protected]>
Simplify the implementation of rp1_firmware_get, requiring its clients
to have a valid 'firmware' property. Also make it return NULL on error.

Link: raspberrypi#6593

Signed-off-by: Phil Elwell <[email protected]>
@pelwell pelwell merged commit dafde0a into raspberrypi:rpi-6.6.y Jan 10, 2025
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jan 10, 2025
kernel: CQE improvements for 6.6
See: raspberrypi/linux#6591

kernel: Handle PIO probe failures (i.e. old EEPROMs)
See: raspberrypi/linux#6599
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jan 10, 2025
kernel: CQE improvements for 6.6
See: raspberrypi/linux#6591

kernel: Handle PIO probe failures (i.e. old EEPROMs)
See: raspberrypi/linux#6599
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant