From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Baptiste Reynal <b.reynal@virtualopensystems.com>,
Alex Williamson <alex.williamson@redhat.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
kvm@vger.kernel.org, devicetree@vger.kernel.org,
linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 0/2] vfio: platform: Improve reset support
Date: Tue, 13 Feb 2018 17:36:53 +0100 [thread overview]
Message-ID: <1518539815-13774-1-git-send-email-geert+renesas@glider.be> (raw)
Hi all,
This patch series improves reset support for vfio-platform:
- The first patch fixes a bug I ran into while working on this.
- The second patch implements generic DT reset support, for devices
that are connected to an SoC-internal reset controller and can be
reset in a generic way. This avoids having to write/change a
vfio-specific reset driver for each and every device to be
passed-through to a guest.
This has been tested using the R-Car Gen3 GPIO Pass-Through Prototype
posted last week: the GPIO module is reset before QEMU opens the vfio
device, and reset again after QEMU has released it, as can be witnessed
by the LEDs on the Salvator-XS board.
Thanks for your comments!
Geert Uytterhoeven (2):
vfio: platform: Fix reset module leak in error path
vfio: platform: Add generic DT reset support
drivers/vfio/platform/vfio_platform_common.c | 38 ++++++++++++++++++++++-----
drivers/vfio/platform/vfio_platform_private.h | 1 +
2 files changed, 32 insertions(+), 7 deletions(-)
--
2.7.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next reply other threads:[~2018-02-13 16:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-13 16:36 Geert Uytterhoeven [this message]
2018-02-13 16:36 ` [PATCH 1/2] vfio: platform: Fix reset module leak in error path Geert Uytterhoeven
2018-02-14 8:36 ` Auger Eric
2018-02-14 9:32 ` Geert Uytterhoeven
2018-02-21 16:07 ` Geert Uytterhoeven
2018-02-26 9:47 ` Auger Eric
2018-02-26 9:49 ` Auger Eric
2018-02-13 16:36 ` [PATCH 2/2] vfio: platform: Add generic DT reset support Geert Uytterhoeven
2018-02-14 9:09 ` Auger Eric
2018-02-14 9:43 ` Geert Uytterhoeven
2018-02-14 10:11 ` Auger Eric
2018-02-21 16:12 ` Geert Uytterhoeven
2018-02-21 16:51 ` Philipp Zabel
2018-02-22 8:50 ` Geert Uytterhoeven
2018-02-22 9:36 ` Philipp Zabel
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=1518539815-13774-1-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=alex.williamson@redhat.com \
--cc=b.reynal@virtualopensystems.com \
--cc=devicetree@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.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).