[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101210.160858.212411633.davem@davemloft.net>
Date: Fri, 10 Dec 2010 16:08:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jon.mason@...r.com
Cc: netdev@...r.kernel.org, sivakumar.subramani@...r.com,
sreenivasa.honnur@...r.com, ram.vepa@...r.com
Subject: Re: [PATCH 2/7] vxge: fix crash of VF when unloading PF
From: Jon Mason <jon.mason@...r.com>
Date: Fri, 10 Dec 2010 18:02:57 -0600
> Calling pci_disable_sriov when unloading a SR-IOV physical function
> driver from a host when a guest is using a virtual function from that
> device can cause a host crash or VM crash. The crash is caused by the
> virtual config space no longer being present when PF is removed (due to
> the pci_disable_sriov). This can be avoided by not calling
> pci_disable_sriov to disable the PCI space when shutting down the PF.
> Each function in the X3100 operates independently and in this case will
> operate properly in the absence of the PF.
>
> Also, added improved logic in the detection of SR-IOV initialization.
>
> Signed-off-by: Jon Mason <jon.mason@...r.com>
> Signed-off-by: Ram Vepa <ram.vepa@...r.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists