Skip to content

Commit 78da8ab

Browse files
committed
Merge branch 'fixes-for-ipa-v4-7'
Luca Weiss says: ==================== Fixes for IPA v4.7 During bringup of IPA v4.7 unfortunately some bits were missed, and it couldn't be tested much back then due to missing features in tqftpserv which caused the modem to not enable correctly. Especially the last commit is important since it makes mobile data actually functional on SoCs with IPA v4.7 like SM6350 - used on the Fairphone 4. Before that, you'd get an IP address on the interface but then e.g. ping never got any response back. ==================== Link: https://patch.msgid.link/20250227-ipa-v4-7-fixes-v1-0-a88dd8249d8a@fairphone.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents 3c6a041 + 934e696 commit 78da8ab

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/net/ipa/data/ipa_data-v4.7.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,18 @@ enum ipa_resource_type {
2828
enum ipa_rsrc_group_id {
2929
/* Source resource group identifiers */
3030
IPA_RSRC_GROUP_SRC_UL_DL = 0,
31-
IPA_RSRC_GROUP_SRC_UC_RX_Q,
3231
IPA_RSRC_GROUP_SRC_COUNT, /* Last in set; not a source group */
3332

3433
/* Destination resource group identifiers */
35-
IPA_RSRC_GROUP_DST_UL_DL_DPL = 0,
36-
IPA_RSRC_GROUP_DST_UNUSED_1,
34+
IPA_RSRC_GROUP_DST_UL_DL = 0,
3735
IPA_RSRC_GROUP_DST_COUNT, /* Last; not a destination group */
3836
};
3937

4038
/* QSB configuration data for an SoC having IPA v4.7 */
4139
static const struct ipa_qsb_data ipa_qsb_data[] = {
4240
[IPA_QSB_MASTER_DDR] = {
43-
.max_writes = 8,
44-
.max_reads = 0, /* no limit (hardware max) */
41+
.max_writes = 12,
42+
.max_reads = 13,
4543
.max_reads_beats = 120,
4644
},
4745
};
@@ -81,7 +79,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
8179
},
8280
.endpoint = {
8381
.config = {
84-
.resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
82+
.resource_group = IPA_RSRC_GROUP_DST_UL_DL,
8583
.aggregation = true,
8684
.status_enable = true,
8785
.rx = {
@@ -106,6 +104,7 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
106104
.filter_support = true,
107105
.config = {
108106
.resource_group = IPA_RSRC_GROUP_SRC_UL_DL,
107+
.checksum = true,
109108
.qmap = true,
110109
.status_enable = true,
111110
.tx = {
@@ -128,7 +127,8 @@ static const struct ipa_gsi_endpoint_data ipa_gsi_endpoint_data[] = {
128127
},
129128
.endpoint = {
130129
.config = {
131-
.resource_group = IPA_RSRC_GROUP_DST_UL_DL_DPL,
130+
.resource_group = IPA_RSRC_GROUP_DST_UL_DL,
131+
.checksum = true,
132132
.qmap = true,
133133
.aggregation = true,
134134
.rx = {
@@ -197,12 +197,12 @@ static const struct ipa_resource ipa_resource_src[] = {
197197
/* Destination resource configuration data for an SoC having IPA v4.7 */
198198
static const struct ipa_resource ipa_resource_dst[] = {
199199
[IPA_RESOURCE_TYPE_DST_DATA_SECTORS] = {
200-
.limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
200+
.limits[IPA_RSRC_GROUP_DST_UL_DL] = {
201201
.min = 7, .max = 7,
202202
},
203203
},
204204
[IPA_RESOURCE_TYPE_DST_DPS_DMARS] = {
205-
.limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
205+
.limits[IPA_RSRC_GROUP_DST_UL_DL] = {
206206
.min = 2, .max = 2,
207207
},
208208
},

0 commit comments

Comments
 (0)