28/10/2017 12:54, Jonas Pfefferle1:
> Jerin Jacob wrote on 28/10/2017 08:22:55:
> > If the device is not capable of resetting, then Linux kernel updates
> > the errno as EINVAL.
> > https://urldefense.proofpoint.com/v2/url?
> > u=http-3A__elixir.free-2Delectrons.com_linux_v4.
> > 9_source_drivers_
Jerin Jacob wrote on 28/10/2017 08:22:55:
> From: Jerin Jacob
> To: dev@dpdk.org
> Cc: tho...@monjalon.net, Jerin Jacob
> , Jonas Pfefferle
> , Anatoly Burakov
> Date: 28/10/2017 08:23
> Subject: [dpdk-dev] [PATCH] bus/pci: fix vfio device reset
>
> If the device
If the device is not capable of resetting, then Linux kernel updates
the errno as EINVAL.
http://elixir.free-electrons.com/linux/v4.9/source/drivers/vfio/pci/vfio_pci.c#L887
Honor the EINVAL errno value to avoid pci vfio setup failure.
Fixes: f25f8f367644 ("bus/pci: check VFIO reset ioctl error")
3 matches
Mail list logo