Searched hist:"998 c0bd2b3715244da7639cc4e6a2062cb79c3f4" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ipa/ |
H A D | ipa_endpoint.h | diff 998c0bd2b3715244da7639cc4e6a2062cb79c3f4 Wed Jan 12 14:30:12 CET 2022 Alex Elder <elder@linaro.org> net: ipa: prevent concurrent replenish
We have seen cases where an endpoint RX completion interrupt arrives while replenishing for the endpoint is underway. This causes another instance of replenishing to begin as part of completing the receive transaction. If this occurs it can lead to transaction corruption.
Use a new flag to ensure only one replenish instance for an endpoint executes at a time.
Fixes: 84f9bd12d46db ("soc: qcom: ipa: IPA endpoints") Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ipa_endpoint.c | diff 998c0bd2b3715244da7639cc4e6a2062cb79c3f4 Wed Jan 12 14:30:12 CET 2022 Alex Elder <elder@linaro.org> net: ipa: prevent concurrent replenish
We have seen cases where an endpoint RX completion interrupt arrives while replenishing for the endpoint is underway. This causes another instance of replenishing to begin as part of completing the receive transaction. If this occurs it can lead to transaction corruption.
Use a new flag to ensure only one replenish instance for an endpoint executes at a time.
Fixes: 84f9bd12d46db ("soc: qcom: ipa: IPA endpoints") Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|