diff options
author | Jason Gunthorpe <[email protected]> | 2013-11-26 11:02:54 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-11-26 11:36:32 -0700 |
commit | 43a16f94445310800e39d54aaa534f2ce7dbe0a2 (patch) | |
tree | c95e9e765dbbd61731a58a534f2e59684533211d /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 2850b05c9644d0f4c9df6cc77d628d7e0598a0cc (diff) |
PCI: mvebu: Obey bridge PCI_COMMAND_MEM and PCI_COMMAND_IO bits
When PCI_COMMAND_MEMORY/PCI_COMMAND_IO are cleared, the bridge should not
allocate windows or even look at the window limit/base registers.
Otherwise we may set up bogus windows while the PCI core code performs
discovery. The core will leave PCI_COMMAND_IO cleared if it doesn't need
an IO window.
Have mvebu_pcie_handle_*_change respect the bits, and call the change
function whenever the bits changes.
Tested-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions