Page MenuHomeFreeBSD

sifive_prci: Delay attachment until after clk_fixed
ClosedPublic

Authored by jrtc27 on Jul 5 2021, 12:02 AM.
Tags
None
Referenced Files
F81628180: D31023.id93197.diff
Fri, Apr 19, 5:37 AM
Unknown Object (File)
Thu, Mar 28, 5:44 PM
Unknown Object (File)
Mar 16 2024, 7:57 AM
Unknown Object (File)
Mar 16 2024, 7:57 AM
Unknown Object (File)
Mar 16 2024, 7:56 AM
Unknown Object (File)
Mar 16 2024, 7:56 AM
Unknown Object (File)
Mar 16 2024, 7:44 AM
Unknown Object (File)
Feb 1 2024, 7:02 PM
Subscribers

Details

Summary

This avoids noisy output from early attempts to attach before clk_fixed
has attached to the parent clocks.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jul 5 2021, 9:21 AM

Will that work with BUS_PASS_BUS + BUS_PASS_ORDER_LATE ?
That's usually what we do (i.e. not using direct numbers but only the defines).

In D31023#698207, @manu wrote:

Will that work with BUS_PASS_BUS + BUS_PASS_ORDER_LATE ?
That's usually what we do (i.e. not using direct numbers but only the defines).

Good question, I wrote this a few weeks ago and don't recall whether there was a reason why I didn't do that... I'll try it out and see if that breaks something in later passes.

BUS_PASS_ORDER_LATE works just fine instead of BUS_PASS_ORDER_MIDDLE + 1

This revision now requires review to proceed.Aug 3 2021, 11:42 PM
This revision is now accepted and ready to land.Aug 4 2021, 2:53 PM