aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-layerscape.c
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2022-06-24 14:39:46 +0000
committerBjorn Helgaas <[email protected]>2022-08-01 20:15:32 +0000
commitce06bf570390fb8b41d581e5d594727b51367179 (patch)
tree8715233edb39eceeb51eb418b8b118e0516a900c /drivers/pci/controller/dwc/pci-layerscape.c
parentPCI: dwc: Validate iATU outbound mappings against hardware constraints (diff)
downloadkernel-ce06bf570390fb8b41d581e5d594727b51367179.tar.gz
kernel-ce06bf570390fb8b41d581e5d594727b51367179.zip
PCI: dwc: Check iATU in/outbound range setup status
Make the DWC PCIe RC/EP safer and more verbose for invalid or failed inbound and outbound iATU window setups. Silently ignoring iATU regions setup errors may cause unpredictable errors. For instance if a cfg or IO window fails to be activated, then any CFG/IO requested won't reach target PCIe devices and the corresponding accessors will return platform-specific random values. [bhelgaas: trim commit log] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions