linux/drivers/net/ipa
Alex Elder d21d1f33b1 net: ipa: don't define endpoints unnecessarily
We don't typically need much information about modem endpoints.
Normally we need to specify information about modem endpoints in
configuration data in only two cases:
  - When a modem TX endpoint supports filtering
  - When another endpoint's configuration refers to it

For the first case, the AP initializes the filter table, and must
know how many endpoints (AP and modem) support filtering.  An
example of the second case is the AP->modem TX endpoint, which
defines the modem<-AP RX endpoint as its status endpoint.

There is one exception to this, and it's due to a hardware quirk.
For IPA v4.2 (only) there is a problem related to allocating GSI
channels.  And to work around this, the AP allocates *all* GSI
channels at startup time--including those used by the modem.

Get rid of the configuration information for two endpoints not
required for the SDM845.  SC7180 runs IPA v4.2, so we can't
eliminate any modem endpoint definitions there.

Two more minor changes:
  - Reorder the members defined for the ipa_endpoint_name enumerated
    type to match the order used in configuration data files when
    defining endpoints.
  - Add a new name, IPA_ENDPOINT_MODEM_DL_NLO_TX, which can be used
    for IPA v4.5+.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-28 18:12:03 -07:00
..
gsi_private.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
gsi_reg.h net: ipa: expand GSI channel types 2021-03-25 17:22:30 -07:00
gsi_trans.c net: ipa: pass the correct size when freeing DMA memory 2020-12-04 14:38:44 -08:00
gsi_trans.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
gsi.c net: ipa: expand GSI channel types 2021-03-25 17:22:30 -07:00
gsi.h net: ipa: increase channels and events 2021-03-24 16:52:47 -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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-03-25 15:31:22 -07:00
ipa_cmd.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_data-sc7180.c net: ipa: store BCR register values in config data 2021-03-28 18:12:03 -07:00
ipa_data-sdm845.c net: ipa: don't define endpoints unnecessarily 2021-03-28 18:12:03 -07:00
ipa_data.h net: ipa: store BCR register values in config data 2021-03-28 18:12:03 -07:00
ipa_endpoint.c net: ipa: define the ENDP_INIT_NAT register 2021-03-24 16:52:47 -07:00
ipa_endpoint.h net: ipa: don't define endpoints unnecessarily 2021-03-28 18:12:03 -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: store BCR register values in config data 2021-03-28 18:12:03 -07:00
ipa_mem.c net: ipa: limit local processing context address 2021-03-24 16:52:47 -07:00
ipa_mem.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_modem.c net: ipa: modem: add missing SET_NETDEV_DEV() for proper sysfs links 2021-01-08 18:45:35 -08: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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-03-25 15:31:22 -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: store BCR register values in config data 2021-03-28 18:12:03 -07:00
ipa_resource.c net: ipa: support more than 6 resource groups 2021-03-26 15:02:39 -07:00
ipa_resource.h net: ipa: introduce ipa_resource.c 2021-03-26 15:02:38 -07:00
ipa_smp2p.c drivers: ipa: fix typos for ipa_smp2p structure doc 2020-05-14 13:06:55 -07:00
ipa_smp2p.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_table.c net: ipa: avoid 64-bit modulus 2021-03-23 17:15:23 -07:00
ipa_table.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
ipa_uc.c net: ipa: support IPA interrupt addresses for IPA v4.7 2021-03-25 17:22:30 -07:00
ipa_uc.h soc: qcom: ipa: modem and microcontroller 2020-03-08 22:07:10 -07:00
ipa_version.h net: ipa: update version definitions 2021-03-24 16:52:47 -07:00
ipa.h net: ipa: fix all kernel-doc warnings 2021-03-28 18:12:03 -07:00
Kconfig net: ipa: relax 64-bit build requirement 2021-03-18 16:20:35 -07:00
Makefile net: ipa: introduce ipa_resource.c 2021-03-26 15:02:38 -07:00