Page MenuHomeFreeBSD

newbus: add bus_topo_assert
ClosedPublic

Authored by imp on Sep 4 2021, 5:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 21, 7:06 AM
Unknown Object (File)
Sat, Oct 19, 11:48 PM
Unknown Object (File)
Sep 27 2024, 1:50 PM
Unknown Object (File)
Sep 18 2024, 7:54 AM
Unknown Object (File)
Sep 16 2024, 6:18 PM
Unknown Object (File)
Sep 9 2024, 12:15 AM
Unknown Object (File)
Sep 7 2024, 2:11 PM
Unknown Object (File)
Sep 5 2024, 5:29 PM
Subscribers
None

Details

Summary

Add bus_topo_assert() and implmement it as GIANT_REQUIRED for the
moment. This will allow us to change more easily to a newbus-specific
lock int he future.

Sponsored by: Netflix

Test Plan

Note: I think the giant manipulation in hyperv/vmbus is related to newbus, but there's more to it that I've not read through the code.
I've tried to add reviews for all the maintainers of this code, even though the change is, at this moment, syntactic sugar only.

Diff Detail

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

Event Timeline

imp requested review of this revision.Sep 4 2021, 5:09 AM
imp created this revision.
imp added reviewers: mav, jhb, hselasky, wulf.
This revision is now accepted and ready to land.Sep 4 2021, 3:04 PM

Add topo assert in mii_attach

This revision now requires review to proceed.Sep 4 2021, 3:26 PM
This revision is now accepted and ready to land.Sep 4 2021, 4:28 PM
This revision was automatically updated to reflect the committed changes.