]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
vfio: platform: add dev_info on device reset
authorEric Auger <eric.auger@linaro.org>
Tue, 3 Nov 2015 18:12:18 +0000 (18:12 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Nov 2015 19:55:05 +0000 (12:55 -0700)
commit705e60bae3e09bedba0b2ec936bce3f799f46426
treeab602112e5d9ae894bdbd7bf7963250541e2a24c
parente9e0506ee60dd79714c59457f4301c602786defc
vfio: platform: add dev_info on device reset

It might be helpful for the end-user to check the device reset
function was found by the vfio platform reset framework.

Lets store a pointer to the struct device in vfio_platform_device
and trace when the reset function is called or not found.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/vfio_platform_common.c
drivers/vfio/platform/vfio_platform_private.h