Page MenuHomeFreeBSD

Check device revoke when during vmbus pcib attach
ClosedPublic

Authored by whu on Sep 20 2020, 8:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 25, 7:30 PM
Unknown Object (File)
Sep 17 2024, 12:01 AM
Unknown Object (File)
Sep 17 2024, 12:01 AM
Unknown Object (File)
Sep 17 2024, 12:01 AM
Unknown Object (File)
Sep 14 2024, 6:46 PM
Unknown Object (File)
Sep 8 2024, 8:10 AM
Unknown Object (File)
Sep 7 2024, 2:17 PM
Unknown Object (File)
Sep 2 2024, 11:35 PM
Subscribers

Details

Summary

It is possible that the vmbus pcib channel is revoked during attach path. The attach path could be waiting for response from host and this response could never arrived since the channel has already been revoked from host point of view. Check this situation during wait complete and return failed if this happens.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 33748

Event Timeline

whu requested review of this revision.Sep 20 2020, 8:06 AM

add saved_done to avoid missing wake-up.

revised wait_for_completion_timeout() call to avoid missing complete message

This revision was not accepted when it landed; it landed in state Needs Review.Oct 15 2020, 5:57 AM
This revision was automatically updated to reflect the committed changes.