diff options
author | 2021-03-05 13:19:59 +0100 | |
---|---|---|
committer | 2021-06-17 21:45:44 +0200 | |
commit | 43c590cb86665be702c0af0231a10ec813df9cfd (patch) | |
tree | dc1c8389fce0e298bf113e880eb457e0bd69de5e /scripts | |
parent | um: add PCI over virtio emulation driver (diff) | |
download | linux-dev-43c590cb86665be702c0af0231a10ec813df9cfd.tar.xz linux-dev-43c590cb86665be702c0af0231a10ec813df9cfd.zip |
um: virtio/pci: enable suspend/resume
The UM virtual PCI devices currently cannot be suspended properly
since the virtio driver already disables VQs well before the PCI
bus's suspend_noirq wants to complete the transition by writing to
PCI config space.
After trying around for a long time with moving the devices on the
DPM list, trying to create dependencies between them, etc. I gave
up and instead added UML specific cross-driver API that lets the
virt-pci code enable not suspending/resuming VQs for its devices.
This then allows the PCI bus suspend_noirq to still talk to the
device, and suspend/resume works properly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions