Skip to content

Commit d214192

Browse files
committed
bus: mhi: host: pci_generic: Add support for EM929x and set MRU to 32768 for better performance.
JIRA: https://issues.redhat.com/browse/RHEL-122260 commit b484fa6 Author: Adam Xue <zxue@semtech.com> Date: Wed May 28 10:59:43 2025 -0700 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 Signed-off-by: Adam Xue <zxue@semtech.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20250528175943.12739-1-zxue@semtech.com Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
1 parent 4bcf7d8 commit d214192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ static const struct mhi_pci_dev_info mhi_sierra_em919x_info = {
698698
.config = &modem_sierra_em919x_config,
699699
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
700700
.dma_data_width = 32,
701+
.mru_default = 32768,
701702
.sideband_wake = false,
702703
};
703704

@@ -855,6 +856,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
855856
/* EM919x (sdx55), use the same vid:pid as qcom-sdx55m */
856857
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x18d7, 0x0200),
857858
.driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info },
859+
/* EM929x (sdx65), use the same configuration as EM919x */
860+
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x18d7, 0x0301),
861+
.driver_data = (kernel_ulong_t) &mhi_sierra_em919x_info },
858862
/* Telit FN980 hardware revision v1 */
859863
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, 0x1C5D, 0x2000),
860864
.driver_data = (kernel_ulong_t) &mhi_telit_fn980_hw_v1_info },

0 commit comments

Comments
 (0)