All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: jon.mason@exar.com
Cc: netdev@vger.kernel.org, sivakumar.subramani@exar.com,
	sreenivasa.honnur@exar.com, ram.vepa@exar.com
Subject: Re: [PATCH 2/7] vxge: fix crash of VF when unloading PF
Date: Fri, 10 Dec 2010 16:08:58 -0800 (PST)	[thread overview]
Message-ID: <20101210.160858.212411633.davem@davemloft.net> (raw)
In-Reply-To: <1292025782-16372-2-git-send-email-jon.mason@exar.com>

From: Jon Mason <jon.mason@exar.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@exar.com>
> Signed-off-by: Ram Vepa <ram.vepa@exar.com>

Applied.

  reply	other threads:[~2010-12-11  0:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-11  0:02 [PATCH 1/7] vxge: code cleanup and reorganization Jon Mason
2010-12-11  0:02 ` [PATCH 2/7] vxge: fix crash of VF when unloading PF Jon Mason
2010-12-11  0:08   ` David Miller [this message]
2010-12-11  1:04   ` Chris Wright
2010-12-11  1:35     ` Ramkrishna Vepa
2010-12-11  0:02 ` [PATCH 3/7] vxge: use pci_request_region() Jon Mason
2010-12-11  0:09   ` David Miller
2010-12-11  0:02 ` [PATCH 4/7] vxge: transmit timeout deadlock Jon Mason
2010-12-11  0:09   ` David Miller
2010-12-11  0:03 ` [PATCH 5/7] vxge: hotplug stall Jon Mason
2010-12-11  0:09   ` David Miller
2010-12-11  0:03 ` [PATCH 6/7] vxge: independent interrupt moderation Jon Mason
2010-12-11  0:09   ` David Miller
2010-12-11  0:03 ` [PATCH 7/7] vxge: update driver version Jon Mason
2010-12-11  0:09   ` David Miller
2010-12-11  0:08 ` [PATCH 1/7] vxge: code cleanup and reorganization David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101210.160858.212411633.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jon.mason@exar.com \
    --cc=netdev@vger.kernel.org \
    --cc=ram.vepa@exar.com \
    --cc=sivakumar.subramani@exar.com \
    --cc=sreenivasa.honnur@exar.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.