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
Unknown Object (File)
Sun, Oct 20, 4:50 PM
Unknown Object (File)
Fri, Oct 11, 3:22 AM
Unknown Object (File)
Oct 3 2024, 10:40 AM
Unknown Object (File)
Oct 3 2024, 9:12 AM
Unknown Object (File)
Oct 3 2024, 4:00 AM
Unknown Object (File)
Oct 3 2024, 12:23 AM
Unknown Object (File)
Oct 2 2024, 5:52 PM
Unknown Object (File)
Oct 2 2024, 12:17 AM
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