Skip to contentSkip to conversation

For default mechanism, product would use default MRU 3500 if they didn't define it. But for Foxconn SDX55, there is a known issue which MRU 3500 would lead to data connection lost. So we align it with Qualcomm default MRU settings.

PATCH In review Slark Xiao 2 participants 4 messages Jan 17, 2022

Subsystems (2)
lore
Share & tools
lore

Slark Xiao

author
#0 lore raw

PATCH v2 1/1 For default mechanism, product would use default MRU 3500 if they didn't define it. But for Foxconn SDX55, there is a known issue which MRU 3500 would lead to data connection lost. So we align it with Qualcomm default MRU settings.

Fixes 5c2c85315948 ("bus: mhi: pci-generic: configurable network interface MRU")

---
v2: Add Fixes tag

---
 drivers/bus/mhi/pci_generic.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bus/mhi/pci_generic.c +1 -0
index 3a258a677df8..74e8fc342cfd 100644
@@ -366,6 +366,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
 	.config = &modem_foxconn_sdx55_config,
 	.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
 	.dma_data_width = 32,
+	.mru_default = 32768,
 	.sideband_wake = false,
 };
 
Signature · 1 line
2.25.1
#1 lore raw
Quoted 1 line · Slark Xiao
Fixes 5c2c85315948 ("bus: mhi: pci-generic: configurable network interface MRU")

You have messed up the patch subject, please fix it. Also, the correct fixes tag should be the one added the Foxconn modem support, precisely "aac426562f56".

One more thing, please make sure this MRU value works well for other Foxconn modems supported by this config.

Quoted 1 line

You should have added my Reviewed-by tag too...

Thanks,
Mani

Quoted 22 lines

---
v2: Add Fixes tag

---
 drivers/bus/mhi/pci_generic.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bus/mhi/pci_generic.c +1 -0
index 3a258a677df8..74e8fc342cfd 100644
@@ -366,6 +366,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
 	.config = &modem_foxconn_sdx55_config,
 	.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
 	.dma_data_width = 32,
+	.mru_default = 32768,
 	.sideband_wake = false,
 };
 
Signature · 1 line
2.25.1
author
#2 lore raw
Quoted 6 lines · Manivannan Sadhasivam
Quoted 1 line · Slark Xiao
Fixes 5c2c85315948 ("bus: mhi: pci-generic: configurable network interface MRU")

You have messed up the patch subject, please fix it. Also, the correct fixes tag should be the one added the Foxconn modem support, precisely "aac426562f56".

Yes, sorry for this mistake.

Quoted 3 lines

One more thing, please make sure this MRU value works well for other Foxconn modems supported by this config.

I am sure this would work for all our device. BTW, I want to add this mru_default to cinterion-mv31 PRODUCT. Shall I use v3 or create a new version for that? It's confirmed that this change could help fix issue on that product.

Quoted 3 lines
Quoted 1 line

You should have added my Reviewed-by tag too...

Shall I add reviewd-by tag if I add changes on MV31 product?

Quoted 26 lines

Thanks,
Mani

Quoted 22 lines

---
v2: Add Fixes tag

---
 drivers/bus/mhi/pci_generic.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bus/mhi/pci_generic.c +1 -0
index 3a258a677df8..74e8fc342cfd 100644
@@ -366,6 +366,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
 	.config = &modem_foxconn_sdx55_config,
 	.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
 	.dma_data_width = 32,
+	.mru_default = 32768,
 	.sideband_wake = false,
 };
 
Signature · 1 line
2.25.1
#3 lore raw
Quoted 13 lines · Slark Xiao
Quoted 6 lines · Manivannan Sadhasivam
Quoted 1 line · Slark Xiao
Fixes 5c2c85315948 ("bus: mhi: pci-generic: configurable network interface MRU")

You have messed up the patch subject, please fix it. Also, the correct fixes tag should be the one added the Foxconn modem support, precisely "aac426562f56".

Quoted 7 lines

Yes, sorry for this mistake.

Quoted 3 lines

One more thing, please make sure this MRU value works well for other Foxconn modems supported by this config.

I am sure this would work for all our device. BTW, I want to add this mru_default to cinterion-mv31 PRODUCT. Shall I use v3 or create a new version for that? It's confirmed that this change could help fix issue on that product.

Please submit individual patches with Fixes tag each.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

You should have added my Reviewed-by tag too...

Shall I add reviewd-by tag if I add changes on MV31 product?

Quoted 1 line

No, only to this patch since I haven't reviewed the MV31 patch.

Thanks,
Mani

Quoted 25 lines
Quoted 25 lines

Thanks,
Mani

Quoted 22 lines

---
v2: Add Fixes tag

---
 drivers/bus/mhi/pci_generic.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bus/mhi/pci_generic.c +1 -0
index 3a258a677df8..74e8fc342cfd 100644
@@ -366,6 +366,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
 	.config = &modem_foxconn_sdx55_config,
 	.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
 	.dma_data_width = 32,
+	.mru_default = 32768,
 	.sideband_wake = false,
 };
 
Signature · 1 line
2.25.1