]> git.baikalelectronics.ru Git - kernel.git/commit
liquidio: Use pcie_flr() instead of reimplementing it
authorDenis Efremov <efremov@linux.com>
Thu, 8 Aug 2019 04:57:53 +0000 (07:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 05:41:02 +0000 (22:41 -0700)
commit7e67e077d834badd5d26d7aa113e56215a89d648
treea38b5b71f1341a809c542e5de79d0172e37853a3
parent5782eb96e97e017e104e7520711f991d5015ea32
liquidio: Use pcie_flr() instead of reimplementing it

octeon_mbox_process_cmd() directly writes the PCI_EXP_DEVCTL_BCR_FLR
bit, which bypasses timing requirements imposed by the PCIe spec.
This patch fixes the function to use the pcie_flr() interface instead.

Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c