diff options
author | Paul Burton <[email protected]> | 2017-08-15 16:25:21 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-08-16 11:44:37 -0500 |
commit | d0b5dda62eb8aa535596952bffbf86b60a258672 (patch) | |
tree | b0377a910ecc86fb6894af0ceadc26dabdac4973 /tools/perf/util/trace-event-scripting.c | |
parent | b8550f11bd40b7b6fd4622be4fd0f5aa958faee2 (diff) |
PCI: xilinx: Unify INTx & MSI interrupt decode
The INTx & MSI interrupt decode paths duplicated a fair bit of common
functionality. They also strictly handled interrupts in order of INTx then
MSI, so if both types of interrupt were to be asserted simultaneously and
the MSI interrupt were first in the FIFO then the INTx code would read it &
ignore it before the MSI code then had to read it again, wasting the
original FIFO read.
Unify the INTx & MSI decode in order to reduce that duplication & allow a
single FIFO read to be performed for each interrupt regardless of its type.
Signed-off-by: Paul Burton <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Bharat Kumar Gogada <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Ravikiran Gummaluri <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions