bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Subsystems (2)
PATCH 1/1 bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301
--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/bus/mhi/host/pci_generic.c +4 -0
@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, };
@@ -813,6 +814,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, +/* EM929x (sdx65), use the same configuration as EM919x */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301), + .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info },/* Telit FN980 hardware revision v1 */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x1C5D, 0x2000), .driver_data = (kernel_ulong_t) &mhi_telit_fn980_hw_v1_info },
Signature · 4 lines
2.45.2 To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
Manivannan Sadhasivam
maintainerOn Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 3 lines
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
This also affects the EM919X modem. So I want either Thomas or Aleksander to confirm that it doesn't cause any regression.
Rest looks good to me.
- Mani
Quoted 35 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/bus/mhi/host/pci_generic.c +4
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, };@@ -813,6 +814,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, +/* EM929x (sdx65), use the same configuration as EM919x */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301), + .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info },/* Telit FN980 hardware revision v1 */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x1C5D, 0x2000), .driver_data = (kernel_ulong_t) &mhi_telit_fn980_hw_v1_info },Signature · 4 lines
2.45.2 To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 24 lines · Manivannan Sadhasivam
On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 3 lines
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
This also affects the EM919X modem. So I want either Thomas or Aleksander to confirm that it doesn't cause any regression.
Rest looks good to me.
- Mani
Quoted 8 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)
Quoted 9 lines
drivers/bus/mhi/host/pci_generic.c static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { · line 698
Quoted 9 lines
drivers/bus/mhi/host/pci_generic.c +1
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768,
I cannot test this now, I need to look for the EM9191 that I know I have somewhere, but this default MRU update feels right. Hopefully Thomas can verify.
Hello,
Quoted 13 lines · Aleksander Morgado
Quoted 11 lines · Manivannan Sadhasivam
On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 5 lines
Add MHI controller config for EM929x. It uses the same configuration
as EM919x. Also set the MRU to 32768 to improve downlink throughput.
Quoted 3 lines
Quoted 3 lines
This also affects the EM919X modem. So I want either Thomas or Aleksander to
confirm that it doesn't cause any regression.
Sorry, I no longer have the modem to test.
Kind regards,
Thomas Perrot
Quoted 30 lines
Quoted 14 lines
Rest looks good to me.
- Mani
Quoted 9 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>---
drivers/bus/mhi/host/pci_generic.c | 4 ++++1 file changed, 4 insertions(+)Quoted 11 lines
drivers/bus/mhi/host/pci_generic.c static const struct mhi_pci_dev_info · line 699
Quoted 11 lines
drivers/bus/mhi/host/pci_generic.c +1
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768,I cannot test this now, I need to look for the EM9191 that I know I have somewhere, but this default MRU update feels right. Hopefully Thomas can verify.
Signature · 3 lines
Thomas Perrot, Bootlin Embedded Linux and kernel engineering https://bootlin.com
Hi Mani and Aleksander,
I may collect the logs if required. Or we can ship an EM91 module for you to validate?
Thanks,
Adam
-----Original Message-----
From: Manivannan Sadhasivam <[email protected]>
Sent: June 17, 2025 2:27 AM
To: Adam Xue <[email protected]>; Thomas Perrot <[email protected]>; Aleksander Morgado <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Iulian Mocanu <[email protected]>
Subject: Re: [PATCH v1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Caution: This email originated outside of Semtech.
On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 3 lines
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
This also affects the EM919X modem. So I want either Thomas or Aleksander to confirm that it doesn't cause any regression.
Rest looks good to me.
- Mani
Quoted 38 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/bus/mhi/host/pci_generic.c +5
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, };@@ -813,6 +814,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, +/* EM929x (sdx65), use the same configuration as EM919x */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301), + .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info + },/* Telit FN980 hardware revision v1 */ {PCI_DEVICE_SUB (PCI_VENDOR_ID_QCOM ,0x0306 ,0x1C5D ,0x2000 ), .driver_data = (kernel_ulong_t)
&mhi_telit_fn980_hw_v1_info},
--
2.45.2
Quoted 1 line
To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
--
மணிவண்ணன் சதாசிவம்
To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
Any update on this?
Thanks,
Adam
-----Original Message-----
From: Adam Xue <[email protected]>
Sent: June 24, 2025 9:57 AM
To: Manivannan Sadhasivam <[email protected]>; Thomas Perrot <[email protected]>; Aleksander Morgado <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Iulian Mocanu <[email protected]>
Subject: RE: [PATCH v1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Hi Mani and Aleksander,
I may collect the logs if required. Or we can ship an EM91 module for you to validate?
Thanks,
Adam
-----Original Message-----
From: Manivannan Sadhasivam <[email protected]>
Sent: June 17, 2025 2:27 AM
To: Adam Xue <[email protected]>; Thomas Perrot <[email protected]>; Aleksander Morgado <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Iulian Mocanu <[email protected]>
Subject: Re: [PATCH v1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
Caution: This email originated outside of Semtech.
On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 3 lines
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
This also affects the EM919X modem. So I want either Thomas or Aleksander to confirm that it doesn't cause any regression.
Rest looks good to me.
- Mani
Quoted 38 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/bus/mhi/host/pci_generic.c +5
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, };@@ -813,6 +814,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, +/* EM929x (sdx65), use the same configuration as EM919x */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301), + .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info + },/* Telit FN980 hardware revision v1 */ {PCI_DEVICE_SUB (PCI_VENDOR_ID_QCOM ,0x0306 ,0x1C5D ,0x2000 ), .driver_data = (kernel_ulong_t)
&mhi_telit_fn980_hw_v1_info},
--
2.45.2
Quoted 1 line
To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
--
மணிவண்ணன் சதாசிவம்
To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
Manivannan Sadhasivam
maintainerQuoted 2 lines · Adam Xue
Any update on this?
Since there seems to be no easy way to test the patch on EM919X, I went ahead and applied the patch.
- Mani
Quoted 87 lines
Thanks,
Adam
-----Original Message-----
From: Adam Xue <[email protected]>
Sent: June 24, 2025 9:57 AM
To: Manivannan Sadhasivam <[email protected]>; Thomas Perrot <[email protected]>; Aleksander Morgado <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Iulian Mocanu <[email protected]>
Subject: RE: [PATCH v1] bus: mhi: host:pci_generic: Add support for EM929x and set MRU to 32768 for better performance.Hi Mani and Aleksander,
I may collect the logs if required. Or we can ship an EM91 module for you to validate?
Thanks,
Adam
-----Original Message-----
From: Manivannan Sadhasivam <[email protected]>
Sent: June 17, 2025 2:27 AM
To: Adam Xue <[email protected]>; Thomas Perrot <[email protected]>; Aleksander Morgado <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Iulian Mocanu <[email protected]>
Subject: Re: [PATCH v1] bus: mhi: host:pci_generic: Add support for EM929x and set MRU to 32768 for better performance.Caution: This email originated outside of Semtech.
On Wed, May 28, 2025 at 10:59:43AM -0700, Adam Xue wrote:
+ Thomas and Aleksander (for EM919X related question)
Quoted 3 lines
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
This also affects the EM919X modem. So I want either Thomas or Aleksander to confirm that it doesn't cause any regression.
Rest looks good to me.
- Mani
Quoted 38 lines
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301Signed-off-by Adam Xue <[email protected]>--- drivers/bus/mhi/host/pci_generic.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/bus/mhi/host/pci_generic.c +5
-0@@ -695,6 +695,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = { .config = &modem_sierra_em919x_config, .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, + .mru_default = 32768, .sideband_wake = false, };@@ -813,6 +814,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */ { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200), .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info }, +/* EM929x (sdx65), use the same configuration as EM919x */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301), + .driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info + },/* Telit FN980 hardware revision v1 */ {PCI_DEVICE_SUB (PCI_VENDOR_ID_QCOM ,0x0306 ,0x1C5D ,0x2000 ), .driver_data = (kernel_ulong_t)
&mhi_telit_fn980_hw_v1_info},
--
2.45.2Quoted 1 line
To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
--
மணிவண்ணன் சதாசிவம்To view our privacy policy, including the types of personal information we collect, process and share, and the rights and options you have in this respect, see www.semtech.com/legal.
Signature · 1 line
மணிவண்ணன் சதாசிவம்
Quoted 8 lines · Adam Xue
Add MHI controller config for EM929x. It uses the same configuration as EM919x. Also set the MRU to 32768 to improve downlink throughput.
02:00.0 Unassigned class [ff00]: Qualcomm Technologies, Inc Device 0308
Subsystem: Device 18d7:0301[...]
Applied, thanks!
[1/1] bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
commit: bd78a01cdee3d2333f70e659f3c1b4ffc3fd5c42
Best regards,
Signature · 1 line
Manivannan Sadhasivam <[email protected]>