diff options
| author | Alex Elder <elder@linaro.org> | 2021-01-13 20:15:28 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-15 04:40:01 +0300 |
| commit | a60d0632f6e8e62584cd25d830c69dd09b0d4115 (patch) | |
| tree | 3d4599b75ab1019f8c5d37f1c58b6c3423b440d8 /tools/perf/scripts/python/syscall-counts.py | |
| parent | d9cbe818485bafaf460e5d2a414b0f72b5a200ee (diff) | |
| download | linux-a60d0632f6e8e62584cd25d830c69dd09b0d4115.tar.xz | |
net: ipa: introduce some interrupt helpers
Create a new function gsi_irq_ev_ctrl_enable() that encapsulates
enabling the event ring control GSI interrupt type, and enables a
single event ring to signal that interrupt. When an event ring
changes state as a result of an event ring command, it triggers this
interrupt.
Create an inverse function gsi_irq_ev_ctrl_disable() as well.
Because only one event ring at a time is enabled for this interrupt,
we can simply disable the interrupt for *all* channels.
Create a pair of helpers that serve the same purpose for channel
commands.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
