Page MenuHomeFreeBSD

gpiobus: plug IRQ leaks
ClosedPublic

Authored by vexeduxr on Jul 15 2025, 11:11 AM.
Tags
None
Referenced Files
F150226233: D51325.diff
Mon, Mar 30, 10:16 AM
Unknown Object (File)
Wed, Mar 25, 1:06 AM
Unknown Object (File)
Mon, Mar 23, 9:51 AM
Unknown Object (File)
Mon, Mar 23, 9:48 AM
Unknown Object (File)
Thu, Mar 19, 4:16 PM
Unknown Object (File)
Tue, Mar 17, 4:02 PM
Unknown Object (File)
Tue, Mar 17, 12:20 AM
Unknown Object (File)
Thu, Mar 12, 12:09 AM
Subscribers

Details

Summary

Unmap the IRQ instead of just freeing the map data in the case of an
error. Also don't overwrite the resource's virtual address since the
copy of the map data made by intr_activate_irq is stored there.

Implement gpiobus_release_resource so it can unmap IRQs mapped by
gpio_alloc_intr_resource.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 65454
Build 62337: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jul 15 2025, 5:45 PM
This revision was landed with ongoing or failed builds.Jul 17 2025, 12:48 AM
This revision was automatically updated to reflect the committed changes.