]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Cache ACS capability offset in device
authorRajat Jain <rajatja@google.com>
Tue, 7 Jul 2020 22:46:02 +0000 (15:46 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Jul 2020 18:49:35 +0000 (13:49 -0500)
commit1642672dd28c658f4381d71fb7744d0ca1276845
tree006acc3c262d5b64c7bffbb790ed40805e6bc1f4
parentee1a13eded26bf6fc12a1956a9a91c720ef39ce3
PCI: Cache ACS capability offset in device

Currently the ACS capability is being looked up at a number of places. Read
and store it once at enumeration so that it can be used by all later.  No
functional change intended.

Link: https://lore.kernel.org/r/20200707224604.3737893-2-rajatja@google.com
Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/p2pdma.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c
drivers/pci/quirks.c
include/linux/pci.h