android_kernel_samsung_sm8650/drivers/net/ipa
Alex Elder bae70a803a net: ipa: introduce gsi_ring_setup()
Prior to IPA v3.5.1, there is no HW_PARAM_2 GSI register, which we
use to determine the number of channels and endpoints per execution
environment.  In that case, we will just assume the number supported
is the maximum supported by the driver.

Introduce gsi_ring_setup() to encapsulate the code that determines
the number of channels and endpoints.

Update GSI_EVT_RING_COUNT_MAX so it is big enough to handle any
available channel for all supported hardware (IPA v4.9 can have 23
channels and 24 event rings).

Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: AngeloGioacchino Del Regno
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-21 12:30:59 -07:00
..
gsi_private.h net: ipa: DMA addresses are nicely aligned 2021-03-28 18:12:03 -07:00
gsi_reg.h net: ipa: inter-EE interrupts aren't always available 2021-06-21 12:30:59 -07:00
gsi_trans.c net: ipa: relax pool entry size requirement 2021-04-09 20:57:24 -07:00
gsi_trans.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
gsi.c net: ipa: introduce gsi_ring_setup() 2021-06-21 12:30:59 -07:00
gsi.h net: ipa: introduce gsi_ring_setup() 2021-06-21 12:30:59 -07:00
ipa_clock.c net: ipa: use dev_err_probe() in ipa_clock.c 2021-02-12 16:54:17 -08:00
ipa_clock.h net: ipa: define clock and interconnect data 2020-11-20 18:44:59 -08:00
ipa_cmd.c net: ipa: introduce ipa_mem_find() 2021-06-10 14:50:08 -07:00
ipa_cmd.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_data-v3.5.1.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_data-v4.2.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_data-v4.5.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_data-v4.9.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_data-v4.11.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_data.h net: ipa: add IPA v4.9 configuration data 2021-04-13 15:02:25 -07:00
ipa_endpoint.c net: ipa: FLAVOR_0 register doesn't exist until IPA v3.5 2021-06-21 12:30:59 -07:00
ipa_endpoint.h net: ipa: three small fixes 2021-04-09 20:57:26 -07:00
ipa_gsi.c net: ipa: include declarations in "ipa_gsi.c" 2020-07-07 12:43:18 -07:00
ipa_gsi.h net: ipa: fix kerneldoc comments 2020-07-13 17:11:53 -07:00
ipa_interrupt.c net: ipa: support IPA interrupt addresses for IPA v4.7 2021-03-25 17:22:30 -07:00
ipa_interrupt.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_main.c net: ipa: disable misc clock gating for IPA v3.1 2021-06-21 12:30:59 -07:00
ipa_mem.c net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_mem.h net: ipa: don't index mem data array by ID 2021-06-10 14:50:08 -07:00
ipa_modem.c net: ipa: ipa_stop() does not return an error 2021-04-09 20:57:25 -07:00
ipa_modem.h soc: qcom: ipa: modem and microcontroller 2020-03-08 22:07:10 -07:00
ipa_qmi_msg.c net: ipa: extend the INDICATION_REGISTER request 2021-03-16 11:17:59 -07:00
ipa_qmi_msg.h net: ipa: extend the INDICATION_REGISTER request 2021-03-16 11:17:59 -07:00
ipa_qmi.c net: ipa: introduce ipa_mem_find() 2021-06-10 14:50:08 -07:00
ipa_qmi.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_reg.c
ipa_reg.h net: ipa: add support for inline checksum offload 2021-06-03 15:09:40 -07:00
ipa_resource.c net: ipa: get rid of empty IPA functions 2021-04-09 20:57:25 -07:00
ipa_resource.h net: ipa: get rid of empty IPA functions 2021-04-09 20:57:25 -07:00
ipa_smp2p.c soc: qcom: ipa: Remove superfluous error message around platform_get_irq() 2021-06-10 14:10:23 -07:00
ipa_smp2p.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_sysfs.c net: ipa: introduce sysfs code 2021-06-11 14:13:18 -07:00
ipa_sysfs.h net: ipa: introduce sysfs code 2021-06-11 14:13:18 -07:00
ipa_table.c net: ipa: introduce ipa_mem_find() 2021-06-10 14:50:08 -07:00
ipa_table.h net: ipa: get rid of empty IPA functions 2021-04-09 20:57:25 -07:00
ipa_uc.c net: ipa: introduce ipa_mem_find() 2021-06-10 14:50:08 -07:00
ipa_uc.h soc: qcom: ipa: modem and microcontroller 2020-03-08 22:07:10 -07:00
ipa_version.h net: ipa: introduce sysfs code 2021-06-11 14:13:18 -07:00
ipa.h net: ipa: memory region array is variable size 2021-05-11 16:22:37 -07:00
Kconfig net: ipa: switch to version based configuration 2021-03-28 18:12:03 -07:00
Makefile net: ipa: introduce sysfs code 2021-06-11 14:13:18 -07:00