[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140115.164913.281764267072238181.davem@davemloft.net>
Date: Wed, 15 Jan 2014 16:49:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuvalmin@...adcom.com
Cc: netdev@...r.kernel.org, ariele@...adcom.com
Subject: Re: [PATCH net] bnx2x: Don't release PCI bars on shutdown
From: Yuval Mintz <yuvalmin@...adcom.com>
Date: Wed, 15 Jan 2014 12:05:30 +0200
> The bnx2x driver in its pci shutdown() callback releases its pci bars (in the
> same manner it does during its pci remove() callback).
> During a system reboot while VFs are enabled, its possible for the VF's remove
> to be called (as a result of pci_disable_sriov()) after its shutdown callback
> has already finished running; This will cause a paging request fault as the VF
> tries to access the pci bar which it has previously released, crashing the
> system.
>
> This patch further differentiates the shutdown and remove callbacks, preventing the
> pci release procedures from being called during shutdown.
>
> Signed-off-by: Yuval Mintz <yuvalmin@...adcom.com>
> Signed-off-by: Ariel Elior <ariele@...adcom.com>
Applied, thanks.
--
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