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, Mar 29, 2:05 AM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 1:43 PM
Unknown Object (File)
Feb 24 2024, 3:26 AM
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 33760

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.