From: "Michael S. Tsirkin" <mst@redhat.com>
To: Ani Sinha <ani@anisinha.ca>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: virtio-pci reset option
Date: Thu, 1 Apr 2021 09:53:14 -0400 [thread overview]
Message-ID: <20210401095259-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <CAARzgwyS6Lhcqx6nPqtbdwzZuhz+roKCiVLDPzftpsxN2T+H2Q@mail.gmail.com>
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
--
MST
next prev parent reply other threads:[~2021-04-01 13:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-01 11:39 virtio-pci reset option Ani Sinha
2021-04-01 13:53 ` Michael S. Tsirkin [this message]
2021-04-02 7:53 ` Ani Sinha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210401095259-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=ani@anisinha.ca \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).