WSL2-Linux-Kernel/drivers/vfio/platform
Geert Uytterhoeven 415eb9fc0e vfio: platform: Fix using devices in PM Domains
If a device is part of a PM Domain (e.g. power and/or clock domain), its
power state is managed using Runtime PM.  Without Runtime PM, the device
may not be powered up or clocked, causing subtle failures, crashes, or
system lock-ups when the device is accessed by the guest.

Fix this by adding Runtime PM support, powering the device when the VFIO
device is opened by the guest.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2018-06-08 10:24:37 -06:00
..
reset VFIO Updates for Linux v4.15 2017-11-14 16:47:47 -08:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vfio_amba.c vfio: platform: constify amba_id 2017-08-30 14:03:42 -06:00
vfio_platform.c vfio, platform: make reset driver a requirement by default 2016-07-19 10:26:46 -06:00
vfio_platform_common.c vfio: platform: Fix using devices in PM Domains 2018-06-08 10:24:37 -06:00
vfio_platform_irq.c
vfio_platform_private.h vfio, platform: make reset driver a requirement by default 2016-07-19 10:26:46 -06:00