[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: virtio-pci reset option

From: Michael S. Tsirkin
Subject: Re: virtio-pci reset option
Date: Thu, 1 Apr 2021 09:53:14 -0400

On Thu, Apr 01, 2021 at 05:09:23PM +0530, Ani Sinha wrote:
> Hi MST:
> ref: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci
> What: /sys/bus/pci/devices/.../reset
> Date: July 2009
> Contact: Michael S. Tsirkin <mst@redhat.com>
> Description:
> Some devices allow an individual function to be reset
> without affecting other functions in the same device.
> For devices that have this support, a file named reset
> will be present in sysfs.  Writing 1 to this file
> will perform reset.
> Can you please tell me which change in the kernel virtio-pci driver
> enabled this option to be available in sysfs? The kernel we are
> running does not seem to have this option for virtio-pci devices. I
> cannot seem to pin-point the exact change that is needed to get this.
> thanks
> ani

Likely this one:

commit eb1556c493d8abc5bfc8685561bcea934700e200
Author: Julia Suvorova <jusual@redhat.com>
Date:   Tue Aug 20 18:30:05 2019 +0200

    virtio-pci: Add Function Level Reset support


reply via email to

[Prev in Thread] Current Thread [Next in Thread]