aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <[email protected]>2017-05-22 16:52:30 -0500
committerBjorn Helgaas <[email protected]>2017-05-22 16:52:30 -0500
commit9871e9bb5cf6ff0b51457ca74c270c5c5230b224 (patch)
treee2627f003c78390e5e7adcfef4ffc4423313e5a9 /tools/perf/util/scripting-engines/trace-event-python.c
parente40cf640b8f632091a30ef0b030c83546f07c902 (diff)
switchtec: Fix minor bug with partition ID register
When a switch endpoint is configured without NTB, the mmio_ntb registers will read all zeros. However, in corner case configurations where the partition ID is not zero and NTB is not enabled, the code will have the wrong partition ID and this causes the driver to use the wrong set of drivers. To fix this we simply take the partition ID from the system info region. Reported-by: Dingbao Chen <[email protected]> Signed-off-by: Logan Gunthorpe <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions