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)
Sat, Dec 28, 11:26 PM
Unknown Object (File)
Fri, Dec 27, 5:41 AM
Unknown Object (File)
Wed, Dec 11, 12:12 PM
Unknown Object (File)
Nov 23 2024, 12:45 AM
Unknown Object (File)
Nov 18 2024, 11:20 AM
Unknown Object (File)
Nov 16 2024, 3:11 PM
Unknown Object (File)
Oct 21 2024, 7:06 AM
Unknown Object (File)
Oct 19 2024, 11:48 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.