PCI: Avoid FLR for Intel 82579 NICs
authorSasha Neftin <sasha.neftin@intel.com>
Mon, 3 Apr 2017 21:02:50 +0000 (16:02 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Apr 2017 21:02:50 +0000 (16:02 -0500)
commitf65fd1aa4f9881d5540192d11f7b8ed2fec936db
treea6a61973770b1c570019cd9b6218983f3b020b65
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
PCI: Avoid FLR for Intel 82579 NICs

Per Intel Specification Update 335553-002 (see link below), some 82579
network adapters advertise a Function Level Reset (FLR) capability, but
they can hang when an FLR is triggered.

To reproduce the problem, attach the device to a VM, then detach and try to
attach again.

Add a quirk to prevent the use of FLR on these devices.

[bhelgaas: changelog, comments]
Link: http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/82579lm-82579v-gigabit-network-connection-spec-update.pdf
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/quirks.c
include/linux/pci.h