]> git.baikalelectronics.ru Git - kernel.git/commit
soc: qcom: ipa: immediate commands
authorAlex Elder <elder@linaro.org>
Fri, 6 Mar 2020 04:28:26 +0000 (22:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:07:10 +0000 (22:07 -0700)
commit34bd41356fedbac69d614217b49569b9a6c731f9
tree47ba5af8c83eef7f1cad4a21db85b58a4ebe69cb
parent8ad6bc32edb46832b8d0af3f45b2cbdcd58443da
soc: qcom: ipa: immediate commands

One TX endpoint (per EE) is used for issuing immediate commands to
the IPA.  These commands request activites beyond simple data
transfers to be done by the IPA hardware.  For example, the IPA is
able to manage routing packets among endpoints, and immediate commands
are used to configure tables used for that routing.

Immediate commands are built on top of GSI transactions.  They are
different from normal transfers (in that they use a special endpoint,
and their "payload" is interpreted differently), so separate functions
are used to issue immediate command transactions.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_cmd.c [new file with mode: 0644]
drivers/net/ipa/ipa_cmd.h [new file with mode: 0644]