aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorAmey Narkhede <[email protected]>2021-08-17 23:34:52 +0530
committerBjorn Helgaas <[email protected]>2021-08-17 15:21:35 -0500
commit69139244806537f9d51364f37fe146bb2ee88a05 (patch)
tree6f2589dfbded45253d70ceb92a45723a2b119982 /lib/test_overflow.c
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
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/[email protected] Signed-off-by: Amey Narkhede <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Raphael Norwitz <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions