summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-05-24 15:28:27 +0200
committerBjorn Helgaas <bhelgaas@google.com>2022-06-13 18:41:32 -0500
commitbcdb6fd4f3e9ac1097698c8d8f56b70853b49873 (patch)
treeab0f7f88c2157afdea6b7bb83eb345a2ce694b6a /net/tipc
parent1326b49636065a29b0aa3832ac963df2a9cece08 (diff)
PCI: aardvark: Fix reporting Slot capabilities on emulated bridge
Slot capabilities are currently not reported because emulated bridge does not report the PCI_EXP_FLAGS_SLOT flag. Set PCI_EXP_FLAGS_SLOT to let the kernel know that PCI_EXP_SLT* registers are supported. Move setting of PCI_EXP_SLTCTL register from "dynamic" pcie_conf_read function to static buffer as it is only statically filled the PCI_EXP_SLTSTA_PDS flag and dynamic read callback is not needed for this register. Set Presence State Bit to 1 since there is no support for unplugging the card and there is currently no platform able to detect presence of a card - in such a case the bit needs to be set to 1. Finally correctly set Physical Slot Number to 1 since there is only one port and zero value is reserved for ports within the same silicon as Root Port which is not our case for Aardvark HW. Link: https://lore.kernel.org/r/20220524132827.8837-3-kabel@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <kabel@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions