On 2026-10-16 19:59 -0400, Hamza Mahfooz wrote:
> Hyper-V vPCI protocol version 1.5 adds a RESET_DEVICE request for
> projected PCI functions. Negotiate the new protocol version and, when it
> is in use, implement the pci_host_bridge::reset_root_port() callback by
> issuing the request through the vPCI VMBus channel.
> 
> Hyper-V has no Root Ports and exposes projected functions directly on
> the root bus, so PCI core uses the callback for the "bus" reset method
> of a function that is the only one on its vPCI bus.
> 
> Use the existing VMBus response path. Return -ENOTTY when the host
> reports STATUS_NOT_SUPPORTED so PCI core may try another reset method.
> 
> Co-developed-by: Wei Liu <[email protected]>
> Signed-off-by: Wei Liu <[email protected]>
> Signed-off-by: Hamza Mahfooz <[email protected]>

Acked-by: Manivannan Sadhasivam <[email protected]>

- Mani



Reply via email to