aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAmey Narkhede <ameynarkhede03@gmail.com>2021-08-17 23:34:52 +0530
committerBjorn Helgaas <bhelgaas@google.com>2021-08-17 15:21:35 -0500
commit69139244806537f9d51364f37fe146bb2ee88a05 (patch)
tree6f2589dfbded45253d70ceb92a45723a2b119982 /drivers/crypto
parentLinux 5.14-rc1 (diff)
downloadlinux-dev-69139244806537f9d51364f37fe146bb2ee88a05.tar.xz
linux-dev-69139244806537f9d51364f37fe146bb2ee88a05.zip
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions