net: ipa: implement MAX_READS_BEATS QSB data
authorAlex Elder <elder@linaro.org>
Sat, 20 Mar 2021 15:57:04 +0000 (10:57 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Mar 2021 01:56:18 +0000 (18:56 -0700)
commitb9aa0805ed31ed95c720f1a0bb606de2988b3ef5
treebe2f15a0d6aa689f310fa23a7626f970b9a7f4a9
parent8a81efac9417b7e4b2d3e19442f22dcf727944d5
net: ipa: implement MAX_READS_BEATS QSB data

Starting with IPA v4.0, a limit is placed on the number of bytes
outstanding in a transaction, to reduce latency.  The limit is
imposed only if this value is non-zero.

We don't use a non-zero value for SC7180, but newer versions of IPA
do.  Prepare for that by allowing a programmed value to be specified
in the platform configuration data.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_data-sc7180.c
drivers/net/ipa/ipa_data.h
drivers/net/ipa/ipa_main.c