HomeFreeBSD

Hyper-V: pcib: Check revoke status during device attach

Description

Hyper-V: pcib: Check revoke status during device attach

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 will never
arrive since the channel has already been revoked from host point of view. Check
this situation during wait complete and return failed if this happens.

Reported by: Netapp
MFC after: 2 weeks
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D26486

(cherry picked from commit 75c2786c25fef9a6f8239c9fc1631cd17756579b)

Details

Provenance
whuAuthored on Oct 15 2020, 5:57 AM
Differential Revision
D26486: Check device revoke when during vmbus pcib attach
Parents
rG919a160fc622: Hyper-V: storvsc: Enhance srb_status code handling.
Branches
Unknown
Tags
Unknown