Page MenuHomeFreeBSD

arm nexus: Use bus_generic_rman_*
ClosedPublic

Authored by jhb on Jan 12 2024, 10:32 PM.
Tags
None
Referenced Files
F171464649: D43437.id132716.diff
Fri, Sep 11, 6:27 AM
Unknown Object (File)
Sun, Sep 6, 1:59 PM
Unknown Object (File)
Sun, Sep 6, 3:05 AM
Unknown Object (File)
Fri, Sep 4, 2:38 AM
Unknown Object (File)
Wed, Sep 2, 7:30 PM
Unknown Object (File)
Wed, Sep 2, 6:56 PM
Unknown Object (File)
Wed, Sep 2, 11:12 AM
Unknown Object (File)
Tue, Sep 1, 8:17 PM
Subscribers
None

Details

Summary
  • Implement bus_get_rman pulling bits from nexus_alloc_resource.
  • Implement bus_map/unmap_resource pulling bits from nexus_activate/deactivate_resource.
  • Use bus_generic_rman_* for bus_alloc/adjust/activate/deactivate/release_resource except for custom interrupt activate/deactivate logic still in nexus_activate/deactivate_resource.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Jan 12 2024, 10:32 PM

I did boot this series on my RPI2B+ with an armv7 kernel.

imp added inline comments.
sys/arm/arm/nexus.c
345

Stuff like this is unfortunate, but you're not draining that swamp.

This revision is now accepted and ready to land.Jan 22 2024, 5:30 PM
This revision was automatically updated to reflect the committed changes.