Page MenuHomeFreeBSD

[mips/broadcom] Implement early boot hardware probing and generic platform_reset() support.
ClosedPublic

Authored by landonf on Aug 16 2016, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 7, 10:28 AM
Unknown Object (File)
Sat, Apr 12, 11:30 AM
Unknown Object (File)
Apr 8 2025, 12:01 PM
Unknown Object (File)
Mar 12 2025, 9:41 PM
Unknown Object (File)
Mar 12 2025, 2:37 PM
Unknown Object (File)
Feb 26 2025, 1:34 AM
Unknown Object (File)
Feb 23 2025, 8:58 AM
Unknown Object (File)
Feb 23 2025, 8:11 AM
Subscribers

Details

Summary

This adds support for performing platform_reset() on all supported
devices, using early boot enumeration of chipc capabilities and
available cores.

Changes:

  • Extended platform_reset() to support PMU, PMU+AOB, and non-PMU devices.
  • Added a bcm_platform structure for tracking chipc/pmu/cfe platform data.
  • Extended the BCMA EROM API to support early boot lookup of core info (including port/region mappings).
  • Added Broadcom-specific MIPS CP0 register definitions used by BCM4785-specific reset handling.

Depends on D7498

Test Plan
  • Verified no regressions in reset handling on Asus RT-N16 and Netgear WGT634U.
  • Confirmed no regressions in bcma(4) bus enumeration on all supported SoC and WiFi chipsets.
  • Verified that reset now works correctly on Asus RT-N53, resolving the issue described in D6988.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4826
Build 4885: arc lint + arc unit

Event Timeline

landonf retitled this revision from to [mips/broadcom] Implement early boot hardware probing and generic platform_reset() support..
landonf updated this object.
landonf edited the test plan for this revision. (Show Details)
landonf added reviewers: adrian, mizhka.
mizhka edited edge metadata.
This revision is now accepted and ready to land.Aug 22 2016, 9:39 AM
adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.

If you both think it's fine, then I'm totally all for it going in :)