linux_dsm_epyc7002/drivers/net/ipa
Alex Elder a2003b3038 net: ipa: do not cache channel state
It is possible for a GSI channel's state to be changed as a result
of an action by a different execution environment.  Specifically,
the modem is able to issue a GSI generic command that causes a state
change on a GSI channel associated with the AP.

A channel's state only needs to be known when a channel is allocated
or deallocaed, started or stopped, or reset.  So there is little
value in caching the state anyway.

Stop recording a copy of the channel's last known state, and instead
fetch the true state from hardware whenever it's needed.  In such
cases, *do* record the state in a local variable, in case an error
message reports it (so the value reported is the value seen).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-01 15:53:33 -07:00
..
gsi_private.h
gsi_reg.h
gsi_trans.c
gsi_trans.h
gsi.c net: ipa: do not cache channel state 2020-05-01 15:53:33 -07:00
gsi.h net: ipa: do not cache channel state 2020-05-01 15:53:33 -07:00
ipa_clock.c
ipa_clock.h
ipa_cmd.c
ipa_cmd.h
ipa_data-sc7180.c
ipa_data-sdm845.c
ipa_data.h
ipa_endpoint.c
ipa_endpoint.h
ipa_gsi.c
ipa_gsi.h
ipa_interrupt.c
ipa_interrupt.h
ipa_main.c
ipa_mem.c
ipa_mem.h
ipa_modem.c
ipa_modem.h
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_qmi.c
ipa_qmi.h
ipa_reg.c
ipa_reg.h
ipa_smp2p.c
ipa_smp2p.h
ipa_table.c
ipa_table.h
ipa_uc.c
ipa_uc.h
ipa_version.h
ipa.h
Kconfig
Makefile