Page MenuHomeFreeBSD

[bhnd] Fix bhnd_nexus/chipc resource management bugs
ClosedPublic

Authored by landonf on Jun 15 2016, 12:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 8:28 PM
Unknown Object (File)
Sep 30 2024, 1:37 PM
Unknown Object (File)
Sep 8 2024, 8:05 PM
Unknown Object (File)
Sep 7 2024, 10:22 PM
Unknown Object (File)
Aug 19 2024, 5:03 AM
Unknown Object (File)
Aug 18 2024, 12:19 PM
Unknown Object (File)
Jul 10 2024, 5:52 PM
Unknown Object (File)
Jun 17 2024, 7:14 AM
Subscribers

Details

Summary

This resolves a number of issues that came to light when working
on chipc-attached PMU support:

  • Added missing bhnd_nexus bhnd_bus_deactivate_resource implementation.
  • Delete all chipc children on attachment failure.
  • Drop a CHIPC_UNLOCK() accidentally left behind after lifting synchronization into the chipc region refcounting API.
  • Fix re-allocation of chipc resources. Previously, the resource ID was reset to -1 on release, preventing later re-allocation.
Test Plan

Tested on:

  • BCM43225
  • WGT634U
  • RT-N16
  • RT-N53

Tinderbox kernel build is in-progress.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

landonf retitled this revision from to [bhnd] Fix bhnd_nexus/chipc resource management bugs.
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added a reviewer: adrian.

looks good. email re@freebsd.org with a patch and a description of it so they can approve committing it to -head.

adrian edited edge metadata.
This revision is now accepted and ready to land.Jun 15 2016, 12:20 AM
This revision was automatically updated to reflect the committed changes.