diff options
| author | Serge Semin <[email protected]> | 2022-06-24 14:39:45 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-08-01 20:15:32 +0000 |
| commit | edf408b946d37cc70fbf0db6ab85bbf67dae1894 (patch) | |
| tree | 275dcd54ccc93a42be14ddeced78c7815d1c4799 /drivers/pci/controller/dwc/pcie-designware-host.c | |
| parent | PCI: dwc: Add iATU regions size detection procedure (diff) | |
| download | kernel-edf408b946d37cc70fbf0db6ab85bbf67dae1894.tar.gz kernel-edf408b946d37cc70fbf0db6ab85bbf67dae1894.zip | |
PCI: dwc: Validate iATU outbound mappings against hardware constraints
Make __dw_pcie_prog_outbound_atu() check the requested region base and size
against what the hardware can support. Return error if the region is not
correctly aligned or of a supported size.
[bhelgaas: 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/pcie-designware-host.c')
0 files changed, 0 insertions, 0 deletions
