]> 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)
commitd5e327fd53c1fb8bb53798f47ec05f41858ffda2
tree47ba5af8c83eef7f1cad4a21db85b58a4ebe69cb
parent90626e0b961cf9ce5b4ce30b3b3da46c65fdcbc3
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]