Amey Narkhede 6913924480 PCI: Cache PCIe Device Capabilities register
Add a new member called devcap in struct pci_dev for caching the PCIe
Device Capabilities register to avoid reading PCI_EXP_DEVCAP multiple
times.

Refactor pcie_has_flr() to use cached device capabilities.

Link: https://lore.kernel.org/r/20210817180500.1253-2-ameynarkhede03@gmail.com
Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
2021-08-17 15:21:35 -05:00
..
2021-07-10 09:22:44 -07:00
2021-07-06 10:56:29 -05:00
2021-07-06 10:56:25 -05:00
2020-08-05 18:24:16 -05:00
2021-03-11 17:37:20 -06:00
2021-06-16 17:20:40 -05:00
2021-07-06 10:56:26 -05:00
2020-07-29 14:25:18 -05:00
2020-10-22 12:41:00 -07:00
2019-07-09 07:24:53 -05:00
2021-06-18 13:54:11 -07:00
2021-07-06 10:56:25 -05:00
2021-06-04 09:21:07 -05:00
2021-07-06 10:56:29 -05:00
2021-02-11 15:59:19 +01:00
2021-07-08 12:06:20 -07:00
2021-02-10 16:46:29 -06:00
2020-08-05 18:23:14 -05:00
2021-05-04 10:43:23 -05:00
2021-03-19 04:58:25 +00:00